api-ms-win-core-realtime-l1-1-0: Add dll.
[wine.git] / configure
bloba588551aca7da1a37a82d839f1f8d88f04d02e55
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_apiquery_l1_1_0
878 enable_api_ms_win_core_atoms_l1_1_0
879 enable_api_ms_win_core_com_l1_1_0
880 enable_api_ms_win_core_com_l1_1_1
881 enable_api_ms_win_core_console_l1_1_0
882 enable_api_ms_win_core_console_l2_1_0
883 enable_api_ms_win_core_datetime_l1_1_0
884 enable_api_ms_win_core_datetime_l1_1_1
885 enable_api_ms_win_core_debug_l1_1_0
886 enable_api_ms_win_core_debug_l1_1_1
887 enable_api_ms_win_core_delayload_l1_1_1
888 enable_api_ms_win_core_errorhandling_l1_1_0
889 enable_api_ms_win_core_errorhandling_l1_1_1
890 enable_api_ms_win_core_errorhandling_l1_1_2
891 enable_api_ms_win_core_fibers_l1_1_0
892 enable_api_ms_win_core_fibers_l1_1_1
893 enable_api_ms_win_core_file_l1_1_0
894 enable_api_ms_win_core_file_l1_2_0
895 enable_api_ms_win_core_file_l1_2_1
896 enable_api_ms_win_core_file_l2_1_0
897 enable_api_ms_win_core_file_l2_1_1
898 enable_api_ms_win_core_handle_l1_1_0
899 enable_api_ms_win_core_heap_l1_1_0
900 enable_api_ms_win_core_heap_l1_2_0
901 enable_api_ms_win_core_heap_obsolete_l1_1_0
902 enable_api_ms_win_core_interlocked_l1_1_0
903 enable_api_ms_win_core_interlocked_l1_2_0
904 enable_api_ms_win_core_io_l1_1_1
905 enable_api_ms_win_core_job_l1_1_0
906 enable_api_ms_win_core_job_l2_1_0
907 enable_api_ms_win_core_kernel32_legacy_l1_1_0
908 enable_api_ms_win_core_kernel32_legacy_l1_1_1
909 enable_api_ms_win_core_kernel32_private_l1_1_1
910 enable_api_ms_win_core_libraryloader_l1_1_0
911 enable_api_ms_win_core_libraryloader_l1_1_1
912 enable_api_ms_win_core_libraryloader_l1_2_0
913 enable_api_ms_win_core_localization_l1_1_0
914 enable_api_ms_win_core_localization_l1_2_0
915 enable_api_ms_win_core_localization_l1_2_1
916 enable_api_ms_win_core_localization_obsolete_l1_1_0
917 enable_api_ms_win_core_localization_obsolete_l1_2_0
918 enable_api_ms_win_core_localregistry_l1_1_0
919 enable_api_ms_win_core_memory_l1_1_0
920 enable_api_ms_win_core_memory_l1_1_1
921 enable_api_ms_win_core_memory_l1_1_2
922 enable_api_ms_win_core_misc_l1_1_0
923 enable_api_ms_win_core_namedpipe_l1_1_0
924 enable_api_ms_win_core_namedpipe_l1_2_0
925 enable_api_ms_win_core_namespace_l1_1_0
926 enable_api_ms_win_core_normalization_l1_1_0
927 enable_api_ms_win_core_path_l1_1_0
928 enable_api_ms_win_core_privateprofile_l1_1_1
929 enable_api_ms_win_core_processenvironment_l1_1_0
930 enable_api_ms_win_core_processenvironment_l1_2_0
931 enable_api_ms_win_core_processthreads_l1_1_0
932 enable_api_ms_win_core_processthreads_l1_1_1
933 enable_api_ms_win_core_processthreads_l1_1_2
934 enable_api_ms_win_core_profile_l1_1_0
935 enable_api_ms_win_core_psapi_l1_1_0
936 enable_api_ms_win_core_realtime_l1_1_0
937 enable_api_ms_win_core_registry_l1_1_0
938 enable_api_ms_win_core_registryuserspecific_l1_1_0
939 enable_api_ms_win_core_rtlsupport_l1_1_0
940 enable_api_ms_win_core_rtlsupport_l1_2_0
941 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
942 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
943 enable_api_ms_win_core_sidebyside_l1_1_0
944 enable_api_ms_win_core_string_l1_1_0
945 enable_api_ms_win_core_string_l2_1_0
946 enable_api_ms_win_core_string_obsolete_l1_1_0
947 enable_api_ms_win_core_stringansi_l1_1_0
948 enable_api_ms_win_core_synch_l1_1_0
949 enable_api_ms_win_core_synch_l1_2_0
950 enable_api_ms_win_core_sysinfo_l1_1_0
951 enable_api_ms_win_core_sysinfo_l1_2_0
952 enable_api_ms_win_core_sysinfo_l1_2_1
953 enable_api_ms_win_core_threadpool_l1_1_0
954 enable_api_ms_win_core_threadpool_l1_2_0
955 enable_api_ms_win_core_threadpool_legacy_l1_1_0
956 enable_api_ms_win_core_timezone_l1_1_0
957 enable_api_ms_win_core_toolhelp_l1_1_0
958 enable_api_ms_win_core_url_l1_1_0
959 enable_api_ms_win_core_util_l1_1_0
960 enable_api_ms_win_core_version_l1_1_0
961 enable_api_ms_win_core_versionansi_l1_1_0
962 enable_api_ms_win_core_winrt_error_l1_1_0
963 enable_api_ms_win_core_winrt_error_l1_1_1
964 enable_api_ms_win_core_winrt_l1_1_0
965 enable_api_ms_win_core_winrt_registration_l1_1_0
966 enable_api_ms_win_core_winrt_string_l1_1_0
967 enable_api_ms_win_core_wow64_l1_1_0
968 enable_api_ms_win_core_xstate_l2_1_0
969 enable_api_ms_win_crt_conio_l1_1_0
970 enable_api_ms_win_crt_convert_l1_1_0
971 enable_api_ms_win_crt_environment_l1_1_0
972 enable_api_ms_win_crt_filesystem_l1_1_0
973 enable_api_ms_win_crt_heap_l1_1_0
974 enable_api_ms_win_crt_locale_l1_1_0
975 enable_api_ms_win_crt_math_l1_1_0
976 enable_api_ms_win_crt_multibyte_l1_1_0
977 enable_api_ms_win_crt_private_l1_1_0
978 enable_api_ms_win_crt_process_l1_1_0
979 enable_api_ms_win_crt_runtime_l1_1_0
980 enable_api_ms_win_crt_stdio_l1_1_0
981 enable_api_ms_win_crt_string_l1_1_0
982 enable_api_ms_win_crt_time_l1_1_0
983 enable_api_ms_win_crt_utility_l1_1_0
984 enable_api_ms_win_downlevel_advapi32_l1_1_0
985 enable_api_ms_win_downlevel_advapi32_l2_1_0
986 enable_api_ms_win_downlevel_normaliz_l1_1_0
987 enable_api_ms_win_downlevel_ole32_l1_1_0
988 enable_api_ms_win_downlevel_shell32_l1_1_0
989 enable_api_ms_win_downlevel_shlwapi_l1_1_0
990 enable_api_ms_win_downlevel_shlwapi_l2_1_0
991 enable_api_ms_win_downlevel_user32_l1_1_0
992 enable_api_ms_win_downlevel_version_l1_1_0
993 enable_api_ms_win_eventing_classicprovider_l1_1_0
994 enable_api_ms_win_eventing_provider_l1_1_0
995 enable_api_ms_win_eventlog_legacy_l1_1_0
996 enable_api_ms_win_ntuser_dc_access_l1_1_0
997 enable_api_ms_win_security_base_l1_1_0
998 enable_api_ms_win_security_base_l1_2_0
999 enable_api_ms_win_security_lsalookup_l1_1_0
1000 enable_api_ms_win_security_lsalookup_l1_1_1
1001 enable_api_ms_win_security_sddl_l1_1_0
1002 enable_api_ms_win_service_core_l1_1_1
1003 enable_api_ms_win_service_management_l1_1_0
1004 enable_api_ms_win_service_winsvc_l1_2_0
1005 enable_api_ms_win_shell_shellfolders_l1_1_0
1006 enable_apphelp
1007 enable_appwiz_cpl
1008 enable_atl
1009 enable_atl100
1010 enable_atl110
1011 enable_atl80
1012 enable_atl90
1013 enable_authz
1014 enable_avicap32
1015 enable_avifil32
1016 enable_avrt
1017 enable_bcrypt
1018 enable_bluetoothapis
1019 enable_browseui
1020 enable_bthprops_cpl
1021 enable_cabinet
1022 enable_capi2032
1023 enable_cards
1024 enable_cfgmgr32
1025 enable_clusapi
1026 enable_combase
1027 enable_comcat
1028 enable_comctl32
1029 enable_comdlg32
1030 enable_compstui
1031 enable_comsvcs
1032 enable_concrt140
1033 enable_connect
1034 enable_credui
1035 enable_crtdll
1036 enable_crypt32
1037 enable_cryptdlg
1038 enable_cryptdll
1039 enable_cryptext
1040 enable_cryptnet
1041 enable_cryptui
1042 enable_ctapi32
1043 enable_ctl3d32
1044 enable_d2d1
1045 enable_d3d10
1046 enable_d3d10_1
1047 enable_d3d10core
1048 enable_d3d11
1049 enable_d3d8
1050 enable_d3d9
1051 enable_d3dcompiler_33
1052 enable_d3dcompiler_34
1053 enable_d3dcompiler_35
1054 enable_d3dcompiler_36
1055 enable_d3dcompiler_37
1056 enable_d3dcompiler_38
1057 enable_d3dcompiler_39
1058 enable_d3dcompiler_40
1059 enable_d3dcompiler_41
1060 enable_d3dcompiler_42
1061 enable_d3dcompiler_43
1062 enable_d3dcompiler_46
1063 enable_d3dcompiler_47
1064 enable_d3dim
1065 enable_d3drm
1066 enable_d3dx10_33
1067 enable_d3dx10_34
1068 enable_d3dx10_35
1069 enable_d3dx10_36
1070 enable_d3dx10_37
1071 enable_d3dx10_38
1072 enable_d3dx10_39
1073 enable_d3dx10_40
1074 enable_d3dx10_41
1075 enable_d3dx10_42
1076 enable_d3dx10_43
1077 enable_d3dx11_42
1078 enable_d3dx11_43
1079 enable_d3dx9_24
1080 enable_d3dx9_25
1081 enable_d3dx9_26
1082 enable_d3dx9_27
1083 enable_d3dx9_28
1084 enable_d3dx9_29
1085 enable_d3dx9_30
1086 enable_d3dx9_31
1087 enable_d3dx9_32
1088 enable_d3dx9_33
1089 enable_d3dx9_34
1090 enable_d3dx9_35
1091 enable_d3dx9_36
1092 enable_d3dx9_37
1093 enable_d3dx9_38
1094 enable_d3dx9_39
1095 enable_d3dx9_40
1096 enable_d3dx9_41
1097 enable_d3dx9_42
1098 enable_d3dx9_43
1099 enable_d3dxof
1100 enable_davclnt
1101 enable_dbgeng
1102 enable_dbghelp
1103 enable_dciman32
1104 enable_ddraw
1105 enable_ddrawex
1106 enable_devenum
1107 enable_dhcpcsvc
1108 enable_difxapi
1109 enable_dinput
1110 enable_dinput8
1111 enable_dispex
1112 enable_dmband
1113 enable_dmcompos
1114 enable_dmime
1115 enable_dmloader
1116 enable_dmscript
1117 enable_dmstyle
1118 enable_dmsynth
1119 enable_dmusic
1120 enable_dmusic32
1121 enable_dnsapi
1122 enable_dplay
1123 enable_dplayx
1124 enable_dpnaddr
1125 enable_dpnet
1126 enable_dpnhpast
1127 enable_dpnlobby
1128 enable_dpvoice
1129 enable_dpwsockx
1130 enable_drmclien
1131 enable_dsound
1132 enable_dssenh
1133 enable_dswave
1134 enable_dwmapi
1135 enable_dwrite
1136 enable_dxdiagn
1137 enable_dxgi
1138 enable_dxva2
1139 enable_esent
1140 enable_evr
1141 enable_explorerframe
1142 enable_ext_ms_win_gdi_devcaps_l1_1_0
1143 enable_faultrep
1144 enable_fltlib
1145 enable_fltmgr_sys
1146 enable_fntcache
1147 enable_fontsub
1148 enable_fusion
1149 enable_fwpuclnt
1150 enable_gameux
1151 enable_gdi32
1152 enable_gdiplus
1153 enable_glu32
1154 enable_gphoto2_ds
1155 enable_gpkcsp
1156 enable_hal
1157 enable_hhctrl_ocx
1158 enable_hid
1159 enable_hidclass_sys
1160 enable_hlink
1161 enable_hnetcfg
1162 enable_httpapi
1163 enable_iccvid
1164 enable_icmp
1165 enable_ieframe
1166 enable_imaadp32_acm
1167 enable_imagehlp
1168 enable_imm32
1169 enable_inetcomm
1170 enable_inetcpl_cpl
1171 enable_inetmib1
1172 enable_infosoft
1173 enable_initpki
1174 enable_inkobj
1175 enable_inseng
1176 enable_iphlpapi
1177 enable_irprops_cpl
1178 enable_itircl
1179 enable_itss
1180 enable_joy_cpl
1181 enable_jscript
1182 enable_jsproxy
1183 enable_kernel32
1184 enable_kernelbase
1185 enable_ksuser
1186 enable_ktmw32
1187 enable_loadperf
1188 enable_localspl
1189 enable_localui
1190 enable_lz32
1191 enable_mapi32
1192 enable_mapistub
1193 enable_mciavi32
1194 enable_mcicda
1195 enable_mciqtz32
1196 enable_mciseq
1197 enable_mciwave
1198 enable_mf
1199 enable_mfplat
1200 enable_mfreadwrite
1201 enable_mgmtapi
1202 enable_midimap
1203 enable_mlang
1204 enable_mmcndmgr
1205 enable_mmdevapi
1206 enable_mountmgr_sys
1207 enable_mpr
1208 enable_mprapi
1209 enable_msacm32_drv
1210 enable_msacm32
1211 enable_msadp32_acm
1212 enable_msasn1
1213 enable_mscat32
1214 enable_mscms
1215 enable_mscoree
1216 enable_msctf
1217 enable_msctfp
1218 enable_msdaps
1219 enable_msdelta
1220 enable_msdmo
1221 enable_msdrm
1222 enable_msftedit
1223 enable_msg711_acm
1224 enable_msgsm32_acm
1225 enable_mshtml_tlb
1226 enable_mshtml
1227 enable_msi
1228 enable_msident
1229 enable_msimg32
1230 enable_msimsg
1231 enable_msimtf
1232 enable_msisip
1233 enable_msisys_ocx
1234 enable_msls31
1235 enable_msnet32
1236 enable_mspatcha
1237 enable_msports
1238 enable_msrle32
1239 enable_msscript_ocx
1240 enable_mssign32
1241 enable_mssip32
1242 enable_mstask
1243 enable_msvcirt
1244 enable_msvcm80
1245 enable_msvcm90
1246 enable_msvcp100
1247 enable_msvcp110
1248 enable_msvcp120
1249 enable_msvcp120_app
1250 enable_msvcp140
1251 enable_msvcp60
1252 enable_msvcp70
1253 enable_msvcp71
1254 enable_msvcp80
1255 enable_msvcp90
1256 enable_msvcr100
1257 enable_msvcr110
1258 enable_msvcr120
1259 enable_msvcr120_app
1260 enable_msvcr70
1261 enable_msvcr71
1262 enable_msvcr80
1263 enable_msvcr90
1264 enable_msvcrt
1265 enable_msvcrt20
1266 enable_msvcrt40
1267 enable_msvcrtd
1268 enable_msvfw32
1269 enable_msvidc32
1270 enable_mswsock
1271 enable_msxml
1272 enable_msxml2
1273 enable_msxml3
1274 enable_msxml4
1275 enable_msxml6
1276 enable_ncrypt
1277 enable_nddeapi
1278 enable_ndis_sys
1279 enable_netapi32
1280 enable_netcfgx
1281 enable_netprofm
1282 enable_newdev
1283 enable_normaliz
1284 enable_npmshtml
1285 enable_npptools
1286 enable_ntdll
1287 enable_ntdsapi
1288 enable_ntoskrnl_exe
1289 enable_ntprint
1290 enable_objsel
1291 enable_odbc32
1292 enable_odbccp32
1293 enable_odbccu32
1294 enable_ole32
1295 enable_oleacc
1296 enable_oleaut32
1297 enable_olecli32
1298 enable_oledb32
1299 enable_oledlg
1300 enable_olepro32
1301 enable_olesvr32
1302 enable_olethk32
1303 enable_openal32
1304 enable_opencl
1305 enable_opengl32
1306 enable_packager
1307 enable_pdh
1308 enable_photometadatahandler
1309 enable_pidgen
1310 enable_powrprof
1311 enable_printui
1312 enable_prntvpt
1313 enable_propsys
1314 enable_psapi
1315 enable_pstorec
1316 enable_qcap
1317 enable_qedit
1318 enable_qmgr
1319 enable_qmgrprxy
1320 enable_quartz
1321 enable_query
1322 enable_rasapi32
1323 enable_rasdlg
1324 enable_regapi
1325 enable_resutils
1326 enable_riched20
1327 enable_riched32
1328 enable_rpcrt4
1329 enable_rsabase
1330 enable_rsaenh
1331 enable_rstrtmgr
1332 enable_rtutils
1333 enable_samlib
1334 enable_sane_ds
1335 enable_scarddlg
1336 enable_sccbase
1337 enable_schannel
1338 enable_schedsvc
1339 enable_scrrun
1340 enable_scsiport_sys
1341 enable_secur32
1342 enable_security
1343 enable_sensapi
1344 enable_serialui
1345 enable_setupapi
1346 enable_sfc
1347 enable_sfc_os
1348 enable_shdoclc
1349 enable_shdocvw
1350 enable_shell32
1351 enable_shfolder
1352 enable_shlwapi
1353 enable_slbcsp
1354 enable_slc
1355 enable_snmpapi
1356 enable_softpub
1357 enable_spoolss
1358 enable_sspicli
1359 enable_stdole2_tlb
1360 enable_stdole32_tlb
1361 enable_sti
1362 enable_svrapi
1363 enable_sxs
1364 enable_t2embed
1365 enable_tapi32
1366 enable_taskschd
1367 enable_tdi_sys
1368 enable_traffic
1369 enable_twain_32
1370 enable_ucrtbase
1371 enable_unicows
1372 enable_updspapi
1373 enable_url
1374 enable_urlmon
1375 enable_usbd_sys
1376 enable_user32
1377 enable_userenv
1378 enable_usp10
1379 enable_uxtheme
1380 enable_vbscript
1381 enable_vcomp
1382 enable_vcomp100
1383 enable_vcomp110
1384 enable_vcomp120
1385 enable_vcomp140
1386 enable_vcomp90
1387 enable_vcruntime140
1388 enable_vdmdbg
1389 enable_version
1390 enable_vssapi
1391 enable_wbemdisp
1392 enable_wbemprox
1393 enable_webservices
1394 enable_wer
1395 enable_wevtapi
1396 enable_wiaservc
1397 enable_wimgapi
1398 enable_windowscodecs
1399 enable_windowscodecsext
1400 enable_winealsa_drv
1401 enable_winebus_sys
1402 enable_winecoreaudio_drv
1403 enable_wined3d
1404 enable_winegstreamer
1405 enable_winejoystick_drv
1406 enable_winemac_drv
1407 enable_winemapi
1408 enable_winemp3_acm
1409 enable_wineoss_drv
1410 enable_wineps_drv
1411 enable_winepulse_drv
1412 enable_wineqtdecoder
1413 enable_winex11_drv
1414 enable_wing32
1415 enable_winhttp
1416 enable_wininet
1417 enable_winmm
1418 enable_winnls32
1419 enable_winscard
1420 enable_winspool_drv
1421 enable_winsta
1422 enable_wintab32
1423 enable_wintrust
1424 enable_wlanapi
1425 enable_wldap32
1426 enable_wmasf
1427 enable_wmi
1428 enable_wmiutils
1429 enable_wmp
1430 enable_wmvcore
1431 enable_wnaspi32
1432 enable_wpc
1433 enable_wpcap
1434 enable_ws2_32
1435 enable_wshom_ocx
1436 enable_wsnmp32
1437 enable_wsock32
1438 enable_wtsapi32
1439 enable_wuapi
1440 enable_wuaueng
1441 enable_x3daudio1_0
1442 enable_x3daudio1_1
1443 enable_x3daudio1_2
1444 enable_x3daudio1_3
1445 enable_x3daudio1_4
1446 enable_x3daudio1_5
1447 enable_x3daudio1_6
1448 enable_x3daudio1_7
1449 enable_xapofx1_1
1450 enable_xapofx1_2
1451 enable_xapofx1_3
1452 enable_xapofx1_4
1453 enable_xapofx1_5
1454 enable_xaudio2_0
1455 enable_xaudio2_1
1456 enable_xaudio2_2
1457 enable_xaudio2_3
1458 enable_xaudio2_4
1459 enable_xaudio2_5
1460 enable_xaudio2_6
1461 enable_xaudio2_7
1462 enable_xaudio2_8
1463 enable_xaudio2_9
1464 enable_xinput1_1
1465 enable_xinput1_2
1466 enable_xinput1_3
1467 enable_xinput1_4
1468 enable_xinput9_1_0
1469 enable_xmllite
1470 enable_xolehlp
1471 enable_xpsprint
1472 enable_xpssvcs
1473 enable_fonts
1474 enable_include
1475 enable_libs_port
1476 enable_libs_wine
1477 enable_libs_wpp
1478 enable_loader
1479 enable_po
1480 enable_arp
1481 enable_aspnet_regiis
1482 enable_attrib
1483 enable_cabarc
1484 enable_cacls
1485 enable_clock
1486 enable_cmd
1487 enable_conhost
1488 enable_control
1489 enable_cscript
1490 enable_dpnsvr
1491 enable_dxdiag
1492 enable_eject
1493 enable_expand
1494 enable_explorer
1495 enable_extrac32
1496 enable_findstr
1497 enable_fsutil
1498 enable_hh
1499 enable_hostname
1500 enable_icacls
1501 enable_icinfo
1502 enable_iexplore
1503 enable_ipconfig
1504 enable_lodctr
1505 enable_mofcomp
1506 enable_mshta
1507 enable_msiexec
1508 enable_msinfo32
1509 enable_net
1510 enable_netsh
1511 enable_netstat
1512 enable_ngen
1513 enable_notepad
1514 enable_oleview
1515 enable_ping
1516 enable_plugplay
1517 enable_presentationfontcache
1518 enable_progman
1519 enable_reg
1520 enable_regasm
1521 enable_regedit
1522 enable_regsvcs
1523 enable_regsvr32
1524 enable_rpcss
1525 enable_rundll32
1526 enable_sc
1527 enable_schtasks
1528 enable_sdbinst
1529 enable_secedit
1530 enable_servicemodelreg
1531 enable_services
1532 enable_shutdown
1533 enable_spoolsv
1534 enable_start
1535 enable_svchost
1536 enable_systeminfo
1537 enable_taskkill
1538 enable_tasklist
1539 enable_taskmgr
1540 enable_termsv
1541 enable_uninstaller
1542 enable_unlodctr
1543 enable_view
1544 enable_wevtutil
1545 enable_wineboot
1546 enable_winebrowser
1547 enable_winecfg
1548 enable_wineconsole
1549 enable_winedbg
1550 enable_winedevice
1551 enable_winefile
1552 enable_winemenubuilder
1553 enable_winemine
1554 enable_winemsibuilder
1555 enable_winepath
1556 enable_winetest
1557 enable_winhlp32
1558 enable_winver
1559 enable_wmic
1560 enable_wmplayer
1561 enable_wordpad
1562 enable_write
1563 enable_wscript
1564 enable_wusa
1565 enable_xcopy
1566 enable_server
1567 enable_tools
1569 ac_precious_vars='build_alias
1570 host_alias
1571 target_alias
1573 CFLAGS
1574 LDFLAGS
1575 LIBS
1576 CPPFLAGS
1578 CXXFLAGS
1581 XMKMF
1582 XML2_CFLAGS
1583 XML2_LIBS
1584 XSLT_CFLAGS
1585 XSLT_LIBS
1586 DBUS_CFLAGS
1587 DBUS_LIBS
1588 HAL_CFLAGS
1589 HAL_LIBS
1590 GNUTLS_CFLAGS
1591 GNUTLS_LIBS
1592 SANE_CFLAGS
1593 SANE_LIBS
1594 GPHOTO2_CFLAGS
1595 GPHOTO2_LIBS
1596 GPHOTO2_PORT_CFLAGS
1597 GPHOTO2_PORT_LIBS
1598 LCMS2_CFLAGS
1599 LCMS2_LIBS
1600 FREETYPE_CFLAGS
1601 FREETYPE_LIBS
1602 PULSE_CFLAGS
1603 PULSE_LIBS
1604 GSTREAMER_CFLAGS
1605 GSTREAMER_LIBS
1606 UDEV_CFLAGS
1607 UDEV_LIBS
1608 CAPI20_CFLAGS
1609 CAPI20_LIBS
1610 FONTCONFIG_CFLAGS
1611 FONTCONFIG_LIBS
1612 JPEG_CFLAGS
1613 JPEG_LIBS
1614 PNG_CFLAGS
1615 PNG_LIBS
1616 TIFF_CFLAGS
1617 TIFF_LIBS
1618 MPG123_CFLAGS
1619 MPG123_LIBS
1620 NETAPI_CFLAGS
1621 NETAPI_LIBS'
1624 # Initialize some variables set by options.
1625 ac_init_help=
1626 ac_init_version=false
1627 ac_unrecognized_opts=
1628 ac_unrecognized_sep=
1629 # The variables have the same names as the options, with
1630 # dashes changed to underlines.
1631 cache_file=/dev/null
1632 exec_prefix=NONE
1633 no_create=
1634 no_recursion=
1635 prefix=NONE
1636 program_prefix=NONE
1637 program_suffix=NONE
1638 program_transform_name=s,x,x,
1639 silent=
1640 site=
1641 srcdir=
1642 verbose=
1643 x_includes=NONE
1644 x_libraries=NONE
1646 # Installation directory options.
1647 # These are left unexpanded so users can "make install exec_prefix=/foo"
1648 # and all the variables that are supposed to be based on exec_prefix
1649 # by default will actually change.
1650 # Use braces instead of parens because sh, perl, etc. also accept them.
1651 # (The list follows the same order as the GNU Coding Standards.)
1652 bindir='${exec_prefix}/bin'
1653 sbindir='${exec_prefix}/sbin'
1654 libexecdir='${exec_prefix}/libexec'
1655 datarootdir='${prefix}/share'
1656 datadir='${datarootdir}'
1657 sysconfdir='${prefix}/etc'
1658 sharedstatedir='${prefix}/com'
1659 localstatedir='${prefix}/var'
1660 runstatedir='${localstatedir}/run'
1661 includedir='${prefix}/include'
1662 oldincludedir='/usr/include'
1663 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1664 infodir='${datarootdir}/info'
1665 htmldir='${docdir}'
1666 dvidir='${docdir}'
1667 pdfdir='${docdir}'
1668 psdir='${docdir}'
1669 libdir='${exec_prefix}/lib'
1670 localedir='${datarootdir}/locale'
1671 mandir='${datarootdir}/man'
1673 ac_prev=
1674 ac_dashdash=
1675 for ac_option
1677 # If the previous option needs an argument, assign it.
1678 if test -n "$ac_prev"; then
1679 eval $ac_prev=\$ac_option
1680 ac_prev=
1681 continue
1684 case $ac_option in
1685 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1686 *=) ac_optarg= ;;
1687 *) ac_optarg=yes ;;
1688 esac
1690 # Accept the important Cygnus configure options, so we can diagnose typos.
1692 case $ac_dashdash$ac_option in
1694 ac_dashdash=yes ;;
1696 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1697 ac_prev=bindir ;;
1698 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1699 bindir=$ac_optarg ;;
1701 -build | --build | --buil | --bui | --bu)
1702 ac_prev=build_alias ;;
1703 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1704 build_alias=$ac_optarg ;;
1706 -cache-file | --cache-file | --cache-fil | --cache-fi \
1707 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1708 ac_prev=cache_file ;;
1709 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1710 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1711 cache_file=$ac_optarg ;;
1713 --config-cache | -C)
1714 cache_file=config.cache ;;
1716 -datadir | --datadir | --datadi | --datad)
1717 ac_prev=datadir ;;
1718 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1719 datadir=$ac_optarg ;;
1721 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1722 | --dataroo | --dataro | --datar)
1723 ac_prev=datarootdir ;;
1724 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1725 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1726 datarootdir=$ac_optarg ;;
1728 -disable-* | --disable-*)
1729 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1730 # Reject names that are not valid shell variable names.
1731 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1732 as_fn_error $? "invalid feature name: $ac_useropt"
1733 ac_useropt_orig=$ac_useropt
1734 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1735 case $ac_user_opts in
1737 "enable_$ac_useropt"
1738 "*) ;;
1739 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1740 ac_unrecognized_sep=', ';;
1741 esac
1742 eval enable_$ac_useropt=no ;;
1744 -docdir | --docdir | --docdi | --doc | --do)
1745 ac_prev=docdir ;;
1746 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1747 docdir=$ac_optarg ;;
1749 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1750 ac_prev=dvidir ;;
1751 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1752 dvidir=$ac_optarg ;;
1754 -enable-* | --enable-*)
1755 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1756 # Reject names that are not valid shell variable names.
1757 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1758 as_fn_error $? "invalid feature name: $ac_useropt"
1759 ac_useropt_orig=$ac_useropt
1760 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1761 case $ac_user_opts in
1763 "enable_$ac_useropt"
1764 "*) ;;
1765 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1766 ac_unrecognized_sep=', ';;
1767 esac
1768 eval enable_$ac_useropt=\$ac_optarg ;;
1770 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1771 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1772 | --exec | --exe | --ex)
1773 ac_prev=exec_prefix ;;
1774 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1775 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1776 | --exec=* | --exe=* | --ex=*)
1777 exec_prefix=$ac_optarg ;;
1779 -gas | --gas | --ga | --g)
1780 # Obsolete; use --with-gas.
1781 with_gas=yes ;;
1783 -help | --help | --hel | --he | -h)
1784 ac_init_help=long ;;
1785 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1786 ac_init_help=recursive ;;
1787 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1788 ac_init_help=short ;;
1790 -host | --host | --hos | --ho)
1791 ac_prev=host_alias ;;
1792 -host=* | --host=* | --hos=* | --ho=*)
1793 host_alias=$ac_optarg ;;
1795 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1796 ac_prev=htmldir ;;
1797 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1798 | --ht=*)
1799 htmldir=$ac_optarg ;;
1801 -includedir | --includedir | --includedi | --included | --include \
1802 | --includ | --inclu | --incl | --inc)
1803 ac_prev=includedir ;;
1804 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1805 | --includ=* | --inclu=* | --incl=* | --inc=*)
1806 includedir=$ac_optarg ;;
1808 -infodir | --infodir | --infodi | --infod | --info | --inf)
1809 ac_prev=infodir ;;
1810 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1811 infodir=$ac_optarg ;;
1813 -libdir | --libdir | --libdi | --libd)
1814 ac_prev=libdir ;;
1815 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1816 libdir=$ac_optarg ;;
1818 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1819 | --libexe | --libex | --libe)
1820 ac_prev=libexecdir ;;
1821 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1822 | --libexe=* | --libex=* | --libe=*)
1823 libexecdir=$ac_optarg ;;
1825 -localedir | --localedir | --localedi | --localed | --locale)
1826 ac_prev=localedir ;;
1827 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1828 localedir=$ac_optarg ;;
1830 -localstatedir | --localstatedir | --localstatedi | --localstated \
1831 | --localstate | --localstat | --localsta | --localst | --locals)
1832 ac_prev=localstatedir ;;
1833 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1834 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1835 localstatedir=$ac_optarg ;;
1837 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1838 ac_prev=mandir ;;
1839 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1840 mandir=$ac_optarg ;;
1842 -nfp | --nfp | --nf)
1843 # Obsolete; use --without-fp.
1844 with_fp=no ;;
1846 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1847 | --no-cr | --no-c | -n)
1848 no_create=yes ;;
1850 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1851 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1852 no_recursion=yes ;;
1854 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1855 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1856 | --oldin | --oldi | --old | --ol | --o)
1857 ac_prev=oldincludedir ;;
1858 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1859 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1860 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1861 oldincludedir=$ac_optarg ;;
1863 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1864 ac_prev=prefix ;;
1865 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1866 prefix=$ac_optarg ;;
1868 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1869 | --program-pre | --program-pr | --program-p)
1870 ac_prev=program_prefix ;;
1871 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1872 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1873 program_prefix=$ac_optarg ;;
1875 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1876 | --program-suf | --program-su | --program-s)
1877 ac_prev=program_suffix ;;
1878 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1879 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1880 program_suffix=$ac_optarg ;;
1882 -program-transform-name | --program-transform-name \
1883 | --program-transform-nam | --program-transform-na \
1884 | --program-transform-n | --program-transform- \
1885 | --program-transform | --program-transfor \
1886 | --program-transfo | --program-transf \
1887 | --program-trans | --program-tran \
1888 | --progr-tra | --program-tr | --program-t)
1889 ac_prev=program_transform_name ;;
1890 -program-transform-name=* | --program-transform-name=* \
1891 | --program-transform-nam=* | --program-transform-na=* \
1892 | --program-transform-n=* | --program-transform-=* \
1893 | --program-transform=* | --program-transfor=* \
1894 | --program-transfo=* | --program-transf=* \
1895 | --program-trans=* | --program-tran=* \
1896 | --progr-tra=* | --program-tr=* | --program-t=*)
1897 program_transform_name=$ac_optarg ;;
1899 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1900 ac_prev=pdfdir ;;
1901 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1902 pdfdir=$ac_optarg ;;
1904 -psdir | --psdir | --psdi | --psd | --ps)
1905 ac_prev=psdir ;;
1906 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1907 psdir=$ac_optarg ;;
1909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1910 | -silent | --silent | --silen | --sile | --sil)
1911 silent=yes ;;
1913 -runstatedir | --runstatedir | --runstatedi | --runstated \
1914 | --runstate | --runstat | --runsta | --runst | --runs \
1915 | --run | --ru | --r)
1916 ac_prev=runstatedir ;;
1917 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1918 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1919 | --run=* | --ru=* | --r=*)
1920 runstatedir=$ac_optarg ;;
1922 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1923 ac_prev=sbindir ;;
1924 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1925 | --sbi=* | --sb=*)
1926 sbindir=$ac_optarg ;;
1928 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1929 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1930 | --sharedst | --shareds | --shared | --share | --shar \
1931 | --sha | --sh)
1932 ac_prev=sharedstatedir ;;
1933 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1934 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1935 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1936 | --sha=* | --sh=*)
1937 sharedstatedir=$ac_optarg ;;
1939 -site | --site | --sit)
1940 ac_prev=site ;;
1941 -site=* | --site=* | --sit=*)
1942 site=$ac_optarg ;;
1944 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1945 ac_prev=srcdir ;;
1946 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1947 srcdir=$ac_optarg ;;
1949 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1950 | --syscon | --sysco | --sysc | --sys | --sy)
1951 ac_prev=sysconfdir ;;
1952 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1953 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1954 sysconfdir=$ac_optarg ;;
1956 -target | --target | --targe | --targ | --tar | --ta | --t)
1957 ac_prev=target_alias ;;
1958 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1959 target_alias=$ac_optarg ;;
1961 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1962 verbose=yes ;;
1964 -version | --version | --versio | --versi | --vers | -V)
1965 ac_init_version=: ;;
1967 -with-* | --with-*)
1968 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1969 # Reject names that are not valid shell variable names.
1970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1971 as_fn_error $? "invalid package name: $ac_useropt"
1972 ac_useropt_orig=$ac_useropt
1973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1974 case $ac_user_opts in
1976 "with_$ac_useropt"
1977 "*) ;;
1978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1979 ac_unrecognized_sep=', ';;
1980 esac
1981 eval with_$ac_useropt=\$ac_optarg ;;
1983 -without-* | --without-*)
1984 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1985 # Reject names that are not valid shell variable names.
1986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1987 as_fn_error $? "invalid package name: $ac_useropt"
1988 ac_useropt_orig=$ac_useropt
1989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1990 case $ac_user_opts in
1992 "with_$ac_useropt"
1993 "*) ;;
1994 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1995 ac_unrecognized_sep=', ';;
1996 esac
1997 eval with_$ac_useropt=no ;;
1999 --x)
2000 # Obsolete; use --with-x.
2001 with_x=yes ;;
2003 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2004 | --x-incl | --x-inc | --x-in | --x-i)
2005 ac_prev=x_includes ;;
2006 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2007 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2008 x_includes=$ac_optarg ;;
2010 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2011 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2012 ac_prev=x_libraries ;;
2013 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2014 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2015 x_libraries=$ac_optarg ;;
2017 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2018 Try \`$0 --help' for more information"
2021 *=*)
2022 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2023 # Reject names that are not valid shell variable names.
2024 case $ac_envvar in #(
2025 '' | [0-9]* | *[!_$as_cr_alnum]* )
2026 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2027 esac
2028 eval $ac_envvar=\$ac_optarg
2029 export $ac_envvar ;;
2032 # FIXME: should be removed in autoconf 3.0.
2033 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2034 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2035 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2036 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2039 esac
2040 done
2042 if test -n "$ac_prev"; then
2043 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2044 as_fn_error $? "missing argument to $ac_option"
2047 if test -n "$ac_unrecognized_opts"; then
2048 case $enable_option_checking in
2049 no) ;;
2050 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2051 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2052 esac
2055 # Check all directory arguments for consistency.
2056 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2057 datadir sysconfdir sharedstatedir localstatedir includedir \
2058 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2059 libdir localedir mandir runstatedir
2061 eval ac_val=\$$ac_var
2062 # Remove trailing slashes.
2063 case $ac_val in
2064 */ )
2065 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2066 eval $ac_var=\$ac_val;;
2067 esac
2068 # Be sure to have absolute directory names.
2069 case $ac_val in
2070 [\\/$]* | ?:[\\/]* ) continue;;
2071 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2072 esac
2073 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2074 done
2076 # There might be people who depend on the old broken behavior: `$host'
2077 # used to hold the argument of --host etc.
2078 # FIXME: To remove some day.
2079 build=$build_alias
2080 host=$host_alias
2081 target=$target_alias
2083 # FIXME: To remove some day.
2084 if test "x$host_alias" != x; then
2085 if test "x$build_alias" = x; then
2086 cross_compiling=maybe
2087 elif test "x$build_alias" != "x$host_alias"; then
2088 cross_compiling=yes
2092 ac_tool_prefix=
2093 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2095 test "$silent" = yes && exec 6>/dev/null
2098 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2099 ac_ls_di=`ls -di .` &&
2100 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2101 as_fn_error $? "working directory cannot be determined"
2102 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2103 as_fn_error $? "pwd does not report name of working directory"
2106 # Find the source files, if location was not specified.
2107 if test -z "$srcdir"; then
2108 ac_srcdir_defaulted=yes
2109 # Try the directory containing this script, then the parent directory.
2110 ac_confdir=`$as_dirname -- "$as_myself" ||
2111 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2112 X"$as_myself" : 'X\(//\)[^/]' \| \
2113 X"$as_myself" : 'X\(//\)$' \| \
2114 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2115 $as_echo X"$as_myself" |
2116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2117 s//\1/
2120 /^X\(\/\/\)[^/].*/{
2121 s//\1/
2124 /^X\(\/\/\)$/{
2125 s//\1/
2128 /^X\(\/\).*/{
2129 s//\1/
2132 s/.*/./; q'`
2133 srcdir=$ac_confdir
2134 if test ! -r "$srcdir/$ac_unique_file"; then
2135 srcdir=..
2137 else
2138 ac_srcdir_defaulted=no
2140 if test ! -r "$srcdir/$ac_unique_file"; then
2141 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2142 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2144 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2145 ac_abs_confdir=`(
2146 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2147 pwd)`
2148 # When building in place, set srcdir=.
2149 if test "$ac_abs_confdir" = "$ac_pwd"; then
2150 srcdir=.
2152 # Remove unnecessary trailing slashes from srcdir.
2153 # Double slashes in file names in object file debugging info
2154 # mess up M-x gdb in Emacs.
2155 case $srcdir in
2156 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2157 esac
2158 for ac_var in $ac_precious_vars; do
2159 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2160 eval ac_env_${ac_var}_value=\$${ac_var}
2161 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2162 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2163 done
2166 # Report the --help message.
2168 if test "$ac_init_help" = "long"; then
2169 # Omit some internal or obsolete options to make the list less imposing.
2170 # This message is too long to be a string in the A/UX 3.1 sh.
2171 cat <<_ACEOF
2172 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2174 Usage: $0 [OPTION]... [VAR=VALUE]...
2176 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2177 VAR=VALUE. See below for descriptions of some of the useful variables.
2179 Defaults for the options are specified in brackets.
2181 Configuration:
2182 -h, --help display this help and exit
2183 --help=short display options specific to this package
2184 --help=recursive display the short help of all the included packages
2185 -V, --version display version information and exit
2186 -q, --quiet, --silent do not print \`checking ...' messages
2187 --cache-file=FILE cache test results in FILE [disabled]
2188 -C, --config-cache alias for \`--cache-file=config.cache'
2189 -n, --no-create do not create output files
2190 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2192 Installation directories:
2193 --prefix=PREFIX install architecture-independent files in PREFIX
2194 [$ac_default_prefix]
2195 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2196 [PREFIX]
2198 By default, \`make install' will install all the files in
2199 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2200 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2201 for instance \`--prefix=\$HOME'.
2203 For better control, use the options below.
2205 Fine tuning of the installation directories:
2206 --bindir=DIR user executables [EPREFIX/bin]
2207 --sbindir=DIR system admin executables [EPREFIX/sbin]
2208 --libexecdir=DIR program executables [EPREFIX/libexec]
2209 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2210 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2211 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2212 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2213 --libdir=DIR object code libraries [EPREFIX/lib]
2214 --includedir=DIR C header files [PREFIX/include]
2215 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2216 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2217 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2218 --infodir=DIR info documentation [DATAROOTDIR/info]
2219 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2220 --mandir=DIR man documentation [DATAROOTDIR/man]
2221 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2222 --htmldir=DIR html documentation [DOCDIR]
2223 --dvidir=DIR dvi documentation [DOCDIR]
2224 --pdfdir=DIR pdf documentation [DOCDIR]
2225 --psdir=DIR ps documentation [DOCDIR]
2226 _ACEOF
2228 cat <<\_ACEOF
2230 X features:
2231 --x-includes=DIR X include files are in DIR
2232 --x-libraries=DIR X library files are in DIR
2234 System types:
2235 --build=BUILD configure for building on BUILD [guessed]
2236 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2237 _ACEOF
2240 if test -n "$ac_init_help"; then
2241 case $ac_init_help in
2242 short | recursive ) echo "Configuration of Wine 1.9.18:";;
2243 esac
2244 cat <<\_ACEOF
2246 Optional Features:
2247 --disable-option-checking ignore unrecognized --enable/--with options
2248 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2249 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2250 --disable-win16 do not include Win16 support
2251 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2252 binaries)
2253 --disable-tests do not build the regression tests
2254 --enable-maintainer-mode
2255 enable maintainer-specific build rules
2256 --disable-largefile omit support for large files
2258 Optional Packages:
2259 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2260 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2261 --without-alsa do not use the Alsa sound support
2262 --without-capi do not use CAPI (ISDN support)
2263 --without-cms do not use CMS (color management support)
2264 --without-coreaudio do not use the CoreAudio sound support
2265 --without-cups do not use CUPS
2266 --without-curses do not use (n)curses
2267 --without-dbus do not use DBus (dynamic device support)
2268 --without-fontconfig do not use fontconfig
2269 --without-freetype do not use the FreeType library
2270 --without-gettext do not use gettext
2271 --with-gettextpo use the GetTextPO library to rebuild po files
2272 --without-gphoto do not use gphoto (Digital Camera support)
2273 --without-glu do not use the GLU library
2274 --without-gnutls do not use GnuTLS (schannel support)
2275 --without-gsm do not use libgsm (GSM 06.10 codec support)
2276 --without-gstreamer do not use GStreamer (codecs support)
2277 --without-hal do not use HAL (dynamic device support)
2278 --without-jpeg do not use JPEG
2279 --without-ldap do not use LDAP
2280 --without-mpg123 do not use the mpg123 library
2281 --without-netapi do not use the Samba NetAPI library
2282 --without-openal do not use OpenAL
2283 --without-opencl do not use OpenCL
2284 --without-opengl do not use OpenGL
2285 --without-osmesa do not use the OSMesa library
2286 --without-oss do not use the OSS sound support
2287 --without-pcap do not use the Packet Capture library
2288 --without-png do not use PNG
2289 --without-pthread do not use the pthread library
2290 --without-pulse do not use PulseAudio sound support
2291 --without-sane do not use SANE (scanner support)
2292 --without-tiff do not use TIFF
2293 --without-udev do not use udev (plug and play support)
2294 --without-v4l do not use v4l1 (v4l support)
2295 --without-xcomposite do not use the Xcomposite extension
2296 --without-xcursor do not use the Xcursor extension
2297 --without-xinerama do not use Xinerama (multi-monitor support)
2298 --without-xinput do not use the Xinput extension
2299 --without-xinput2 do not use the Xinput 2 extension
2300 --without-xml do not use XML
2301 --without-xrandr do not use Xrandr (resolution changes)
2302 --without-xrender do not use the Xrender extension
2303 --without-xshape do not use the Xshape extension
2304 --without-xshm do not use XShm (shared memory extension)
2305 --without-xslt do not use XSLT
2306 --without-xxf86vm do not use XFree video mode extension
2307 --without-zlib do not use Zlib (data compression)
2308 --with-wine-tools=DIR use Wine tools from directory DIR
2309 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2310 --with-x use the X Window System
2312 Some influential environment variables:
2313 CC C compiler command
2314 CFLAGS C compiler flags
2315 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2316 nonstandard directory <lib dir>
2317 LIBS libraries to pass to the linker, e.g. -l<library>
2318 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2319 you have headers in a nonstandard directory <include dir>
2320 CXX C++ compiler command
2321 CXXFLAGS C++ compiler flags
2322 CPP C preprocessor
2323 XMKMF Path to xmkmf, Makefile generator for X Window System
2324 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2325 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2326 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2327 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2328 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2329 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2330 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2331 HAL_LIBS Linker flags for hal, overriding pkg-config
2332 GNUTLS_CFLAGS
2333 C compiler flags for gnutls, overriding pkg-config
2334 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2335 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2336 SANE_LIBS Linker flags for libsane, overriding pkg-config
2337 GPHOTO2_CFLAGS
2338 C compiler flags for libgphoto2, overriding pkg-config
2339 GPHOTO2_LIBS
2340 Linker flags for libgphoto2, overriding pkg-config
2341 GPHOTO2_PORT_CFLAGS
2342 C compiler flags for libgphoto2_port, overriding pkg-config
2343 GPHOTO2_PORT_LIBS
2344 Linker flags for libgphoto2_port, overriding pkg-config
2345 LCMS2_CFLAGS
2346 C compiler flags for lcms2, overriding pkg-config
2347 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2348 FREETYPE_CFLAGS
2349 C compiler flags for freetype2, overriding pkg-config
2350 FREETYPE_LIBS
2351 Linker flags for freetype2, overriding pkg-config
2352 PULSE_CFLAGS
2353 C compiler flags for libpulse, overriding pkg-config
2354 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2355 GSTREAMER_CFLAGS
2356 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2357 gstreamer-audio-1.0, overriding pkg-config
2358 GSTREAMER_LIBS
2359 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2360 gstreamer-audio-1.0, overriding pkg-config
2361 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2362 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2363 CAPI20_CFLAGS
2364 C compiler flags for capi20, overriding pkg-config
2365 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2366 FONTCONFIG_CFLAGS
2367 C compiler flags for fontconfig, overriding pkg-config
2368 FONTCONFIG_LIBS
2369 Linker flags for fontconfig, overriding pkg-config
2370 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2371 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2372 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2373 PNG_LIBS Linker flags for libpng, overriding pkg-config
2374 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2375 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2376 MPG123_CFLAGS
2377 C compiler flags for libmpg123, overriding pkg-config
2378 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2379 NETAPI_CFLAGS
2380 C compiler flags for netapi, overriding pkg-config
2381 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2383 Use these variables to override the choices made by `configure' or to help
2384 it to find libraries and programs with nonstandard names/locations.
2386 Report bugs to <wine-devel@winehq.org>.
2387 Wine home page: <http://www.winehq.org>.
2388 _ACEOF
2389 ac_status=$?
2392 if test "$ac_init_help" = "recursive"; then
2393 # If there are subdirs, report their specific --help.
2394 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2395 test -d "$ac_dir" ||
2396 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2397 continue
2398 ac_builddir=.
2400 case "$ac_dir" in
2401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2403 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2404 # A ".." for each directory in $ac_dir_suffix.
2405 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2406 case $ac_top_builddir_sub in
2407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2409 esac ;;
2410 esac
2411 ac_abs_top_builddir=$ac_pwd
2412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2413 # for backward compatibility:
2414 ac_top_builddir=$ac_top_build_prefix
2416 case $srcdir in
2417 .) # We are building in place.
2418 ac_srcdir=.
2419 ac_top_srcdir=$ac_top_builddir_sub
2420 ac_abs_top_srcdir=$ac_pwd ;;
2421 [\\/]* | ?:[\\/]* ) # Absolute name.
2422 ac_srcdir=$srcdir$ac_dir_suffix;
2423 ac_top_srcdir=$srcdir
2424 ac_abs_top_srcdir=$srcdir ;;
2425 *) # Relative name.
2426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2427 ac_top_srcdir=$ac_top_build_prefix$srcdir
2428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2429 esac
2430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2432 cd "$ac_dir" || { ac_status=$?; continue; }
2433 # Check for guested configure.
2434 if test -f "$ac_srcdir/configure.gnu"; then
2435 echo &&
2436 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2437 elif test -f "$ac_srcdir/configure"; then
2438 echo &&
2439 $SHELL "$ac_srcdir/configure" --help=recursive
2440 else
2441 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2442 fi || ac_status=$?
2443 cd "$ac_pwd" || { ac_status=$?; break; }
2444 done
2447 test -n "$ac_init_help" && exit $ac_status
2448 if $ac_init_version; then
2449 cat <<\_ACEOF
2450 Wine configure 1.9.18
2451 generated by GNU Autoconf 2.69
2453 Copyright (C) 2012 Free Software Foundation, Inc.
2454 This configure script is free software; the Free Software Foundation
2455 gives unlimited permission to copy, distribute and modify it.
2456 _ACEOF
2457 exit
2460 ## ------------------------ ##
2461 ## Autoconf initialization. ##
2462 ## ------------------------ ##
2464 # ac_fn_c_try_compile LINENO
2465 # --------------------------
2466 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2467 ac_fn_c_try_compile ()
2469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2470 rm -f conftest.$ac_objext
2471 if { { ac_try="$ac_compile"
2472 case "(($ac_try" in
2473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2474 *) ac_try_echo=$ac_try;;
2475 esac
2476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2477 $as_echo "$ac_try_echo"; } >&5
2478 (eval "$ac_compile") 2>conftest.err
2479 ac_status=$?
2480 if test -s conftest.err; then
2481 grep -v '^ *+' conftest.err >conftest.er1
2482 cat conftest.er1 >&5
2483 mv -f conftest.er1 conftest.err
2485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2486 test $ac_status = 0; } && {
2487 test -z "$ac_c_werror_flag" ||
2488 test ! -s conftest.err
2489 } && test -s conftest.$ac_objext; then :
2490 ac_retval=0
2491 else
2492 $as_echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.$ac_ext >&5
2495 ac_retval=1
2497 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2498 as_fn_set_status $ac_retval
2500 } # ac_fn_c_try_compile
2502 # ac_fn_cxx_try_compile LINENO
2503 # ----------------------------
2504 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2505 ac_fn_cxx_try_compile ()
2507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2508 rm -f conftest.$ac_objext
2509 if { { ac_try="$ac_compile"
2510 case "(($ac_try" in
2511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2512 *) ac_try_echo=$ac_try;;
2513 esac
2514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2515 $as_echo "$ac_try_echo"; } >&5
2516 (eval "$ac_compile") 2>conftest.err
2517 ac_status=$?
2518 if test -s conftest.err; then
2519 grep -v '^ *+' conftest.err >conftest.er1
2520 cat conftest.er1 >&5
2521 mv -f conftest.er1 conftest.err
2523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2524 test $ac_status = 0; } && {
2525 test -z "$ac_cxx_werror_flag" ||
2526 test ! -s conftest.err
2527 } && test -s conftest.$ac_objext; then :
2528 ac_retval=0
2529 else
2530 $as_echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2533 ac_retval=1
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 as_fn_set_status $ac_retval
2538 } # ac_fn_cxx_try_compile
2540 # ac_fn_c_try_link LINENO
2541 # -----------------------
2542 # Try to link conftest.$ac_ext, and return whether this succeeded.
2543 ac_fn_c_try_link ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 rm -f conftest.$ac_objext conftest$ac_exeext
2547 if { { ac_try="$ac_link"
2548 case "(($ac_try" in
2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2550 *) ac_try_echo=$ac_try;;
2551 esac
2552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2553 $as_echo "$ac_try_echo"; } >&5
2554 (eval "$ac_link") 2>conftest.err
2555 ac_status=$?
2556 if test -s conftest.err; then
2557 grep -v '^ *+' conftest.err >conftest.er1
2558 cat conftest.er1 >&5
2559 mv -f conftest.er1 conftest.err
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; } && {
2563 test -z "$ac_c_werror_flag" ||
2564 test ! -s conftest.err
2565 } && test -s conftest$ac_exeext && {
2566 test "$cross_compiling" = yes ||
2567 test -x conftest$ac_exeext
2568 }; then :
2569 ac_retval=0
2570 else
2571 $as_echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2574 ac_retval=1
2576 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2577 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2578 # interfere with the next link command; also delete a directory that is
2579 # left behind by Apple's compiler. We do this before executing the actions.
2580 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 as_fn_set_status $ac_retval
2584 } # ac_fn_c_try_link
2586 # ac_fn_c_try_cpp LINENO
2587 # ----------------------
2588 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2589 ac_fn_c_try_cpp ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 if { { ac_try="$ac_cpp conftest.$ac_ext"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2598 $as_echo "$ac_try_echo"; } >&5
2599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2600 ac_status=$?
2601 if test -s conftest.err; then
2602 grep -v '^ *+' conftest.err >conftest.er1
2603 cat conftest.er1 >&5
2604 mv -f conftest.er1 conftest.err
2606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2607 test $ac_status = 0; } > conftest.i && {
2608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2609 test ! -s conftest.err
2610 }; then :
2611 ac_retval=0
2612 else
2613 $as_echo "$as_me: failed program was:" >&5
2614 sed 's/^/| /' conftest.$ac_ext >&5
2616 ac_retval=1
2618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2619 as_fn_set_status $ac_retval
2621 } # ac_fn_c_try_cpp
2623 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2624 # -------------------------------------------------------
2625 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2626 # the include files in INCLUDES and setting the cache variable VAR
2627 # accordingly.
2628 ac_fn_c_check_header_mongrel ()
2630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2631 if eval \${$3+:} false; then :
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2633 $as_echo_n "checking for $2... " >&6; }
2634 if eval \${$3+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 eval ac_res=\$$3
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2639 $as_echo "$ac_res" >&6; }
2640 else
2641 # Is the header compilable?
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2643 $as_echo_n "checking $2 usability... " >&6; }
2644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2645 /* end confdefs.h. */
2647 #include <$2>
2648 _ACEOF
2649 if ac_fn_c_try_compile "$LINENO"; then :
2650 ac_header_compiler=yes
2651 else
2652 ac_header_compiler=no
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2656 $as_echo "$ac_header_compiler" >&6; }
2658 # Is the header present?
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2660 $as_echo_n "checking $2 presence... " >&6; }
2661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2662 /* end confdefs.h. */
2663 #include <$2>
2664 _ACEOF
2665 if ac_fn_c_try_cpp "$LINENO"; then :
2666 ac_header_preproc=yes
2667 else
2668 ac_header_preproc=no
2670 rm -f conftest.err conftest.i conftest.$ac_ext
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2672 $as_echo "$ac_header_preproc" >&6; }
2674 # So? What about this header?
2675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2676 yes:no: )
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2678 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2680 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2682 no:yes:* )
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2684 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2686 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2688 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2690 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2692 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2693 ( $as_echo "## ------------------------------------ ##
2694 ## Report this to wine-devel@winehq.org ##
2695 ## ------------------------------------ ##"
2696 ) | sed "s/^/$as_me: WARNING: /" >&2
2698 esac
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2700 $as_echo_n "checking for $2... " >&6; }
2701 if eval \${$3+:} false; then :
2702 $as_echo_n "(cached) " >&6
2703 else
2704 eval "$3=\$ac_header_compiler"
2706 eval ac_res=\$$3
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 } # ac_fn_c_check_header_mongrel
2714 # ac_fn_c_try_run LINENO
2715 # ----------------------
2716 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2717 # that executables *can* be run.
2718 ac_fn_c_try_run ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 if { { ac_try="$ac_link"
2722 case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725 esac
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 $as_echo "$ac_try_echo"; } >&5
2728 (eval "$ac_link") 2>&5
2729 ac_status=$?
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2732 { { case "(($ac_try" in
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2735 esac
2736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2737 $as_echo "$ac_try_echo"; } >&5
2738 (eval "$ac_try") 2>&5
2739 ac_status=$?
2740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2741 test $ac_status = 0; }; }; then :
2742 ac_retval=0
2743 else
2744 $as_echo "$as_me: program exited with status $ac_status" >&5
2745 $as_echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 ac_retval=$ac_status
2750 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 as_fn_set_status $ac_retval
2754 } # ac_fn_c_try_run
2756 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2757 # -------------------------------------------------------
2758 # Tests whether HEADER exists and can be compiled using the include files in
2759 # INCLUDES, setting the cache variable VAR accordingly.
2760 ac_fn_c_check_header_compile ()
2762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2764 $as_echo_n "checking for $2... " >&6; }
2765 if eval \${$3+:} false; then :
2766 $as_echo_n "(cached) " >&6
2767 else
2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2771 #include <$2>
2772 _ACEOF
2773 if ac_fn_c_try_compile "$LINENO"; then :
2774 eval "$3=yes"
2775 else
2776 eval "$3=no"
2778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 eval ac_res=\$$3
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2782 $as_echo "$ac_res" >&6; }
2783 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 } # ac_fn_c_check_header_compile
2787 # ac_fn_c_check_func LINENO FUNC VAR
2788 # ----------------------------------
2789 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2790 ac_fn_c_check_func ()
2792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2794 $as_echo_n "checking for $2... " >&6; }
2795 if eval \${$3+:} false; then :
2796 $as_echo_n "(cached) " >&6
2797 else
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2800 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2802 #define $2 innocuous_$2
2804 /* System header to define __stub macros and hopefully few prototypes,
2805 which can conflict with char $2 (); below.
2806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2807 <limits.h> exists even on freestanding compilers. */
2809 #ifdef __STDC__
2810 # include <limits.h>
2811 #else
2812 # include <assert.h>
2813 #endif
2815 #undef $2
2817 /* Override any GCC internal prototype to avoid an error.
2818 Use char because int might match the return type of a GCC
2819 builtin and then its argument prototype would still apply. */
2820 #ifdef __cplusplus
2821 extern "C"
2822 #endif
2823 char $2 ();
2824 /* The GNU C library defines this for functions which it implements
2825 to always fail with ENOSYS. Some functions are actually named
2826 something starting with __ and the normal name is an alias. */
2827 #if defined __stub_$2 || defined __stub___$2
2828 choke me
2829 #endif
2832 main ()
2834 return $2 ();
2836 return 0;
2838 _ACEOF
2839 if ac_fn_c_try_link "$LINENO"; then :
2840 eval "$3=yes"
2841 else
2842 eval "$3=no"
2844 rm -f core conftest.err conftest.$ac_objext \
2845 conftest$ac_exeext conftest.$ac_ext
2847 eval ac_res=\$$3
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2849 $as_echo "$ac_res" >&6; }
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 } # ac_fn_c_check_func
2854 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2855 # ----------------------------------------------------
2856 # Tries to find if the field MEMBER exists in type AGGR, after including
2857 # INCLUDES, setting cache variable VAR accordingly.
2858 ac_fn_c_check_member ()
2860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2862 $as_echo_n "checking for $2.$3... " >&6; }
2863 if eval \${$4+:} false; then :
2864 $as_echo_n "(cached) " >&6
2865 else
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2870 main ()
2872 static $2 ac_aggr;
2873 if (ac_aggr.$3)
2874 return 0;
2876 return 0;
2878 _ACEOF
2879 if ac_fn_c_try_compile "$LINENO"; then :
2880 eval "$4=yes"
2881 else
2882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2883 /* end confdefs.h. */
2886 main ()
2888 static $2 ac_aggr;
2889 if (sizeof ac_aggr.$3)
2890 return 0;
2892 return 0;
2894 _ACEOF
2895 if ac_fn_c_try_compile "$LINENO"; then :
2896 eval "$4=yes"
2897 else
2898 eval "$4=no"
2900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2904 eval ac_res=\$$4
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2906 $as_echo "$ac_res" >&6; }
2907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2909 } # ac_fn_c_check_member
2911 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2912 # -------------------------------------------
2913 # Tests whether TYPE exists after having included INCLUDES, setting cache
2914 # variable VAR accordingly.
2915 ac_fn_c_check_type ()
2917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2919 $as_echo_n "checking for $2... " >&6; }
2920 if eval \${$3+:} false; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 eval "$3=no"
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2925 /* end confdefs.h. */
2928 main ()
2930 if (sizeof ($2))
2931 return 0;
2933 return 0;
2935 _ACEOF
2936 if ac_fn_c_try_compile "$LINENO"; then :
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2941 main ()
2943 if (sizeof (($2)))
2944 return 0;
2946 return 0;
2948 _ACEOF
2949 if ac_fn_c_try_compile "$LINENO"; then :
2951 else
2952 eval "$3=yes"
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 eval ac_res=\$$3
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 $as_echo "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_type
2964 cat >config.log <<_ACEOF
2965 This file contains any messages produced by compilers while
2966 running configure, to aid debugging if configure makes a mistake.
2968 It was created by Wine $as_me 1.9.18, which was
2969 generated by GNU Autoconf 2.69. Invocation command line was
2971 $ $0 $@
2973 _ACEOF
2974 exec 5>>config.log
2976 cat <<_ASUNAME
2977 ## --------- ##
2978 ## Platform. ##
2979 ## --------- ##
2981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2985 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2987 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2988 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2990 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2991 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2992 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2993 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2994 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2995 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2996 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2998 _ASUNAME
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 $as_echo "PATH: $as_dir"
3006 done
3007 IFS=$as_save_IFS
3009 } >&5
3011 cat >&5 <<_ACEOF
3014 ## ----------- ##
3015 ## Core tests. ##
3016 ## ----------- ##
3018 _ACEOF
3021 # Keep a trace of the command line.
3022 # Strip out --no-create and --no-recursion so they do not pile up.
3023 # Strip out --silent because we don't want to record it for future runs.
3024 # Also quote any args containing shell meta-characters.
3025 # Make two passes to allow for proper duplicate-argument suppression.
3026 ac_configure_args=
3027 ac_configure_args0=
3028 ac_configure_args1=
3029 ac_must_keep_next=false
3030 for ac_pass in 1 2
3032 for ac_arg
3034 case $ac_arg in
3035 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3037 | -silent | --silent | --silen | --sile | --sil)
3038 continue ;;
3039 *\'*)
3040 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3041 esac
3042 case $ac_pass in
3043 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3045 as_fn_append ac_configure_args1 " '$ac_arg'"
3046 if test $ac_must_keep_next = true; then
3047 ac_must_keep_next=false # Got value, back to normal.
3048 else
3049 case $ac_arg in
3050 *=* | --config-cache | -C | -disable-* | --disable-* \
3051 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3052 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3053 | -with-* | --with-* | -without-* | --without-* | --x)
3054 case "$ac_configure_args0 " in
3055 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3056 esac
3058 -* ) ac_must_keep_next=true ;;
3059 esac
3061 as_fn_append ac_configure_args " '$ac_arg'"
3063 esac
3064 done
3065 done
3066 { ac_configure_args0=; unset ac_configure_args0;}
3067 { ac_configure_args1=; unset ac_configure_args1;}
3069 # When interrupted or exit'd, cleanup temporary files, and complete
3070 # config.log. We remove comments because anyway the quotes in there
3071 # would cause problems or look ugly.
3072 # WARNING: Use '\'' to represent an apostrophe within the trap.
3073 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3074 trap 'exit_status=$?
3075 # Save into config.log some information that might help in debugging.
3077 echo
3079 $as_echo "## ---------------- ##
3080 ## Cache variables. ##
3081 ## ---------------- ##"
3082 echo
3083 # The following way of writing the cache mishandles newlines in values,
3085 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3086 eval ac_val=\$$ac_var
3087 case $ac_val in #(
3088 *${as_nl}*)
3089 case $ac_var in #(
3090 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3091 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3092 esac
3093 case $ac_var in #(
3094 _ | IFS | as_nl) ;; #(
3095 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3096 *) { eval $ac_var=; unset $ac_var;} ;;
3097 esac ;;
3098 esac
3099 done
3100 (set) 2>&1 |
3101 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3102 *${as_nl}ac_space=\ *)
3103 sed -n \
3104 "s/'\''/'\''\\\\'\'''\''/g;
3105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3106 ;; #(
3108 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3110 esac |
3111 sort
3113 echo
3115 $as_echo "## ----------------- ##
3116 ## Output variables. ##
3117 ## ----------------- ##"
3118 echo
3119 for ac_var in $ac_subst_vars
3121 eval ac_val=\$$ac_var
3122 case $ac_val in
3123 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3124 esac
3125 $as_echo "$ac_var='\''$ac_val'\''"
3126 done | sort
3127 echo
3129 if test -n "$ac_subst_files"; then
3130 $as_echo "## ------------------- ##
3131 ## File substitutions. ##
3132 ## ------------------- ##"
3133 echo
3134 for ac_var in $ac_subst_files
3136 eval ac_val=\$$ac_var
3137 case $ac_val in
3138 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3139 esac
3140 $as_echo "$ac_var='\''$ac_val'\''"
3141 done | sort
3142 echo
3145 if test -s confdefs.h; then
3146 $as_echo "## ----------- ##
3147 ## confdefs.h. ##
3148 ## ----------- ##"
3149 echo
3150 cat confdefs.h
3151 echo
3153 test "$ac_signal" != 0 &&
3154 $as_echo "$as_me: caught signal $ac_signal"
3155 $as_echo "$as_me: exit $exit_status"
3156 } >&5
3157 rm -f core *.core core.conftest.* &&
3158 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3159 exit $exit_status
3161 for ac_signal in 1 2 13 15; do
3162 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3163 done
3164 ac_signal=0
3166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3167 rm -f -r conftest* confdefs.h
3169 $as_echo "/* confdefs.h */" > confdefs.h
3171 # Predefined preprocessor variables.
3173 cat >>confdefs.h <<_ACEOF
3174 #define PACKAGE_NAME "$PACKAGE_NAME"
3175 _ACEOF
3177 cat >>confdefs.h <<_ACEOF
3178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3179 _ACEOF
3181 cat >>confdefs.h <<_ACEOF
3182 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3183 _ACEOF
3185 cat >>confdefs.h <<_ACEOF
3186 #define PACKAGE_STRING "$PACKAGE_STRING"
3187 _ACEOF
3189 cat >>confdefs.h <<_ACEOF
3190 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3191 _ACEOF
3193 cat >>confdefs.h <<_ACEOF
3194 #define PACKAGE_URL "$PACKAGE_URL"
3195 _ACEOF
3198 # Let the site file select an alternate cache file if it wants to.
3199 # Prefer an explicitly selected file to automatically selected ones.
3200 ac_site_file1=NONE
3201 ac_site_file2=NONE
3202 if test -n "$CONFIG_SITE"; then
3203 # We do not want a PATH search for config.site.
3204 case $CONFIG_SITE in #((
3205 -*) ac_site_file1=./$CONFIG_SITE;;
3206 */*) ac_site_file1=$CONFIG_SITE;;
3207 *) ac_site_file1=./$CONFIG_SITE;;
3208 esac
3209 elif test "x$prefix" != xNONE; then
3210 ac_site_file1=$prefix/share/config.site
3211 ac_site_file2=$prefix/etc/config.site
3212 else
3213 ac_site_file1=$ac_default_prefix/share/config.site
3214 ac_site_file2=$ac_default_prefix/etc/config.site
3216 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3218 test "x$ac_site_file" = xNONE && continue
3219 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3221 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3222 sed 's/^/| /' "$ac_site_file" >&5
3223 . "$ac_site_file" \
3224 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error $? "failed to load site script $ac_site_file
3227 See \`config.log' for more details" "$LINENO" 5; }
3229 done
3231 if test -r "$cache_file"; then
3232 # Some versions of bash will fail to source /dev/null (special files
3233 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3234 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3236 $as_echo "$as_me: loading cache $cache_file" >&6;}
3237 case $cache_file in
3238 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3239 *) . "./$cache_file";;
3240 esac
3242 else
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3244 $as_echo "$as_me: creating cache $cache_file" >&6;}
3245 >$cache_file
3248 # Check that the precious variables saved in the cache have kept the same
3249 # value.
3250 ac_cache_corrupted=false
3251 for ac_var in $ac_precious_vars; do
3252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3253 eval ac_new_set=\$ac_env_${ac_var}_set
3254 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3255 eval ac_new_val=\$ac_env_${ac_var}_value
3256 case $ac_old_set,$ac_new_set in
3257 set,)
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3259 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3260 ac_cache_corrupted=: ;;
3261 ,set)
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3263 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3264 ac_cache_corrupted=: ;;
3265 ,);;
3267 if test "x$ac_old_val" != "x$ac_new_val"; then
3268 # differences in whitespace do not lead to failure.
3269 ac_old_val_w=`echo x $ac_old_val`
3270 ac_new_val_w=`echo x $ac_new_val`
3271 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3273 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3274 ac_cache_corrupted=:
3275 else
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3277 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3278 eval $ac_var=\$ac_old_val
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3281 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3283 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3284 fi;;
3285 esac
3286 # Pass precious variables to config.status.
3287 if test "$ac_new_set" = set; then
3288 case $ac_new_val in
3289 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3290 *) ac_arg=$ac_var=$ac_new_val ;;
3291 esac
3292 case " $ac_configure_args " in
3293 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3294 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3295 esac
3297 done
3298 if $ac_cache_corrupted; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3302 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3303 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3305 ## -------------------- ##
3306 ## Main body of script. ##
3307 ## -------------------- ##
3309 ac_ext=c
3310 ac_cpp='$CPP $CPPFLAGS'
3311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 ac_config_headers="$ac_config_headers include/config.h"
3319 ac_aux_dir=
3320 for ac_dir in tools "$srcdir"/tools; do
3321 if test -f "$ac_dir/install-sh"; then
3322 ac_aux_dir=$ac_dir
3323 ac_install_sh="$ac_aux_dir/install-sh -c"
3324 break
3325 elif test -f "$ac_dir/install.sh"; then
3326 ac_aux_dir=$ac_dir
3327 ac_install_sh="$ac_aux_dir/install.sh -c"
3328 break
3329 elif test -f "$ac_dir/shtool"; then
3330 ac_aux_dir=$ac_dir
3331 ac_install_sh="$ac_aux_dir/shtool install -c"
3332 break
3334 done
3335 if test -z "$ac_aux_dir"; then
3336 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3339 # These three variables are undocumented and unsupported,
3340 # and are intended to be withdrawn in a future Autoconf release.
3341 # They can cause serious problems if a builder's source tree is in a directory
3342 # whose full name contains unusual characters.
3343 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3344 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3345 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3349 libwine_version="1.0"
3353 # Check whether --enable-win16 was given.
3354 if test "${enable_win16+set}" = set; then :
3355 enableval=$enable_win16;
3358 # Check whether --enable-win64 was given.
3359 if test "${enable_win64+set}" = set; then :
3360 enableval=$enable_win64;
3363 # Check whether --enable-tests was given.
3364 if test "${enable_tests+set}" = set; then :
3365 enableval=$enable_tests;
3368 # Check whether --enable-maintainer-mode was given.
3369 if test "${enable_maintainer_mode+set}" = set; then :
3370 enableval=$enable_maintainer_mode;
3375 # Check whether --with-alsa was given.
3376 if test "${with_alsa+set}" = set; then :
3377 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3381 # Check whether --with-capi was given.
3382 if test "${with_capi+set}" = set; then :
3383 withval=$with_capi;
3387 # Check whether --with-cms was given.
3388 if test "${with_cms+set}" = set; then :
3389 withval=$with_cms;
3393 # Check whether --with-coreaudio was given.
3394 if test "${with_coreaudio+set}" = set; then :
3395 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3399 # Check whether --with-cups was given.
3400 if test "${with_cups+set}" = set; then :
3401 withval=$with_cups;
3405 # Check whether --with-curses was given.
3406 if test "${with_curses+set}" = set; then :
3407 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3411 # Check whether --with-dbus was given.
3412 if test "${with_dbus+set}" = set; then :
3413 withval=$with_dbus;
3417 # Check whether --with-fontconfig was given.
3418 if test "${with_fontconfig+set}" = set; then :
3419 withval=$with_fontconfig;
3423 # Check whether --with-freetype was given.
3424 if test "${with_freetype+set}" = set; then :
3425 withval=$with_freetype;
3429 # Check whether --with-gettext was given.
3430 if test "${with_gettext+set}" = set; then :
3431 withval=$with_gettext;
3435 # Check whether --with-gettextpo was given.
3436 if test "${with_gettextpo+set}" = set; then :
3437 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3441 # Check whether --with-gphoto was given.
3442 if test "${with_gphoto+set}" = set; then :
3443 withval=$with_gphoto;
3447 # Check whether --with-glu was given.
3448 if test "${with_glu+set}" = set; then :
3449 withval=$with_glu;
3453 # Check whether --with-gnutls was given.
3454 if test "${with_gnutls+set}" = set; then :
3455 withval=$with_gnutls;
3459 # Check whether --with-gsm was given.
3460 if test "${with_gsm+set}" = set; then :
3461 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3465 # Check whether --with-gstreamer was given.
3466 if test "${with_gstreamer+set}" = set; then :
3467 withval=$with_gstreamer;
3471 # Check whether --with-hal was given.
3472 if test "${with_hal+set}" = set; then :
3473 withval=$with_hal;
3477 # Check whether --with-jpeg was given.
3478 if test "${with_jpeg+set}" = set; then :
3479 withval=$with_jpeg;
3483 # Check whether --with-ldap was given.
3484 if test "${with_ldap+set}" = set; then :
3485 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3489 # Check whether --with-mpg123 was given.
3490 if test "${with_mpg123+set}" = set; then :
3491 withval=$with_mpg123;
3495 # Check whether --with-netapi was given.
3496 if test "${with_netapi+set}" = set; then :
3497 withval=$with_netapi;
3501 # Check whether --with-openal was given.
3502 if test "${with_openal+set}" = set; then :
3503 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3507 # Check whether --with-opencl was given.
3508 if test "${with_opencl+set}" = set; then :
3509 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3513 # Check whether --with-opengl was given.
3514 if test "${with_opengl+set}" = set; then :
3515 withval=$with_opengl;
3519 # Check whether --with-osmesa was given.
3520 if test "${with_osmesa+set}" = set; then :
3521 withval=$with_osmesa;
3525 # Check whether --with-oss was given.
3526 if test "${with_oss+set}" = set; then :
3527 withval=$with_oss;
3531 # Check whether --with-pcap was given.
3532 if test "${with_pcap+set}" = set; then :
3533 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3537 # Check whether --with-png was given.
3538 if test "${with_png+set}" = set; then :
3539 withval=$with_png;
3543 # Check whether --with-pthread was given.
3544 if test "${with_pthread+set}" = set; then :
3545 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3549 # Check whether --with-pulse was given.
3550 if test "${with_pulse+set}" = set; then :
3551 withval=$with_pulse;
3555 # Check whether --with-sane was given.
3556 if test "${with_sane+set}" = set; then :
3557 withval=$with_sane;
3561 # Check whether --with-tiff was given.
3562 if test "${with_tiff+set}" = set; then :
3563 withval=$with_tiff;
3567 # Check whether --with-udev was given.
3568 if test "${with_udev+set}" = set; then :
3569 withval=$with_udev;
3573 # Check whether --with-v4l was given.
3574 if test "${with_v4l+set}" = set; then :
3575 withval=$with_v4l;
3579 # Check whether --with-xcomposite was given.
3580 if test "${with_xcomposite+set}" = set; then :
3581 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3585 # Check whether --with-xcursor was given.
3586 if test "${with_xcursor+set}" = set; then :
3587 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3591 # Check whether --with-xinerama was given.
3592 if test "${with_xinerama+set}" = set; then :
3593 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3597 # Check whether --with-xinput was given.
3598 if test "${with_xinput+set}" = set; then :
3599 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3603 # Check whether --with-xinput2 was given.
3604 if test "${with_xinput2+set}" = set; then :
3605 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3609 # Check whether --with-xml was given.
3610 if test "${with_xml+set}" = set; then :
3611 withval=$with_xml;
3615 # Check whether --with-xrandr was given.
3616 if test "${with_xrandr+set}" = set; then :
3617 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3621 # Check whether --with-xrender was given.
3622 if test "${with_xrender+set}" = set; then :
3623 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3627 # Check whether --with-xshape was given.
3628 if test "${with_xshape+set}" = set; then :
3629 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3633 # Check whether --with-xshm was given.
3634 if test "${with_xshm+set}" = set; then :
3635 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3639 # Check whether --with-xslt was given.
3640 if test "${with_xslt+set}" = set; then :
3641 withval=$with_xslt;
3645 # Check whether --with-xxf86vm was given.
3646 if test "${with_xxf86vm+set}" = set; then :
3647 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
3651 # Check whether --with-zlib was given.
3652 if test "${with_zlib+set}" = set; then :
3653 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3658 # Check whether --with-wine-tools was given.
3659 if test "${with_wine_tools+set}" = set; then :
3660 withval=$with_wine_tools;
3664 # Check whether --with-wine64 was given.
3665 if test "${with_wine64+set}" = set; then :
3666 withval=$with_wine64;
3670 # Make sure we can run config.sub.
3671 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3672 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3675 $as_echo_n "checking build system type... " >&6; }
3676 if ${ac_cv_build+:} false; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 ac_build_alias=$build_alias
3680 test "x$ac_build_alias" = x &&
3681 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3682 test "x$ac_build_alias" = x &&
3683 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3684 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3685 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3689 $as_echo "$ac_cv_build" >&6; }
3690 case $ac_cv_build in
3691 *-*-*) ;;
3692 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3693 esac
3694 build=$ac_cv_build
3695 ac_save_IFS=$IFS; IFS='-'
3696 set x $ac_cv_build
3697 shift
3698 build_cpu=$1
3699 build_vendor=$2
3700 shift; shift
3701 # Remember, the first character of IFS is used to create $*,
3702 # except with old shells:
3703 build_os=$*
3704 IFS=$ac_save_IFS
3705 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3709 $as_echo_n "checking host system type... " >&6; }
3710 if ${ac_cv_host+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 if test "x$host_alias" = x; then
3714 ac_cv_host=$ac_cv_build
3715 else
3716 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3717 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3722 $as_echo "$ac_cv_host" >&6; }
3723 case $ac_cv_host in
3724 *-*-*) ;;
3725 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3726 esac
3727 host=$ac_cv_host
3728 ac_save_IFS=$IFS; IFS='-'
3729 set x $ac_cv_host
3730 shift
3731 host_cpu=$1
3732 host_vendor=$2
3733 shift; shift
3734 # Remember, the first character of IFS is used to create $*,
3735 # except with old shells:
3736 host_os=$*
3737 IFS=$ac_save_IFS
3738 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3742 case "$srcdir" in
3743 .) ;;
3744 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3745 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3746 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3747 fi ;;
3748 esac
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3752 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3753 set x ${MAKE-make}
3754 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3755 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3756 $as_echo_n "(cached) " >&6
3757 else
3758 cat >conftest.make <<\_ACEOF
3759 SHELL = /bin/sh
3760 all:
3761 @echo '@@@%%%=$(MAKE)=@@@%%%'
3762 _ACEOF
3763 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3764 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3765 *@@@%%%=?*=@@@%%%*)
3766 eval ac_cv_prog_make_${ac_make}_set=yes;;
3768 eval ac_cv_prog_make_${ac_make}_set=no;;
3769 esac
3770 rm -f conftest.make
3772 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3774 $as_echo "yes" >&6; }
3775 SET_MAKE=
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3779 SET_MAKE="MAKE=${MAKE-make}"
3782 ac_ext=c
3783 ac_cpp='$CPP $CPPFLAGS'
3784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3787 if test -n "$ac_tool_prefix"; then
3788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3789 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_CC+:} false; then :
3793 $as_echo_n "(cached) " >&6
3794 else
3795 if test -n "$CC"; then
3796 ac_cv_prog_CC="$CC" # Let the user override the test.
3797 else
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3801 IFS=$as_save_IFS
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 break 2
3809 done
3810 done
3811 IFS=$as_save_IFS
3815 CC=$ac_cv_prog_CC
3816 if test -n "$CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 $as_echo "$CC" >&6; }
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3826 if test -z "$ac_cv_prog_CC"; then
3827 ac_ct_CC=$CC
3828 # Extract the first word of "gcc", so it can be a program name with args.
3829 set dummy gcc; ac_word=$2
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831 $as_echo_n "checking for $ac_word... " >&6; }
3832 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3833 $as_echo_n "(cached) " >&6
3834 else
3835 if test -n "$ac_ct_CC"; then
3836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3837 else
3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 for as_dir in $PATH
3841 IFS=$as_save_IFS
3842 test -z "$as_dir" && as_dir=.
3843 for ac_exec_ext in '' $ac_executable_extensions; do
3844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3845 ac_cv_prog_ac_ct_CC="gcc"
3846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 break 2
3849 done
3850 done
3851 IFS=$as_save_IFS
3855 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3856 if test -n "$ac_ct_CC"; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3858 $as_echo "$ac_ct_CC" >&6; }
3859 else
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861 $as_echo "no" >&6; }
3864 if test "x$ac_ct_CC" = x; then
3865 CC=""
3866 else
3867 case $cross_compiling:$ac_tool_warned in
3868 yes:)
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3871 ac_tool_warned=yes ;;
3872 esac
3873 CC=$ac_ct_CC
3875 else
3876 CC="$ac_cv_prog_CC"
3879 if test -z "$CC"; then
3880 if test -n "$ac_tool_prefix"; then
3881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3882 set dummy ${ac_tool_prefix}cc; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if ${ac_cv_prog_CC+:} false; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$CC"; then
3889 ac_cv_prog_CC="$CC" # Let the user override the test.
3890 else
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3898 ac_cv_prog_CC="${ac_tool_prefix}cc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3908 CC=$ac_cv_prog_CC
3909 if test -n "$CC"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3911 $as_echo "$CC" >&6; }
3912 else
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3920 if test -z "$CC"; then
3921 # Extract the first word of "cc", so it can be a program name with args.
3922 set dummy cc; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_CC+:} false; then :
3926 $as_echo_n "(cached) " >&6
3927 else
3928 if test -n "$CC"; then
3929 ac_cv_prog_CC="$CC" # Let the user override the test.
3930 else
3931 ac_prog_rejected=no
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 for as_dir in $PATH
3935 IFS=$as_save_IFS
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3940 ac_prog_rejected=yes
3941 continue
3943 ac_cv_prog_CC="cc"
3944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 break 2
3947 done
3948 done
3949 IFS=$as_save_IFS
3951 if test $ac_prog_rejected = yes; then
3952 # We found a bogon in the path, so make sure we never use it.
3953 set dummy $ac_cv_prog_CC
3954 shift
3955 if test $# != 0; then
3956 # We chose a different compiler from the bogus one.
3957 # However, it has the same basename, so the bogon will be chosen
3958 # first if we set CC to just the basename; use the full file name.
3959 shift
3960 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3965 CC=$ac_cv_prog_CC
3966 if test -n "$CC"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3968 $as_echo "$CC" >&6; }
3969 else
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3976 if test -z "$CC"; then
3977 if test -n "$ac_tool_prefix"; then
3978 for ac_prog in cl.exe
3980 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3981 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if ${ac_cv_prog_CC+:} false; then :
3985 $as_echo_n "(cached) " >&6
3986 else
3987 if test -n "$CC"; then
3988 ac_cv_prog_CC="$CC" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4003 IFS=$as_save_IFS
4007 CC=$ac_cv_prog_CC
4008 if test -n "$CC"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4010 $as_echo "$CC" >&6; }
4011 else
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4017 test -n "$CC" && break
4018 done
4020 if test -z "$CC"; then
4021 ac_ct_CC=$CC
4022 for ac_prog in cl.exe
4024 # Extract the first word of "$ac_prog", so it can be a program name with args.
4025 set dummy $ac_prog; ac_word=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4029 $as_echo_n "(cached) " >&6
4030 else
4031 if test -n "$ac_ct_CC"; then
4032 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_ac_ct_CC="$ac_prog"
4042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4045 done
4046 done
4047 IFS=$as_save_IFS
4051 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4052 if test -n "$ac_ct_CC"; then
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4054 $as_echo "$ac_ct_CC" >&6; }
4055 else
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4057 $as_echo "no" >&6; }
4061 test -n "$ac_ct_CC" && break
4062 done
4064 if test "x$ac_ct_CC" = x; then
4065 CC=""
4066 else
4067 case $cross_compiling:$ac_tool_warned in
4068 yes:)
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4071 ac_tool_warned=yes ;;
4072 esac
4073 CC=$ac_ct_CC
4080 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4082 as_fn_error $? "no acceptable C compiler found in \$PATH
4083 See \`config.log' for more details" "$LINENO" 5; }
4085 # Provide some information about the compiler.
4086 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4087 set X $ac_compile
4088 ac_compiler=$2
4089 for ac_option in --version -v -V -qversion; do
4090 { { ac_try="$ac_compiler $ac_option >&5"
4091 case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4096 $as_echo "$ac_try_echo"; } >&5
4097 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4098 ac_status=$?
4099 if test -s conftest.err; then
4100 sed '10a\
4101 ... rest of stderr output deleted ...
4102 10q' conftest.err >conftest.er1
4103 cat conftest.er1 >&5
4105 rm -f conftest.er1 conftest.err
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }
4108 done
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4114 main ()
4118 return 0;
4120 _ACEOF
4121 ac_clean_files_save=$ac_clean_files
4122 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4123 # Try to create an executable without -o first, disregard a.out.
4124 # It will help us diagnose broken compilers, and finding out an intuition
4125 # of exeext.
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4127 $as_echo_n "checking whether the C compiler works... " >&6; }
4128 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4130 # The possible output files:
4131 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4133 ac_rmfiles=
4134 for ac_file in $ac_files
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4139 esac
4140 done
4141 rm -f $ac_rmfiles
4143 if { { ac_try="$ac_link_default"
4144 case "(($ac_try" in
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4147 esac
4148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4149 $as_echo "$ac_try_echo"; } >&5
4150 (eval "$ac_link_default") 2>&5
4151 ac_status=$?
4152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4153 test $ac_status = 0; }; then :
4154 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4155 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4156 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4157 # so that the user can short-circuit this test for compilers unknown to
4158 # Autoconf.
4159 for ac_file in $ac_files ''
4161 test -f "$ac_file" || continue
4162 case $ac_file in
4163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4165 [ab].out )
4166 # We found the default executable, but exeext='' is most
4167 # certainly right.
4168 break;;
4169 *.* )
4170 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4171 then :; else
4172 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4174 # We set ac_cv_exeext here because the later test for it is not
4175 # safe: cross compilers may not add the suffix if given an `-o'
4176 # argument, so we may need to know it at that point already.
4177 # Even if this section looks crufty: it has the advantage of
4178 # actually working.
4179 break;;
4181 break;;
4182 esac
4183 done
4184 test "$ac_cv_exeext" = no && ac_cv_exeext=
4186 else
4187 ac_file=''
4189 if test -z "$ac_file"; then :
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4192 $as_echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197 as_fn_error 77 "C compiler cannot create executables
4198 See \`config.log' for more details" "$LINENO" 5; }
4199 else
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4201 $as_echo "yes" >&6; }
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4204 $as_echo_n "checking for C compiler default output file name... " >&6; }
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4206 $as_echo "$ac_file" >&6; }
4207 ac_exeext=$ac_cv_exeext
4209 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4210 ac_clean_files=$ac_clean_files_save
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4212 $as_echo_n "checking for suffix of executables... " >&6; }
4213 if { { ac_try="$ac_link"
4214 case "(($ac_try" in
4215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4217 esac
4218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4219 $as_echo "$ac_try_echo"; } >&5
4220 (eval "$ac_link") 2>&5
4221 ac_status=$?
4222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4223 test $ac_status = 0; }; then :
4224 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4225 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4226 # work properly (i.e., refer to `conftest.exe'), while it won't with
4227 # `rm'.
4228 for ac_file in conftest.exe conftest conftest.*; do
4229 test -f "$ac_file" || continue
4230 case $ac_file in
4231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4232 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4233 break;;
4234 * ) break;;
4235 esac
4236 done
4237 else
4238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4240 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4241 See \`config.log' for more details" "$LINENO" 5; }
4243 rm -f conftest conftest$ac_cv_exeext
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4245 $as_echo "$ac_cv_exeext" >&6; }
4247 rm -f conftest.$ac_ext
4248 EXEEXT=$ac_cv_exeext
4249 ac_exeext=$EXEEXT
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4252 #include <stdio.h>
4254 main ()
4256 FILE *f = fopen ("conftest.out", "w");
4257 return ferror (f) || fclose (f) != 0;
4260 return 0;
4262 _ACEOF
4263 ac_clean_files="$ac_clean_files conftest.out"
4264 # Check that the compiler produces executables we can run. If not, either
4265 # the compiler is broken, or we cross compile.
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4267 $as_echo_n "checking whether we are cross compiling... " >&6; }
4268 if test "$cross_compiling" != yes; then
4269 { { ac_try="$ac_link"
4270 case "(($ac_try" in
4271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4273 esac
4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 $as_echo "$ac_try_echo"; } >&5
4276 (eval "$ac_link") 2>&5
4277 ac_status=$?
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; }
4280 if { ac_try='./conftest$ac_cv_exeext'
4281 { { case "(($ac_try" in
4282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283 *) ac_try_echo=$ac_try;;
4284 esac
4285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4286 $as_echo "$ac_try_echo"; } >&5
4287 (eval "$ac_try") 2>&5
4288 ac_status=$?
4289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4290 test $ac_status = 0; }; }; then
4291 cross_compiling=no
4292 else
4293 if test "$cross_compiling" = maybe; then
4294 cross_compiling=yes
4295 else
4296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4298 as_fn_error $? "cannot run C compiled programs.
4299 If you meant to cross compile, use \`--host'.
4300 See \`config.log' for more details" "$LINENO" 5; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4305 $as_echo "$cross_compiling" >&6; }
4307 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4308 ac_clean_files=$ac_clean_files_save
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4310 $as_echo_n "checking for suffix of object files... " >&6; }
4311 if ${ac_cv_objext+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4315 /* end confdefs.h. */
4318 main ()
4322 return 0;
4324 _ACEOF
4325 rm -f conftest.o conftest.obj
4326 if { { ac_try="$ac_compile"
4327 case "(($ac_try" in
4328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4329 *) ac_try_echo=$ac_try;;
4330 esac
4331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4332 $as_echo "$ac_try_echo"; } >&5
4333 (eval "$ac_compile") 2>&5
4334 ac_status=$?
4335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4336 test $ac_status = 0; }; then :
4337 for ac_file in conftest.o conftest.obj conftest.*; do
4338 test -f "$ac_file" || continue;
4339 case $ac_file in
4340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4341 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4342 break;;
4343 esac
4344 done
4345 else
4346 $as_echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.$ac_ext >&5
4349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4351 as_fn_error $? "cannot compute suffix of object files: cannot compile
4352 See \`config.log' for more details" "$LINENO" 5; }
4354 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4357 $as_echo "$ac_cv_objext" >&6; }
4358 OBJEXT=$ac_cv_objext
4359 ac_objext=$OBJEXT
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4361 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4362 if ${ac_cv_c_compiler_gnu+:} false; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4369 main ()
4371 #ifndef __GNUC__
4372 choke me
4373 #endif
4376 return 0;
4378 _ACEOF
4379 if ac_fn_c_try_compile "$LINENO"; then :
4380 ac_compiler_gnu=yes
4381 else
4382 ac_compiler_gnu=no
4384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4389 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4390 if test $ac_compiler_gnu = yes; then
4391 GCC=yes
4392 else
4393 GCC=
4395 ac_test_CFLAGS=${CFLAGS+set}
4396 ac_save_CFLAGS=$CFLAGS
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4398 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4399 if ${ac_cv_prog_cc_g+:} false; then :
4400 $as_echo_n "(cached) " >&6
4401 else
4402 ac_save_c_werror_flag=$ac_c_werror_flag
4403 ac_c_werror_flag=yes
4404 ac_cv_prog_cc_g=no
4405 CFLAGS="-g"
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4410 main ()
4414 return 0;
4416 _ACEOF
4417 if ac_fn_c_try_compile "$LINENO"; then :
4418 ac_cv_prog_cc_g=yes
4419 else
4420 CFLAGS=""
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4425 main ()
4429 return 0;
4431 _ACEOF
4432 if ac_fn_c_try_compile "$LINENO"; then :
4434 else
4435 ac_c_werror_flag=$ac_save_c_werror_flag
4436 CFLAGS="-g"
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4441 main ()
4445 return 0;
4447 _ACEOF
4448 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_cv_prog_cc_g=yes
4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 ac_c_werror_flag=$ac_save_c_werror_flag
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4459 $as_echo "$ac_cv_prog_cc_g" >&6; }
4460 if test "$ac_test_CFLAGS" = set; then
4461 CFLAGS=$ac_save_CFLAGS
4462 elif test $ac_cv_prog_cc_g = yes; then
4463 if test "$GCC" = yes; then
4464 CFLAGS="-g -O2"
4465 else
4466 CFLAGS="-g"
4468 else
4469 if test "$GCC" = yes; then
4470 CFLAGS="-O2"
4471 else
4472 CFLAGS=
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4476 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4477 if ${ac_cv_prog_cc_c89+:} false; then :
4478 $as_echo_n "(cached) " >&6
4479 else
4480 ac_cv_prog_cc_c89=no
4481 ac_save_CC=$CC
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4484 #include <stdarg.h>
4485 #include <stdio.h>
4486 struct stat;
4487 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4488 struct buf { int x; };
4489 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4490 static char *e (p, i)
4491 char **p;
4492 int i;
4494 return p[i];
4496 static char *f (char * (*g) (char **, int), char **p, ...)
4498 char *s;
4499 va_list v;
4500 va_start (v,p);
4501 s = g (p, va_arg (v,int));
4502 va_end (v);
4503 return s;
4506 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4507 function prototypes and stuff, but not '\xHH' hex character constants.
4508 These don't provoke an error unfortunately, instead are silently treated
4509 as 'x'. The following induces an error, until -std is added to get
4510 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4511 array size at least. It's necessary to write '\x00'==0 to get something
4512 that's true only with -std. */
4513 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4515 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4516 inside strings and character constants. */
4517 #define FOO(x) 'x'
4518 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4520 int test (int i, double x);
4521 struct s1 {int (*f) (int a);};
4522 struct s2 {int (*f) (double a);};
4523 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4524 int argc;
4525 char **argv;
4527 main ()
4529 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4531 return 0;
4533 _ACEOF
4534 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4535 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4537 CC="$ac_save_CC $ac_arg"
4538 if ac_fn_c_try_compile "$LINENO"; then :
4539 ac_cv_prog_cc_c89=$ac_arg
4541 rm -f core conftest.err conftest.$ac_objext
4542 test "x$ac_cv_prog_cc_c89" != "xno" && break
4543 done
4544 rm -f conftest.$ac_ext
4545 CC=$ac_save_CC
4548 # AC_CACHE_VAL
4549 case "x$ac_cv_prog_cc_c89" in
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4552 $as_echo "none needed" >&6; } ;;
4553 xno)
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4555 $as_echo "unsupported" >&6; } ;;
4557 CC="$CC $ac_cv_prog_cc_c89"
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4559 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4560 esac
4561 if test "x$ac_cv_prog_cc_c89" != xno; then :
4565 ac_ext=c
4566 ac_cpp='$CPP $CPPFLAGS'
4567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4571 ac_ext=cpp
4572 ac_cpp='$CXXCPP $CPPFLAGS'
4573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4576 if test -z "$CXX"; then
4577 if test -n "$CCC"; then
4578 CXX=$CCC
4579 else
4580 if test -n "$ac_tool_prefix"; then
4581 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4584 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if ${ac_cv_prog_CXX+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 if test -n "$CXX"; then
4591 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4592 else
4593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4594 for as_dir in $PATH
4596 IFS=$as_save_IFS
4597 test -z "$as_dir" && as_dir=.
4598 for ac_exec_ext in '' $ac_executable_extensions; do
4599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4600 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 break 2
4604 done
4605 done
4606 IFS=$as_save_IFS
4610 CXX=$ac_cv_prog_CXX
4611 if test -n "$CXX"; then
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4613 $as_echo "$CXX" >&6; }
4614 else
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616 $as_echo "no" >&6; }
4620 test -n "$CXX" && break
4621 done
4623 if test -z "$CXX"; then
4624 ac_ct_CXX=$CXX
4625 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4627 # Extract the first word of "$ac_prog", so it can be a program name with args.
4628 set dummy $ac_prog; ac_word=$2
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 if test -n "$ac_ct_CXX"; then
4635 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4636 else
4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 for as_dir in $PATH
4640 IFS=$as_save_IFS
4641 test -z "$as_dir" && as_dir=.
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_ac_ct_CXX="$ac_prog"
4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 break 2
4648 done
4649 done
4650 IFS=$as_save_IFS
4654 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4655 if test -n "$ac_ct_CXX"; then
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4657 $as_echo "$ac_ct_CXX" >&6; }
4658 else
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 $as_echo "no" >&6; }
4664 test -n "$ac_ct_CXX" && break
4665 done
4667 if test "x$ac_ct_CXX" = x; then
4668 CXX="g++"
4669 else
4670 case $cross_compiling:$ac_tool_warned in
4671 yes:)
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4674 ac_tool_warned=yes ;;
4675 esac
4676 CXX=$ac_ct_CXX
4682 # Provide some information about the compiler.
4683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4684 set X $ac_compile
4685 ac_compiler=$2
4686 for ac_option in --version -v -V -qversion; do
4687 { { ac_try="$ac_compiler $ac_option >&5"
4688 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691 esac
4692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4693 $as_echo "$ac_try_echo"; } >&5
4694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4695 ac_status=$?
4696 if test -s conftest.err; then
4697 sed '10a\
4698 ... rest of stderr output deleted ...
4699 10q' conftest.err >conftest.er1
4700 cat conftest.er1 >&5
4702 rm -f conftest.er1 conftest.err
4703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4704 test $ac_status = 0; }
4705 done
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4708 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4709 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4710 $as_echo_n "(cached) " >&6
4711 else
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4716 main ()
4718 #ifndef __GNUC__
4719 choke me
4720 #endif
4723 return 0;
4725 _ACEOF
4726 if ac_fn_cxx_try_compile "$LINENO"; then :
4727 ac_compiler_gnu=yes
4728 else
4729 ac_compiler_gnu=no
4731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4732 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4736 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4737 if test $ac_compiler_gnu = yes; then
4738 GXX=yes
4739 else
4740 GXX=
4742 ac_test_CXXFLAGS=${CXXFLAGS+set}
4743 ac_save_CXXFLAGS=$CXXFLAGS
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4745 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4746 if ${ac_cv_prog_cxx_g+:} false; then :
4747 $as_echo_n "(cached) " >&6
4748 else
4749 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4750 ac_cxx_werror_flag=yes
4751 ac_cv_prog_cxx_g=no
4752 CXXFLAGS="-g"
4753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4757 main ()
4761 return 0;
4763 _ACEOF
4764 if ac_fn_cxx_try_compile "$LINENO"; then :
4765 ac_cv_prog_cxx_g=yes
4766 else
4767 CXXFLAGS=""
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4772 main ()
4776 return 0;
4778 _ACEOF
4779 if ac_fn_cxx_try_compile "$LINENO"; then :
4781 else
4782 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4783 CXXFLAGS="-g"
4784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4788 main ()
4792 return 0;
4794 _ACEOF
4795 if ac_fn_cxx_try_compile "$LINENO"; then :
4796 ac_cv_prog_cxx_g=yes
4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4803 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4806 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4807 if test "$ac_test_CXXFLAGS" = set; then
4808 CXXFLAGS=$ac_save_CXXFLAGS
4809 elif test $ac_cv_prog_cxx_g = yes; then
4810 if test "$GXX" = yes; then
4811 CXXFLAGS="-g -O2"
4812 else
4813 CXXFLAGS="-g"
4815 else
4816 if test "$GXX" = yes; then
4817 CXXFLAGS="-O2"
4818 else
4819 CXXFLAGS=
4822 ac_ext=c
4823 ac_cpp='$CPP $CPPFLAGS'
4824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4828 if test -n "$ac_tool_prefix"; then
4829 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4830 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 $as_echo_n "checking for $ac_word... " >&6; }
4833 if ${ac_cv_prog_CPPBIN+:} false; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 if test -n "$CPPBIN"; then
4837 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4838 else
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4846 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 break 2
4850 done
4851 done
4852 IFS=$as_save_IFS
4856 CPPBIN=$ac_cv_prog_CPPBIN
4857 if test -n "$CPPBIN"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4859 $as_echo "$CPPBIN" >&6; }
4860 else
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4867 if test -z "$ac_cv_prog_CPPBIN"; then
4868 ac_ct_CPPBIN=$CPPBIN
4869 # Extract the first word of "cpp", so it can be a program name with args.
4870 set dummy cpp; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 if test -n "$ac_ct_CPPBIN"; then
4877 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4882 IFS=$as_save_IFS
4883 test -z "$as_dir" && as_dir=.
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_ac_ct_CPPBIN="cpp"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4897 if test -n "$ac_ct_CPPBIN"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4899 $as_echo "$ac_ct_CPPBIN" >&6; }
4900 else
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4905 if test "x$ac_ct_CPPBIN" = x; then
4906 CPPBIN="cpp"
4907 else
4908 case $cross_compiling:$ac_tool_warned in
4909 yes:)
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4913 esac
4914 CPPBIN=$ac_ct_CPPBIN
4916 else
4917 CPPBIN="$ac_cv_prog_CPPBIN"
4921 cat >>confdefs.h <<_ACEOF
4922 #define EXEEXT "$ac_exeext"
4923 _ACEOF
4925 if test -n "$ac_tool_prefix"; then
4926 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4927 set dummy ${ac_tool_prefix}ld; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_LD+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 if test -n "$LD"; then
4934 ac_cv_prog_LD="$LD" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939 IFS=$as_save_IFS
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_LD="${ac_tool_prefix}ld"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 break 2
4947 done
4948 done
4949 IFS=$as_save_IFS
4953 LD=$ac_cv_prog_LD
4954 if test -n "$LD"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4956 $as_echo "$LD" >&6; }
4957 else
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4964 if test -z "$ac_cv_prog_LD"; then
4965 ac_ct_LD=$LD
4966 # Extract the first word of "ld", so it can be a program name with args.
4967 set dummy ld; ac_word=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4971 $as_echo_n "(cached) " >&6
4972 else
4973 if test -n "$ac_ct_LD"; then
4974 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4975 else
4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4977 for as_dir in $PATH
4979 IFS=$as_save_IFS
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4983 ac_cv_prog_ac_ct_LD="ld"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 break 2
4987 done
4988 done
4989 IFS=$as_save_IFS
4993 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4994 if test -n "$ac_ct_LD"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4996 $as_echo "$ac_ct_LD" >&6; }
4997 else
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5002 if test "x$ac_ct_LD" = x; then
5003 LD=""
5004 else
5005 case $cross_compiling:$ac_tool_warned in
5006 yes:)
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5009 ac_tool_warned=yes ;;
5010 esac
5011 LD=$ac_ct_LD
5013 else
5014 LD="$ac_cv_prog_LD"
5018 case $host in
5019 *-darwin*)
5020 with_fontconfig=${with_fontconfig:-no}
5022 *-mingw32*|*-cygwin*)
5023 enable_win16=${enable_win16:-no}
5024 CFLAGS="$CFLAGS -D_WIN32"
5026 esac
5028 case $host in
5029 x86_64*|amd64*)
5030 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5031 then
5032 CC="$CC -m32"
5033 CXX="$CXX -m32"
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5035 $as_echo_n "checking whether $CC works... " >&6; }
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5041 main ()
5045 return 0;
5047 _ACEOF
5048 if ac_fn_c_try_link "$LINENO"; then :
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5050 $as_echo "yes" >&6; }
5051 else
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5054 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5056 rm -f core conftest.err conftest.$ac_objext \
5057 conftest$ac_exeext conftest.$ac_ext
5058 host_cpu="i386"
5059 notice_platform="32-bit "
5060 TARGETFLAGS="-m32"
5062 enable_win16=${enable_win16:-yes}
5063 else
5064 if test "x${GCC}" = "xyes"
5065 then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5067 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070 #include <stdarg.h>
5072 main ()
5074 void func(__builtin_ms_va_list *args);
5076 return 0;
5078 _ACEOF
5079 if ac_fn_c_try_compile "$LINENO"; then :
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5081 $as_echo "yes" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5085 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5089 CC="$CC -m64"
5090 CXX="$CXX -m64"
5091 host_cpu="x86_64"
5092 notice_platform="64-bit "
5093 TARGETFLAGS="-m64"
5097 arm*)
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5099 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5102 int ac_test(int i) { return i; }
5104 main ()
5106 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5108 return 0;
5110 _ACEOF
5111 if ac_fn_c_try_link "$LINENO"; then :
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5113 $as_echo "yes" >&6; }
5114 else
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5117 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5119 rm -f core conftest.err conftest.$ac_objext \
5120 conftest$ac_exeext conftest.$ac_ext
5121 CFLAGS="$CFLAGS -marm"
5122 TARGETFLAGS="-marm"
5125 i[3456789]86*)
5126 enable_win16=${enable_win16:-yes}
5128 esac
5130 enable_win16=${enable_win16:-no}
5131 enable_win64=${enable_win64:-no}
5133 enable_winetest=${enable_winetest:-$enable_tests}
5135 if test -n "$with_wine64"
5136 then
5137 if test "x$enable_win64" = "xyes"
5138 then
5139 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5140 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5142 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5143 You should create a separate build directory and run configure from there." "$LINENO" 5
5144 enable_fonts=${enable_fonts:-no}
5145 enable_server=${enable_server:-no}
5146 elif test "x$enable_win64" = "xyes"
5147 then
5148 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5152 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5153 if ${wine_cv_toolsdir+:} false; then :
5154 $as_echo_n "(cached) " >&6
5155 else
5156 wine_cv_toolsdir="$with_wine_tools"
5157 if test -z "$with_wine_tools"; then
5158 if test "$cross_compiling" = "yes"; then
5159 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5160 elif test -n "$with_wine64"; then
5161 wine_cv_toolsdir="$with_wine64"
5164 if test -z "$wine_cv_toolsdir"; then
5165 wine_makedep=tools/makedep
5166 wine_cv_toolsdir="\$(top_builddir)"
5167 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5168 wine_makedep=$wine_cv_toolsdir/tools/makedep
5169 case "$wine_cv_toolsdir" in
5170 /*) ;;
5171 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5172 esac
5173 enable_tools=${enable_tools:-no}
5174 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5175 else
5176 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5180 $as_echo "$wine_cv_toolsdir" >&6; }
5181 TOOLSDIR=$wine_cv_toolsdir
5183 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5184 then
5185 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5189 for ac_prog in flex
5191 # Extract the first word of "$ac_prog", so it can be a program name with args.
5192 set dummy $ac_prog; ac_word=$2
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5194 $as_echo_n "checking for $ac_word... " >&6; }
5195 if ${ac_cv_prog_FLEX+:} false; then :
5196 $as_echo_n "(cached) " >&6
5197 else
5198 if test -n "$FLEX"; then
5199 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5200 else
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 for as_dir in $PATH
5204 IFS=$as_save_IFS
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_FLEX="$ac_prog"
5209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 break 2
5212 done
5213 done
5214 IFS=$as_save_IFS
5218 FLEX=$ac_cv_prog_FLEX
5219 if test -n "$FLEX"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5221 $as_echo "$FLEX" >&6; }
5222 else
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 $as_echo "no" >&6; }
5228 test -n "$FLEX" && break
5229 done
5230 test -n "$FLEX" || FLEX="none"
5232 if test "$FLEX" = "none"
5233 then
5234 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5237 $as_echo_n "checking whether flex is recent enough... " >&6; }
5238 cat >conftest.l <<EOF
5239 %top{
5240 #include "prediluvian.h"
5244 if $FLEX -t conftest.l >/dev/null 2>&5
5245 then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5247 $as_echo "yes" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5251 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5254 for ac_prog in bison
5256 # Extract the first word of "$ac_prog", so it can be a program name with args.
5257 set dummy $ac_prog; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_BISON+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$BISON"; then
5264 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_BISON="$ac_prog"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5277 done
5278 done
5279 IFS=$as_save_IFS
5283 BISON=$ac_cv_prog_BISON
5284 if test -n "$BISON"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5286 $as_echo "$BISON" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5293 test -n "$BISON" && break
5294 done
5295 test -n "$BISON" || BISON="none"
5297 if test "$BISON" = "none"
5298 then
5299 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5302 if test -n "$ac_tool_prefix"; then
5303 for ac_prog in ar gar
5305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if ${ac_cv_prog_AR+:} false; then :
5310 $as_echo_n "(cached) " >&6
5311 else
5312 if test -n "$AR"; then
5313 ac_cv_prog_AR="$AR" # Let the user override the test.
5314 else
5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5316 for as_dir in $PATH
5318 IFS=$as_save_IFS
5319 test -z "$as_dir" && as_dir=.
5320 for ac_exec_ext in '' $ac_executable_extensions; do
5321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5322 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5324 break 2
5326 done
5327 done
5328 IFS=$as_save_IFS
5332 AR=$ac_cv_prog_AR
5333 if test -n "$AR"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5335 $as_echo "$AR" >&6; }
5336 else
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5342 test -n "$AR" && break
5343 done
5345 if test -z "$AR"; then
5346 ac_ct_AR=$AR
5347 for ac_prog in ar gar
5349 # Extract the first word of "$ac_prog", so it can be a program name with args.
5350 set dummy $ac_prog; ac_word=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5354 $as_echo_n "(cached) " >&6
5355 else
5356 if test -n "$ac_ct_AR"; then
5357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5358 else
5359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 for as_dir in $PATH
5362 IFS=$as_save_IFS
5363 test -z "$as_dir" && as_dir=.
5364 for ac_exec_ext in '' $ac_executable_extensions; do
5365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5366 ac_cv_prog_ac_ct_AR="$ac_prog"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 break 2
5370 done
5371 done
5372 IFS=$as_save_IFS
5376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5377 if test -n "$ac_ct_AR"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5379 $as_echo "$ac_ct_AR" >&6; }
5380 else
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5386 test -n "$ac_ct_AR" && break
5387 done
5389 if test "x$ac_ct_AR" = x; then
5390 AR="ar"
5391 else
5392 case $cross_compiling:$ac_tool_warned in
5393 yes:)
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5396 ac_tool_warned=yes ;;
5397 esac
5398 AR=$ac_ct_AR
5402 if test -n "$ac_tool_prefix"; then
5403 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5404 set dummy ${ac_tool_prefix}strip; ac_word=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if ${ac_cv_prog_STRIP+:} false; then :
5408 $as_echo_n "(cached) " >&6
5409 else
5410 if test -n "$STRIP"; then
5411 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5412 else
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 break 2
5424 done
5425 done
5426 IFS=$as_save_IFS
5430 STRIP=$ac_cv_prog_STRIP
5431 if test -n "$STRIP"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5433 $as_echo "$STRIP" >&6; }
5434 else
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5441 if test -z "$ac_cv_prog_STRIP"; then
5442 ac_ct_STRIP=$STRIP
5443 # Extract the first word of "strip", so it can be a program name with args.
5444 set dummy strip; ac_word=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5448 $as_echo_n "(cached) " >&6
5449 else
5450 if test -n "$ac_ct_STRIP"; then
5451 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5452 else
5453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 for as_dir in $PATH
5456 IFS=$as_save_IFS
5457 test -z "$as_dir" && as_dir=.
5458 for ac_exec_ext in '' $ac_executable_extensions; do
5459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5460 ac_cv_prog_ac_ct_STRIP="strip"
5461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 break 2
5464 done
5465 done
5466 IFS=$as_save_IFS
5470 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5471 if test -n "$ac_ct_STRIP"; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5473 $as_echo "$ac_ct_STRIP" >&6; }
5474 else
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5479 if test "x$ac_ct_STRIP" = x; then
5480 STRIP="strip"
5481 else
5482 case $cross_compiling:$ac_tool_warned in
5483 yes:)
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5486 ac_tool_warned=yes ;;
5487 esac
5488 STRIP=$ac_ct_STRIP
5490 else
5491 STRIP="$ac_cv_prog_STRIP"
5494 ARFLAGS=rc
5496 if test -n "$ac_tool_prefix"; then
5497 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5498 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_RANLIB+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -n "$RANLIB"; then
5505 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 break 2
5518 done
5519 done
5520 IFS=$as_save_IFS
5524 RANLIB=$ac_cv_prog_RANLIB
5525 if test -n "$RANLIB"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5527 $as_echo "$RANLIB" >&6; }
5528 else
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5535 if test -z "$ac_cv_prog_RANLIB"; then
5536 ac_ct_RANLIB=$RANLIB
5537 # Extract the first word of "ranlib", so it can be a program name with args.
5538 set dummy ranlib; ac_word=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5542 $as_echo_n "(cached) " >&6
5543 else
5544 if test -n "$ac_ct_RANLIB"; then
5545 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5546 else
5547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5548 for as_dir in $PATH
5550 IFS=$as_save_IFS
5551 test -z "$as_dir" && as_dir=.
5552 for ac_exec_ext in '' $ac_executable_extensions; do
5553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5554 ac_cv_prog_ac_ct_RANLIB="ranlib"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 break 2
5558 done
5559 done
5560 IFS=$as_save_IFS
5564 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5565 if test -n "$ac_ct_RANLIB"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5567 $as_echo "$ac_ct_RANLIB" >&6; }
5568 else
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5573 if test "x$ac_ct_RANLIB" = x; then
5574 RANLIB=":"
5575 else
5576 case $cross_compiling:$ac_tool_warned in
5577 yes:)
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580 ac_tool_warned=yes ;;
5581 esac
5582 RANLIB=$ac_ct_RANLIB
5584 else
5585 RANLIB="$ac_cv_prog_RANLIB"
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5589 $as_echo_n "checking whether ln -s works... " >&6; }
5590 LN_S=$as_ln_s
5591 if test "$LN_S" = "ln -s"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5593 $as_echo "yes" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5596 $as_echo "no, using $LN_S" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5600 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5601 if ${ac_cv_path_GREP+:} false; then :
5602 $as_echo_n "(cached) " >&6
5603 else
5604 if test -z "$GREP"; then
5605 ac_path_GREP_found=false
5606 # Loop through the user's path and test for each of PROGNAME-LIST
5607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5608 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5610 IFS=$as_save_IFS
5611 test -z "$as_dir" && as_dir=.
5612 for ac_prog in grep ggrep; do
5613 for ac_exec_ext in '' $ac_executable_extensions; do
5614 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5615 as_fn_executable_p "$ac_path_GREP" || continue
5616 # Check for GNU ac_path_GREP and select it if it is found.
5617 # Check for GNU $ac_path_GREP
5618 case `"$ac_path_GREP" --version 2>&1` in
5619 *GNU*)
5620 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5622 ac_count=0
5623 $as_echo_n 0123456789 >"conftest.in"
5624 while :
5626 cat "conftest.in" "conftest.in" >"conftest.tmp"
5627 mv "conftest.tmp" "conftest.in"
5628 cp "conftest.in" "conftest.nl"
5629 $as_echo 'GREP' >> "conftest.nl"
5630 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5631 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5632 as_fn_arith $ac_count + 1 && ac_count=$as_val
5633 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5634 # Best one so far, save it but keep looking for a better one
5635 ac_cv_path_GREP="$ac_path_GREP"
5636 ac_path_GREP_max=$ac_count
5638 # 10*(2^10) chars as input seems more than enough
5639 test $ac_count -gt 10 && break
5640 done
5641 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5642 esac
5644 $ac_path_GREP_found && break 3
5645 done
5646 done
5647 done
5648 IFS=$as_save_IFS
5649 if test -z "$ac_cv_path_GREP"; then
5650 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5652 else
5653 ac_cv_path_GREP=$GREP
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5658 $as_echo "$ac_cv_path_GREP" >&6; }
5659 GREP="$ac_cv_path_GREP"
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5663 $as_echo_n "checking for egrep... " >&6; }
5664 if ${ac_cv_path_EGREP+:} false; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5668 then ac_cv_path_EGREP="$GREP -E"
5669 else
5670 if test -z "$EGREP"; then
5671 ac_path_EGREP_found=false
5672 # Loop through the user's path and test for each of PROGNAME-LIST
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_prog in egrep; do
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5681 as_fn_executable_p "$ac_path_EGREP" || continue
5682 # Check for GNU ac_path_EGREP and select it if it is found.
5683 # Check for GNU $ac_path_EGREP
5684 case `"$ac_path_EGREP" --version 2>&1` in
5685 *GNU*)
5686 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5688 ac_count=0
5689 $as_echo_n 0123456789 >"conftest.in"
5690 while :
5692 cat "conftest.in" "conftest.in" >"conftest.tmp"
5693 mv "conftest.tmp" "conftest.in"
5694 cp "conftest.in" "conftest.nl"
5695 $as_echo 'EGREP' >> "conftest.nl"
5696 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5698 as_fn_arith $ac_count + 1 && ac_count=$as_val
5699 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5700 # Best one so far, save it but keep looking for a better one
5701 ac_cv_path_EGREP="$ac_path_EGREP"
5702 ac_path_EGREP_max=$ac_count
5704 # 10*(2^10) chars as input seems more than enough
5705 test $ac_count -gt 10 && break
5706 done
5707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5708 esac
5710 $ac_path_EGREP_found && break 3
5711 done
5712 done
5713 done
5714 IFS=$as_save_IFS
5715 if test -z "$ac_cv_path_EGREP"; then
5716 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5718 else
5719 ac_cv_path_EGREP=$EGREP
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5725 $as_echo "$ac_cv_path_EGREP" >&6; }
5726 EGREP="$ac_cv_path_EGREP"
5729 # Extract the first word of "ldconfig", so it can be a program name with args.
5730 set dummy ldconfig; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_path_LDCONFIG+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 case $LDCONFIG in
5737 [\\/]* | ?:[\\/]*)
5738 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in /sbin /usr/sbin $PATH
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5756 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5758 esac
5760 LDCONFIG=$ac_cv_path_LDCONFIG
5761 if test -n "$LDCONFIG"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5763 $as_echo "$LDCONFIG" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 for ac_prog in msgfmt
5772 # Extract the first word of "$ac_prog", so it can be a program name with args.
5773 set dummy $ac_prog; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_MSGFMT+:} false; then :
5777 $as_echo_n "(cached) " >&6
5778 else
5779 if test -n "$MSGFMT"; then
5780 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5781 else
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5785 IFS=$as_save_IFS
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_MSGFMT="$ac_prog"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791 break 2
5793 done
5794 done
5795 IFS=$as_save_IFS
5799 MSGFMT=$ac_cv_prog_MSGFMT
5800 if test -n "$MSGFMT"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5802 $as_echo "$MSGFMT" >&6; }
5803 else
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5809 test -n "$MSGFMT" && break
5810 done
5811 test -n "$MSGFMT" || MSGFMT="false"
5813 if ${ac_tool_prefix+:} false; then :
5814 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5815 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$PKG_CONFIG"; then
5822 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5842 if test -n "$PKG_CONFIG"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5844 $as_echo "$PKG_CONFIG" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5853 if test "x$cross_compiling" = xyes; then :
5855 else
5856 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5857 # Extract the first word of "pkg-config", so it can be a program name with args.
5858 set dummy pkg-config; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$PKG_CONFIG"; then
5865 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_PKG_CONFIG="pkg-config"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5885 if test -n "$PKG_CONFIG"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5887 $as_echo "$PKG_CONFIG" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5895 else
5896 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5899 if test "x$enable_maintainer_mode" != "xyes"
5900 then
5901 FONTFORGE=""
5902 RSVG=""
5903 CONVERT=""
5904 ICOTOOL=""
5905 else
5906 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5907 for ac_prog in fontforge
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_FONTFORGE+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$FONTFORGE"; then
5917 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_FONTFORGE="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 FONTFORGE=$ac_cv_prog_FONTFORGE
5937 if test -n "$FONTFORGE"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5939 $as_echo "$FONTFORGE" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$FONTFORGE" && break
5947 done
5948 test -n "$FONTFORGE" || FONTFORGE="false"
5950 for ac_prog in rsvg-convert rsvg
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_RSVG+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$RSVG"; then
5960 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_RSVG="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 RSVG=$ac_cv_prog_RSVG
5980 if test -n "$RSVG"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5982 $as_echo "$RSVG" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$RSVG" && break
5990 done
5991 test -n "$RSVG" || RSVG="false"
5993 for ac_prog in convert
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_CONVERT+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$CONVERT"; then
6003 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_CONVERT="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 CONVERT=$ac_cv_prog_CONVERT
6023 if test -n "$CONVERT"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6025 $as_echo "$CONVERT" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$CONVERT" && break
6033 done
6034 test -n "$CONVERT" || CONVERT="false"
6036 for ac_prog in icotool
6038 # Extract the first word of "$ac_prog", so it can be a program name with args.
6039 set dummy $ac_prog; ac_word=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_ICOTOOL+:} false; then :
6043 $as_echo_n "(cached) " >&6
6044 else
6045 if test -n "$ICOTOOL"; then
6046 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6047 else
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH
6051 IFS=$as_save_IFS
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_ICOTOOL="$ac_prog"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057 break 2
6059 done
6060 done
6061 IFS=$as_save_IFS
6065 ICOTOOL=$ac_cv_prog_ICOTOOL
6066 if test -n "$ICOTOOL"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6068 $as_echo "$ICOTOOL" >&6; }
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$ICOTOOL" && break
6076 done
6077 test -n "$ICOTOOL" || ICOTOOL="false"
6079 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6080 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6082 if test "$CONVERT" = false
6083 then
6084 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6087 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6088 convert_version=`convert --version | head -n1`
6089 if test "x$convert_version" != "x"
6090 then
6091 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6092 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6093 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6094 then
6095 CONVERT=false
6098 if test "$CONVERT" = false
6099 then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6101 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6102 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6105 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6109 if test "$ICOTOOL" = false
6110 then
6111 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6114 $as_echo_n "checking for recent enough icotool... " >&6; }
6115 icotool_version=`icotool --version | head -n1`
6116 if test "x$icotool_version" != "x"
6117 then
6118 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6119 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6120 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6121 then
6122 ICOTOOL=false
6123 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6126 if test "$ICOTOOL" = false
6127 then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6129 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6130 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6131 else
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6133 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6137 with_gettext=yes
6138 with_gettextpo=yes
6139 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6142 test "x$with_gettext" != xno || MSGFMT=false
6143 if test "$MSGFMT" != "false"
6144 then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6146 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6147 cat >conftest.po <<EOF
6148 # comment
6149 msgctxt "ctxt"
6150 msgid "id"
6151 msgstr "str"
6153 if $MSGFMT -o /dev/null conftest.po 2>&5
6154 then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6156 $as_echo "yes" >&6; }
6157 else
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6159 $as_echo "no" >&6; }
6160 MSGFMT=false
6163 if test "$MSGFMT" = false; then :
6164 case "x$with_gettext" in
6165 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6166 xno) ;;
6167 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6168 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6169 esac
6170 enable_po=${enable_po:-no}
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6175 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6176 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 ac_check_lib_save_LIBS=$LIBS
6180 LIBS="-li386 $LIBS"
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6184 /* Override any GCC internal prototype to avoid an error.
6185 Use char because int might match the return type of a GCC
6186 builtin and then its argument prototype would still apply. */
6187 #ifdef __cplusplus
6188 extern "C"
6189 #endif
6190 char i386_set_ldt ();
6192 main ()
6194 return i386_set_ldt ();
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_link "$LINENO"; then :
6200 ac_cv_lib_i386_i386_set_ldt=yes
6201 else
6202 ac_cv_lib_i386_i386_set_ldt=no
6204 rm -f core conftest.err conftest.$ac_objext \
6205 conftest$ac_exeext conftest.$ac_ext
6206 LIBS=$ac_check_lib_save_LIBS
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6209 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6210 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_LIBI386 1
6213 _ACEOF
6215 LIBS="-li386 $LIBS"
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6220 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6221 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 ac_check_lib_save_LIBS=$LIBS
6225 LIBS="-lossaudio $LIBS"
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6229 /* Override any GCC internal prototype to avoid an error.
6230 Use char because int might match the return type of a GCC
6231 builtin and then its argument prototype would still apply. */
6232 #ifdef __cplusplus
6233 extern "C"
6234 #endif
6235 char _oss_ioctl ();
6237 main ()
6239 return _oss_ioctl ();
6241 return 0;
6243 _ACEOF
6244 if ac_fn_c_try_link "$LINENO"; then :
6245 ac_cv_lib_ossaudio__oss_ioctl=yes
6246 else
6247 ac_cv_lib_ossaudio__oss_ioctl=no
6249 rm -f core conftest.err conftest.$ac_objext \
6250 conftest$ac_exeext conftest.$ac_ext
6251 LIBS=$ac_check_lib_save_LIBS
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6254 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6255 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6256 cat >>confdefs.h <<_ACEOF
6257 #define HAVE_LIBOSSAUDIO 1
6258 _ACEOF
6260 LIBS="-lossaudio $LIBS"
6265 OPENGL_LIBS=""
6269 # Check whether --enable-largefile was given.
6270 if test "${enable_largefile+set}" = set; then :
6271 enableval=$enable_largefile;
6274 if test "$enable_largefile" != no; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6277 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6278 if ${ac_cv_sys_largefile_CC+:} false; then :
6279 $as_echo_n "(cached) " >&6
6280 else
6281 ac_cv_sys_largefile_CC=no
6282 if test "$GCC" != yes; then
6283 ac_save_CC=$CC
6284 while :; do
6285 # IRIX 6.2 and later do not support large files by default,
6286 # so use the C compiler's -n32 option if that helps.
6287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6289 #include <sys/types.h>
6290 /* Check that off_t can represent 2**63 - 1 correctly.
6291 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6292 since some C++ compilers masquerading as C compilers
6293 incorrectly reject 9223372036854775807. */
6294 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6295 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6296 && LARGE_OFF_T % 2147483647 == 1)
6297 ? 1 : -1];
6299 main ()
6303 return 0;
6305 _ACEOF
6306 if ac_fn_c_try_compile "$LINENO"; then :
6307 break
6309 rm -f core conftest.err conftest.$ac_objext
6310 CC="$CC -n32"
6311 if ac_fn_c_try_compile "$LINENO"; then :
6312 ac_cv_sys_largefile_CC=' -n32'; break
6314 rm -f core conftest.err conftest.$ac_objext
6315 break
6316 done
6317 CC=$ac_save_CC
6318 rm -f conftest.$ac_ext
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6322 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6323 if test "$ac_cv_sys_largefile_CC" != no; then
6324 CC=$CC$ac_cv_sys_largefile_CC
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6328 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6329 if ${ac_cv_sys_file_offset_bits+:} false; then :
6330 $as_echo_n "(cached) " >&6
6331 else
6332 while :; do
6333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6334 /* end confdefs.h. */
6335 #include <sys/types.h>
6336 /* Check that off_t can represent 2**63 - 1 correctly.
6337 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6338 since some C++ compilers masquerading as C compilers
6339 incorrectly reject 9223372036854775807. */
6340 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6341 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6342 && LARGE_OFF_T % 2147483647 == 1)
6343 ? 1 : -1];
6345 main ()
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_compile "$LINENO"; then :
6353 ac_cv_sys_file_offset_bits=no; break
6355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #define _FILE_OFFSET_BITS 64
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6367 ? 1 : -1];
6369 main ()
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_file_offset_bits=64; break
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 ac_cv_sys_file_offset_bits=unknown
6381 break
6382 done
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6385 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6386 case $ac_cv_sys_file_offset_bits in #(
6387 no | unknown) ;;
6389 cat >>confdefs.h <<_ACEOF
6390 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6391 _ACEOF
6393 esac
6394 rm -rf conftest*
6395 if test $ac_cv_sys_file_offset_bits = unknown; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6397 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6398 if ${ac_cv_sys_large_files+:} false; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 while :; do
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #include <sys/types.h>
6405 /* Check that off_t can represent 2**63 - 1 correctly.
6406 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6407 since some C++ compilers masquerading as C compilers
6408 incorrectly reject 9223372036854775807. */
6409 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6410 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6411 && LARGE_OFF_T % 2147483647 == 1)
6412 ? 1 : -1];
6414 main ()
6418 return 0;
6420 _ACEOF
6421 if ac_fn_c_try_compile "$LINENO"; then :
6422 ac_cv_sys_large_files=no; break
6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #define _LARGE_FILES 1
6428 #include <sys/types.h>
6429 /* Check that off_t can represent 2**63 - 1 correctly.
6430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6431 since some C++ compilers masquerading as C compilers
6432 incorrectly reject 9223372036854775807. */
6433 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6435 && LARGE_OFF_T % 2147483647 == 1)
6436 ? 1 : -1];
6438 main ()
6442 return 0;
6444 _ACEOF
6445 if ac_fn_c_try_compile "$LINENO"; then :
6446 ac_cv_sys_large_files=1; break
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6449 ac_cv_sys_large_files=unknown
6450 break
6451 done
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6454 $as_echo "$ac_cv_sys_large_files" >&6; }
6455 case $ac_cv_sys_large_files in #(
6456 no | unknown) ;;
6458 cat >>confdefs.h <<_ACEOF
6459 #define _LARGE_FILES $ac_cv_sys_large_files
6460 _ACEOF
6462 esac
6463 rm -rf conftest*
6470 ac_ext=c
6471 ac_cpp='$CPP $CPPFLAGS'
6472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6476 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6477 # On Suns, sometimes $CPP names a directory.
6478 if test -n "$CPP" && test -d "$CPP"; then
6479 CPP=
6481 if test -z "$CPP"; then
6482 if ${ac_cv_prog_CPP+:} false; then :
6483 $as_echo_n "(cached) " >&6
6484 else
6485 # Double quotes because CPP needs to be expanded
6486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6488 ac_preproc_ok=false
6489 for ac_c_preproc_warn_flag in '' yes
6491 # Use a header file that comes with gcc, so configuring glibc
6492 # with a fresh cross-compiler works.
6493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6494 # <limits.h> exists even on freestanding compilers.
6495 # On the NeXT, cc -E runs the code through the compiler's parser,
6496 # not just through cpp. "Syntax error" is here to catch this case.
6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #ifdef __STDC__
6500 # include <limits.h>
6501 #else
6502 # include <assert.h>
6503 #endif
6504 Syntax error
6505 _ACEOF
6506 if ac_fn_c_try_cpp "$LINENO"; then :
6508 else
6509 # Broken: fails on valid input.
6510 continue
6512 rm -f conftest.err conftest.i conftest.$ac_ext
6514 # OK, works on sane cases. Now check whether nonexistent headers
6515 # can be detected and how.
6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6518 #include <ac_nonexistent.h>
6519 _ACEOF
6520 if ac_fn_c_try_cpp "$LINENO"; then :
6521 # Broken: success on invalid input.
6522 continue
6523 else
6524 # Passes both tests.
6525 ac_preproc_ok=:
6526 break
6528 rm -f conftest.err conftest.i conftest.$ac_ext
6530 done
6531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6532 rm -f conftest.i conftest.err conftest.$ac_ext
6533 if $ac_preproc_ok; then :
6534 break
6537 done
6538 ac_cv_prog_CPP=$CPP
6541 CPP=$ac_cv_prog_CPP
6542 else
6543 ac_cv_prog_CPP=$CPP
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6546 $as_echo "$CPP" >&6; }
6547 ac_preproc_ok=false
6548 for ac_c_preproc_warn_flag in '' yes
6550 # Use a header file that comes with gcc, so configuring glibc
6551 # with a fresh cross-compiler works.
6552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6553 # <limits.h> exists even on freestanding compilers.
6554 # On the NeXT, cc -E runs the code through the compiler's parser,
6555 # not just through cpp. "Syntax error" is here to catch this case.
6556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6557 /* end confdefs.h. */
6558 #ifdef __STDC__
6559 # include <limits.h>
6560 #else
6561 # include <assert.h>
6562 #endif
6563 Syntax error
6564 _ACEOF
6565 if ac_fn_c_try_cpp "$LINENO"; then :
6567 else
6568 # Broken: fails on valid input.
6569 continue
6571 rm -f conftest.err conftest.i conftest.$ac_ext
6573 # OK, works on sane cases. Now check whether nonexistent headers
6574 # can be detected and how.
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #include <ac_nonexistent.h>
6578 _ACEOF
6579 if ac_fn_c_try_cpp "$LINENO"; then :
6580 # Broken: success on invalid input.
6581 continue
6582 else
6583 # Passes both tests.
6584 ac_preproc_ok=:
6585 break
6587 rm -f conftest.err conftest.i conftest.$ac_ext
6589 done
6590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6591 rm -f conftest.i conftest.err conftest.$ac_ext
6592 if $ac_preproc_ok; then :
6594 else
6595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6597 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6598 See \`config.log' for more details" "$LINENO" 5; }
6601 ac_ext=c
6602 ac_cpp='$CPP $CPPFLAGS'
6603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6609 $as_echo_n "checking for ANSI C header files... " >&6; }
6610 if ${ac_cv_header_stdc+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #include <stdlib.h>
6616 #include <stdarg.h>
6617 #include <string.h>
6618 #include <float.h>
6621 main ()
6625 return 0;
6627 _ACEOF
6628 if ac_fn_c_try_compile "$LINENO"; then :
6629 ac_cv_header_stdc=yes
6630 else
6631 ac_cv_header_stdc=no
6633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6635 if test $ac_cv_header_stdc = yes; then
6636 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6639 #include <string.h>
6641 _ACEOF
6642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6643 $EGREP "memchr" >/dev/null 2>&1; then :
6645 else
6646 ac_cv_header_stdc=no
6648 rm -f conftest*
6652 if test $ac_cv_header_stdc = yes; then
6653 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655 /* end confdefs.h. */
6656 #include <stdlib.h>
6658 _ACEOF
6659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6660 $EGREP "free" >/dev/null 2>&1; then :
6662 else
6663 ac_cv_header_stdc=no
6665 rm -f conftest*
6669 if test $ac_cv_header_stdc = yes; then
6670 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6671 if test "$cross_compiling" = yes; then :
6673 else
6674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6675 /* end confdefs.h. */
6676 #include <ctype.h>
6677 #include <stdlib.h>
6678 #if ((' ' & 0x0FF) == 0x020)
6679 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6680 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6681 #else
6682 # define ISLOWER(c) \
6683 (('a' <= (c) && (c) <= 'i') \
6684 || ('j' <= (c) && (c) <= 'r') \
6685 || ('s' <= (c) && (c) <= 'z'))
6686 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6687 #endif
6689 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6691 main ()
6693 int i;
6694 for (i = 0; i < 256; i++)
6695 if (XOR (islower (i), ISLOWER (i))
6696 || toupper (i) != TOUPPER (i))
6697 return 2;
6698 return 0;
6700 _ACEOF
6701 if ac_fn_c_try_run "$LINENO"; then :
6703 else
6704 ac_cv_header_stdc=no
6706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6707 conftest.$ac_objext conftest.beam conftest.$ac_ext
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6713 $as_echo "$ac_cv_header_stdc" >&6; }
6714 if test $ac_cv_header_stdc = yes; then
6716 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6720 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6721 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6722 inttypes.h stdint.h unistd.h
6723 do :
6724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6725 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6727 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6728 cat >>confdefs.h <<_ACEOF
6729 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6730 _ACEOF
6734 done
6737 for ac_header in \
6738 AL/al.h \
6739 ApplicationServices/ApplicationServices.h \
6740 AudioToolbox/AudioConverter.h \
6741 AudioUnit/AudioUnit.h \
6742 AudioUnit/AudioComponent.h \
6743 CL/cl.h \
6744 Carbon/Carbon.h \
6745 CommonCrypto/CommonDigest.h \
6746 CoreAudio/CoreAudio.h \
6747 CoreServices/CoreServices.h \
6748 DiskArbitration/DiskArbitration.h \
6749 IOKit/IOKitLib.h \
6750 IOKit/hid/IOHIDLib.h \
6751 OpenAL/al.h \
6752 OpenCL/opencl.h \
6753 QuickTime/ImageCompression.h \
6754 Security/Security.h \
6755 alias.h \
6756 alsa/asoundlib.h \
6757 arpa/inet.h \
6758 arpa/nameser.h \
6759 asm/types.h \
6760 asm/user.h \
6761 curses.h \
6762 direct.h \
6763 dirent.h \
6764 dlfcn.h \
6765 elf.h \
6766 float.h \
6767 fnmatch.h \
6768 getopt.h \
6769 gettext-po.h \
6770 grp.h \
6771 gsm.h \
6772 gsm/gsm.h \
6773 ieeefp.h \
6774 inet/mib2.h \
6775 io.h \
6776 kstat.h \
6777 lber.h \
6778 ldap.h \
6779 libproc.h \
6780 link.h \
6781 linux/cdrom.h \
6782 linux/compiler.h \
6783 linux/filter.h \
6784 linux/hdreg.h \
6785 linux/input.h \
6786 linux/ioctl.h \
6787 linux/joystick.h \
6788 linux/major.h \
6789 linux/param.h \
6790 linux/serial.h \
6791 linux/types.h \
6792 linux/ucdrom.h \
6793 lwp.h \
6794 mach-o/nlist.h \
6795 mach-o/loader.h \
6796 mach/mach.h \
6797 mach/machine.h \
6798 machine/cpu.h \
6799 machine/limits.h \
6800 machine/sysarch.h \
6801 mntent.h \
6802 ncurses.h \
6803 netdb.h \
6804 netinet/in.h \
6805 netinet/in_systm.h \
6806 netinet/tcp.h \
6807 netinet/tcp_fsm.h \
6808 pcap/pcap.h \
6809 poll.h \
6810 port.h \
6811 process.h \
6812 pthread.h \
6813 pwd.h \
6814 sched.h \
6815 scsi/scsi.h \
6816 scsi/scsi_ioctl.h \
6817 scsi/sg.h \
6818 stdbool.h \
6819 stdint.h \
6820 stropts.h \
6821 sys/asoundlib.h \
6822 sys/attr.h \
6823 sys/cdio.h \
6824 sys/elf32.h \
6825 sys/epoll.h \
6826 sys/event.h \
6827 sys/exec_elf.h \
6828 sys/filio.h \
6829 sys/inotify.h \
6830 sys/ioctl.h \
6831 sys/ipc.h \
6832 sys/limits.h \
6833 sys/link.h \
6834 sys/mman.h \
6835 sys/modem.h \
6836 sys/msg.h \
6837 sys/mtio.h \
6838 sys/param.h \
6839 sys/poll.h \
6840 sys/prctl.h \
6841 sys/protosw.h \
6842 sys/ptrace.h \
6843 sys/queue.h \
6844 sys/resource.h \
6845 sys/scsiio.h \
6846 sys/shm.h \
6847 sys/signal.h \
6848 sys/socket.h \
6849 sys/socketvar.h \
6850 sys/sockio.h \
6851 sys/statvfs.h \
6852 sys/strtio.h \
6853 sys/syscall.h \
6854 sys/sysinfo.h \
6855 sys/tihdr.h \
6856 sys/time.h \
6857 sys/timeout.h \
6858 sys/times.h \
6859 sys/uio.h \
6860 sys/user.h \
6861 sys/utsname.h \
6862 sys/vm86.h \
6863 sys/vnode.h \
6864 sys/wait.h \
6865 syscall.h \
6866 termios.h \
6867 unistd.h \
6868 utime.h \
6869 valgrind/memcheck.h \
6870 valgrind/valgrind.h \
6871 zlib.h
6873 do :
6874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6875 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6877 cat >>confdefs.h <<_ACEOF
6878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6879 _ACEOF
6883 done
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6886 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6887 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6888 $as_echo_n "(cached) " >&6
6889 else
6890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h. */
6892 #include <sys/types.h>
6894 main ()
6896 return makedev(0, 0);
6898 return 0;
6900 _ACEOF
6901 if ac_fn_c_try_link "$LINENO"; then :
6902 ac_cv_header_sys_types_h_makedev=yes
6903 else
6904 ac_cv_header_sys_types_h_makedev=no
6906 rm -f core conftest.err conftest.$ac_objext \
6907 conftest$ac_exeext conftest.$ac_ext
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6911 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6913 if test $ac_cv_header_sys_types_h_makedev = no; then
6914 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6915 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6917 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6923 if test $ac_cv_header_sys_mkdev_h = no; then
6924 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6925 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6927 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6936 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6937 if ${ac_cv_header_stat_broken+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6942 #include <sys/types.h>
6943 #include <sys/stat.h>
6945 #if defined S_ISBLK && defined S_IFDIR
6946 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6947 #endif
6949 #if defined S_ISBLK && defined S_IFCHR
6950 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6951 #endif
6953 #if defined S_ISLNK && defined S_IFREG
6954 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6955 #endif
6957 #if defined S_ISSOCK && defined S_IFREG
6958 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6959 #endif
6961 _ACEOF
6962 if ac_fn_c_try_compile "$LINENO"; then :
6963 ac_cv_header_stat_broken=no
6964 else
6965 ac_cv_header_stat_broken=yes
6967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6970 $as_echo "$ac_cv_header_stat_broken" >&6; }
6971 if test $ac_cv_header_stat_broken = yes; then
6973 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6979 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6980 do :
6981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6983 #ifdef HAVE_SYS_PARAM_H
6984 # include <sys/param.h>
6985 #endif
6987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6988 cat >>confdefs.h <<_ACEOF
6989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6990 _ACEOF
6994 done
6997 for ac_header in \
6998 netinet/ip.h \
6999 net/if.h \
7000 net/if_arp.h \
7001 net/if_dl.h \
7002 net/if_types.h \
7003 net/route.h \
7004 netinet/if_ether.h \
7005 netinet/if_inarp.h \
7006 netinet/in_pcb.h \
7007 netinet/ip_icmp.h \
7008 netinet/ip_var.h \
7009 netinet/udp.h \
7010 netipx/ipx.h \
7011 sys/un.h \
7013 do :
7014 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7015 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7016 #ifdef HAVE_SYS_SOCKET_H
7017 # include <sys/socket.h>
7018 #endif
7019 #ifdef HAVE_SYS_SOCKETVAR_H
7020 # include <sys/socketvar.h>
7021 #endif
7022 #ifdef HAVE_NET_ROUTE_H
7023 # include <net/route.h>
7024 #endif
7025 #ifdef HAVE_NETINET_IN_H
7026 # include <netinet/in.h>
7027 #endif
7028 #ifdef HAVE_NETINET_IN_SYSTM_H
7029 # include <netinet/in_systm.h>
7030 #endif
7031 #ifdef HAVE_NET_IF_H
7032 # include <net/if.h>
7033 #endif
7034 #ifdef HAVE_NETINET_IP_H
7035 # include <netinet/ip.h>
7036 #endif
7038 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7039 cat >>confdefs.h <<_ACEOF
7040 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7041 _ACEOF
7045 done
7048 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7049 do :
7050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7051 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7052 #ifdef HAVE_ALIAS_H
7053 # include <alias.h>
7054 #endif
7055 #ifdef HAVE_SYS_SOCKET_H
7056 # include <sys/socket.h>
7057 #endif
7058 #ifdef HAVE_SYS_SOCKETVAR_H
7059 # include <sys/socketvar.h>
7060 #endif
7061 #ifdef HAVE_SYS_TIMEOUT_H
7062 # include <sys/timeout.h>
7063 #endif
7064 #ifdef HAVE_NETINET_IN_H
7065 # include <netinet/in.h>
7066 #endif
7067 #ifdef HAVE_NETINET_IN_SYSTM_H
7068 # include <netinet/in_systm.h>
7069 #endif
7070 #ifdef HAVE_NETINET_IP_H
7071 # include <netinet/ip.h>
7072 #endif
7073 #ifdef HAVE_NETINET_IP_VAR_H
7074 # include <netinet/ip_var.h>
7075 #endif
7076 #ifdef HAVE_NETINET_IP_ICMP_H
7077 # include <netinet/ip_icmp.h>
7078 #endif
7079 #ifdef HAVE_NETINET_UDP_H
7080 # include <netinet/udp.h>
7081 #endif
7082 #ifdef HAVE_NETINET_TCP_H
7083 # include <netinet/tcp.h>
7084 #endif
7085 #ifdef HAVE_NETINET_TCP_TIMER_H
7086 #include <netinet/tcp_timer.h>
7087 #endif
7089 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7090 cat >>confdefs.h <<_ACEOF
7091 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7092 _ACEOF
7096 done
7099 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7100 do :
7101 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7102 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7103 #ifdef HAVE_ASM_TYPES_H
7104 # include <asm/types.h>
7105 #endif
7106 #ifdef HAVE_SYS_SOCKET_H
7107 # include <sys/socket.h>
7108 #endif
7109 #ifdef HAVE_LINUX_TYPES_H
7110 # include <linux/types.h>
7111 #endif
7113 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7114 cat >>confdefs.h <<_ACEOF
7115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7116 _ACEOF
7120 done
7123 for ac_header in mach-o/dyld_images.h
7124 do :
7125 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7126 # include <stdbool.h>
7127 #endif
7128 #ifdef HAVE_STDINT_H
7129 # include <stdint.h>
7130 #endif
7132 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7133 cat >>confdefs.h <<_ACEOF
7134 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7135 _ACEOF
7139 done
7142 for ac_header in resolv.h
7143 do :
7144 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7145 #ifdef HAVE_SYS_SOCKET_H
7146 # include <sys/socket.h>
7147 #endif
7148 #ifdef HAVE_NETINET_IN_H
7149 # include <netinet/in.h>
7150 #endif
7151 #ifdef HAVE_ARPA_NAMESER_H
7152 # include <arpa/nameser.h>
7153 #endif
7155 if test "x$ac_cv_header_resolv_h" = xyes; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define HAVE_RESOLV_H 1
7158 _ACEOF
7162 done
7165 for ac_header in ifaddrs.h
7166 do :
7167 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7169 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7170 cat >>confdefs.h <<_ACEOF
7171 #define HAVE_IFADDRS_H 1
7172 _ACEOF
7176 done
7179 for ac_header in sys/ucontext.h
7180 do :
7181 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7183 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7184 cat >>confdefs.h <<_ACEOF
7185 #define HAVE_SYS_UCONTEXT_H 1
7186 _ACEOF
7190 done
7193 for ac_header in sys/thr.h
7194 do :
7195 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7196 #ifdef HAVE_SYS_UCONTEXT_H
7197 #include <sys/ucontext.h>
7198 #endif
7200 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7201 cat >>confdefs.h <<_ACEOF
7202 #define HAVE_SYS_THR_H 1
7203 _ACEOF
7207 done
7210 for ac_header in pthread_np.h
7211 do :
7212 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7213 #include <pthread.h>
7214 #endif
7216 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7217 cat >>confdefs.h <<_ACEOF
7218 #define HAVE_PTHREAD_NP_H 1
7219 _ACEOF
7223 done
7226 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7227 do :
7228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7229 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7230 #include <sys/time.h>
7231 #endif
7232 #include <sys/types.h>
7233 #ifdef HAVE_ASM_TYPES_H
7234 #include <asm/types.h>
7235 #endif
7237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7238 cat >>confdefs.h <<_ACEOF
7239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7240 _ACEOF
7244 done
7247 for ac_header in libprocstat.h
7248 do :
7249 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7250 #include <sys/param.h>
7251 #endif
7252 #ifdef HAVE_SYS_QUEUE_H
7253 #include <sys/queue.h>
7254 #endif
7255 #ifdef HAVE_SYS_SOCKET_H
7256 #include <sys/socket.h>
7257 #endif
7259 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7260 cat >>confdefs.h <<_ACEOF
7261 #define HAVE_LIBPROCSTAT_H 1
7262 _ACEOF
7266 done
7270 dlldir="\${libdir}/wine"
7272 DLLFLAGS="-D_REENTRANT"
7274 LDRPATH_INSTALL=""
7276 LDRPATH_LOCAL=""
7278 LDEXECFLAGS=""
7280 LIBEXT="so"
7281 DLLEXT=".so"
7282 IMPLIBEXT="def"
7283 # Extract the first word of "ldd", so it can be a program name with args.
7284 set dummy ldd; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_path_LDD+:} false; then :
7288 $as_echo_n "(cached) " >&6
7289 else
7290 case $LDD in
7291 [\\/]* | ?:[\\/]*)
7292 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 as_dummy="/sbin:/usr/sbin:$PATH"
7297 for as_dir in $as_dummy
7299 IFS=$as_save_IFS
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7303 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 break 2
7307 done
7308 done
7309 IFS=$as_save_IFS
7311 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7313 esac
7315 LDD=$ac_cv_path_LDD
7316 if test -n "$LDD"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7318 $as_echo "$LDD" >&6; }
7319 else
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7325 if test -n "$ac_tool_prefix"; then
7326 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7327 set dummy ${ac_tool_prefix}otool; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 $as_echo_n "checking for $ac_word... " >&6; }
7330 if ${ac_cv_prog_OTOOL+:} false; then :
7331 $as_echo_n "(cached) " >&6
7332 else
7333 if test -n "$OTOOL"; then
7334 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7335 else
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 for as_dir in $PATH
7339 IFS=$as_save_IFS
7340 test -z "$as_dir" && as_dir=.
7341 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7343 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 break 2
7347 done
7348 done
7349 IFS=$as_save_IFS
7353 OTOOL=$ac_cv_prog_OTOOL
7354 if test -n "$OTOOL"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7356 $as_echo "$OTOOL" >&6; }
7357 else
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 $as_echo "no" >&6; }
7364 if test -z "$ac_cv_prog_OTOOL"; then
7365 ac_ct_OTOOL=$OTOOL
7366 # Extract the first word of "otool", so it can be a program name with args.
7367 set dummy otool; ac_word=$2
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7369 $as_echo_n "checking for $ac_word... " >&6; }
7370 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7371 $as_echo_n "(cached) " >&6
7372 else
7373 if test -n "$ac_ct_OTOOL"; then
7374 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7375 else
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 for as_dir in $PATH
7379 IFS=$as_save_IFS
7380 test -z "$as_dir" && as_dir=.
7381 for ac_exec_ext in '' $ac_executable_extensions; do
7382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7383 ac_cv_prog_ac_ct_OTOOL="otool"
7384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7385 break 2
7387 done
7388 done
7389 IFS=$as_save_IFS
7393 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7394 if test -n "$ac_ct_OTOOL"; then
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7396 $as_echo "$ac_ct_OTOOL" >&6; }
7397 else
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7399 $as_echo "no" >&6; }
7402 if test "x$ac_ct_OTOOL" = x; then
7403 OTOOL="otool"
7404 else
7405 case $cross_compiling:$ac_tool_warned in
7406 yes:)
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7409 ac_tool_warned=yes ;;
7410 esac
7411 OTOOL=$ac_ct_OTOOL
7413 else
7414 OTOOL="$ac_cv_prog_OTOOL"
7417 if test -n "$ac_tool_prefix"; then
7418 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7419 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; }
7422 if ${ac_cv_prog_READELF+:} false; then :
7423 $as_echo_n "(cached) " >&6
7424 else
7425 if test -n "$READELF"; then
7426 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7427 else
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 for as_dir in $PATH
7431 IFS=$as_save_IFS
7432 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 READELF=$ac_cv_prog_READELF
7446 if test -n "$READELF"; then
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7448 $as_echo "$READELF" >&6; }
7449 else
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 $as_echo "no" >&6; }
7456 if test -z "$ac_cv_prog_READELF"; then
7457 ac_ct_READELF=$READELF
7458 # Extract the first word of "readelf", so it can be a program name with args.
7459 set dummy readelf; ac_word=$2
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7461 $as_echo_n "checking for $ac_word... " >&6; }
7462 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7463 $as_echo_n "(cached) " >&6
7464 else
7465 if test -n "$ac_ct_READELF"; then
7466 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7467 else
7468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 for as_dir in $PATH
7471 IFS=$as_save_IFS
7472 test -z "$as_dir" && as_dir=.
7473 for ac_exec_ext in '' $ac_executable_extensions; do
7474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7475 ac_cv_prog_ac_ct_READELF="readelf"
7476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7477 break 2
7479 done
7480 done
7481 IFS=$as_save_IFS
7485 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7486 if test -n "$ac_ct_READELF"; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7488 $as_echo "$ac_ct_READELF" >&6; }
7489 else
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7491 $as_echo "no" >&6; }
7494 if test "x$ac_ct_READELF" = x; then
7495 READELF="true"
7496 else
7497 case $cross_compiling:$ac_tool_warned in
7498 yes:)
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7501 ac_tool_warned=yes ;;
7502 esac
7503 READELF=$ac_ct_READELF
7505 else
7506 READELF="$ac_cv_prog_READELF"
7509 wine_rules_file=conf$$rules.make
7510 rm -f $wine_rules_file
7511 SUBDIRS=""
7513 DISABLED_SUBDIRS=""
7515 CONFIGURE_TARGETS=""
7517 ALL_TEST_RESOURCES=""
7520 wine_fn_append_file ()
7522 as_fn_append $1 " \\$as_nl $2"
7525 wine_fn_append_rule ()
7527 $as_echo "$1" >>$wine_rules_file
7530 wine_fn_has_flag ()
7532 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7535 wine_fn_all_rules ()
7537 wine_fn_append_file SUBDIRS $ac_dir
7538 wine_fn_append_rule \
7539 "all: $ac_dir
7540 .PHONY: $ac_dir
7541 $ac_dir: dummy
7542 @cd $ac_dir && \$(MAKE)"
7545 wine_fn_install_rules ()
7547 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7549 wine_fn_append_rule \
7550 ".PHONY: $ac_dir/install $ac_dir/uninstall
7551 $ac_dir/install:: $ac_dir
7552 @cd $ac_dir && \$(MAKE) install
7553 $ac_dir/uninstall::
7554 @cd $ac_dir && \$(MAKE) uninstall
7555 install:: $ac_dir/install
7556 __uninstall__: $ac_dir/uninstall"
7558 if wine_fn_has_flag install-lib
7559 then
7560 wine_fn_append_rule \
7561 ".PHONY: $ac_dir/install-lib
7562 $ac_dir/install-lib:: $ac_dir
7563 @cd $ac_dir && \$(MAKE) install-lib
7564 install-lib:: $ac_dir/install-lib"
7567 if wine_fn_has_flag install-dev
7568 then
7569 wine_fn_append_rule \
7570 ".PHONY: $ac_dir/install-dev
7571 $ac_dir/install-dev:: $ac_dir
7572 @cd $ac_dir && \$(MAKE) install-dev
7573 install-dev:: $ac_dir/install-dev"
7577 wine_fn_clean_rules ()
7579 ac_clean=$@
7581 if wine_fn_has_flag clean
7582 then
7583 wine_fn_append_rule \
7584 "$ac_dir/clean: dummy
7585 @cd $ac_dir && \$(MAKE) clean"
7586 else
7587 wine_fn_append_rule \
7588 "$ac_dir/clean: dummy
7589 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7591 wine_fn_append_rule \
7592 "__clean__: $ac_dir/clean
7593 .PHONY: $ac_dir/clean"
7596 wine_fn_disabled_rules ()
7598 ac_clean=$@
7600 wine_fn_append_file SUBDIRS $ac_dir
7601 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7602 wine_fn_append_rule \
7603 "__clean__: $ac_dir/clean
7604 .PHONY: $ac_dir/clean
7605 $ac_dir/clean: dummy
7606 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7609 wine_fn_config_makefile ()
7611 ac_dir=$1
7612 ac_enable=$2
7613 ac_flags=$3
7615 case $ac_dir in
7616 fonts|server) test -z "$with_wine64" || return ;;
7617 esac
7618 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7619 wine_fn_disabled_rules; return
7621 wine_fn_all_rules
7622 wine_fn_install_rules
7623 wine_fn_clean_rules
7626 wine_fn_config_lib ()
7628 ac_name=$1
7629 ac_flags=$2
7630 ac_dir=dlls/$ac_name
7631 ac_deps="include"
7633 if test "x$enable_tools" = xno; then :
7635 else
7636 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7638 wine_fn_all_rules
7639 wine_fn_clean_rules
7641 wine_fn_append_rule \
7642 ".PHONY: $ac_dir/install $ac_dir/uninstall
7643 $ac_dir/install:: $ac_dir
7644 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7645 $ac_dir/uninstall::
7646 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7647 install install-dev:: $ac_dir/install
7648 __uninstall__: $ac_dir/uninstall
7649 __builddeps__: $ac_dir
7650 $ac_dir: $ac_deps"
7653 wine_fn_config_dll ()
7655 ac_name=$1
7656 ac_dir=dlls/$ac_name
7657 ac_enable=$2
7658 ac_flags=$3
7659 ac_implib=${4:-$ac_name}
7660 ac_file=$ac_dir/lib$ac_implib
7661 ac_dll=$ac_name
7662 ac_deps="include"
7663 ac_implibflags=""
7665 if test "x$enable_tools" = xno; then :
7667 else
7668 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7670 case $ac_name in
7671 *16) ac_implibflags=" -m16" ;;
7672 *.*) ;;
7673 *) ac_dll=$ac_dll.dll ;;
7674 esac
7676 ac_clean=
7677 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7678 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7680 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7681 if test "$ac_enable" != enable_win16
7682 then
7683 wine_fn_clean_rules $ac_clean
7684 wine_fn_append_file SUBDIRS $ac_dir
7685 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7686 else
7687 wine_fn_disabled_rules $ac_clean
7688 return
7690 else
7691 wine_fn_all_rules
7692 wine_fn_clean_rules $ac_clean
7693 wine_fn_append_rule \
7694 "$ac_dir: __builddeps__
7695 manpages htmlpages sgmlpages xmlpages::
7696 @cd $ac_dir && \$(MAKE) \$@
7697 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7698 install install-lib:: $ac_dir/install-lib
7699 __uninstall__: $ac_dir/uninstall"
7700 if test -n "$DLLEXT"
7701 then
7702 wine_fn_append_rule \
7703 "$ac_dir/install-lib:: $ac_dir
7704 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7705 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7706 $ac_dir/uninstall::
7707 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7708 else
7709 wine_fn_append_rule \
7710 "$ac_dir/install-lib:: $ac_dir
7711 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7712 $ac_dir/uninstall::
7713 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7717 if wine_fn_has_flag staticimplib
7718 then
7719 wine_fn_append_rule \
7720 "__builddeps__: $ac_file.a
7721 $ac_file.a $ac_file.cross.a: $ac_deps
7722 $ac_file.a: dummy
7723 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7724 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7725 $ac_dir/install-dev:: $ac_file.a
7726 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7727 $ac_dir/uninstall::
7728 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7729 install install-dev:: $ac_dir/install-dev
7730 __uninstall__: $ac_dir/uninstall"
7732 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7733 then
7734 wine_fn_append_rule \
7735 "__builddeps__: $ac_file.cross.a
7736 $ac_file.cross.a: dummy
7737 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7740 elif wine_fn_has_flag implib
7741 then
7742 wine_fn_append_rule \
7743 "__builddeps__: $ac_file.$IMPLIBEXT
7744 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7745 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7746 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7747 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7748 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7749 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7750 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7751 $ac_dir/uninstall::
7752 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7753 install install-dev:: $ac_dir/install-dev
7754 __uninstall__: $ac_dir/uninstall"
7755 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7756 then
7757 wine_fn_append_rule \
7758 "__builddeps__: $ac_file.cross.a
7759 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7760 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7765 wine_fn_config_program ()
7767 ac_name=$1
7768 ac_dir=programs/$ac_name
7769 ac_enable=$2
7770 ac_flags=$3
7771 ac_program=$ac_name
7773 case $ac_name in
7774 *.*) ;;
7775 *) ac_program=$ac_program.exe ;;
7776 esac
7778 ac_clean=
7779 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7780 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7782 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7783 wine_fn_disabled_rules $ac_clean; return
7786 wine_fn_all_rules
7787 wine_fn_clean_rules $ac_clean
7788 wine_fn_append_rule "$ac_dir: __builddeps__"
7790 wine_fn_has_flag install || return
7791 wine_fn_append_rule \
7792 ".PHONY: $ac_dir/install $ac_dir/uninstall
7793 install install-lib:: $ac_dir/install
7794 __uninstall__: $ac_dir/uninstall"
7796 if test -n "$DLLEXT"
7797 then
7798 wine_fn_append_rule \
7799 "$ac_dir/install:: $ac_dir
7800 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7801 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7802 $ac_dir/uninstall::
7803 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7805 if test -z "$with_wine64" && wine_fn_has_flag installbin
7806 then
7807 wine_fn_append_rule \
7808 "$ac_dir/install:: __tooldeps__
7809 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7810 $ac_dir/uninstall::
7811 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7813 else
7814 wine_fn_append_rule \
7815 "$ac_dir/install:: $ac_dir
7816 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7817 $ac_dir/uninstall::
7818 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7821 if test -z "$with_wine64" && wine_fn_has_flag manpage
7822 then
7823 wine_fn_append_rule \
7824 "$ac_dir/install:: $ac_dir
7825 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7826 $ac_dir/uninstall::
7827 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7831 wine_fn_config_test ()
7833 ac_dir=$1
7834 ac_name=$2
7835 ac_flags=$3
7837 ac_clean=
7838 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7839 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7841 if test "x$enable_tests" = xno; then :
7842 wine_fn_disabled_rules $ac_clean; return
7845 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7846 wine_fn_all_rules
7847 wine_fn_clean_rules $ac_clean
7849 wine_fn_append_rule \
7850 "$ac_dir: __builddeps__
7851 programs/winetest: $ac_dir
7852 check test: $ac_dir/test
7853 .PHONY: $ac_dir/test
7854 $ac_dir/test: dummy
7855 @cd $ac_dir && \$(MAKE) test
7856 testclean::
7857 \$(RM) $ac_dir/*.ok"
7859 if test -n "$CROSSTARGET"
7860 then
7861 wine_fn_append_rule \
7862 "crosstest: $ac_dir/crosstest
7863 .PHONY: $ac_dir/crosstest
7864 $ac_dir/crosstest: __builddeps__ dummy
7865 @cd $ac_dir && \$(MAKE) crosstest"
7869 wine_fn_config_tool ()
7871 ac_dir=$1
7872 ac_flags=$2
7873 if test "x$enable_tools" = xno; then :
7874 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7877 wine_fn_all_rules
7878 wine_fn_install_rules
7879 wine_fn_clean_rules
7881 wine_fn_append_rule "__tooldeps__: $ac_dir"
7882 wine_fn_append_rule "$ac_dir: libs/port"
7883 case $ac_dir in
7884 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7885 esac
7888 wine_fn_config_symlink ()
7890 ac_linkdir=
7891 if test "x$1" = "x-d"
7892 then
7893 ac_linkdir=$2
7894 shift; shift
7896 ac_links=$@
7897 wine_fn_append_rule \
7898 "$ac_links:
7899 @./config.status \$@"
7900 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7901 test -n "$ac_linkdir" || return
7902 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7905 wine_binary="wine"
7906 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7907 WINELOADER_PROGRAMS="$wine_binary"
7909 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7911 case $host_os in
7912 cygwin*|mingw32*)
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_DLLTOOL+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$DLLTOOL"; then
7922 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 DLLTOOL=$ac_cv_prog_DLLTOOL
7942 if test -n "$DLLTOOL"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7944 $as_echo "$DLLTOOL" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_DLLTOOL"; then
7953 ac_ct_DLLTOOL=$DLLTOOL
7954 # Extract the first word of "dlltool", so it can be a program name with args.
7955 set dummy dlltool; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_DLLTOOL"; then
7962 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7982 if test -n "$ac_ct_DLLTOOL"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7984 $as_echo "$ac_ct_DLLTOOL" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_DLLTOOL" = x; then
7991 DLLTOOL="false"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 DLLTOOL=$ac_ct_DLLTOOL
8001 else
8002 DLLTOOL="$ac_cv_prog_DLLTOOL"
8005 LIBEXT="dll"
8006 DLLEXT=""
8007 IMPLIBEXT="a"
8008 enable_iphlpapi=${enable_iphlpapi:-no}
8009 enable_kernel32=${enable_kernel32:-no}
8010 enable_msvcrt=${enable_msvcrt:-no}
8011 enable_ntdll=${enable_ntdll:-no}
8012 enable_ws2_32=${enable_ws2_32:-no}
8013 enable_loader=${enable_loader:-no}
8014 enable_server=${enable_server:-no}
8015 with_x=${with_x:-no}
8016 with_pthread=${with_pthread:-no}
8018 crtlibs=""
8019 case $host_os in
8020 mingw32*)
8021 crtlibs="-lmsvcrt"
8022 SOCKET_LIBS="-lws2_32"
8024 esac
8026 LIBWINE_SHAREDLIB="libwine.dll"
8028 LIBWINE_IMPORTLIB="libwine.a"
8030 LIBWINE_INSTALL_LIB="libwine.dll"
8032 LIBWINE_INSTALL_DEV="libwine.a"
8034 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8036 LIBWINE_DEPENDS="wine.def"
8040 darwin*|macosx*)
8041 for ac_header in libunwind.h
8042 do :
8043 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8045 cat >>confdefs.h <<_ACEOF
8046 #define HAVE_LIBUNWIND_H 1
8047 _ACEOF
8051 done
8053 LIBEXT="dylib"
8054 DLLFLAGS="$DLLFLAGS -fPIC"
8055 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8056 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8057 COREFOUNDATION_LIBS="-framework CoreFoundation"
8059 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8061 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8063 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8065 CORESERVICES_LIBS="-framework CoreServices"
8067 APPKIT_LIBS="-framework AppKit"
8069 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8071 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8072 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8073 $as_echo_n "(cached) " >&6
8074 else
8075 ac_wine_try_cflags_saved=$CFLAGS
8076 CFLAGS="$CFLAGS -Wl,-no_pie"
8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8079 int main(int argc, char **argv) { return 0; }
8080 _ACEOF
8081 if ac_fn_c_try_link "$LINENO"; then :
8082 ac_cv_cflags__Wl__no_pie=yes
8083 else
8084 ac_cv_cflags__Wl__no_pie=no
8086 rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088 CFLAGS=$ac_wine_try_cflags_saved
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8091 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8092 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8093 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8095 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8096 then
8097 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8100 if test "$ac_cv_header_Security_Security_h" = "yes"
8101 then
8102 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8104 ac_save_LIBS="$LIBS"
8105 LIBS="$LIBS $SECURITY_LIBS"
8106 for ac_func in SSLCopyPeerCertificates
8107 do :
8108 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8109 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8110 cat >>confdefs.h <<_ACEOF
8111 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8112 _ACEOF
8115 done
8117 LIBS="$ac_save_LIBS"
8118 with_gnutls=${with_gnutls:-no}
8120 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8121 then
8122 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8123 then
8124 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8126 else
8127 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8130 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8131 ac_save_LIBS="$LIBS"
8132 LIBS="$LIBS $COREAUDIO_LIBS"
8133 for ac_func in AUGraphAddNode
8134 do :
8135 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8136 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8137 cat >>confdefs.h <<_ACEOF
8138 #define HAVE_AUGRAPHADDNODE 1
8139 _ACEOF
8142 done
8144 LIBS="$ac_save_LIBS"
8146 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8147 then
8148 OPENAL_LIBS="-framework OpenAL"
8151 cat >>confdefs.h <<_ACEOF
8152 #define HAVE_OPENAL 1
8153 _ACEOF
8155 ac_cv_lib_openal=yes
8157 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8158 then
8159 OPENCL_LIBS="-framework OpenCL"
8161 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8163 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8164 then
8165 ac_save_LIBS="$LIBS"
8166 LIBS="$LIBS $IOKIT_LIBS"
8167 for ac_func in IOHIDManagerCreate
8168 do :
8169 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8170 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8171 cat >>confdefs.h <<_ACEOF
8172 #define HAVE_IOHIDMANAGERCREATE 1
8173 _ACEOF
8176 done
8178 LIBS="$ac_save_LIBS"
8180 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8181 then
8182 ac_save_LIBS="$LIBS"
8183 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8185 $as_echo_n "checking for the QuickTime framework... " >&6; }
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h. */
8188 #include <QuickTime/ImageCompression.h>
8190 main ()
8192 CodecManagerVersion(NULL);
8194 return 0;
8196 _ACEOF
8197 if ac_fn_c_try_link "$LINENO"; then :
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8199 $as_echo "yes" >&6; }
8200 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8202 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8203 else
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8205 $as_echo "no" >&6; }
8206 ac_cv_header_QuickTime_ImageCompression_h=no
8208 rm -f core conftest.err conftest.$ac_objext \
8209 conftest$ac_exeext conftest.$ac_ext
8210 LIBS="$ac_save_LIBS"
8212 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8213 then
8214 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8216 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8217 then
8218 CARBON_LIBS="-framework Carbon"
8222 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8223 then
8224 ac_save_LIBS="$LIBS"
8225 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8226 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8227 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8228 enable_winemac_drv=${enable_winemac_drv:-yes}
8231 LIBS="$ac_save_LIBS"
8234 if test "x$enable_win16" = "xyes"
8235 then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8237 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8238 if test "$cross_compiling" = yes; then :
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8240 $as_echo "cross-compiling, assuming yes" >&6; }
8241 else
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 asm(".text\n"
8245 "bad:\tnop;nop\n"
8246 "good:\tnop;nop\n\t"
8247 ".globl _testfunc\n"
8248 "_testfunc:\tcallw good");
8249 extern void testfunc();
8251 main ()
8253 unsigned short *p = (unsigned short *)testfunc;
8254 return p[0] != 0xe866 || p[1] != 0xfffa
8256 return 0;
8258 _ACEOF
8259 if ac_fn_c_try_run "$LINENO"; then :
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8261 $as_echo "yes" >&6; }
8262 else
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8265 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
8267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8268 conftest.$ac_objext conftest.beam conftest.$ac_ext
8273 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8275 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8277 LIBWINE_INSTALL_DEV="libwine.dylib"
8279 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8281 WINELOADER_DEPENDS="wine_info.plist"
8285 linux-android*)
8286 DLLFLAGS="$DLLFLAGS -fPIC"
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8288 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8289 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8290 $as_echo_n "(cached) " >&6
8291 else
8292 ac_wine_try_cflags_saved=$CFLAGS
8293 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 /* end confdefs.h. */
8296 int main(int argc, char **argv) { return 0; }
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8300 else
8301 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8303 rm -f core conftest.err conftest.$ac_objext \
8304 conftest$ac_exeext conftest.$ac_ext
8305 CFLAGS=$ac_wine_try_cflags_saved
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8308 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8309 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8310 LDEXECFLAGS="-Wl,--export-dynamic"
8312 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8314 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8315 if eval \${$as_ac_var+:} false; then :
8316 $as_echo_n "(cached) " >&6
8317 else
8318 ac_wine_try_cflags_saved=$CFLAGS
8319 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 int main(int argc, char **argv) { return 0; }
8323 _ACEOF
8324 if ac_fn_c_try_link "$LINENO"; then :
8325 eval "$as_ac_var=yes"
8326 else
8327 eval "$as_ac_var=no"
8329 rm -f core conftest.err conftest.$ac_objext \
8330 conftest$ac_exeext conftest.$ac_ext
8331 CFLAGS=$ac_wine_try_cflags_saved
8333 eval ac_res=\$$as_ac_var
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8335 $as_echo "$ac_res" >&6; }
8336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8337 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8338 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8339 else
8340 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8342 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8343 if eval \${$as_ac_var+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 ac_wine_try_cflags_saved=$CFLAGS
8347 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 int main(int argc, char **argv) { return 0; }
8351 _ACEOF
8352 if ac_fn_c_try_link "$LINENO"; then :
8353 eval "$as_ac_var=yes"
8354 else
8355 eval "$as_ac_var=no"
8357 rm -f core conftest.err conftest.$ac_objext \
8358 conftest$ac_exeext conftest.$ac_ext
8359 CFLAGS=$ac_wine_try_cflags_saved
8361 eval ac_res=\$$as_ac_var
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8363 $as_echo "$ac_res" >&6; }
8364 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8365 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8366 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8371 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8372 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 ac_cv_cflags__Wl___enable_new_dtags=yes
8383 else
8384 ac_cv_cflags__Wl___enable_new_dtags=no
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8391 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8392 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8393 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8396 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8397 if ${ac_cv_cflags__Wl__pie+:} false; then :
8398 $as_echo_n "(cached) " >&6
8399 else
8400 ac_wine_try_cflags_saved=$CFLAGS
8401 CFLAGS="$CFLAGS -Wl,-pie"
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404 int main(int argc, char **argv) { return 0; }
8405 _ACEOF
8406 if ac_fn_c_try_link "$LINENO"; then :
8407 ac_cv_cflags__Wl__pie=yes
8408 else
8409 ac_cv_cflags__Wl__pie=no
8411 rm -f core conftest.err conftest.$ac_objext \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8416 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8417 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8418 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8421 LIBWINE_SHAREDLIB="libwine.so"
8423 LIBWINE_INSTALL_LIB="libwine.so"
8425 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8430 DLLFLAGS="$DLLFLAGS -fPIC"
8431 LDEXECFLAGS=""
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8433 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8434 if ${ac_cv_c_dll_gnuelf+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_wine_try_cflags_saved=$CFLAGS
8438 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 void myfunc() {}
8442 _ACEOF
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 ac_cv_c_dll_gnuelf="yes"
8445 else
8446 ac_cv_c_dll_gnuelf="no"
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8453 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8454 if test "$ac_cv_c_dll_gnuelf" = "yes"
8455 then
8456 LIBWINE_LDFLAGS="-shared"
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8458 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8459 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8470 else
8471 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 CFLAGS=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8478 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8479 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8480 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8481 else
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8483 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8484 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8485 $as_echo_n "(cached) " >&6
8486 else
8487 ac_wine_try_cflags_saved=$CFLAGS
8488 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8491 int main(int argc, char **argv) { return 0; }
8492 _ACEOF
8493 if ac_fn_c_try_link "$LINENO"; then :
8494 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8495 else
8496 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8498 rm -f core conftest.err conftest.$ac_objext \
8499 conftest$ac_exeext conftest.$ac_ext
8500 CFLAGS=$ac_wine_try_cflags_saved
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8503 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8504 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8505 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8509 echo '{ global: *; };' >conftest.map
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8511 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8512 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8513 $as_echo_n "(cached) " >&6
8514 else
8515 ac_wine_try_cflags_saved=$CFLAGS
8516 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 int main(int argc, char **argv) { return 0; }
8520 _ACEOF
8521 if ac_fn_c_try_link "$LINENO"; then :
8522 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8523 else
8524 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8526 rm -f core conftest.err conftest.$ac_objext \
8527 conftest$ac_exeext conftest.$ac_ext
8528 CFLAGS=$ac_wine_try_cflags_saved
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8531 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8532 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8533 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8535 rm -f conftest.map
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8538 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8539 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8550 else
8551 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 CFLAGS=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8558 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8559 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8560 LDEXECFLAGS="-Wl,--export-dynamic"
8563 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8565 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8566 if eval \${$as_ac_var+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_wine_try_cflags_saved=$CFLAGS
8570 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 int main(int argc, char **argv) { return 0; }
8574 _ACEOF
8575 if ac_fn_c_try_link "$LINENO"; then :
8576 eval "$as_ac_var=yes"
8577 else
8578 eval "$as_ac_var=no"
8580 rm -f core conftest.err conftest.$ac_objext \
8581 conftest$ac_exeext conftest.$ac_ext
8582 CFLAGS=$ac_wine_try_cflags_saved
8584 eval ac_res=\$$as_ac_var
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8586 $as_echo "$ac_res" >&6; }
8587 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8588 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8589 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8590 else
8591 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8593 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8594 if eval \${$as_ac_var+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 ac_wine_try_cflags_saved=$CFLAGS
8598 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 int main(int argc, char **argv) { return 0; }
8602 _ACEOF
8603 if ac_fn_c_try_link "$LINENO"; then :
8604 eval "$as_ac_var=yes"
8605 else
8606 eval "$as_ac_var=no"
8608 rm -f core conftest.err conftest.$ac_objext \
8609 conftest$ac_exeext conftest.$ac_ext
8610 CFLAGS=$ac_wine_try_cflags_saved
8612 eval ac_res=\$$as_ac_var
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8614 $as_echo "$ac_res" >&6; }
8615 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8616 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8617 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8622 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8623 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 ac_wine_try_cflags_saved=$CFLAGS
8627 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 int main(int argc, char **argv) { return 0; }
8631 _ACEOF
8632 if ac_fn_c_try_link "$LINENO"; then :
8633 ac_cv_cflags__Wl___enable_new_dtags=yes
8634 else
8635 ac_cv_cflags__Wl___enable_new_dtags=no
8637 rm -f core conftest.err conftest.$ac_objext \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8642 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8643 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8644 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8647 case $host_cpu in
8648 *i[3456789]86* | x86_64)
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8650 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8651 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8657 /* end confdefs.h. */
8658 int main(int argc, char **argv) { return 0; }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8662 else
8663 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8665 rm -f core conftest.err conftest.$ac_objext \
8666 conftest$ac_exeext conftest.$ac_ext
8667 CFLAGS=$ac_wine_try_cflags_saved
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8670 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8671 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8672 case $host_os in
8673 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8674 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8675 esac
8676 else
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8678 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8679 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 int main(int argc, char **argv) { return 0; }
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8690 else
8691 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 CFLAGS=$ac_wine_try_cflags_saved
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8698 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8699 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8700 case $host_os in
8701 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8702 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8703 esac
8705 # Extract the first word of "prelink", so it can be a program name with args.
8706 set dummy prelink; ac_word=$2
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8708 $as_echo_n "checking for $ac_word... " >&6; }
8709 if ${ac_cv_path_PRELINK+:} false; then :
8710 $as_echo_n "(cached) " >&6
8711 else
8712 case $PRELINK in
8713 [\\/]* | ?:[\\/]*)
8714 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8718 for as_dir in /sbin /usr/sbin $PATH
8720 IFS=$as_save_IFS
8721 test -z "$as_dir" && as_dir=.
8722 for ac_exec_ext in '' $ac_executable_extensions; do
8723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8724 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8726 break 2
8728 done
8729 done
8730 IFS=$as_save_IFS
8732 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8734 esac
8736 PRELINK=$ac_cv_path_PRELINK
8737 if test -n "$PRELINK"; then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8739 $as_echo "$PRELINK" >&6; }
8740 else
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8742 $as_echo "no" >&6; }
8746 if test "x$PRELINK" = xfalse
8747 then
8748 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8752 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8753 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8759 /* end confdefs.h. */
8760 int main(int argc, char **argv) { return 0; }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8764 else
8765 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 CFLAGS=$ac_wine_try_cflags_saved
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8772 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8773 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8774 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8777 esac
8779 else
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8781 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8782 if ${ac_cv_c_dll_unixware+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 ac_wine_try_cflags_saved=$CFLAGS
8786 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8789 void myfunc() {}
8790 _ACEOF
8791 if ac_fn_c_try_link "$LINENO"; then :
8792 ac_cv_c_dll_unixware="yes"
8793 else
8794 ac_cv_c_dll_unixware="no"
8796 rm -f core conftest.err conftest.$ac_objext \
8797 conftest$ac_exeext conftest.$ac_ext
8798 CFLAGS=$ac_wine_try_cflags_saved
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8801 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8802 if test "$ac_cv_c_dll_unixware" = "yes"
8803 then
8804 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8807 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8809 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8811 LIBWINE_INSTALL_DEV="libwine.so"
8813 LIBWINE_DEPENDS="wine.map"
8816 esac
8818 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8819 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8820 enable_winemac_drv=${enable_winemac_drv:-no}
8821 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8823 CROSSTARGET=""
8825 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8826 then
8827 case "$host_cpu" in
8828 arm*)
8829 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8830 i[3456789]86*)
8831 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
8832 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8833 mingw32-gcc" ;;
8834 x86_64)
8835 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
8836 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8838 ac_prefix_list="" ;;
8839 esac
8840 for ac_prog in $ac_prefix_list
8842 # Extract the first word of "$ac_prog", so it can be a program name with args.
8843 set dummy $ac_prog; ac_word=$2
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8845 $as_echo_n "checking for $ac_word... " >&6; }
8846 if ${ac_cv_prog_CROSSCC+:} false; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 if test -n "$CROSSCC"; then
8850 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8851 else
8852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8853 for as_dir in $PATH
8855 IFS=$as_save_IFS
8856 test -z "$as_dir" && as_dir=.
8857 for ac_exec_ext in '' $ac_executable_extensions; do
8858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8859 ac_cv_prog_CROSSCC="$ac_prog"
8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8861 break 2
8863 done
8864 done
8865 IFS=$as_save_IFS
8869 CROSSCC=$ac_cv_prog_CROSSCC
8870 if test -n "$CROSSCC"; then
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8872 $as_echo "$CROSSCC" >&6; }
8873 else
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8879 test -n "$CROSSCC" && break
8880 done
8881 test -n "$CROSSCC" || CROSSCC="false"
8883 if test "$CROSSCC" != "false"
8884 then
8885 ac_save_CC="$CC"
8886 CC="$CROSSCC"
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8888 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8890 /* end confdefs.h. */
8893 main ()
8897 return 0;
8899 _ACEOF
8900 if ac_fn_c_try_compile "$LINENO"; then :
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8902 $as_echo "yes" >&6; }
8903 set x $CROSSCC
8904 shift
8905 while test $# -ge 1
8907 case "$1" in
8908 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8909 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8910 esac
8911 shift
8912 done
8913 else
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8915 $as_echo "no" >&6; }
8917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8918 CC="$ac_save_CC"
8923 if test "$ac_cv_header_pthread_h" = "yes"
8924 then
8925 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8926 if test "x$ac_cv_func_pthread_create" = xyes; then :
8928 else
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8930 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8931 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8932 $as_echo_n "(cached) " >&6
8933 else
8934 ac_check_lib_save_LIBS=$LIBS
8935 LIBS="-lpthread $LIBS"
8936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8939 /* Override any GCC internal prototype to avoid an error.
8940 Use char because int might match the return type of a GCC
8941 builtin and then its argument prototype would still apply. */
8942 #ifdef __cplusplus
8943 extern "C"
8944 #endif
8945 char pthread_create ();
8947 main ()
8949 return pthread_create ();
8951 return 0;
8953 _ACEOF
8954 if ac_fn_c_try_link "$LINENO"; then :
8955 ac_cv_lib_pthread_pthread_create=yes
8956 else
8957 ac_cv_lib_pthread_pthread_create=no
8959 rm -f core conftest.err conftest.$ac_objext \
8960 conftest$ac_exeext conftest.$ac_ext
8961 LIBS=$ac_check_lib_save_LIBS
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8964 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8965 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8966 PTHREAD_LIBS="-lpthread"
8973 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8974 case "x$with_pthread" in
8975 xno) ;;
8976 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8977 Wine cannot support threads without libpthread.
8978 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8979 esac
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8985 $as_echo_n "checking for X... " >&6; }
8988 # Check whether --with-x was given.
8989 if test "${with_x+set}" = set; then :
8990 withval=$with_x;
8993 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8994 if test "x$with_x" = xno; then
8995 # The user explicitly disabled X.
8996 have_x=disabled
8997 else
8998 case $x_includes,$x_libraries in #(
8999 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9000 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9001 $as_echo_n "(cached) " >&6
9002 else
9003 # One or both of the vars are not set, and there is no cached value.
9004 ac_x_includes=no ac_x_libraries=no
9005 rm -f -r conftest.dir
9006 if mkdir conftest.dir; then
9007 cd conftest.dir
9008 cat >Imakefile <<'_ACEOF'
9009 incroot:
9010 @echo incroot='${INCROOT}'
9011 usrlibdir:
9012 @echo usrlibdir='${USRLIBDIR}'
9013 libdir:
9014 @echo libdir='${LIBDIR}'
9015 _ACEOF
9016 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9017 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9018 for ac_var in incroot usrlibdir libdir; do
9019 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9020 done
9021 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9022 for ac_extension in a so sl dylib la dll; do
9023 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9024 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9025 ac_im_usrlibdir=$ac_im_libdir; break
9027 done
9028 # Screen out bogus values from the imake configuration. They are
9029 # bogus both because they are the default anyway, and because
9030 # using them would break gcc on systems where it needs fixed includes.
9031 case $ac_im_incroot in
9032 /usr/include) ac_x_includes= ;;
9033 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9034 esac
9035 case $ac_im_usrlibdir in
9036 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9037 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9038 esac
9040 cd ..
9041 rm -f -r conftest.dir
9044 # Standard set of common directories for X headers.
9045 # Check X11 before X11Rn because it is often a symlink to the current release.
9046 ac_x_header_dirs='
9047 /usr/X11/include
9048 /usr/X11R7/include
9049 /usr/X11R6/include
9050 /usr/X11R5/include
9051 /usr/X11R4/include
9053 /usr/include/X11
9054 /usr/include/X11R7
9055 /usr/include/X11R6
9056 /usr/include/X11R5
9057 /usr/include/X11R4
9059 /usr/local/X11/include
9060 /usr/local/X11R7/include
9061 /usr/local/X11R6/include
9062 /usr/local/X11R5/include
9063 /usr/local/X11R4/include
9065 /usr/local/include/X11
9066 /usr/local/include/X11R7
9067 /usr/local/include/X11R6
9068 /usr/local/include/X11R5
9069 /usr/local/include/X11R4
9071 /usr/X386/include
9072 /usr/x386/include
9073 /usr/XFree86/include/X11
9075 /usr/include
9076 /usr/local/include
9077 /usr/unsupported/include
9078 /usr/athena/include
9079 /usr/local/x11r5/include
9080 /usr/lpp/Xamples/include
9082 /usr/openwin/include
9083 /usr/openwin/share/include'
9085 if test "$ac_x_includes" = no; then
9086 # Guess where to find include files, by looking for Xlib.h.
9087 # First, try using that file with no special directory specified.
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9090 #include <X11/Xlib.h>
9091 _ACEOF
9092 if ac_fn_c_try_cpp "$LINENO"; then :
9093 # We can compile using X headers with no special include directory.
9094 ac_x_includes=
9095 else
9096 for ac_dir in $ac_x_header_dirs; do
9097 if test -r "$ac_dir/X11/Xlib.h"; then
9098 ac_x_includes=$ac_dir
9099 break
9101 done
9103 rm -f conftest.err conftest.i conftest.$ac_ext
9104 fi # $ac_x_includes = no
9106 if test "$ac_x_libraries" = no; then
9107 # Check for the libraries.
9108 # See if we find them without any special options.
9109 # Don't add to $LIBS permanently.
9110 ac_save_LIBS=$LIBS
9111 LIBS="-lX11 $LIBS"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9114 #include <X11/Xlib.h>
9116 main ()
9118 XrmInitialize ()
9120 return 0;
9122 _ACEOF
9123 if ac_fn_c_try_link "$LINENO"; then :
9124 LIBS=$ac_save_LIBS
9125 # We can link X programs with no special library path.
9126 ac_x_libraries=
9127 else
9128 LIBS=$ac_save_LIBS
9129 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9131 # Don't even attempt the hair of trying to link an X program!
9132 for ac_extension in a so sl dylib la dll; do
9133 if test -r "$ac_dir/libX11.$ac_extension"; then
9134 ac_x_libraries=$ac_dir
9135 break 2
9137 done
9138 done
9140 rm -f core conftest.err conftest.$ac_objext \
9141 conftest$ac_exeext conftest.$ac_ext
9142 fi # $ac_x_libraries = no
9144 case $ac_x_includes,$ac_x_libraries in #(
9145 no,* | *,no | *\'*)
9146 # Didn't find X, or a directory has "'" in its name.
9147 ac_cv_have_x="have_x=no";; #(
9149 # Record where we found X for the cache.
9150 ac_cv_have_x="have_x=yes\
9151 ac_x_includes='$ac_x_includes'\
9152 ac_x_libraries='$ac_x_libraries'"
9153 esac
9155 ;; #(
9156 *) have_x=yes;;
9157 esac
9158 eval "$ac_cv_have_x"
9159 fi # $with_x != no
9161 if test "$have_x" != yes; then
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9163 $as_echo "$have_x" >&6; }
9164 no_x=yes
9165 else
9166 # If each of the values was on the command line, it overrides each guess.
9167 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9168 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9169 # Update the cache value to reflect the command line values.
9170 ac_cv_have_x="have_x=yes\
9171 ac_x_includes='$x_includes'\
9172 ac_x_libraries='$x_libraries'"
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9174 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9177 if test "$no_x" = yes; then
9178 # Not all programs may use this symbol, but it does not hurt to define it.
9180 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9182 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9183 else
9184 if test -n "$x_includes"; then
9185 X_CFLAGS="$X_CFLAGS -I$x_includes"
9188 # It would also be nice to do this for all -L options, not just this one.
9189 if test -n "$x_libraries"; then
9190 X_LIBS="$X_LIBS -L$x_libraries"
9191 # For Solaris; some versions of Sun CC require a space after -R and
9192 # others require no space. Words are not sufficient . . . .
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9194 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9195 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9196 ac_xsave_c_werror_flag=$ac_c_werror_flag
9197 ac_c_werror_flag=yes
9198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9202 main ()
9206 return 0;
9208 _ACEOF
9209 if ac_fn_c_try_link "$LINENO"; then :
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9211 $as_echo "no" >&6; }
9212 X_LIBS="$X_LIBS -R$x_libraries"
9213 else
9214 LIBS="$ac_xsave_LIBS -R $x_libraries"
9215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9216 /* end confdefs.h. */
9219 main ()
9223 return 0;
9225 _ACEOF
9226 if ac_fn_c_try_link "$LINENO"; then :
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9228 $as_echo "yes" >&6; }
9229 X_LIBS="$X_LIBS -R $x_libraries"
9230 else
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9232 $as_echo "neither works" >&6; }
9234 rm -f core conftest.err conftest.$ac_objext \
9235 conftest$ac_exeext conftest.$ac_ext
9237 rm -f core conftest.err conftest.$ac_objext \
9238 conftest$ac_exeext conftest.$ac_ext
9239 ac_c_werror_flag=$ac_xsave_c_werror_flag
9240 LIBS=$ac_xsave_LIBS
9243 # Check for system-dependent libraries X programs must link with.
9244 # Do this before checking for the system-independent R6 libraries
9245 # (-lICE), since we may need -lsocket or whatever for X linking.
9247 if test "$ISC" = yes; then
9248 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9249 else
9250 # Martyn Johnson says this is needed for Ultrix, if the X
9251 # libraries were built with DECnet support. And Karl Berry says
9252 # the Alpha needs dnet_stub (dnet does not exist).
9253 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9257 /* Override any GCC internal prototype to avoid an error.
9258 Use char because int might match the return type of a GCC
9259 builtin and then its argument prototype would still apply. */
9260 #ifdef __cplusplus
9261 extern "C"
9262 #endif
9263 char XOpenDisplay ();
9265 main ()
9267 return XOpenDisplay ();
9269 return 0;
9271 _ACEOF
9272 if ac_fn_c_try_link "$LINENO"; then :
9274 else
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9276 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9277 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_lib_save_LIBS=$LIBS
9281 LIBS="-ldnet $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char dnet_ntoa ();
9293 main ()
9295 return dnet_ntoa ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_lib_dnet_dnet_ntoa=yes
9302 else
9303 ac_cv_lib_dnet_dnet_ntoa=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9310 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9311 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9312 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9315 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9317 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9318 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_check_lib_save_LIBS=$LIBS
9322 LIBS="-ldnet_stub $LIBS"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char dnet_ntoa ();
9334 main ()
9336 return dnet_ntoa ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9343 else
9344 ac_cv_lib_dnet_stub_dnet_ntoa=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 LIBS=$ac_check_lib_save_LIBS
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9351 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9352 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9353 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9358 rm -f core conftest.err conftest.$ac_objext \
9359 conftest$ac_exeext conftest.$ac_ext
9360 LIBS="$ac_xsave_LIBS"
9362 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9363 # to get the SysV transport functions.
9364 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9365 # needs -lnsl.
9366 # The nsl library prevents programs from opening the X display
9367 # on Irix 5.2, according to T.E. Dickey.
9368 # The functions gethostbyname, getservbyname, and inet_addr are
9369 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9370 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9371 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9375 if test $ac_cv_func_gethostbyname = no; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9377 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9378 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_check_lib_save_LIBS=$LIBS
9382 LIBS="-lnsl $LIBS"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9389 #ifdef __cplusplus
9390 extern "C"
9391 #endif
9392 char gethostbyname ();
9394 main ()
9396 return gethostbyname ();
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_lib_nsl_gethostbyname=yes
9403 else
9404 ac_cv_lib_nsl_gethostbyname=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 LIBS=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9411 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9412 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9416 if test $ac_cv_lib_nsl_gethostbyname = no; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9418 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9419 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9420 $as_echo_n "(cached) " >&6
9421 else
9422 ac_check_lib_save_LIBS=$LIBS
9423 LIBS="-lbsd $LIBS"
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9427 /* Override any GCC internal prototype to avoid an error.
9428 Use char because int might match the return type of a GCC
9429 builtin and then its argument prototype would still apply. */
9430 #ifdef __cplusplus
9431 extern "C"
9432 #endif
9433 char gethostbyname ();
9435 main ()
9437 return gethostbyname ();
9439 return 0;
9441 _ACEOF
9442 if ac_fn_c_try_link "$LINENO"; then :
9443 ac_cv_lib_bsd_gethostbyname=yes
9444 else
9445 ac_cv_lib_bsd_gethostbyname=no
9447 rm -f core conftest.err conftest.$ac_objext \
9448 conftest$ac_exeext conftest.$ac_ext
9449 LIBS=$ac_check_lib_save_LIBS
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9452 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9453 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9454 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9460 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9461 # socket/setsockopt and other routines are undefined under SCO ODT
9462 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9463 # on later versions), says Simon Leinen: it contains gethostby*
9464 # variants that don't use the name server (or something). -lsocket
9465 # must be given before -lnsl if both are needed. We assume that
9466 # if connect needs -lnsl, so does gethostbyname.
9467 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9468 if test "x$ac_cv_func_connect" = xyes; then :
9472 if test $ac_cv_func_connect = no; then
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9474 $as_echo_n "checking for connect in -lsocket... " >&6; }
9475 if ${ac_cv_lib_socket_connect+:} false; then :
9476 $as_echo_n "(cached) " >&6
9477 else
9478 ac_check_lib_save_LIBS=$LIBS
9479 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9486 #ifdef __cplusplus
9487 extern "C"
9488 #endif
9489 char connect ();
9491 main ()
9493 return connect ();
9495 return 0;
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"; then :
9499 ac_cv_lib_socket_connect=yes
9500 else
9501 ac_cv_lib_socket_connect=no
9503 rm -f core conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 LIBS=$ac_check_lib_save_LIBS
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9508 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9509 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9510 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9515 # Guillermo Gomez says -lposix is necessary on A/UX.
9516 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9517 if test "x$ac_cv_func_remove" = xyes; then :
9521 if test $ac_cv_func_remove = no; then
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9523 $as_echo_n "checking for remove in -lposix... " >&6; }
9524 if ${ac_cv_lib_posix_remove+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 ac_check_lib_save_LIBS=$LIBS
9528 LIBS="-lposix $LIBS"
9529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9535 #ifdef __cplusplus
9536 extern "C"
9537 #endif
9538 char remove ();
9540 main ()
9542 return remove ();
9544 return 0;
9546 _ACEOF
9547 if ac_fn_c_try_link "$LINENO"; then :
9548 ac_cv_lib_posix_remove=yes
9549 else
9550 ac_cv_lib_posix_remove=no
9552 rm -f core conftest.err conftest.$ac_objext \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_lib_save_LIBS
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9557 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9558 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9564 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9565 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9566 if test "x$ac_cv_func_shmat" = xyes; then :
9570 if test $ac_cv_func_shmat = no; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9572 $as_echo_n "checking for shmat in -lipc... " >&6; }
9573 if ${ac_cv_lib_ipc_shmat+:} false; then :
9574 $as_echo_n "(cached) " >&6
9575 else
9576 ac_check_lib_save_LIBS=$LIBS
9577 LIBS="-lipc $LIBS"
9578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9579 /* end confdefs.h. */
9581 /* Override any GCC internal prototype to avoid an error.
9582 Use char because int might match the return type of a GCC
9583 builtin and then its argument prototype would still apply. */
9584 #ifdef __cplusplus
9585 extern "C"
9586 #endif
9587 char shmat ();
9589 main ()
9591 return shmat ();
9593 return 0;
9595 _ACEOF
9596 if ac_fn_c_try_link "$LINENO"; then :
9597 ac_cv_lib_ipc_shmat=yes
9598 else
9599 ac_cv_lib_ipc_shmat=no
9601 rm -f core conftest.err conftest.$ac_objext \
9602 conftest$ac_exeext conftest.$ac_ext
9603 LIBS=$ac_check_lib_save_LIBS
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9606 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9607 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9608 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9614 # Check for libraries that X11R6 Xt/Xaw programs need.
9615 ac_save_LDFLAGS=$LDFLAGS
9616 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9617 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9618 # check for ICE first), but we must link in the order -lSM -lICE or
9619 # we get undefined symbols. So assume we have SM if we have ICE.
9620 # These have to be linked with before -lX11, unlike the other
9621 # libraries we check for below, so use a different variable.
9622 # John Interrante, Karl Berry
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9624 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9625 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 ac_check_lib_save_LIBS=$LIBS
9629 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9636 #ifdef __cplusplus
9637 extern "C"
9638 #endif
9639 char IceConnectionNumber ();
9641 main ()
9643 return IceConnectionNumber ();
9645 return 0;
9647 _ACEOF
9648 if ac_fn_c_try_link "$LINENO"; then :
9649 ac_cv_lib_ICE_IceConnectionNumber=yes
9650 else
9651 ac_cv_lib_ICE_IceConnectionNumber=no
9653 rm -f core conftest.err conftest.$ac_objext \
9654 conftest$ac_exeext conftest.$ac_ext
9655 LIBS=$ac_check_lib_save_LIBS
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9658 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9659 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9660 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9663 LDFLAGS=$ac_save_LDFLAGS
9668 if test "$have_x" = "yes"
9669 then
9670 ac_save_CPPFLAGS="$CPPFLAGS"
9671 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9674 $as_echo_n "checking for -lX11... " >&6; }
9675 if ${ac_cv_lib_soname_X11+:} false; then :
9676 $as_echo_n "(cached) " >&6
9677 else
9678 ac_check_soname_save_LIBS=$LIBS
9679 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9681 /* end confdefs.h. */
9683 /* Override any GCC internal prototype to avoid an error.
9684 Use char because int might match the return type of a GCC
9685 builtin and then its argument prototype would still apply. */
9686 #ifdef __cplusplus
9687 extern "C"
9688 #endif
9689 char XCreateWindow ();
9691 main ()
9693 return XCreateWindow ();
9695 return 0;
9697 _ACEOF
9698 if ac_fn_c_try_link "$LINENO"; then :
9699 case "$LIBEXT" in
9700 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9701 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'` ;;
9702 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9703 if ${ac_cv_lib_soname_X11:+false} :; then :
9704 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9705 fi ;;
9706 esac
9708 rm -f core conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_soname_save_LIBS
9712 if ${ac_cv_lib_soname_X11:+false} :; then :
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9714 $as_echo "not found" >&6; }
9716 else
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9718 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9720 cat >>confdefs.h <<_ACEOF
9721 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9722 _ACEOF
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9727 $as_echo_n "checking for -lXext... " >&6; }
9728 if ${ac_cv_lib_soname_Xext+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 ac_check_soname_save_LIBS=$LIBS
9732 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9739 #ifdef __cplusplus
9740 extern "C"
9741 #endif
9742 char XextCreateExtension ();
9744 main ()
9746 return XextCreateExtension ();
9748 return 0;
9750 _ACEOF
9751 if ac_fn_c_try_link "$LINENO"; then :
9752 case "$LIBEXT" in
9753 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9754 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'` ;;
9755 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9756 if ${ac_cv_lib_soname_Xext:+false} :; then :
9757 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9758 fi ;;
9759 esac
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 LIBS=$ac_check_soname_save_LIBS
9765 if ${ac_cv_lib_soname_Xext:+false} :; then :
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9767 $as_echo "not found" >&6; }
9769 else
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9771 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9773 cat >>confdefs.h <<_ACEOF
9774 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9775 _ACEOF
9777 X_LIBS="$X_LIBS -lXext"
9779 X_LIBS="$X_LIBS -lX11"
9781 for ac_header in X11/Xlib.h \
9782 X11/XKBlib.h \
9783 X11/Xutil.h \
9784 X11/Xcursor/Xcursor.h \
9785 X11/extensions/shape.h \
9786 X11/extensions/XInput.h \
9787 X11/extensions/XInput2.h \
9788 X11/extensions/XShm.h \
9789 X11/extensions/Xcomposite.h \
9790 X11/extensions/Xinerama.h \
9791 X11/extensions/Xrandr.h \
9792 X11/extensions/Xrender.h \
9793 X11/extensions/xf86vmode.h \
9794 X11/extensions/xf86vmproto.h
9795 do :
9796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9797 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9798 # include <X11/Xlib.h>
9799 #endif
9800 #ifdef HAVE_X11_XUTIL_H
9801 # include <X11/Xutil.h>
9802 #endif
9804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9805 cat >>confdefs.h <<_ACEOF
9806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9807 _ACEOF
9811 done
9814 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9815 then
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9817 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9818 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9819 $as_echo_n "(cached) " >&6
9820 else
9821 ac_check_lib_save_LIBS=$LIBS
9822 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9829 #ifdef __cplusplus
9830 extern "C"
9831 #endif
9832 char XkbQueryExtension ();
9834 main ()
9836 return XkbQueryExtension ();
9838 return 0;
9840 _ACEOF
9841 if ac_fn_c_try_link "$LINENO"; then :
9842 ac_cv_lib_X11_XkbQueryExtension=yes
9843 else
9844 ac_cv_lib_X11_XkbQueryExtension=no
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_lib_save_LIBS
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9851 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9852 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9854 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9860 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9861 then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9863 $as_echo_n "checking for -lXcursor... " >&6; }
9864 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_check_soname_save_LIBS=$LIBS
9868 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9872 /* Override any GCC internal prototype to avoid an error.
9873 Use char because int might match the return type of a GCC
9874 builtin and then its argument prototype would still apply. */
9875 #ifdef __cplusplus
9876 extern "C"
9877 #endif
9878 char XcursorImageLoadCursor ();
9880 main ()
9882 return XcursorImageLoadCursor ();
9884 return 0;
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 case "$LIBEXT" in
9889 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9890 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'` ;;
9891 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9892 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9893 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9894 fi ;;
9895 esac
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LIBS=$ac_check_soname_save_LIBS
9901 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9903 $as_echo "not found" >&6; }
9905 else
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9907 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9909 cat >>confdefs.h <<_ACEOF
9910 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9911 _ACEOF
9916 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9917 case "x$with_xcursor" in
9918 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9919 xno) ;;
9920 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9921 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9922 esac
9926 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9927 then
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9929 $as_echo_n "checking for -lXi... " >&6; }
9930 if ${ac_cv_lib_soname_Xi+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_check_soname_save_LIBS=$LIBS
9934 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9938 /* Override any GCC internal prototype to avoid an error.
9939 Use char because int might match the return type of a GCC
9940 builtin and then its argument prototype would still apply. */
9941 #ifdef __cplusplus
9942 extern "C"
9943 #endif
9944 char XOpenDevice ();
9946 main ()
9948 return XOpenDevice ();
9950 return 0;
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"; then :
9954 case "$LIBEXT" in
9955 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9956 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'` ;;
9957 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9958 if ${ac_cv_lib_soname_Xi:+false} :; then :
9959 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9960 fi ;;
9961 esac
9963 rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965 LIBS=$ac_check_soname_save_LIBS
9967 if ${ac_cv_lib_soname_Xi:+false} :; then :
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9969 $as_echo "not found" >&6; }
9971 else
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9973 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9975 cat >>confdefs.h <<_ACEOF
9976 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9977 _ACEOF
9982 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9983 case "x$with_xinput" in
9984 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9985 xno) ;;
9986 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9987 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9988 esac
9992 if test "x$ac_cv_lib_soname_Xi" != x
9993 then
9994 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9995 case "x$with_xinput2" in
9996 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9997 xno) ;;
9998 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9999 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10000 esac
10005 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10006 then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10008 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10009 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10010 $as_echo_n "(cached) " >&6
10011 else
10012 ac_check_lib_save_LIBS=$LIBS
10013 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10020 #ifdef __cplusplus
10021 extern "C"
10022 #endif
10023 char XShmQueryExtension ();
10025 main ()
10027 return XShmQueryExtension ();
10029 return 0;
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_lib_Xext_XShmQueryExtension=yes
10034 else
10035 ac_cv_lib_Xext_XShmQueryExtension=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 LIBS=$ac_check_lib_save_LIBS
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10042 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10043 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10045 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10050 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10051 case "x$with_xshm" in
10052 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10053 xno) ;;
10054 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10055 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10056 esac
10060 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10061 then
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10063 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10064 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10065 $as_echo_n "(cached) " >&6
10066 else
10067 ac_check_lib_save_LIBS=$LIBS
10068 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10075 #ifdef __cplusplus
10076 extern "C"
10077 #endif
10078 char XShapeQueryExtension ();
10080 main ()
10082 return XShapeQueryExtension ();
10084 return 0;
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_lib_Xext_XShapeQueryExtension=yes
10089 else
10090 ac_cv_lib_Xext_XShapeQueryExtension=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 LIBS=$ac_check_lib_save_LIBS
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10097 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10098 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10100 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10105 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10106 case "x$with_xshape" in
10107 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10108 xno) ;;
10109 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10110 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10111 esac
10115 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10116 then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10118 $as_echo_n "checking for -lXxf86vm... " >&6; }
10119 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_check_soname_save_LIBS=$LIBS
10123 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char XF86VidModeQueryExtension ();
10135 main ()
10137 return XF86VidModeQueryExtension ();
10139 return 0;
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 case "$LIBEXT" in
10144 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10145 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'` ;;
10146 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10147 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10148 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10149 fi ;;
10150 esac
10152 rm -f core conftest.err conftest.$ac_objext \
10153 conftest$ac_exeext conftest.$ac_ext
10154 LIBS=$ac_check_soname_save_LIBS
10156 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10158 $as_echo "not found" >&6; }
10160 else
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10162 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10164 cat >>confdefs.h <<_ACEOF
10165 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10166 _ACEOF
10171 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10172 case "x$with_xxf86vm" in
10173 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10174 xno) ;;
10175 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10176 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10177 esac
10181 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10182 then
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10184 $as_echo_n "checking for -lXrender... " >&6; }
10185 if ${ac_cv_lib_soname_Xrender+:} false; then :
10186 $as_echo_n "(cached) " >&6
10187 else
10188 ac_check_soname_save_LIBS=$LIBS
10189 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10196 #ifdef __cplusplus
10197 extern "C"
10198 #endif
10199 char XRenderQueryExtension ();
10201 main ()
10203 return XRenderQueryExtension ();
10205 return 0;
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"; then :
10209 case "$LIBEXT" in
10210 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 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'` ;;
10212 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10214 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10215 fi ;;
10216 esac
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_soname_save_LIBS
10222 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10224 $as_echo "not found" >&6; }
10226 else
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10228 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10230 cat >>confdefs.h <<_ACEOF
10231 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10232 _ACEOF
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10235 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10236 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_check_lib_save_LIBS=$LIBS
10240 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10244 /* Override any GCC internal prototype to avoid an error.
10245 Use char because int might match the return type of a GCC
10246 builtin and then its argument prototype would still apply. */
10247 #ifdef __cplusplus
10248 extern "C"
10249 #endif
10250 char XRenderSetPictureTransform ();
10252 main ()
10254 return XRenderSetPictureTransform ();
10256 return 0;
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10261 else
10262 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 LIBS=$ac_check_lib_save_LIBS
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10269 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10270 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10272 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10277 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10278 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10279 $as_echo_n "(cached) " >&6
10280 else
10281 ac_check_lib_save_LIBS=$LIBS
10282 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10289 #ifdef __cplusplus
10290 extern "C"
10291 #endif
10292 char XRenderCreateLinearGradient ();
10294 main ()
10296 return XRenderCreateLinearGradient ();
10298 return 0;
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"; then :
10302 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10303 else
10304 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10306 rm -f core conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10311 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10312 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10314 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10321 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10322 case "x$with_xrender" in
10323 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10324 xno) ;;
10325 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10326 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10327 esac
10331 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10332 then
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10335 #include <X11/Xlib.h>
10336 #include <X11/extensions/Xrandr.h>
10338 main ()
10340 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10342 return 0;
10344 _ACEOF
10345 if ac_fn_c_try_compile "$LINENO"; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10347 $as_echo_n "checking for -lXrandr... " >&6; }
10348 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10349 $as_echo_n "(cached) " >&6
10350 else
10351 ac_check_soname_save_LIBS=$LIBS
10352 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10356 /* Override any GCC internal prototype to avoid an error.
10357 Use char because int might match the return type of a GCC
10358 builtin and then its argument prototype would still apply. */
10359 #ifdef __cplusplus
10360 extern "C"
10361 #endif
10362 char XRRQueryExtension ();
10364 main ()
10366 return XRRQueryExtension ();
10368 return 0;
10370 _ACEOF
10371 if ac_fn_c_try_link "$LINENO"; then :
10372 case "$LIBEXT" in
10373 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10374 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'` ;;
10375 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10376 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10377 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10378 fi ;;
10379 esac
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 LIBS=$ac_check_soname_save_LIBS
10385 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10387 $as_echo "not found" >&6; }
10389 else
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10391 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10393 cat >>confdefs.h <<_ACEOF
10394 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10395 _ACEOF
10397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10399 #include <X11/Xlib.h>
10400 #include <X11/extensions/Xrandr.h>
10402 main ()
10404 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10406 return 0;
10408 _ACEOF
10409 if ac_fn_c_try_compile "$LINENO"; then :
10411 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10419 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10420 case "x$with_xrandr" in
10421 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10422 xno) ;;
10423 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10424 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10425 esac
10429 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10430 then
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 #include <X11/Xlib.h>
10434 #include <X11/extensions/Xinerama.h>
10436 main ()
10438 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10440 return 0;
10442 _ACEOF
10443 if ac_fn_c_try_compile "$LINENO"; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10445 $as_echo_n "checking for -lXinerama... " >&6; }
10446 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10447 $as_echo_n "(cached) " >&6
10448 else
10449 ac_check_soname_save_LIBS=$LIBS
10450 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10454 /* Override any GCC internal prototype to avoid an error.
10455 Use char because int might match the return type of a GCC
10456 builtin and then its argument prototype would still apply. */
10457 #ifdef __cplusplus
10458 extern "C"
10459 #endif
10460 char XineramaQueryScreens ();
10462 main ()
10464 return XineramaQueryScreens ();
10466 return 0;
10468 _ACEOF
10469 if ac_fn_c_try_link "$LINENO"; then :
10470 case "$LIBEXT" in
10471 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10472 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'` ;;
10473 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10474 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10475 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10476 fi ;;
10477 esac
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 LIBS=$ac_check_soname_save_LIBS
10483 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10485 $as_echo "not found" >&6; }
10487 else
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10489 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10491 cat >>confdefs.h <<_ACEOF
10492 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10493 _ACEOF
10498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10500 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10501 case "x$with_xinerama" in
10502 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10503 xno) ;;
10504 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10505 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10506 esac
10510 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10511 then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10513 $as_echo_n "checking for -lXcomposite... " >&6; }
10514 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_check_soname_save_LIBS=$LIBS
10518 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char XCompositeRedirectWindow ();
10530 main ()
10532 return XCompositeRedirectWindow ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 case "$LIBEXT" in
10539 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10540 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'` ;;
10541 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10542 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10543 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10544 fi ;;
10545 esac
10547 rm -f core conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_soname_save_LIBS
10551 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10553 $as_echo "not found" >&6; }
10555 else
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10557 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10559 cat >>confdefs.h <<_ACEOF
10560 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10561 _ACEOF
10566 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10567 case "x$with_xcomposite" in
10568 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10569 xno) ;;
10570 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10571 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10572 esac
10576 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10577 #include <X11/Xlib.h>
10578 #endif
10580 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10582 cat >>confdefs.h <<_ACEOF
10583 #define HAVE_XICCALLBACK_CALLBACK 1
10584 _ACEOF
10588 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10589 #include <X11/Xlib.h>
10590 #endif
10592 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10594 cat >>confdefs.h <<_ACEOF
10595 #define HAVE_XEVENT_XCOOKIE 1
10596 _ACEOF
10603 opengl_msg=""
10604 if test "x$with_opengl" != "xno"
10605 then
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10607 $as_echo_n "checking for -lGL... " >&6; }
10608 if ${ac_cv_lib_soname_GL+:} false; then :
10609 $as_echo_n "(cached) " >&6
10610 else
10611 ac_check_soname_save_LIBS=$LIBS
10612 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 char glXCreateContext ();
10624 main ()
10626 return glXCreateContext ();
10628 return 0;
10630 _ACEOF
10631 if ac_fn_c_try_link "$LINENO"; then :
10632 case "$LIBEXT" in
10633 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10634 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'` ;;
10635 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10636 if ${ac_cv_lib_soname_GL:+false} :; then :
10637 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10638 fi ;;
10639 esac
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 LIBS=$ac_check_soname_save_LIBS
10645 if ${ac_cv_lib_soname_GL:+false} :; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10647 $as_echo "not found" >&6; }
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10649 $as_echo_n "checking for -lGL... " >&6; }
10650 if ${ac_cv_lib_soname_GL+:} false; then :
10651 $as_echo_n "(cached) " >&6
10652 else
10653 ac_check_soname_save_LIBS=$LIBS
10654 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"
10655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10656 /* end confdefs.h. */
10658 /* Override any GCC internal prototype to avoid an error.
10659 Use char because int might match the return type of a GCC
10660 builtin and then its argument prototype would still apply. */
10661 #ifdef __cplusplus
10662 extern "C"
10663 #endif
10664 char glXCreateContext ();
10666 main ()
10668 return glXCreateContext ();
10670 return 0;
10672 _ACEOF
10673 if ac_fn_c_try_link "$LINENO"; then :
10674 case "$LIBEXT" in
10675 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10676 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'` ;;
10677 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10678 if ${ac_cv_lib_soname_GL:+false} :; then :
10679 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10680 fi ;;
10681 esac
10683 rm -f core conftest.err conftest.$ac_objext \
10684 conftest$ac_exeext conftest.$ac_ext
10685 LIBS=$ac_check_soname_save_LIBS
10687 if ${ac_cv_lib_soname_GL:+false} :; then :
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10689 $as_echo "not found" >&6; }
10690 if test -f /usr/X11R6/lib/libGL.a
10691 then
10692 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10693 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10694 else
10695 opengl_msg="No OpenGL library found on this system."
10697 else
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10699 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10701 cat >>confdefs.h <<_ACEOF
10702 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10703 _ACEOF
10705 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"
10707 else
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10709 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10711 cat >>confdefs.h <<_ACEOF
10712 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10713 _ACEOF
10715 OPENGL_LIBS="-lGL"
10717 if test "x$with_glu" != "xno"
10718 then
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10720 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10721 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10722 $as_echo_n "(cached) " >&6
10723 else
10724 ac_check_lib_save_LIBS=$LIBS
10725 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10732 #ifdef __cplusplus
10733 extern "C"
10734 #endif
10735 char gluLookAt ();
10737 main ()
10739 return gluLookAt ();
10741 return 0;
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 ac_cv_lib_GLU_gluLookAt=yes
10746 else
10747 ac_cv_lib_GLU_gluLookAt=no
10749 rm -f core conftest.err conftest.$ac_objext \
10750 conftest$ac_exeext conftest.$ac_ext
10751 LIBS=$ac_check_lib_save_LIBS
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10754 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10755 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10759 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10760 case "x$with_glu" in
10761 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10762 xno) ;;
10763 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10764 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10765 esac
10770 if test "x$with_osmesa" != "xno"
10771 then
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10773 $as_echo_n "checking for -lOSMesa... " >&6; }
10774 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10775 $as_echo_n "(cached) " >&6
10776 else
10777 ac_check_soname_save_LIBS=$LIBS
10778 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10782 /* Override any GCC internal prototype to avoid an error.
10783 Use char because int might match the return type of a GCC
10784 builtin and then its argument prototype would still apply. */
10785 #ifdef __cplusplus
10786 extern "C"
10787 #endif
10788 char glAccum ();
10790 main ()
10792 return glAccum ();
10794 return 0;
10796 _ACEOF
10797 if ac_fn_c_try_link "$LINENO"; then :
10798 case "$LIBEXT" in
10799 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10800 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'` ;;
10801 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10802 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10803 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10804 fi ;;
10805 esac
10807 rm -f core conftest.err conftest.$ac_objext \
10808 conftest$ac_exeext conftest.$ac_ext
10809 LIBS=$ac_check_soname_save_LIBS
10811 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10813 $as_echo "not found" >&6; }
10815 else
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10817 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10819 cat >>confdefs.h <<_ACEOF
10820 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10821 _ACEOF
10825 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10826 case "x$with_osmesa" in
10827 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10828 xno) ;;
10829 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10830 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10831 esac
10836 if test -n "$opengl_msg"; then :
10837 case "x$with_opengl" in
10838 x) as_fn_append wine_warnings "|$opengl_msg
10839 OpenGL and Direct3D won't be supported." ;;
10840 xno) ;;
10841 *) as_fn_error $? "$opengl_msg
10842 OpenGL and Direct3D won't be supported.
10843 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10844 esac
10848 CPPFLAGS="$ac_save_CPPFLAGS"
10849 else
10850 X_CFLAGS=""
10851 X_LIBS=""
10853 if test "x$X_LIBS" = "x"; then :
10854 case "x$with_x" in
10855 xno) ;;
10856 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10857 without X support, which probably isn't what you want. You will need
10858 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10859 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10860 esac
10861 enable_winex11_drv=${enable_winex11_drv:-no}
10864 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10866 if test "$ac_cv_header_CL_cl_h" = "yes"
10867 then
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10869 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10870 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-lOpenCL $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char clGetPlatformInfo ();
10886 main ()
10888 return clGetPlatformInfo ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10895 else
10896 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10903 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10904 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10905 OPENCL_LIBS="-lOpenCL"
10910 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10911 case "x$with_opencl" in
10912 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10913 xno) ;;
10914 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10915 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10916 esac
10917 enable_opencl=${enable_opencl:-no}
10920 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10921 then
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10923 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10924 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10925 $as_echo_n "(cached) " >&6
10926 else
10927 ac_check_lib_save_LIBS=$LIBS
10928 LIBS="-lpcap $LIBS"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10935 #ifdef __cplusplus
10936 extern "C"
10937 #endif
10938 char pcap_create ();
10940 main ()
10942 return pcap_create ();
10944 return 0;
10946 _ACEOF
10947 if ac_fn_c_try_link "$LINENO"; then :
10948 ac_cv_lib_pcap_pcap_create=yes
10949 else
10950 ac_cv_lib_pcap_pcap_create=no
10952 rm -f core conftest.err conftest.$ac_objext \
10953 conftest$ac_exeext conftest.$ac_ext
10954 LIBS=$ac_check_lib_save_LIBS
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10957 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10958 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10959 PCAP_LIBS="-lpcap"
10964 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10965 case "x$with_pcap" in
10966 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10967 xno) ;;
10968 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10969 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10970 esac
10971 enable_wpcap=${enable_wpcap:-no}
10975 if test "x$with_xml" != "xno"
10976 then
10977 if ${XML2_CFLAGS:+false} :; then :
10978 if ${PKG_CONFIG+:} false; then :
10979 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10982 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10983 if ${XML2_LIBS:+false} :; then :
10984 if ${PKG_CONFIG+:} false; then :
10985 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10988 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10989 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10990 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10991 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10992 ac_save_CPPFLAGS=$CPPFLAGS
10993 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10994 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10995 do :
10996 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10997 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10998 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10999 cat >>confdefs.h <<_ACEOF
11000 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11001 _ACEOF
11005 done
11007 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"
11008 then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11010 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11011 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lxml2 $XML2_LIBS $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char xmlParseMemory ();
11027 main ()
11029 return xmlParseMemory ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_xml2_xmlParseMemory=yes
11036 else
11037 ac_cv_lib_xml2_xmlParseMemory=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11044 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11045 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11047 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11049 else
11050 XML2_LIBS=""
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11054 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11055 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11056 $as_echo_n "(cached) " >&6
11057 else
11058 ac_check_lib_save_LIBS=$LIBS
11059 LIBS="-lxml2 $XML2_LIBS $LIBS"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11066 #ifdef __cplusplus
11067 extern "C"
11068 #endif
11069 char xmlReadMemory ();
11071 main ()
11073 return xmlReadMemory ();
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 ac_cv_lib_xml2_xmlReadMemory=yes
11080 else
11081 ac_cv_lib_xml2_xmlReadMemory=no
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11085 LIBS=$ac_check_lib_save_LIBS
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11088 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11089 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11091 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11096 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11097 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11098 $as_echo_n "(cached) " >&6
11099 else
11100 ac_check_lib_save_LIBS=$LIBS
11101 LIBS="-lxml2 $XML2_LIBS $LIBS"
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103 /* end confdefs.h. */
11105 /* Override any GCC internal prototype to avoid an error.
11106 Use char because int might match the return type of a GCC
11107 builtin and then its argument prototype would still apply. */
11108 #ifdef __cplusplus
11109 extern "C"
11110 #endif
11111 char xmlNewDocPI ();
11113 main ()
11115 return xmlNewDocPI ();
11117 return 0;
11119 _ACEOF
11120 if ac_fn_c_try_link "$LINENO"; then :
11121 ac_cv_lib_xml2_xmlNewDocPI=yes
11122 else
11123 ac_cv_lib_xml2_xmlNewDocPI=no
11125 rm -f core conftest.err conftest.$ac_objext \
11126 conftest$ac_exeext conftest.$ac_ext
11127 LIBS=$ac_check_lib_save_LIBS
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11130 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11131 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11133 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11138 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11139 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11140 $as_echo_n "(cached) " >&6
11141 else
11142 ac_check_lib_save_LIBS=$LIBS
11143 LIBS="-lxml2 $XML2_LIBS $LIBS"
11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11147 /* Override any GCC internal prototype to avoid an error.
11148 Use char because int might match the return type of a GCC
11149 builtin and then its argument prototype would still apply. */
11150 #ifdef __cplusplus
11151 extern "C"
11152 #endif
11153 char xmlSchemaSetParserStructuredErrors ();
11155 main ()
11157 return xmlSchemaSetParserStructuredErrors ();
11159 return 0;
11161 _ACEOF
11162 if ac_fn_c_try_link "$LINENO"; then :
11163 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11164 else
11165 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11167 rm -f core conftest.err conftest.$ac_objext \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_lib_save_LIBS
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11172 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11173 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11175 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11180 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11181 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11182 $as_echo_n "(cached) " >&6
11183 else
11184 ac_check_lib_save_LIBS=$LIBS
11185 LIBS="-lxml2 $XML2_LIBS $LIBS"
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11189 /* Override any GCC internal prototype to avoid an error.
11190 Use char because int might match the return type of a GCC
11191 builtin and then its argument prototype would still apply. */
11192 #ifdef __cplusplus
11193 extern "C"
11194 #endif
11195 char xmlSchemaSetValidStructuredErrors ();
11197 main ()
11199 return xmlSchemaSetValidStructuredErrors ();
11201 return 0;
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"; then :
11205 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11206 else
11207 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11209 rm -f core conftest.err conftest.$ac_objext \
11210 conftest$ac_exeext conftest.$ac_ext
11211 LIBS=$ac_check_lib_save_LIBS
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11214 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11215 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11217 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11222 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11223 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11224 $as_echo_n "(cached) " >&6
11225 else
11226 ac_check_lib_save_LIBS=$LIBS
11227 LIBS="-lxml2 $XML2_LIBS $LIBS"
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11234 #ifdef __cplusplus
11235 extern "C"
11236 #endif
11237 char xmlFirstElementChild ();
11239 main ()
11241 return xmlFirstElementChild ();
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"; then :
11247 ac_cv_lib_xml2_xmlFirstElementChild=yes
11248 else
11249 ac_cv_lib_xml2_xmlFirstElementChild=no
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11256 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11257 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11259 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11263 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11265 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11267 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11271 else
11272 XML2_CFLAGS=""
11273 XML2_LIBS=""
11275 CPPFLAGS=$ac_save_CPPFLAGS
11276 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11277 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11280 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11281 case "x$with_xml" in
11282 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11283 xno) ;;
11284 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11285 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11286 esac
11290 if test "x$with_xslt" != "xno"
11291 then
11292 if ${XSLT_CFLAGS:+false} :; then :
11293 if ${PKG_CONFIG+:} false; then :
11294 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11297 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11298 if ${XSLT_LIBS:+false} :; then :
11299 if ${PKG_CONFIG+:} false; then :
11300 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11303 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11304 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11305 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11306 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11307 ac_save_CPPFLAGS=$CPPFLAGS
11308 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11309 for ac_header in libxslt/pattern.h libxslt/transform.h
11310 do :
11311 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11312 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11313 # include <libxslt/pattern.h>
11314 #endif
11316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11317 cat >>confdefs.h <<_ACEOF
11318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11319 _ACEOF
11323 done
11325 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11326 then
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11328 $as_echo_n "checking for -lxslt... " >&6; }
11329 if ${ac_cv_lib_soname_xslt+:} false; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_soname_save_LIBS=$LIBS
11333 LIBS="-lxslt $XSLT_LIBS $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char xsltCompilePattern ();
11345 main ()
11347 return xsltCompilePattern ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 case "$LIBEXT" in
11354 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11355 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'` ;;
11356 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11357 if ${ac_cv_lib_soname_xslt:+false} :; then :
11358 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11359 fi ;;
11360 esac
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_soname_save_LIBS
11366 if ${ac_cv_lib_soname_xslt:+false} :; then :
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11368 $as_echo "not found" >&6; }
11370 else
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11372 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11374 cat >>confdefs.h <<_ACEOF
11375 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11376 _ACEOF
11380 else
11381 XSLT_CFLAGS=""
11383 CPPFLAGS=$ac_save_CPPFLAGS
11384 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11385 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11388 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11389 case "x$with_xslt" in
11390 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11391 xno) ;;
11392 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11393 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11394 esac
11398 if test "x$with_dbus" != "xno"
11399 then
11400 if ${DBUS_CFLAGS:+false} :; then :
11401 if ${PKG_CONFIG+:} false; then :
11402 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11406 if ${DBUS_LIBS:+false} :; then :
11407 if ${PKG_CONFIG+:} false; then :
11408 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11413 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11414 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11415 ac_save_CPPFLAGS=$CPPFLAGS
11416 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11417 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11418 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11420 $as_echo_n "checking for -ldbus-1... " >&6; }
11421 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11422 $as_echo_n "(cached) " >&6
11423 else
11424 ac_check_soname_save_LIBS=$LIBS
11425 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11429 /* Override any GCC internal prototype to avoid an error.
11430 Use char because int might match the return type of a GCC
11431 builtin and then its argument prototype would still apply. */
11432 #ifdef __cplusplus
11433 extern "C"
11434 #endif
11435 char dbus_connection_close ();
11437 main ()
11439 return dbus_connection_close ();
11441 return 0;
11443 _ACEOF
11444 if ac_fn_c_try_link "$LINENO"; then :
11445 case "$LIBEXT" in
11446 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11447 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'` ;;
11448 *) 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'`
11449 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11450 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11451 fi ;;
11452 esac
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_soname_save_LIBS
11458 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11460 $as_echo "not found" >&6; }
11461 DBUS_CFLAGS=""
11462 else
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11464 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11466 cat >>confdefs.h <<_ACEOF
11467 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11468 _ACEOF
11472 else
11473 DBUS_CFLAGS=""
11477 CPPFLAGS=$ac_save_CPPFLAGS
11478 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11479 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11482 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11483 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11484 case "x$with_dbus" in
11485 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11486 xno) ;;
11487 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11488 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11489 esac
11493 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11494 then
11495 if ${HAL_CFLAGS:+false} :; then :
11496 if ${PKG_CONFIG+:} false; then :
11497 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11501 if ${HAL_LIBS:+false} :; then :
11502 if ${PKG_CONFIG+:} false; then :
11503 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11507 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11508 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11509 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11510 ac_save_CPPFLAGS=$CPPFLAGS
11511 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11512 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11513 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11515 $as_echo_n "checking for -lhal... " >&6; }
11516 if ${ac_cv_lib_soname_hal+:} false; then :
11517 $as_echo_n "(cached) " >&6
11518 else
11519 ac_check_soname_save_LIBS=$LIBS
11520 LIBS="-lhal $HAL_LIBS $LIBS"
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char libhal_ctx_new ();
11532 main ()
11534 return libhal_ctx_new ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 case "$LIBEXT" in
11541 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11542 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'` ;;
11543 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11544 if ${ac_cv_lib_soname_hal:+false} :; then :
11545 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11546 fi ;;
11547 esac
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_soname_save_LIBS
11553 if ${ac_cv_lib_soname_hal:+false} :; then :
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11555 $as_echo "not found" >&6; }
11556 HAL_CFLAGS=""
11557 else
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11559 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11561 cat >>confdefs.h <<_ACEOF
11562 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11563 _ACEOF
11567 else
11568 HAL_CFLAGS=""
11572 CPPFLAGS=$ac_save_CPPFLAGS
11573 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11574 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11576 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11577 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11578 case "x$with_hal" in
11579 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11580 xno) ;;
11581 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11582 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11583 esac
11588 if test "x$with_gnutls" != "xno"
11589 then
11590 if ${GNUTLS_CFLAGS:+false} :; then :
11591 if ${PKG_CONFIG+:} false; then :
11592 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11596 if ${GNUTLS_LIBS:+false} :; then :
11597 if ${PKG_CONFIG+:} false; then :
11598 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11603 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11604 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11605 ac_save_CPPFLAGS=$CPPFLAGS
11606 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11607 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11608 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11611 #include <gnutls/gnutls.h>
11612 #include <gnutls/crypto.h>
11614 main ()
11616 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_compile "$LINENO"; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11623 $as_echo_n "checking for -lgnutls... " >&6; }
11624 if ${ac_cv_lib_soname_gnutls+:} false; then :
11625 $as_echo_n "(cached) " >&6
11626 else
11627 ac_check_soname_save_LIBS=$LIBS
11628 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11630 /* end confdefs.h. */
11632 /* Override any GCC internal prototype to avoid an error.
11633 Use char because int might match the return type of a GCC
11634 builtin and then its argument prototype would still apply. */
11635 #ifdef __cplusplus
11636 extern "C"
11637 #endif
11638 char gnutls_global_init ();
11640 main ()
11642 return gnutls_global_init ();
11644 return 0;
11646 _ACEOF
11647 if ac_fn_c_try_link "$LINENO"; then :
11648 case "$LIBEXT" in
11649 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11650 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'` ;;
11651 *) 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'`
11652 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11653 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'`
11654 fi ;;
11655 esac
11657 rm -f core conftest.err conftest.$ac_objext \
11658 conftest$ac_exeext conftest.$ac_ext
11659 LIBS=$ac_check_soname_save_LIBS
11661 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11663 $as_echo "not found" >&6; }
11664 GNUTLS_CFLAGS=""
11665 else
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11667 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11669 cat >>confdefs.h <<_ACEOF
11670 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11671 _ACEOF
11675 ac_wine_check_funcs_save_LIBS="$LIBS"
11676 LIBS="$LIBS $GNUTLS_LIBS"
11677 for ac_func in gnutls_hash
11678 do :
11679 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11680 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11681 cat >>confdefs.h <<_ACEOF
11682 #define HAVE_GNUTLS_HASH 1
11683 _ACEOF
11685 else
11686 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11688 done
11690 LIBS="$ac_wine_check_funcs_save_LIBS"
11692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11693 else
11694 GNUTLS_CFLAGS=""
11698 CPPFLAGS=$ac_save_CPPFLAGS
11699 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11700 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11703 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11704 case "x$with_gnutls" in
11705 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11706 xno) ;;
11707 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11708 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11709 esac
11713 CURSES_LIBS=""
11714 if test "$ac_cv_header_ncurses_h" = "yes"
11715 then
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11717 $as_echo_n "checking for -lncurses... " >&6; }
11718 if ${ac_cv_lib_soname_ncurses+:} false; then :
11719 $as_echo_n "(cached) " >&6
11720 else
11721 ac_check_soname_save_LIBS=$LIBS
11722 LIBS="-lncurses $LIBS"
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char waddch ();
11734 main ()
11736 return waddch ();
11738 return 0;
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"; then :
11742 case "$LIBEXT" in
11743 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11744 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'` ;;
11745 *) 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'`
11746 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11747 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11748 fi ;;
11749 esac
11751 rm -f core conftest.err conftest.$ac_objext \
11752 conftest$ac_exeext conftest.$ac_ext
11753 LIBS=$ac_check_soname_save_LIBS
11755 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11757 $as_echo "not found" >&6; }
11759 else
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11761 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11763 cat >>confdefs.h <<_ACEOF
11764 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11765 _ACEOF
11767 CURSES_LIBS="-lncurses"
11769 elif test "$ac_cv_header_curses_h" = "yes"
11770 then
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11772 $as_echo_n "checking for -lcurses... " >&6; }
11773 if ${ac_cv_lib_soname_curses+:} false; then :
11774 $as_echo_n "(cached) " >&6
11775 else
11776 ac_check_soname_save_LIBS=$LIBS
11777 LIBS="-lcurses $LIBS"
11778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11784 #ifdef __cplusplus
11785 extern "C"
11786 #endif
11787 char waddch ();
11789 main ()
11791 return waddch ();
11793 return 0;
11795 _ACEOF
11796 if ac_fn_c_try_link "$LINENO"; then :
11797 case "$LIBEXT" in
11798 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11799 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'` ;;
11800 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11801 if ${ac_cv_lib_soname_curses:+false} :; then :
11802 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11803 fi ;;
11804 esac
11806 rm -f core conftest.err conftest.$ac_objext \
11807 conftest$ac_exeext conftest.$ac_ext
11808 LIBS=$ac_check_soname_save_LIBS
11810 if ${ac_cv_lib_soname_curses:+false} :; then :
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11812 $as_echo "not found" >&6; }
11814 else
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11816 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11818 cat >>confdefs.h <<_ACEOF
11819 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11820 _ACEOF
11822 CURSES_LIBS="-lcurses"
11825 ac_save_LIBS="$LIBS"
11826 LIBS="$LIBS $CURSES_LIBS"
11827 for ac_func in mousemask
11828 do :
11829 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11830 if test "x$ac_cv_func_mousemask" = xyes; then :
11831 cat >>confdefs.h <<_ACEOF
11832 #define HAVE_MOUSEMASK 1
11833 _ACEOF
11836 done
11838 LIBS="$ac_save_LIBS"
11839 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11840 case "x$with_curses" in
11841 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11842 xno) ;;
11843 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11844 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11845 esac
11849 if test "x$with_sane" != "xno"
11850 then
11851 if ${SANE_CFLAGS:+false} :; then :
11852 if ${PKG_CONFIG+:} false; then :
11853 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11856 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11857 if ${SANE_LIBS:+false} :; then :
11858 if ${PKG_CONFIG+:} false; then :
11859 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11862 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11864 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11865 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11866 ac_save_CPPFLAGS=$CPPFLAGS
11867 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11868 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11869 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11871 $as_echo_n "checking for -lsane... " >&6; }
11872 if ${ac_cv_lib_soname_sane+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_soname_save_LIBS=$LIBS
11876 LIBS="-lsane $SANE_LIBS $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char sane_init ();
11888 main ()
11890 return sane_init ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 case "$LIBEXT" in
11897 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11898 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'` ;;
11899 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11900 if ${ac_cv_lib_soname_sane:+false} :; then :
11901 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11902 fi ;;
11903 esac
11905 rm -f core conftest.err conftest.$ac_objext \
11906 conftest$ac_exeext conftest.$ac_ext
11907 LIBS=$ac_check_soname_save_LIBS
11909 if ${ac_cv_lib_soname_sane:+false} :; then :
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11911 $as_echo "not found" >&6; }
11912 SANE_CFLAGS=""
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11915 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11917 cat >>confdefs.h <<_ACEOF
11918 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11919 _ACEOF
11923 else
11924 SANE_CFLAGS=""
11928 CPPFLAGS=$ac_save_CPPFLAGS
11929 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11930 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11933 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11934 case "x$with_sane" in
11935 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11936 xno) ;;
11937 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11938 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11939 esac
11943 if test "x$with_v4l" != "xno"
11944 then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11946 $as_echo_n "checking for -lv4l1... " >&6; }
11947 if ${ac_cv_lib_soname_v4l1+:} false; then :
11948 $as_echo_n "(cached) " >&6
11949 else
11950 ac_check_soname_save_LIBS=$LIBS
11951 LIBS="-lv4l1 $LIBS"
11952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11958 #ifdef __cplusplus
11959 extern "C"
11960 #endif
11961 char v4l1_open ();
11963 main ()
11965 return v4l1_open ();
11967 return 0;
11969 _ACEOF
11970 if ac_fn_c_try_link "$LINENO"; then :
11971 case "$LIBEXT" in
11972 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11973 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'` ;;
11974 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11975 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11976 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11977 fi ;;
11978 esac
11980 rm -f core conftest.err conftest.$ac_objext \
11981 conftest$ac_exeext conftest.$ac_ext
11982 LIBS=$ac_check_soname_save_LIBS
11984 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11986 $as_echo "not found" >&6; }
11988 else
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11990 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11992 cat >>confdefs.h <<_ACEOF
11993 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11994 _ACEOF
11999 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12000 case "x$with_v4l" in
12001 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12002 xno) ;;
12003 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12004 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12005 esac
12009 if test "x$with_gphoto" != "xno"
12010 then
12011 if ${GPHOTO2_CFLAGS:+false} :; then :
12012 if ${PKG_CONFIG+:} false; then :
12013 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12016 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12017 if ${GPHOTO2_LIBS:+false} :; then :
12018 if ${PKG_CONFIG+:} false; then :
12019 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12022 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12023 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12024 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12025 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12026 ac_save_CPPFLAGS=$CPPFLAGS
12027 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12028 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12029 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12031 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12032 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12033 $as_echo_n "(cached) " >&6
12034 else
12035 ac_check_lib_save_LIBS=$LIBS
12036 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12038 /* end confdefs.h. */
12040 /* Override any GCC internal prototype to avoid an error.
12041 Use char because int might match the return type of a GCC
12042 builtin and then its argument prototype would still apply. */
12043 #ifdef __cplusplus
12044 extern "C"
12045 #endif
12046 char gp_camera_new ();
12048 main ()
12050 return gp_camera_new ();
12052 return 0;
12054 _ACEOF
12055 if ac_fn_c_try_link "$LINENO"; then :
12056 ac_cv_lib_gphoto2_gp_camera_new=yes
12057 else
12058 ac_cv_lib_gphoto2_gp_camera_new=no
12060 rm -f core conftest.err conftest.$ac_objext \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_lib_save_LIBS
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12065 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12066 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12068 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12070 else
12071 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12074 else
12075 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12079 CPPFLAGS=$ac_save_CPPFLAGS
12080 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12081 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12083 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12088 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12089 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12090 if ${PKG_CONFIG+:} false; then :
12091 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12094 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12095 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12096 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12097 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12098 ac_save_CPPFLAGS=$CPPFLAGS
12099 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12100 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12101 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12103 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12104 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12105 $as_echo_n "(cached) " >&6
12106 else
12107 ac_check_lib_save_LIBS=$LIBS
12108 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 #ifdef __cplusplus
12116 extern "C"
12117 #endif
12118 char gp_port_info_list_new ();
12120 main ()
12122 return gp_port_info_list_new ();
12124 return 0;
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12129 else
12130 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_lib_save_LIBS
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12137 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12138 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12140 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12142 else
12143 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12146 else
12147 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12151 CPPFLAGS=$ac_save_CPPFLAGS
12152 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12153 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12156 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12157 case "x$with_gphoto" in
12158 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12159 xno) ;;
12160 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12161 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12162 esac
12165 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12166 case "x$with_gphoto" in
12167 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12168 xno) ;;
12169 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12170 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12171 esac
12176 if test "$ac_cv_header_resolv_h" = "yes"
12177 then
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12179 $as_echo_n "checking for resolver library... " >&6; }
12180 if ${ac_cv_have_resolv+:} false; then :
12181 $as_echo_n "(cached) " >&6
12182 else
12183 ac_save_LIBS="$LIBS"
12184 for lib in '' -lresolv
12186 LIBS="$lib $ac_save_LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12189 #ifdef HAVE_NETINET_IN_H
12190 #include <netinet/in.h>
12191 #endif
12192 #include <resolv.h>
12194 main ()
12196 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_link "$LINENO"; then :
12202 ac_cv_have_resolv=${lib:-"none required"}
12203 else
12204 ac_cv_have_resolv="not found"
12206 rm -f core conftest.err conftest.$ac_objext \
12207 conftest$ac_exeext conftest.$ac_ext
12208 test "x$ac_cv_have_resolv" = "xnot found" || break
12209 done
12210 LIBS="$ac_save_LIBS"
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12213 $as_echo "$ac_cv_have_resolv" >&6; }
12215 case "$ac_cv_have_resolv" in
12216 "not found") ;;
12217 "none required")
12219 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12222 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12224 RESOLV_LIBS=$ac_cv_have_resolv
12226 esac
12229 if test "x$with_cms" != "xno"
12230 then
12231 if ${LCMS2_CFLAGS:+false} :; then :
12232 if ${PKG_CONFIG+:} false; then :
12233 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12237 if ${LCMS2_LIBS:+false} :; then :
12238 if ${PKG_CONFIG+:} false; then :
12239 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12243 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12244 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12245 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12246 ac_save_CPPFLAGS=$CPPFLAGS
12247 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12248 for ac_header in lcms2.h
12249 do :
12250 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12251 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12252 cat >>confdefs.h <<_ACEOF
12253 #define HAVE_LCMS2_H 1
12254 _ACEOF
12258 done
12260 if test "$ac_cv_header_lcms2_h" = "yes"
12261 then
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12263 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12264 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12265 $as_echo_n "(cached) " >&6
12266 else
12267 ac_check_lib_save_LIBS=$LIBS
12268 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 /* end confdefs.h. */
12272 /* Override any GCC internal prototype to avoid an error.
12273 Use char because int might match the return type of a GCC
12274 builtin and then its argument prototype would still apply. */
12275 #ifdef __cplusplus
12276 extern "C"
12277 #endif
12278 char cmsOpenProfileFromFile ();
12280 main ()
12282 return cmsOpenProfileFromFile ();
12284 return 0;
12286 _ACEOF
12287 if ac_fn_c_try_link "$LINENO"; then :
12288 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12289 else
12290 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12292 rm -f core conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_lib_save_LIBS
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12297 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12298 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12300 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12302 else
12303 LCMS2_LIBS=""
12306 else
12307 LCMS2_CFLAGS=""
12308 LCMS2_LIBS=""
12310 CPPFLAGS=$ac_save_CPPFLAGS
12311 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12312 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12315 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12316 case "x$with_cms" in
12317 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12318 xno) ;;
12319 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12320 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12321 esac
12325 if test "x$with_freetype" != "xno"
12326 then
12327 if ${FREETYPE_CFLAGS:+false} :; then :
12328 if ${PKG_CONFIG+:} false; then :
12329 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12332 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12333 if ${FREETYPE_LIBS:+false} :; then :
12334 if ${PKG_CONFIG+:} false; then :
12335 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12338 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12339 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12340 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12341 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12342 ac_save_CPPFLAGS=$CPPFLAGS
12343 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12344 for ac_header in ft2build.h
12345 do :
12346 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12347 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12348 cat >>confdefs.h <<_ACEOF
12349 #define HAVE_FT2BUILD_H 1
12350 _ACEOF
12354 done
12356 if test "$ac_cv_header_ft2build_h" = "yes"
12357 then
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12359 $as_echo_n "checking for -lfreetype... " >&6; }
12360 if ${ac_cv_lib_soname_freetype+:} false; then :
12361 $as_echo_n "(cached) " >&6
12362 else
12363 ac_check_soname_save_LIBS=$LIBS
12364 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */
12368 /* Override any GCC internal prototype to avoid an error.
12369 Use char because int might match the return type of a GCC
12370 builtin and then its argument prototype would still apply. */
12371 #ifdef __cplusplus
12372 extern "C"
12373 #endif
12374 char FT_Init_FreeType ();
12376 main ()
12378 return FT_Init_FreeType ();
12380 return 0;
12382 _ACEOF
12383 if ac_fn_c_try_link "$LINENO"; then :
12384 case "$LIBEXT" in
12385 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12386 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'` ;;
12387 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12388 if ${ac_cv_lib_soname_freetype:+false} :; then :
12389 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12390 fi ;;
12391 esac
12393 rm -f core conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12395 LIBS=$ac_check_soname_save_LIBS
12397 if ${ac_cv_lib_soname_freetype:+false} :; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12399 $as_echo "not found" >&6; }
12400 FREETYPE_LIBS=""
12401 else
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12403 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12405 cat >>confdefs.h <<_ACEOF
12406 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12407 _ACEOF
12410 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12412 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12413 #include FT_MODULE_H
12415 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12417 cat >>confdefs.h <<_ACEOF
12418 #define HAVE_FT_TRUETYPEENGINETYPE 1
12419 _ACEOF
12425 else
12426 FREETYPE_CFLAGS=""
12427 FREETYPE_LIBS=""
12429 CPPFLAGS=$ac_save_CPPFLAGS
12430 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12431 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12434 if test "x$ac_cv_lib_soname_freetype" = x; then :
12435 case "x$with_freetype" in
12436 xno) ;;
12437 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12438 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12439 esac
12440 enable_fonts=${enable_fonts:-no}
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12444 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12445 if ${ac_cv_c_ppdev+:} false; then :
12446 $as_echo_n "(cached) " >&6
12447 else
12448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12450 #ifdef HAVE_SYS_IOCTL_H
12451 # include <sys/ioctl.h>
12452 #endif
12453 #include <linux/ppdev.h>
12455 main ()
12457 ioctl (1,PPCLAIM,0)
12459 return 0;
12461 _ACEOF
12462 if ac_fn_c_try_compile "$LINENO"; then :
12463 ac_cv_c_ppdev="yes"
12464 else
12465 ac_cv_c_ppdev="no"
12467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12470 $as_echo "$ac_cv_c_ppdev" >&6; }
12471 if test "$ac_cv_c_ppdev" = "yes"
12472 then
12474 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12478 ac_wine_check_funcs_save_LIBS="$LIBS"
12479 LIBS="$LIBS $PTHREAD_LIBS"
12480 for ac_func in \
12481 pthread_attr_get_np \
12482 pthread_getattr_np \
12483 pthread_getthreadid_np \
12484 pthread_get_stackaddr_np \
12485 pthread_get_stacksize_np
12486 do :
12487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12488 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12489 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12490 cat >>confdefs.h <<_ACEOF
12491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12492 _ACEOF
12495 done
12497 LIBS="$ac_wine_check_funcs_save_LIBS"
12499 if test "$ac_cv_header_zlib_h" = "yes"
12500 then
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12502 $as_echo_n "checking for inflate in -lz... " >&6; }
12503 if ${ac_cv_lib_z_inflate+:} false; then :
12504 $as_echo_n "(cached) " >&6
12505 else
12506 ac_check_lib_save_LIBS=$LIBS
12507 LIBS="-lz $LIBS"
12508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12511 /* Override any GCC internal prototype to avoid an error.
12512 Use char because int might match the return type of a GCC
12513 builtin and then its argument prototype would still apply. */
12514 #ifdef __cplusplus
12515 extern "C"
12516 #endif
12517 char inflate ();
12519 main ()
12521 return inflate ();
12523 return 0;
12525 _ACEOF
12526 if ac_fn_c_try_link "$LINENO"; then :
12527 ac_cv_lib_z_inflate=yes
12528 else
12529 ac_cv_lib_z_inflate=no
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 LIBS=$ac_check_lib_save_LIBS
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12536 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12537 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12539 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12541 Z_LIBS="-lz"
12546 if test "x$Z_LIBS" = "x"; then :
12547 case "x$with_zlib" in
12548 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12549 xno) ;;
12550 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12551 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12552 esac
12556 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12557 then
12558 if test "$ac_cv_header_gettext_po_h" = "yes"
12559 then
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12561 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12562 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12563 $as_echo_n "(cached) " >&6
12564 else
12565 ac_check_lib_save_LIBS=$LIBS
12566 LIBS="-lgettextpo $LIBS"
12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568 /* end confdefs.h. */
12570 /* Override any GCC internal prototype to avoid an error.
12571 Use char because int might match the return type of a GCC
12572 builtin and then its argument prototype would still apply. */
12573 #ifdef __cplusplus
12574 extern "C"
12575 #endif
12576 char po_message_msgctxt ();
12578 main ()
12580 return po_message_msgctxt ();
12582 return 0;
12584 _ACEOF
12585 if ac_fn_c_try_link "$LINENO"; then :
12586 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12587 else
12588 ac_cv_lib_gettextpo_po_message_msgctxt=no
12590 rm -f core conftest.err conftest.$ac_objext \
12591 conftest$ac_exeext conftest.$ac_ext
12592 LIBS=$ac_check_lib_save_LIBS
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12595 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12596 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12598 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12600 GETTEXTPO_LIBS="-lgettextpo"
12605 if test "x$GETTEXTPO_LIBS" = "x"; then :
12606 case "x$with_gettextpo" in
12607 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12608 xno) ;;
12609 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12610 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12611 esac
12614 if test "$srcdir" != .; then :
12615 case "x$with_gettextpo" in
12616 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12617 xno) ;;
12618 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12619 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12620 esac
12625 if test "x$with_pulse" != "xno";
12626 then
12627 if ${PULSE_CFLAGS:+false} :; then :
12628 if ${PKG_CONFIG+:} false; then :
12629 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12633 if ${PULSE_LIBS:+false} :; then :
12634 if ${PKG_CONFIG+:} false; then :
12635 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12640 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12641 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12642 ac_save_CPPFLAGS=$CPPFLAGS
12643 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12644 for ac_header in pulse/pulseaudio.h
12645 do :
12646 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12647 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12648 cat >>confdefs.h <<_ACEOF
12649 #define HAVE_PULSE_PULSEAUDIO_H 1
12650 _ACEOF
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12652 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12653 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12654 $as_echo_n "(cached) " >&6
12655 else
12656 ac_check_lib_save_LIBS=$LIBS
12657 LIBS="-lpulse $PULSE_LIBS $LIBS"
12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12659 /* end confdefs.h. */
12661 /* Override any GCC internal prototype to avoid an error.
12662 Use char because int might match the return type of a GCC
12663 builtin and then its argument prototype would still apply. */
12664 #ifdef __cplusplus
12665 extern "C"
12666 #endif
12667 char pa_stream_is_corked ();
12669 main ()
12671 return pa_stream_is_corked ();
12673 return 0;
12675 _ACEOF
12676 if ac_fn_c_try_link "$LINENO"; then :
12677 ac_cv_lib_pulse_pa_stream_is_corked=yes
12678 else
12679 ac_cv_lib_pulse_pa_stream_is_corked=no
12681 rm -f core conftest.err conftest.$ac_objext \
12682 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_lib_save_LIBS
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12686 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12687 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12689 else
12690 PULSE_LIBS=""
12693 else
12694 PULSE_LIBS=""
12697 done
12699 CPPFLAGS=$ac_save_CPPFLAGS
12700 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12701 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12704 if test -z "$PULSE_LIBS"; then :
12705 case "x$with_pulse" in
12706 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12707 xno) ;;
12708 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12709 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12710 esac
12711 enable_winepulse_drv=${enable_winepulse_drv:-no}
12714 if test "x$with_gstreamer" != "xno"
12715 then
12716 if ${GSTREAMER_CFLAGS:+false} :; then :
12717 if ${PKG_CONFIG+:} false; then :
12718 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12722 if ${GSTREAMER_LIBS:+false} :; then :
12723 if ${PKG_CONFIG+:} false; then :
12724 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12729 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12730 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12731 ac_save_CPPFLAGS=$CPPFLAGS
12732 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12733 ac_gst_incl=""
12734 for i in $GSTREAMER_CFLAGS
12736 case "$i" in
12737 -I*) ac_gst_incl="$ac_gst_incl $i";;
12738 esac
12739 done
12740 GSTREAMER_CFLAGS=$ac_gst_incl
12741 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12742 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12743 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12745 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12748 #include <gst/gst.h>
12750 main ()
12752 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12754 return 0;
12756 _ACEOF
12757 if ac_fn_c_try_compile "$LINENO"; then :
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12759 $as_echo "yes" >&6; }
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12761 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12762 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12763 $as_echo_n "(cached) " >&6
12764 else
12765 ac_check_lib_save_LIBS=$LIBS
12766 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 /* end confdefs.h. */
12770 /* Override any GCC internal prototype to avoid an error.
12771 Use char because int might match the return type of a GCC
12772 builtin and then its argument prototype would still apply. */
12773 #ifdef __cplusplus
12774 extern "C"
12775 #endif
12776 char gst_pad_new ();
12778 main ()
12780 return gst_pad_new ();
12782 return 0;
12784 _ACEOF
12785 if ac_fn_c_try_link "$LINENO"; then :
12786 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12787 else
12788 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12790 rm -f core conftest.err conftest.$ac_objext \
12791 conftest$ac_exeext conftest.$ac_ext
12792 LIBS=$ac_check_lib_save_LIBS
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12795 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12796 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12800 else
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12802 $as_echo "no" >&6; }
12803 ac_glib2_broken=yes
12804 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12810 CPPFLAGS=$ac_save_CPPFLAGS
12811 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12812 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12815 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 :
12816 case "x$with_gstreamer" in
12817 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12818 xno) ;;
12819 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12820 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12821 esac
12824 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12826 ALSA_LIBS=""
12828 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12829 then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12831 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12832 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12833 $as_echo_n "(cached) " >&6
12834 else
12835 ac_check_lib_save_LIBS=$LIBS
12836 LIBS="-lasound $LIBS"
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12843 #ifdef __cplusplus
12844 extern "C"
12845 #endif
12846 char snd_pcm_hw_params_get_access_mask ();
12848 main ()
12850 return snd_pcm_hw_params_get_access_mask ();
12852 return 0;
12854 _ACEOF
12855 if ac_fn_c_try_link "$LINENO"; then :
12856 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12857 else
12858 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12860 rm -f core conftest.err conftest.$ac_objext \
12861 conftest$ac_exeext conftest.$ac_ext
12862 LIBS=$ac_check_lib_save_LIBS
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12865 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12866 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12869 #ifdef HAVE_ALSA_ASOUNDLIB_H
12870 #include <alsa/asoundlib.h>
12871 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12872 #include <sys/asoundlib.h>
12873 #endif
12875 main ()
12877 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_compile "$LINENO"; then :
12883 ALSA_LIBS="-lasound"
12885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12889 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12891 if test "x$with_oss" != xno
12892 then
12893 ac_save_CPPFLAGS="$CPPFLAGS"
12894 if test -f /etc/oss.conf
12895 then
12896 . /etc/oss.conf
12898 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12899 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12900 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12901 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12902 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12904 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12906 cat >>confdefs.h <<_ACEOF
12907 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12908 _ACEOF
12910 OSS4_CFLAGS="$ac_oss_incl"
12917 CPPFLAGS="$ac_save_CPPFLAGS"
12919 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12920 case "x$with_oss" in
12921 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12922 xno) ;;
12923 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12924 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12925 esac
12926 enable_wineoss_drv=${enable_wineoss_drv:-no}
12929 if test "x$with_udev" != "xno"
12930 then
12931 if ${UDEV_CFLAGS:+false} :; then :
12932 if ${PKG_CONFIG+:} false; then :
12933 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12937 if ${UDEV_LIBS:+false} :; then :
12938 if ${PKG_CONFIG+:} false; then :
12939 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12945 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12946 ac_save_CPPFLAGS=$CPPFLAGS
12947 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12948 for ac_header in libudev.h
12949 do :
12950 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12951 if test "x$ac_cv_header_libudev_h" = xyes; then :
12952 cat >>confdefs.h <<_ACEOF
12953 #define HAVE_LIBUDEV_H 1
12954 _ACEOF
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12956 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12957 if ${ac_cv_lib_udev_udev_new+:} false; then :
12958 $as_echo_n "(cached) " >&6
12959 else
12960 ac_check_lib_save_LIBS=$LIBS
12961 LIBS="-ludev $UDEV_LIBS $LIBS"
12962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12963 /* end confdefs.h. */
12965 /* Override any GCC internal prototype to avoid an error.
12966 Use char because int might match the return type of a GCC
12967 builtin and then its argument prototype would still apply. */
12968 #ifdef __cplusplus
12969 extern "C"
12970 #endif
12971 char udev_new ();
12973 main ()
12975 return udev_new ();
12977 return 0;
12979 _ACEOF
12980 if ac_fn_c_try_link "$LINENO"; then :
12981 ac_cv_lib_udev_udev_new=yes
12982 else
12983 ac_cv_lib_udev_udev_new=no
12985 rm -f core conftest.err conftest.$ac_objext \
12986 conftest$ac_exeext conftest.$ac_ext
12987 LIBS=$ac_check_lib_save_LIBS
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12990 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12991 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
12993 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
12995 else
12996 UDEV_LIBS=""
12999 else
13000 UDEV_LIBS=""
13003 done
13005 CPPFLAGS=$ac_save_CPPFLAGS
13006 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13007 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13010 if test "x$UDEV_LIBS" = "x"; then :
13011 case "x$with_udev" in
13012 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13013 xno) ;;
13014 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13015 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13016 esac
13020 if test "x$with_capi" != "xno"
13021 then
13022 if ${CAPI20_CFLAGS:+false} :; then :
13023 if ${PKG_CONFIG+:} false; then :
13024 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13028 if ${CAPI20_LIBS:+false} :; then :
13029 if ${PKG_CONFIG+:} false; then :
13030 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13035 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13036 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13037 ac_save_CPPFLAGS=$CPPFLAGS
13038 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13039 for ac_header in capi20.h linux/capi.h
13040 do :
13041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13042 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13044 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13045 cat >>confdefs.h <<_ACEOF
13046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13047 _ACEOF
13051 done
13053 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13054 then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13056 $as_echo_n "checking for -lcapi20... " >&6; }
13057 if ${ac_cv_lib_soname_capi20+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_soname_save_LIBS=$LIBS
13061 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char capi20_register ();
13073 main ()
13075 return capi20_register ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 case "$LIBEXT" in
13082 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13083 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'` ;;
13084 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13085 if ${ac_cv_lib_soname_capi20:+false} :; then :
13086 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13087 fi ;;
13088 esac
13090 rm -f core conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 LIBS=$ac_check_soname_save_LIBS
13094 if ${ac_cv_lib_soname_capi20:+false} :; then :
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13096 $as_echo "not found" >&6; }
13098 else
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13100 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13102 cat >>confdefs.h <<_ACEOF
13103 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13104 _ACEOF
13109 CPPFLAGS=$ac_save_CPPFLAGS
13110 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13111 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13114 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13115 case "x$with_capi" in
13116 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13117 xno) ;;
13118 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13119 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13120 esac
13124 CUPS_CFLAGS=""
13126 if test "x$with_cups" != "xno"
13127 then
13128 ac_save_CPPFLAGS="$CPPFLAGS"
13129 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13130 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13131 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13132 for ac_header in cups/cups.h
13133 do :
13134 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13135 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13136 cat >>confdefs.h <<_ACEOF
13137 #define HAVE_CUPS_CUPS_H 1
13138 _ACEOF
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13140 $as_echo_n "checking for -lcups... " >&6; }
13141 if ${ac_cv_lib_soname_cups+:} false; then :
13142 $as_echo_n "(cached) " >&6
13143 else
13144 ac_check_soname_save_LIBS=$LIBS
13145 LIBS="-lcups $ac_cups_libs $LIBS"
13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13152 #ifdef __cplusplus
13153 extern "C"
13154 #endif
13155 char cupsGetDefault ();
13157 main ()
13159 return cupsGetDefault ();
13161 return 0;
13163 _ACEOF
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 case "$LIBEXT" in
13166 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13167 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'` ;;
13168 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13169 if ${ac_cv_lib_soname_cups:+false} :; then :
13170 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13171 fi ;;
13172 esac
13174 rm -f core conftest.err conftest.$ac_objext \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS=$ac_check_soname_save_LIBS
13178 if ${ac_cv_lib_soname_cups:+false} :; then :
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13180 $as_echo "not found" >&6; }
13182 else
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13184 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13186 cat >>confdefs.h <<_ACEOF
13187 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13188 _ACEOF
13190 CUPS_CFLAGS="$ac_cups_cflags"
13192 for ac_header in cups/ppd.h
13193 do :
13194 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13195 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13196 cat >>confdefs.h <<_ACEOF
13197 #define HAVE_CUPS_PPD_H 1
13198 _ACEOF
13202 done
13206 done
13208 CPPFLAGS="$ac_save_CPPFLAGS"
13210 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13211 case "x$with_cups" in
13212 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13213 xno) ;;
13214 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13215 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13216 esac
13220 if test "x$with_fontconfig" != "xno"
13221 then
13222 if ${FONTCONFIG_CFLAGS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13227 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13228 if ${FONTCONFIG_LIBS:+false} :; then :
13229 if ${PKG_CONFIG+:} false; then :
13230 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13233 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13235 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13236 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13237 ac_save_CPPFLAGS=$CPPFLAGS
13238 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13239 for ac_header in fontconfig/fontconfig.h
13240 do :
13241 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13243 cat >>confdefs.h <<_ACEOF
13244 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13245 _ACEOF
13249 done
13251 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13252 then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13254 $as_echo_n "checking for -lfontconfig... " >&6; }
13255 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13256 $as_echo_n "(cached) " >&6
13257 else
13258 ac_check_soname_save_LIBS=$LIBS
13259 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13263 /* Override any GCC internal prototype to avoid an error.
13264 Use char because int might match the return type of a GCC
13265 builtin and then its argument prototype would still apply. */
13266 #ifdef __cplusplus
13267 extern "C"
13268 #endif
13269 char FcInit ();
13271 main ()
13273 return FcInit ();
13275 return 0;
13277 _ACEOF
13278 if ac_fn_c_try_link "$LINENO"; then :
13279 case "$LIBEXT" in
13280 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13281 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'` ;;
13282 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13283 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13284 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13285 fi ;;
13286 esac
13288 rm -f core conftest.err conftest.$ac_objext \
13289 conftest$ac_exeext conftest.$ac_ext
13290 LIBS=$ac_check_soname_save_LIBS
13292 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13294 $as_echo "not found" >&6; }
13295 FONTCONFIG_CFLAGS=""
13296 else
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13298 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13300 cat >>confdefs.h <<_ACEOF
13301 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13302 _ACEOF
13306 else
13307 FONTCONFIG_CFLAGS=""
13309 CPPFLAGS=$ac_save_CPPFLAGS
13310 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13311 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13314 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13315 case "x$with_fontconfig" in
13316 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13317 xno) ;;
13318 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13319 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13320 esac
13324 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13325 then
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13327 $as_echo_n "checking for -lgsm... " >&6; }
13328 if ${ac_cv_lib_soname_gsm+:} false; then :
13329 $as_echo_n "(cached) " >&6
13330 else
13331 ac_check_soname_save_LIBS=$LIBS
13332 LIBS="-lgsm $LIBS"
13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13336 /* Override any GCC internal prototype to avoid an error.
13337 Use char because int might match the return type of a GCC
13338 builtin and then its argument prototype would still apply. */
13339 #ifdef __cplusplus
13340 extern "C"
13341 #endif
13342 char gsm_create ();
13344 main ()
13346 return gsm_create ();
13348 return 0;
13350 _ACEOF
13351 if ac_fn_c_try_link "$LINENO"; then :
13352 case "$LIBEXT" in
13353 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13354 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'` ;;
13355 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13356 if ${ac_cv_lib_soname_gsm:+false} :; then :
13357 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13358 fi ;;
13359 esac
13361 rm -f core conftest.err conftest.$ac_objext \
13362 conftest$ac_exeext conftest.$ac_ext
13363 LIBS=$ac_check_soname_save_LIBS
13365 if ${ac_cv_lib_soname_gsm:+false} :; then :
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13367 $as_echo "not found" >&6; }
13369 else
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13371 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13373 cat >>confdefs.h <<_ACEOF
13374 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13375 _ACEOF
13380 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13381 case "x$with_gsm" in
13382 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13383 xno) ;;
13384 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13385 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13386 esac
13390 if test "x$with_jpeg" != "xno"
13391 then
13392 if ${JPEG_CFLAGS:+false} :; then :
13393 if ${PKG_CONFIG+:} false; then :
13394 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13398 if ${JPEG_LIBS:+false} :; then :
13399 if ${PKG_CONFIG+:} false; then :
13400 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13405 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13406 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13407 ac_save_CPPFLAGS=$CPPFLAGS
13408 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13409 for ac_header in jpeglib.h
13410 do :
13411 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13412 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13413 cat >>confdefs.h <<_ACEOF
13414 #define HAVE_JPEGLIB_H 1
13415 _ACEOF
13419 done
13421 if test "$ac_cv_header_jpeglib_h" = "yes"
13422 then
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13424 $as_echo_n "checking for -ljpeg... " >&6; }
13425 if ${ac_cv_lib_soname_jpeg+:} false; then :
13426 $as_echo_n "(cached) " >&6
13427 else
13428 ac_check_soname_save_LIBS=$LIBS
13429 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13433 /* Override any GCC internal prototype to avoid an error.
13434 Use char because int might match the return type of a GCC
13435 builtin and then its argument prototype would still apply. */
13436 #ifdef __cplusplus
13437 extern "C"
13438 #endif
13439 char jpeg_start_decompress ();
13441 main ()
13443 return jpeg_start_decompress ();
13445 return 0;
13447 _ACEOF
13448 if ac_fn_c_try_link "$LINENO"; then :
13449 case "$LIBEXT" in
13450 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13451 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'` ;;
13452 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13453 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13454 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13455 fi ;;
13456 esac
13458 rm -f core conftest.err conftest.$ac_objext \
13459 conftest$ac_exeext conftest.$ac_ext
13460 LIBS=$ac_check_soname_save_LIBS
13462 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13464 $as_echo "not found" >&6; }
13465 JPEG_CFLAGS=""
13466 else
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13468 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13470 cat >>confdefs.h <<_ACEOF
13471 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13472 _ACEOF
13476 else
13477 JPEG_CFLAGS=""
13479 CPPFLAGS=$ac_save_CPPFLAGS
13480 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13481 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13484 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13485 case "x$with_jpeg" in
13486 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13487 xno) ;;
13488 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13489 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13490 esac
13494 if test "x$with_png" != "xno"
13495 then
13496 if ${PNG_CFLAGS:+false} :; then :
13497 if ${PKG_CONFIG+:} false; then :
13498 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13501 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13502 if ${PNG_LIBS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13507 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13509 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13510 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13511 ac_save_CPPFLAGS=$CPPFLAGS
13512 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13513 for ac_header in png.h
13514 do :
13515 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13516 if test "x$ac_cv_header_png_h" = xyes; then :
13517 cat >>confdefs.h <<_ACEOF
13518 #define HAVE_PNG_H 1
13519 _ACEOF
13523 done
13525 if test "$ac_cv_header_png_h" = "yes"
13526 then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13528 $as_echo_n "checking for -lpng... " >&6; }
13529 if ${ac_cv_lib_soname_png+:} false; then :
13530 $as_echo_n "(cached) " >&6
13531 else
13532 ac_check_soname_save_LIBS=$LIBS
13533 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13537 /* Override any GCC internal prototype to avoid an error.
13538 Use char because int might match the return type of a GCC
13539 builtin and then its argument prototype would still apply. */
13540 #ifdef __cplusplus
13541 extern "C"
13542 #endif
13543 char png_create_read_struct ();
13545 main ()
13547 return png_create_read_struct ();
13549 return 0;
13551 _ACEOF
13552 if ac_fn_c_try_link "$LINENO"; then :
13553 case "$LIBEXT" in
13554 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13555 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'` ;;
13556 *) 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'`
13557 if ${ac_cv_lib_soname_png:+false} :; then :
13558 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13559 fi ;;
13560 esac
13562 rm -f core conftest.err conftest.$ac_objext \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_soname_save_LIBS
13566 if ${ac_cv_lib_soname_png:+false} :; then :
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13568 $as_echo "not found" >&6; }
13569 PNG_CFLAGS=""
13570 else
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13572 $as_echo "$ac_cv_lib_soname_png" >&6; }
13574 cat >>confdefs.h <<_ACEOF
13575 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13576 _ACEOF
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13580 #include <png.h>
13582 main ()
13584 typeof(png_set_expand_gray_1_2_4_to_8) *p
13586 return 0;
13588 _ACEOF
13589 if ac_fn_c_try_compile "$LINENO"; then :
13591 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13596 else
13597 PNG_CFLAGS=""
13599 CPPFLAGS=$ac_save_CPPFLAGS
13600 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13601 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13604 if test "x$ac_cv_lib_soname_png" = "x"; then :
13605 case "x$with_png" in
13606 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13607 xno) ;;
13608 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13609 This is an error since --with-png was requested." "$LINENO" 5 ;;
13610 esac
13614 if test "x$with_tiff" != "xno"
13615 then
13616 if ${TIFF_CFLAGS:+false} :; then :
13617 if ${PKG_CONFIG+:} false; then :
13618 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13622 if ${TIFF_LIBS:+false} :; then :
13623 if ${PKG_CONFIG+:} false; then :
13624 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13629 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13630 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13631 ac_save_CPPFLAGS=$CPPFLAGS
13632 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13633 for ac_header in tiffio.h
13634 do :
13635 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13636 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13637 cat >>confdefs.h <<_ACEOF
13638 #define HAVE_TIFFIO_H 1
13639 _ACEOF
13643 done
13645 if test "$ac_cv_header_tiffio_h" = "yes"
13646 then
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13648 $as_echo_n "checking for -ltiff... " >&6; }
13649 if ${ac_cv_lib_soname_tiff+:} false; then :
13650 $as_echo_n "(cached) " >&6
13651 else
13652 ac_check_soname_save_LIBS=$LIBS
13653 LIBS="-ltiff $TIFF_LIBS $LIBS"
13654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13657 /* Override any GCC internal prototype to avoid an error.
13658 Use char because int might match the return type of a GCC
13659 builtin and then its argument prototype would still apply. */
13660 #ifdef __cplusplus
13661 extern "C"
13662 #endif
13663 char TIFFClientOpen ();
13665 main ()
13667 return TIFFClientOpen ();
13669 return 0;
13671 _ACEOF
13672 if ac_fn_c_try_link "$LINENO"; then :
13673 case "$LIBEXT" in
13674 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13675 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'` ;;
13676 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13677 if ${ac_cv_lib_soname_tiff:+false} :; then :
13678 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13679 fi ;;
13680 esac
13682 rm -f core conftest.err conftest.$ac_objext \
13683 conftest$ac_exeext conftest.$ac_ext
13684 LIBS=$ac_check_soname_save_LIBS
13686 if ${ac_cv_lib_soname_tiff:+false} :; then :
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13688 $as_echo "not found" >&6; }
13690 else
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13692 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13694 cat >>confdefs.h <<_ACEOF
13695 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13696 _ACEOF
13701 CPPFLAGS=$ac_save_CPPFLAGS
13702 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13703 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13706 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13707 case "x$with_tiff" in
13708 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13709 xno) ;;
13710 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13711 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13712 esac
13716 if test "x$with_mpg123" != "xno"
13717 then
13718 if ${MPG123_CFLAGS:+false} :; then :
13719 if ${PKG_CONFIG+:} false; then :
13720 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13724 if ${MPG123_LIBS:+false} :; then :
13725 if ${PKG_CONFIG+:} false; then :
13726 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13730 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13731 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13732 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13733 ac_save_CPPFLAGS=$CPPFLAGS
13734 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13735 for ac_header in mpg123.h
13736 do :
13737 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13738 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13739 cat >>confdefs.h <<_ACEOF
13740 #define HAVE_MPG123_H 1
13741 _ACEOF
13745 done
13747 if test "$ac_cv_header_mpg123_h" = "yes"
13748 then
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13750 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13751 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13752 $as_echo_n "(cached) " >&6
13753 else
13754 ac_check_lib_save_LIBS=$LIBS
13755 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13759 /* Override any GCC internal prototype to avoid an error.
13760 Use char because int might match the return type of a GCC
13761 builtin and then its argument prototype would still apply. */
13762 #ifdef __cplusplus
13763 extern "C"
13764 #endif
13765 char mpg123_feed ();
13767 main ()
13769 return mpg123_feed ();
13771 return 0;
13773 _ACEOF
13774 if ac_fn_c_try_link "$LINENO"; then :
13775 ac_cv_lib_mpg123_mpg123_feed=yes
13776 else
13777 ac_cv_lib_mpg123_mpg123_feed=no
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 LIBS=$ac_check_lib_save_LIBS
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13784 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13785 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13787 else
13788 MPG123_LIBS=""
13791 else
13792 MPG123_CFLAGS=""
13793 MPG123_LIBS=""
13795 CPPFLAGS=$ac_save_CPPFLAGS
13796 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13797 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13800 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13801 case "x$with_mpg123" in
13802 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13803 xno) ;;
13804 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13805 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13806 esac
13807 enable_winemp3_acm=${enable_winemp3_acm:-no}
13810 if test "$ac_cv_header_AL_al_h" = "yes"
13811 then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13813 $as_echo_n "checking for -lopenal... " >&6; }
13814 if ${ac_cv_lib_soname_openal+:} false; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 ac_check_soname_save_LIBS=$LIBS
13818 LIBS="-lopenal $LIBS"
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13822 /* Override any GCC internal prototype to avoid an error.
13823 Use char because int might match the return type of a GCC
13824 builtin and then its argument prototype would still apply. */
13825 #ifdef __cplusplus
13826 extern "C"
13827 #endif
13828 char alGetSource3i ();
13830 main ()
13832 return alGetSource3i ();
13834 return 0;
13836 _ACEOF
13837 if ac_fn_c_try_link "$LINENO"; then :
13838 case "$LIBEXT" in
13839 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13840 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'` ;;
13841 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13842 if ${ac_cv_lib_soname_openal:+false} :; then :
13843 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13844 fi ;;
13845 esac
13847 rm -f core conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 LIBS=$ac_check_soname_save_LIBS
13851 if ${ac_cv_lib_soname_openal:+false} :; then :
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13853 $as_echo "not found" >&6; }
13855 else
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13857 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13859 cat >>confdefs.h <<_ACEOF
13860 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13861 _ACEOF
13863 OPENAL_LIBS="-lopenal"
13865 ac_cv_lib_openal=yes
13867 cat >>confdefs.h <<_ACEOF
13868 #define HAVE_OPENAL 1
13869 _ACEOF
13873 if test "x$ac_cv_lib_openal" != xyes; then :
13874 case "x$with_openal" in
13875 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13876 xno) ;;
13877 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13878 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13879 esac
13880 enable_openal32=${enable_openal32:-no}
13883 if test "x$ac_cv_lib_openal" = xyes
13884 then
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13886 $as_echo_n "checking for openal-soft... " >&6; }
13887 if ${ac_cv_have_openalsoft+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13892 #include <AL/al.h>
13893 #include <AL/alc.h>
13894 #include <AL/alext.h>
13895 LPALCRENDERSAMPLESSOFT x;
13897 main ()
13901 return 0;
13903 _ACEOF
13904 if ac_fn_c_try_compile "$LINENO"; then :
13905 ac_cv_have_openalsoft=yes
13906 else
13907 ac_cv_have_openalsoft=no
13909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13912 $as_echo "$ac_cv_have_openalsoft" >&6; }
13914 if test "x$ac_cv_have_openalsoft" != xyes
13915 then
13916 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13917 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13918 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13919 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13920 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13921 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13922 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13923 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13924 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13925 enable_xapofx1_1=${enable_xapofx1_1:-no}
13926 enable_xapofx1_2=${enable_xapofx1_2:-no}
13927 enable_xapofx1_3=${enable_xapofx1_3:-no}
13928 enable_xapofx1_4=${enable_xapofx1_4:-no}
13929 enable_xapofx1_5=${enable_xapofx1_5:-no}
13930 enable_xaudio2_0=${enable_xaudio2_0:-no}
13931 enable_xaudio2_1=${enable_xaudio2_1:-no}
13932 enable_xaudio2_2=${enable_xaudio2_2:-no}
13933 enable_xaudio2_3=${enable_xaudio2_3:-no}
13934 enable_xaudio2_4=${enable_xaudio2_4:-no}
13935 enable_xaudio2_5=${enable_xaudio2_5:-no}
13936 enable_xaudio2_6=${enable_xaudio2_6:-no}
13937 enable_xaudio2_7=${enable_xaudio2_7:-no}
13938 enable_xaudio2_8=${enable_xaudio2_8:-no}
13939 enable_xaudio2_9=${enable_xaudio2_9:-no}
13942 if test "$ac_cv_header_kstat_h" = "yes"
13943 then
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13945 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13946 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_check_lib_save_LIBS=$LIBS
13950 LIBS="-lkstat $LIBS"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 #ifdef __cplusplus
13958 extern "C"
13959 #endif
13960 char kstat_open ();
13962 main ()
13964 return kstat_open ();
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"; then :
13970 ac_cv_lib_kstat_kstat_open=yes
13971 else
13972 ac_cv_lib_kstat_kstat_open=no
13974 rm -f core conftest.err conftest.$ac_objext \
13975 conftest$ac_exeext conftest.$ac_ext
13976 LIBS=$ac_check_lib_save_LIBS
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13979 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13980 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13982 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13984 KSTAT_LIBS="-lkstat"
13990 if test "$ac_cv_header_libprocstat_h" = "yes"
13991 then
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13993 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13994 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13995 $as_echo_n "(cached) " >&6
13996 else
13997 ac_check_lib_save_LIBS=$LIBS
13998 LIBS="-lprocstat $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 #ifdef __cplusplus
14006 extern "C"
14007 #endif
14008 char procstat_open_sysctl ();
14010 main ()
14012 return procstat_open_sysctl ();
14014 return 0;
14016 _ACEOF
14017 if ac_fn_c_try_link "$LINENO"; then :
14018 ac_cv_lib_procstat_procstat_open_sysctl=yes
14019 else
14020 ac_cv_lib_procstat_procstat_open_sysctl=no
14022 rm -f core conftest.err conftest.$ac_objext \
14023 conftest$ac_exeext conftest.$ac_ext
14024 LIBS=$ac_check_lib_save_LIBS
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14027 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14028 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14030 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14032 PROCSTAT_LIBS="-lprocstat"
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14039 $as_echo_n "checking for -lodbc... " >&6; }
14040 if ${ac_cv_lib_soname_odbc+:} false; then :
14041 $as_echo_n "(cached) " >&6
14042 else
14043 ac_check_soname_save_LIBS=$LIBS
14044 LIBS="-lodbc $LIBS"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14048 /* Override any GCC internal prototype to avoid an error.
14049 Use char because int might match the return type of a GCC
14050 builtin and then its argument prototype would still apply. */
14051 #ifdef __cplusplus
14052 extern "C"
14053 #endif
14054 char SQLConnect ();
14056 main ()
14058 return SQLConnect ();
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 case "$LIBEXT" in
14065 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14066 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'` ;;
14067 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14068 if ${ac_cv_lib_soname_odbc:+false} :; then :
14069 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14070 fi ;;
14071 esac
14073 rm -f core conftest.err conftest.$ac_objext \
14074 conftest$ac_exeext conftest.$ac_ext
14075 LIBS=$ac_check_soname_save_LIBS
14077 if ${ac_cv_lib_soname_odbc:+false} :; then :
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14079 $as_echo "not found" >&6; }
14080 cat >>confdefs.h <<_ACEOF
14081 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14082 _ACEOF
14084 else
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14086 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14088 cat >>confdefs.h <<_ACEOF
14089 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14090 _ACEOF
14095 if test "x$with_netapi" != "xno"
14096 then
14097 if ${NETAPI_CFLAGS:+false} :; then :
14098 if ${PKG_CONFIG+:} false; then :
14099 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14103 if ${NETAPI_LIBS:+false} :; then :
14104 if ${PKG_CONFIG+:} false; then :
14105 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14110 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14111 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14112 ac_save_CPPFLAGS=$CPPFLAGS
14113 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14115 $as_echo_n "checking for -lnetapi... " >&6; }
14116 if ${ac_cv_lib_soname_netapi+:} false; then :
14117 $as_echo_n "(cached) " >&6
14118 else
14119 ac_check_soname_save_LIBS=$LIBS
14120 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14124 /* Override any GCC internal prototype to avoid an error.
14125 Use char because int might match the return type of a GCC
14126 builtin and then its argument prototype would still apply. */
14127 #ifdef __cplusplus
14128 extern "C"
14129 #endif
14130 char libnetapi_init ();
14132 main ()
14134 return libnetapi_init ();
14136 return 0;
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"; then :
14140 case "$LIBEXT" in
14141 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14142 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'` ;;
14143 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14144 if ${ac_cv_lib_soname_netapi:+false} :; then :
14145 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14146 fi ;;
14147 esac
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 LIBS=$ac_check_soname_save_LIBS
14153 if ${ac_cv_lib_soname_netapi:+false} :; then :
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14155 $as_echo "not found" >&6; }
14156 cat >>confdefs.h <<_ACEOF
14157 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14158 _ACEOF
14160 else
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14162 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14164 cat >>confdefs.h <<_ACEOF
14165 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14166 _ACEOF
14170 CPPFLAGS=$ac_save_CPPFLAGS
14171 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14172 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14176 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14177 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14178 then
14179 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14183 EXTRACFLAGS=""
14185 if test "x${GCC}" = "xyes"
14186 then
14187 EXTRACFLAGS="-Wall -pipe"
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14190 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14191 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14192 $as_echo_n "(cached) " >&6
14193 else
14194 if test "$cross_compiling" = yes; then :
14195 ac_cv_c_gcc_strength_bug="no"
14196 else
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 int L[4] = {0,1,2,3};
14201 main ()
14203 static int Array[3];
14204 unsigned int B = 3;
14205 int i;
14206 for(i=0; i<B; i++) Array[i] = i - 3;
14207 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14208 L[i] = 4;
14209 return (Array[1] != -2 || L[2] != 3)
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_run "$LINENO"; then :
14215 ac_cv_c_gcc_strength_bug="no"
14216 else
14217 ac_cv_c_gcc_strength_bug="yes"
14219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14220 conftest.$ac_objext conftest.beam conftest.$ac_ext
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14225 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14226 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14227 then
14228 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14232 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14233 if ${ac_cv_cflags__fno_builtin+:} false; then :
14234 $as_echo_n "(cached) " >&6
14235 else
14236 ac_wine_try_cflags_saved=$CFLAGS
14237 CFLAGS="$CFLAGS -fno-builtin"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14240 int main(int argc, char **argv) { return 0; }
14241 _ACEOF
14242 if ac_fn_c_try_link "$LINENO"; then :
14243 ac_cv_cflags__fno_builtin=yes
14244 else
14245 ac_cv_cflags__fno_builtin=no
14247 rm -f core conftest.err conftest.$ac_objext \
14248 conftest$ac_exeext conftest.$ac_ext
14249 CFLAGS=$ac_wine_try_cflags_saved
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14252 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14253 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14254 BUILTINFLAG="-fno-builtin"
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14258 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14259 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14260 $as_echo_n "(cached) " >&6
14261 else
14262 ac_wine_try_cflags_saved=$CFLAGS
14263 CFLAGS="$CFLAGS -fno-strict-aliasing"
14264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14265 /* end confdefs.h. */
14266 int main(int argc, char **argv) { return 0; }
14267 _ACEOF
14268 if ac_fn_c_try_link "$LINENO"; then :
14269 ac_cv_cflags__fno_strict_aliasing=yes
14270 else
14271 ac_cv_cflags__fno_strict_aliasing=no
14273 rm -f core conftest.err conftest.$ac_objext \
14274 conftest$ac_exeext conftest.$ac_ext
14275 CFLAGS=$ac_wine_try_cflags_saved
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14278 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14279 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14280 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14283 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14284 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 ac_wine_try_cflags_saved=$CFLAGS
14288 CFLAGS="$CFLAGS -fexcess-precision=standard"
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14291 int main(int argc, char **argv) { return 0; }
14292 _ACEOF
14293 if ac_fn_c_try_link "$LINENO"; then :
14294 ac_cv_cflags__fexcess_precision_standard=yes
14295 else
14296 ac_cv_cflags__fexcess_precision_standard=no
14298 rm -f core conftest.err conftest.$ac_objext \
14299 conftest$ac_exeext conftest.$ac_ext
14300 CFLAGS=$ac_wine_try_cflags_saved
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14303 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14304 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14305 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14308 saved_CFLAGS=$CFLAGS
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14310 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14311 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 ac_wine_try_cflags_saved=$CFLAGS
14315 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 int main(int argc, char **argv) { return 0; }
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 ac_cv_cflags__Werror_unknown_warning_option=yes
14322 else
14323 ac_cv_cflags__Werror_unknown_warning_option=no
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14327 CFLAGS=$ac_wine_try_cflags_saved
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14330 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14331 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14332 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14335 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14336 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 ac_wine_try_cflags_saved=$CFLAGS
14340 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 int main(int argc, char **argv) { return 0; }
14344 _ACEOF
14345 if ac_fn_c_try_link "$LINENO"; then :
14346 ac_cv_cflags__Wdeclaration_after_statement=yes
14347 else
14348 ac_cv_cflags__Wdeclaration_after_statement=no
14350 rm -f core conftest.err conftest.$ac_objext \
14351 conftest$ac_exeext conftest.$ac_ext
14352 CFLAGS=$ac_wine_try_cflags_saved
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14355 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14356 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14357 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14360 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14361 if ${ac_cv_cflags__Wempty_body+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 ac_wine_try_cflags_saved=$CFLAGS
14365 CFLAGS="$CFLAGS -Wempty-body"
14366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14368 int main(int argc, char **argv) { return 0; }
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"; then :
14371 ac_cv_cflags__Wempty_body=yes
14372 else
14373 ac_cv_cflags__Wempty_body=no
14375 rm -f core conftest.err conftest.$ac_objext \
14376 conftest$ac_exeext conftest.$ac_ext
14377 CFLAGS=$ac_wine_try_cflags_saved
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14380 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14381 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14382 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14385 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14386 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14387 $as_echo_n "(cached) " >&6
14388 else
14389 ac_wine_try_cflags_saved=$CFLAGS
14390 CFLAGS="$CFLAGS -Wignored-qualifiers"
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14393 int main(int argc, char **argv) { return 0; }
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"; then :
14396 ac_cv_cflags__Wignored_qualifiers=yes
14397 else
14398 ac_cv_cflags__Wignored_qualifiers=no
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 CFLAGS=$ac_wine_try_cflags_saved
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14405 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14406 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14407 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14410 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14411 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14412 $as_echo_n "(cached) " >&6
14413 else
14414 ac_wine_try_cflags_saved=$CFLAGS
14415 CFLAGS="$CFLAGS -Wshift-overflow=2"
14416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14418 int main(int argc, char **argv) { return 0; }
14419 _ACEOF
14420 if ac_fn_c_try_link "$LINENO"; then :
14421 ac_cv_cflags__Wshift_overflow_2=yes
14422 else
14423 ac_cv_cflags__Wshift_overflow_2=no
14425 rm -f core conftest.err conftest.$ac_objext \
14426 conftest$ac_exeext conftest.$ac_ext
14427 CFLAGS=$ac_wine_try_cflags_saved
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14430 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14431 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14432 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14435 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14436 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 ac_wine_try_cflags_saved=$CFLAGS
14440 CFLAGS="$CFLAGS -Wstrict-prototypes"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14443 int main(int argc, char **argv) { return 0; }
14444 _ACEOF
14445 if ac_fn_c_try_link "$LINENO"; then :
14446 ac_cv_cflags__Wstrict_prototypes=yes
14447 else
14448 ac_cv_cflags__Wstrict_prototypes=no
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452 CFLAGS=$ac_wine_try_cflags_saved
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14455 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14456 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14457 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14460 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14461 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14462 $as_echo_n "(cached) " >&6
14463 else
14464 ac_wine_try_cflags_saved=$CFLAGS
14465 CFLAGS="$CFLAGS -Wtype-limits"
14466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14468 int main(int argc, char **argv) { return 0; }
14469 _ACEOF
14470 if ac_fn_c_try_link "$LINENO"; then :
14471 ac_cv_cflags__Wtype_limits=yes
14472 else
14473 ac_cv_cflags__Wtype_limits=no
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 CFLAGS=$ac_wine_try_cflags_saved
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14480 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14481 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14482 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14485 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14486 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_wine_try_cflags_saved=$CFLAGS
14490 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14493 int main(int argc, char **argv) { return 0; }
14494 _ACEOF
14495 if ac_fn_c_try_link "$LINENO"; then :
14496 ac_cv_cflags__Wunused_but_set_parameter=yes
14497 else
14498 ac_cv_cflags__Wunused_but_set_parameter=no
14500 rm -f core conftest.err conftest.$ac_objext \
14501 conftest$ac_exeext conftest.$ac_ext
14502 CFLAGS=$ac_wine_try_cflags_saved
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14505 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14506 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14507 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14510 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14511 if ${ac_cv_cflags__Wvla+:} false; then :
14512 $as_echo_n "(cached) " >&6
14513 else
14514 ac_wine_try_cflags_saved=$CFLAGS
14515 CFLAGS="$CFLAGS -Wvla"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 int main(int argc, char **argv) { return 0; }
14519 _ACEOF
14520 if ac_fn_c_try_link "$LINENO"; then :
14521 ac_cv_cflags__Wvla=yes
14522 else
14523 ac_cv_cflags__Wvla=no
14525 rm -f core conftest.err conftest.$ac_objext \
14526 conftest$ac_exeext conftest.$ac_ext
14527 CFLAGS=$ac_wine_try_cflags_saved
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14530 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14531 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14532 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14535 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14536 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 ac_wine_try_cflags_saved=$CFLAGS
14540 CFLAGS="$CFLAGS -Wwrite-strings"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 int main(int argc, char **argv) { return 0; }
14544 _ACEOF
14545 if ac_fn_c_try_link "$LINENO"; then :
14546 ac_cv_cflags__Wwrite_strings=yes
14547 else
14548 ac_cv_cflags__Wwrite_strings=no
14550 rm -f core conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 CFLAGS=$ac_wine_try_cflags_saved
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14555 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14556 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14557 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14561 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14562 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 ac_wine_try_cflags_saved=$CFLAGS
14566 CFLAGS="$CFLAGS -Wpointer-arith"
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14569 int main(int argc, char **argv) { return 0; }
14570 _ACEOF
14571 if ac_fn_c_try_link "$LINENO"; then :
14572 ac_cv_cflags__Wpointer_arith=yes
14573 else
14574 ac_cv_cflags__Wpointer_arith=no
14576 rm -f core conftest.err conftest.$ac_objext \
14577 conftest$ac_exeext conftest.$ac_ext
14578 CFLAGS=$ac_wine_try_cflags_saved
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14581 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14582 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14583 saved_string_h_CFLAGS=$CFLAGS
14584 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14586 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14587 if ${ac_cv_c_string_h_warnings+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14592 #include <string.h>
14594 main ()
14598 return 0;
14600 _ACEOF
14601 if ac_fn_c_try_compile "$LINENO"; then :
14602 ac_cv_c_string_h_warnings=no
14603 else
14604 ac_cv_c_string_h_warnings=yes
14606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14609 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14610 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14611 CFLAGS=$saved_string_h_CFLAGS
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14615 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14616 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 ac_wine_try_cflags_saved=$CFLAGS
14620 CFLAGS="$CFLAGS -Wlogical-op"
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 int main(int argc, char **argv) { return 0; }
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_cflags__Wlogical_op=yes
14627 else
14628 ac_cv_cflags__Wlogical_op=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 CFLAGS=$ac_wine_try_cflags_saved
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14635 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14636 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14637 saved_string_h_CFLAGS=$CFLAGS
14638 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14640 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14641 if ${ac_cv_c_logicalop_noisy+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 #include <string.h>
14647 char*f(const char *h,char n) {return strchr(h,n);}
14649 main ()
14653 return 0;
14655 _ACEOF
14656 if ac_fn_c_try_compile "$LINENO"; then :
14657 ac_cv_c_logicalop_noisy=no
14658 else
14659 ac_cv_c_logicalop_noisy=yes
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14664 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14665 CFLAGS=$saved_string_h_CFLAGS
14666 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14669 CFLAGS=$saved_CFLAGS
14671 for ac_flag in $CFLAGS; do
14672 case $ac_flag in
14673 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14674 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14675 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14676 $as_echo_n "(cached) " >&6
14677 else
14678 ac_wine_try_cflags_saved=$CFLAGS
14679 CFLAGS="$CFLAGS -gdwarf-2"
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14681 /* end confdefs.h. */
14682 int main(int argc, char **argv) { return 0; }
14683 _ACEOF
14684 if ac_fn_c_try_link "$LINENO"; then :
14685 ac_cv_cflags__gdwarf_2=yes
14686 else
14687 ac_cv_cflags__gdwarf_2=no
14689 rm -f core conftest.err conftest.$ac_objext \
14690 conftest$ac_exeext conftest.$ac_ext
14691 CFLAGS=$ac_wine_try_cflags_saved
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14694 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14695 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14696 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14699 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14700 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 ac_wine_try_cflags_saved=$CFLAGS
14704 CFLAGS="$CFLAGS -gstrict-dwarf"
14705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14706 /* end confdefs.h. */
14707 int main(int argc, char **argv) { return 0; }
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"; then :
14710 ac_cv_cflags__gstrict_dwarf=yes
14711 else
14712 ac_cv_cflags__gstrict_dwarf=no
14714 rm -f core conftest.err conftest.$ac_objext \
14715 conftest$ac_exeext conftest.$ac_ext
14716 CFLAGS=$ac_wine_try_cflags_saved
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14719 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14720 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14721 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14722 fi ;;
14723 esac
14724 done
14726 case $host_cpu in
14727 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14728 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14729 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14730 $as_echo_n "(cached) " >&6
14731 else
14732 ac_wine_try_cflags_saved=$CFLAGS
14733 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14736 int main(int argc, char **argv) { return 0; }
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_cflags__fno_omit_frame_pointer=yes
14740 else
14741 ac_cv_cflags__fno_omit_frame_pointer=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 CFLAGS=$ac_wine_try_cflags_saved
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14748 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14749 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14750 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14751 fi ;;
14752 esac
14754 case $host in
14755 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14756 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14757 if ${ac_cv_cflags__Wno_format+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 ac_wine_try_cflags_saved=$CFLAGS
14761 CFLAGS="$CFLAGS -Wno-format"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 int main(int argc, char **argv) { return 0; }
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_cflags__Wno_format=yes
14768 else
14769 ac_cv_cflags__Wno_format=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 CFLAGS=$ac_wine_try_cflags_saved
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14776 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14777 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14778 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14779 fi ;;
14780 esac
14782 if test "x$enable_maintainer_mode" = "xyes"
14783 then
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14785 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14786 if ${ac_cv_cflags__Werror+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 ac_wine_try_cflags_saved=$CFLAGS
14790 CFLAGS="$CFLAGS -Werror"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14793 int main(int argc, char **argv) { return 0; }
14794 _ACEOF
14795 if ac_fn_c_try_link "$LINENO"; then :
14796 ac_cv_cflags__Werror=yes
14797 else
14798 ac_cv_cflags__Werror=no
14800 rm -f core conftest.err conftest.$ac_objext \
14801 conftest$ac_exeext conftest.$ac_ext
14802 CFLAGS=$ac_wine_try_cflags_saved
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14805 $as_echo "$ac_cv_cflags__Werror" >&6; }
14806 if test "x$ac_cv_cflags__Werror" = xyes; then :
14807 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14811 saved_CFLAGS="$CFLAGS"
14812 CFLAGS="$CFLAGS -Werror"
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14814 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14815 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14816 $as_echo_n "(cached) " >&6
14817 else
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14822 main ()
14826 return 0;
14828 _ACEOF
14829 if ac_fn_c_try_compile "$LINENO"; then :
14830 ac_cv_have_ms_hook_prologue="yes"
14831 else
14832 ac_cv_have_ms_hook_prologue="no"
14834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14837 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14838 CFLAGS="$saved_CFLAGS"
14839 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14840 then
14842 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14844 else
14845 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14852 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14853 if ${ac_cv_c_fortify_enabled+:} false; then :
14854 $as_echo_n "(cached) " >&6
14855 else
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14858 #include <string.h>
14860 main ()
14862 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14863 #error Fortify enabled
14864 #endif
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_compile "$LINENO"; then :
14870 ac_cv_c_fortify_enabled=no
14871 else
14872 ac_cv_c_fortify_enabled=yes
14874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14877 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14878 if test "$ac_cv_c_fortify_enabled" = yes
14879 then
14880 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14885 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14886 if ${ac_cv_c_extern_prefix+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 extern int ac_test;
14893 main ()
14895 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_link "$LINENO"; then :
14901 ac_cv_c_extern_prefix="yes"
14902 else
14903 ac_cv_c_extern_prefix="no"
14905 rm -f core conftest.err conftest.$ac_objext \
14906 conftest$ac_exeext conftest.$ac_ext
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14909 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14911 case $host_cpu in
14912 *i[3456789]86*)
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14914 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14915 if ${ac_cv_c_stdcall_suffix+:} false; then :
14916 $as_echo_n "(cached) " >&6
14917 else
14918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14919 /* end confdefs.h. */
14920 #ifndef _MSC_VER
14921 #define __stdcall __attribute__((__stdcall__))
14922 #endif
14923 int __stdcall ac_test(int i) { return i; }
14925 main ()
14927 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14929 return 0;
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"; then :
14933 ac_cv_c_stdcall_suffix="yes"
14934 else
14935 ac_cv_c_stdcall_suffix="no"
14937 rm -f core conftest.err conftest.$ac_objext \
14938 conftest$ac_exeext conftest.$ac_ext
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14941 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14942 *) ac_cv_c_stdcall_suffix="no" ;;
14943 esac
14946 if test "$ac_cv_c_extern_prefix" = "yes"
14947 then
14948 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14950 asm_name_prefix="_"
14951 else
14952 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14954 asm_name_prefix=""
14958 if test "$ac_cv_c_stdcall_suffix" = "yes"
14959 then
14960 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14962 else
14963 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14969 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14970 if ${ac_cv_asm_func_def+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14977 main ()
14979 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14981 return 0;
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_asm_func_def=".def"
14986 else
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14991 main ()
14993 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_link "$LINENO"; then :
14999 ac_cv_asm_func_def=".type @function"
15000 else
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15005 main ()
15007 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15009 return 0;
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 ac_cv_asm_func_def=".type 2"
15014 else
15015 ac_cv_asm_func_def="unknown"
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15023 rm -f core conftest.err conftest.$ac_objext \
15024 conftest$ac_exeext conftest.$ac_ext
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15027 $as_echo "$ac_cv_asm_func_def" >&6; }
15030 case "$ac_cv_asm_func_def" in
15031 ".def")
15032 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15034 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15035 ".type @function")
15036 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15038 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15039 ".type 2")
15040 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15042 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15044 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15046 asm_func_header="" ;;
15047 esac
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15050 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15051 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15052 $as_echo_n "(cached) " >&6
15053 else
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15056 asm(".text\n\t.long 0");
15058 main ()
15062 return 0;
15064 _ACEOF
15065 if ac_fn_c_try_compile "$LINENO"; then :
15066 ac_cv_c_asm_outside_funcs="yes"
15067 else
15068 ac_cv_c_asm_outside_funcs="no"
15070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15073 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15076 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15077 if ${ac_cv_c_dot_previous+:} false; then :
15078 $as_echo_n "(cached) " >&6
15079 else
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15084 main ()
15086 asm(".text\nac_test:\t.long 0\n\t.previous");
15088 return 0;
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"; then :
15092 ac_cv_c_dot_previous="yes"
15093 else
15094 ac_cv_c_dot_previous="no"
15096 rm -f core conftest.err conftest.$ac_objext \
15097 conftest$ac_exeext conftest.$ac_ext
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15100 $as_echo "$ac_cv_c_dot_previous" >&6; }
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15103 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15104 if ${ac_cv_c_cfi_support+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15109 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15111 main ()
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_compile "$LINENO"; then :
15119 ac_cv_c_cfi_support="yes"
15120 else
15121 ac_cv_c_cfi_support="no"
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15126 $as_echo "$ac_cv_c_cfi_support" >&6; }
15128 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15129 asm_func_trailer=""
15130 if test "$ac_cv_c_dot_previous" = "yes"
15131 then
15132 asm_func_trailer="\\n\\t.previous"
15134 if test "$ac_cv_c_cfi_support" = "yes"
15135 then
15136 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15137 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15139 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15141 UNWINDFLAGS=-fasynchronous-unwind-tables
15143 else
15144 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15146 if test "x$enable_win64" = "xyes"
15147 then
15148 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15152 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15155 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15156 then
15157 cat >>confdefs.h <<_ACEOF
15158 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15159 _ACEOF
15161 else
15162 cat >>confdefs.h <<_ACEOF
15163 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15164 _ACEOF
15168 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15171 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15175 case $build_os in
15176 cygwin*|mingw32*) TOOLSEXT=".exe"
15178 esac
15180 case $host_os in
15181 linux-android*) ;;
15182 linux*)
15183 case $host_cpu in
15184 *i[3456789]86*|x86_64*)
15185 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15186 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15188 esac
15190 esac
15193 ac_save_CFLAGS="$CFLAGS"
15194 CFLAGS="$CFLAGS $BUILTINFLAG"
15195 for ac_func in \
15196 __res_get_state \
15197 __res_getservers \
15198 _finite \
15199 _isnan \
15200 _pclose \
15201 _popen \
15202 _snprintf \
15203 _spawnvp \
15204 _strdup \
15205 _stricmp \
15206 _strnicmp \
15207 _strtoi64 \
15208 _strtoui64 \
15209 _vsnprintf \
15210 asctime_r \
15211 chsize \
15212 dlopen \
15213 epoll_create \
15214 ffs \
15215 finitef \
15216 fnmatch \
15217 fork \
15218 fpclass \
15219 fstatfs \
15220 fstatvfs \
15221 ftruncate \
15222 futimens \
15223 futimes \
15224 futimesat \
15225 getattrlist \
15226 getopt_long_only \
15227 getpwuid \
15228 gettimeofday \
15229 getuid \
15230 if_nameindex \
15231 isnanf \
15232 kqueue \
15233 lstat \
15234 memmove \
15235 mmap \
15236 pclose \
15237 pipe2 \
15238 poll \
15239 popen \
15240 port_create \
15241 prctl \
15242 pread \
15243 proc_pidinfo \
15244 pwrite \
15245 readdir \
15246 readlink \
15247 sched_yield \
15248 select \
15249 setproctitle \
15250 setprogname \
15251 setrlimit \
15252 settimeofday \
15253 sigaltstack \
15254 sigprocmask \
15255 snprintf \
15256 statfs \
15257 statvfs \
15258 strcasecmp \
15259 strdup \
15260 strerror \
15261 strncasecmp \
15262 strtold \
15263 strtoll \
15264 strtoull \
15265 symlink \
15266 sysinfo \
15267 tcdrain \
15268 thr_kill2 \
15269 timegm \
15270 usleep \
15271 vsnprintf
15273 do :
15274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15276 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15279 _ACEOF
15282 done
15284 CFLAGS="$ac_save_CFLAGS"
15286 if test "$ac_cv_func_dlopen" = no
15287 then
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15289 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15290 if ${ac_cv_lib_dl_dlopen+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 ac_check_lib_save_LIBS=$LIBS
15294 LIBS="-ldl $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 #ifdef __cplusplus
15302 extern "C"
15303 #endif
15304 char dlopen ();
15306 main ()
15308 return dlopen ();
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 ac_cv_lib_dl_dlopen=yes
15315 else
15316 ac_cv_lib_dl_dlopen=no
15318 rm -f core conftest.err conftest.$ac_objext \
15319 conftest$ac_exeext conftest.$ac_ext
15320 LIBS=$ac_check_lib_save_LIBS
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15323 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15324 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15325 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15326 DL_LIBS="-ldl"
15331 ac_wine_check_funcs_save_LIBS="$LIBS"
15332 LIBS="$LIBS $DL_LIBS"
15333 for ac_func in dladdr
15334 do :
15335 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15336 if test "x$ac_cv_func_dladdr" = xyes; then :
15337 cat >>confdefs.h <<_ACEOF
15338 #define HAVE_DLADDR 1
15339 _ACEOF
15342 done
15344 LIBS="$ac_wine_check_funcs_save_LIBS"
15346 if test "$ac_cv_func_poll" = no
15347 then
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15349 $as_echo_n "checking for poll in -lpoll... " >&6; }
15350 if ${ac_cv_lib_poll_poll+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 ac_check_lib_save_LIBS=$LIBS
15354 LIBS="-lpoll $LIBS"
15355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 /* end confdefs.h. */
15358 /* Override any GCC internal prototype to avoid an error.
15359 Use char because int might match the return type of a GCC
15360 builtin and then its argument prototype would still apply. */
15361 #ifdef __cplusplus
15362 extern "C"
15363 #endif
15364 char poll ();
15366 main ()
15368 return poll ();
15370 return 0;
15372 _ACEOF
15373 if ac_fn_c_try_link "$LINENO"; then :
15374 ac_cv_lib_poll_poll=yes
15375 else
15376 ac_cv_lib_poll_poll=no
15378 rm -f core conftest.err conftest.$ac_objext \
15379 conftest$ac_exeext conftest.$ac_ext
15380 LIBS=$ac_check_lib_save_LIBS
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15383 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15384 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15385 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15386 POLL_LIBS="-lpoll"
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15393 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15394 if ${ac_cv_search_gethostbyname+:} false; then :
15395 $as_echo_n "(cached) " >&6
15396 else
15397 ac_func_search_save_LIBS=$LIBS
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 #ifdef __cplusplus
15405 extern "C"
15406 #endif
15407 char gethostbyname ();
15409 main ()
15411 return gethostbyname ();
15413 return 0;
15415 _ACEOF
15416 for ac_lib in '' nsl; do
15417 if test -z "$ac_lib"; then
15418 ac_res="none required"
15419 else
15420 ac_res=-l$ac_lib
15421 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15423 if ac_fn_c_try_link "$LINENO"; then :
15424 ac_cv_search_gethostbyname=$ac_res
15426 rm -f core conftest.err conftest.$ac_objext \
15427 conftest$ac_exeext
15428 if ${ac_cv_search_gethostbyname+:} false; then :
15429 break
15431 done
15432 if ${ac_cv_search_gethostbyname+:} false; then :
15434 else
15435 ac_cv_search_gethostbyname=no
15437 rm conftest.$ac_ext
15438 LIBS=$ac_func_search_save_LIBS
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15441 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15442 ac_res=$ac_cv_search_gethostbyname
15443 if test "$ac_res" != no; then :
15444 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15450 $as_echo_n "checking for library containing connect... " >&6; }
15451 if ${ac_cv_search_connect+:} false; then :
15452 $as_echo_n "(cached) " >&6
15453 else
15454 ac_func_search_save_LIBS=$LIBS
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456 /* end confdefs.h. */
15458 /* Override any GCC internal prototype to avoid an error.
15459 Use char because int might match the return type of a GCC
15460 builtin and then its argument prototype would still apply. */
15461 #ifdef __cplusplus
15462 extern "C"
15463 #endif
15464 char connect ();
15466 main ()
15468 return connect ();
15470 return 0;
15472 _ACEOF
15473 for ac_lib in '' socket; do
15474 if test -z "$ac_lib"; then
15475 ac_res="none required"
15476 else
15477 ac_res=-l$ac_lib
15478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15480 if ac_fn_c_try_link "$LINENO"; then :
15481 ac_cv_search_connect=$ac_res
15483 rm -f core conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext
15485 if ${ac_cv_search_connect+:} false; then :
15486 break
15488 done
15489 if ${ac_cv_search_connect+:} false; then :
15491 else
15492 ac_cv_search_connect=no
15494 rm conftest.$ac_ext
15495 LIBS=$ac_func_search_save_LIBS
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15498 $as_echo "$ac_cv_search_connect" >&6; }
15499 ac_res=$ac_cv_search_connect
15500 if test "$ac_res" != no; then :
15501 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15507 $as_echo_n "checking for library containing inet_aton... " >&6; }
15508 if ${ac_cv_search_inet_aton+:} false; then :
15509 $as_echo_n "(cached) " >&6
15510 else
15511 ac_func_search_save_LIBS=$LIBS
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15515 /* Override any GCC internal prototype to avoid an error.
15516 Use char because int might match the return type of a GCC
15517 builtin and then its argument prototype would still apply. */
15518 #ifdef __cplusplus
15519 extern "C"
15520 #endif
15521 char inet_aton ();
15523 main ()
15525 return inet_aton ();
15527 return 0;
15529 _ACEOF
15530 for ac_lib in '' resolv; do
15531 if test -z "$ac_lib"; then
15532 ac_res="none required"
15533 else
15534 ac_res=-l$ac_lib
15535 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 ac_cv_search_inet_aton=$ac_res
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext
15542 if ${ac_cv_search_inet_aton+:} false; then :
15543 break
15545 done
15546 if ${ac_cv_search_inet_aton+:} false; then :
15548 else
15549 ac_cv_search_inet_aton=no
15551 rm conftest.$ac_ext
15552 LIBS=$ac_func_search_save_LIBS
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15555 $as_echo "$ac_cv_search_inet_aton" >&6; }
15556 ac_res=$ac_cv_search_inet_aton
15557 if test "$ac_res" != no; then :
15558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15563 for ac_func in \
15564 getaddrinfo \
15565 getnameinfo \
15566 getnetbyname \
15567 getprotobyname \
15568 getprotobynumber \
15569 getservbyport \
15570 inet_addr \
15571 inet_network \
15572 inet_ntop \
15573 inet_pton \
15574 sendmsg \
15575 socketpair \
15577 do :
15578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15581 cat >>confdefs.h <<_ACEOF
15582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15583 _ACEOF
15586 done
15589 ac_save_LIBS=$LIBS
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15591 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15592 if ${ac_cv_search_clock_gettime+:} false; then :
15593 $as_echo_n "(cached) " >&6
15594 else
15595 ac_func_search_save_LIBS=$LIBS
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15599 /* Override any GCC internal prototype to avoid an error.
15600 Use char because int might match the return type of a GCC
15601 builtin and then its argument prototype would still apply. */
15602 #ifdef __cplusplus
15603 extern "C"
15604 #endif
15605 char clock_gettime ();
15607 main ()
15609 return clock_gettime ();
15611 return 0;
15613 _ACEOF
15614 for ac_lib in '' rt; do
15615 if test -z "$ac_lib"; then
15616 ac_res="none required"
15617 else
15618 ac_res=-l$ac_lib
15619 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 ac_cv_search_clock_gettime=$ac_res
15624 rm -f core conftest.err conftest.$ac_objext \
15625 conftest$ac_exeext
15626 if ${ac_cv_search_clock_gettime+:} false; then :
15627 break
15629 done
15630 if ${ac_cv_search_clock_gettime+:} false; then :
15632 else
15633 ac_cv_search_clock_gettime=no
15635 rm conftest.$ac_ext
15636 LIBS=$ac_func_search_save_LIBS
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15639 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15640 ac_res=$ac_cv_search_clock_gettime
15641 if test "$ac_res" != no; then :
15642 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15644 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15646 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15650 LIBS=$ac_save_LIBS
15652 LDAP_LIBS=""
15654 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15655 then
15656 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15658 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15660 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15661 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15662 $as_echo_n "(cached) " >&6
15663 else
15664 ac_check_lib_save_LIBS=$LIBS
15665 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15669 /* Override any GCC internal prototype to avoid an error.
15670 Use char because int might match the return type of a GCC
15671 builtin and then its argument prototype would still apply. */
15672 #ifdef __cplusplus
15673 extern "C"
15674 #endif
15675 char ldap_initialize ();
15677 main ()
15679 return ldap_initialize ();
15681 return 0;
15683 _ACEOF
15684 if ac_fn_c_try_link "$LINENO"; then :
15685 ac_cv_lib_ldap_r_ldap_initialize=yes
15686 else
15687 ac_cv_lib_ldap_r_ldap_initialize=no
15689 rm -f core conftest.err conftest.$ac_objext \
15690 conftest$ac_exeext conftest.$ac_ext
15691 LIBS=$ac_check_lib_save_LIBS
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15694 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15695 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15697 $as_echo_n "checking for ber_init in -llber... " >&6; }
15698 if ${ac_cv_lib_lber_ber_init+:} false; then :
15699 $as_echo_n "(cached) " >&6
15700 else
15701 ac_check_lib_save_LIBS=$LIBS
15702 LIBS="-llber $PTHREAD_LIBS $LIBS"
15703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15704 /* end confdefs.h. */
15706 /* Override any GCC internal prototype to avoid an error.
15707 Use char because int might match the return type of a GCC
15708 builtin and then its argument prototype would still apply. */
15709 #ifdef __cplusplus
15710 extern "C"
15711 #endif
15712 char ber_init ();
15714 main ()
15716 return ber_init ();
15718 return 0;
15720 _ACEOF
15721 if ac_fn_c_try_link "$LINENO"; then :
15722 ac_cv_lib_lber_ber_init=yes
15723 else
15724 ac_cv_lib_lber_ber_init=no
15726 rm -f core conftest.err conftest.$ac_objext \
15727 conftest$ac_exeext conftest.$ac_ext
15728 LIBS=$ac_check_lib_save_LIBS
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15731 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15732 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15734 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15736 LDAP_LIBS="-lldap_r -llber"
15743 ac_wine_check_funcs_save_LIBS="$LIBS"
15744 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15745 for ac_func in \
15746 ldap_count_references \
15747 ldap_first_reference \
15748 ldap_next_reference \
15749 ldap_parse_reference \
15750 ldap_parse_sort_control \
15751 ldap_parse_sortresponse_control \
15752 ldap_parse_vlv_control \
15753 ldap_parse_vlvresponse_control
15754 do :
15755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15757 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15758 cat >>confdefs.h <<_ACEOF
15759 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15760 _ACEOF
15763 done
15765 LIBS="$ac_wine_check_funcs_save_LIBS"
15767 if test "x$LDAP_LIBS" = "x"; then :
15768 case "x$with_ldap" in
15769 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15770 xno) ;;
15771 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15772 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15773 esac
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15778 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15779 if ${wine_cv_one_arg_mkdir+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783 /* end confdefs.h. */
15784 #include <sys/stat.h>
15786 main ()
15788 mkdir("foo");
15790 return 0;
15792 _ACEOF
15793 if ac_fn_c_try_compile "$LINENO"; then :
15794 wine_cv_one_arg_mkdir=yes
15795 else
15796 wine_cv_one_arg_mkdir=no
15798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15801 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15802 if test "$wine_cv_one_arg_mkdir" = "yes"
15803 then
15805 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15810 $as_echo_n "checking for sched_setaffinity... " >&6; }
15811 if ${wine_cv_have_sched_setaffinity+:} false; then :
15812 $as_echo_n "(cached) " >&6
15813 else
15814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h. */
15816 #define _GNU_SOURCE
15817 #include <sched.h>
15819 main ()
15821 sched_setaffinity(0, 0, 0);
15823 return 0;
15825 _ACEOF
15826 if ac_fn_c_try_link "$LINENO"; then :
15827 wine_cv_have_sched_setaffinity=yes
15828 else
15829 wine_cv_have_sched_setaffinity=no
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext conftest.$ac_ext
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15835 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15836 if test "$wine_cv_have_sched_setaffinity" = "yes"
15837 then
15839 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15844 $as_echo_n "checking for fallocate... " >&6; }
15845 if ${wine_cv_have_fallocate+:} false; then :
15846 $as_echo_n "(cached) " >&6
15847 else
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15850 #define _GNU_SOURCE
15851 #include <fcntl.h>
15853 main ()
15855 fallocate(-1, 0, 0, 0);
15857 return 0;
15859 _ACEOF
15860 if ac_fn_c_try_link "$LINENO"; then :
15861 wine_cv_have_fallocate=yes
15862 else
15863 wine_cv_have_fallocate=no
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15869 $as_echo "$wine_cv_have_fallocate" >&6; }
15870 if test "$wine_cv_have_fallocate" = "yes"
15871 then
15873 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15879 $as_echo_n "checking for inline... " >&6; }
15880 if ${ac_cv_c_inline+:} false; then :
15881 $as_echo_n "(cached) " >&6
15882 else
15883 ac_cv_c_inline=no
15884 for ac_kw in inline __inline__ __inline; do
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15887 #ifndef __cplusplus
15888 typedef int foo_t;
15889 static $ac_kw foo_t static_foo () {return 0; }
15890 $ac_kw foo_t foo () {return 0; }
15891 #endif
15893 _ACEOF
15894 if ac_fn_c_try_compile "$LINENO"; then :
15895 ac_cv_c_inline=$ac_kw
15897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15898 test "$ac_cv_c_inline" != no && break
15899 done
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15903 $as_echo "$ac_cv_c_inline" >&6; }
15905 case $ac_cv_c_inline in
15906 inline | yes) ;;
15908 case $ac_cv_c_inline in
15909 no) ac_val=;;
15910 *) ac_val=$ac_cv_c_inline;;
15911 esac
15912 cat >>confdefs.h <<_ACEOF
15913 #ifndef __cplusplus
15914 #define inline $ac_val
15915 #endif
15916 _ACEOF
15918 esac
15920 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15921 if test "x$ac_cv_type_mode_t" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_MODE_T 1
15925 _ACEOF
15929 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15930 if test "x$ac_cv_type_off_t" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_OFF_T 1
15934 _ACEOF
15938 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15939 if test "x$ac_cv_type_pid_t" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_PID_T 1
15943 _ACEOF
15947 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15948 if test "x$ac_cv_type_size_t" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_SIZE_T 1
15952 _ACEOF
15956 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15957 if test "x$ac_cv_type_ssize_t" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_SSIZE_T 1
15961 _ACEOF
15965 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15966 if test "x$ac_cv_type_long_long" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_LONG_LONG 1
15970 _ACEOF
15974 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15975 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_FSBLKCNT_T 1
15979 _ACEOF
15983 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15984 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_FSFILCNT_T 1
15988 _ACEOF
15993 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15994 #include <signal.h>
15996 if test "x$ac_cv_type_sigset_t" = xyes; then :
15998 cat >>confdefs.h <<_ACEOF
15999 #define HAVE_SIGSET_T 1
16000 _ACEOF
16005 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16007 if test "x$ac_cv_type_request_sense" = xyes; then :
16009 cat >>confdefs.h <<_ACEOF
16010 #define HAVE_REQUEST_SENSE 1
16011 _ACEOF
16017 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16018 #ifdef HAVE_SYS_SOCKET_H
16019 #include <sys/socket.h>
16020 #endif
16021 #ifdef HAVE_SYS_SOCKETVAR_H
16022 #include <sys/socketvar.h>
16023 #endif
16024 #ifdef HAVE_NET_ROUTE_H
16025 #include <net/route.h>
16026 #endif
16027 #ifdef HAVE_NETINET_IN_H
16028 #include <netinet/in.h>
16029 #endif
16030 #ifdef HAVE_NETINET_IN_SYSTM_H
16031 #include <netinet/in_systm.h>
16032 #endif
16033 #ifdef HAVE_NETINET_IP_H
16034 #include <netinet/ip.h>
16035 #endif
16036 #ifdef HAVE_NETINET_IN_PCB_H
16037 #include <netinet/in_pcb.h>
16038 #endif
16040 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16042 cat >>confdefs.h <<_ACEOF
16043 #define HAVE_STRUCT_XINPGEN 1
16044 _ACEOF
16050 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16051 #include <link.h>
16052 #endif
16053 #ifdef HAVE_SYS_LINK_H
16054 #include <sys/link.h>
16055 #endif
16057 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16059 cat >>confdefs.h <<_ACEOF
16060 #define HAVE_STRUCT_R_DEBUG 1
16061 _ACEOF
16065 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16066 #include <link.h>
16067 #endif
16068 #ifdef HAVE_SYS_LINK_H
16069 #include <sys/link.h>
16070 #endif
16072 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16074 cat >>confdefs.h <<_ACEOF
16075 #define HAVE_STRUCT_LINK_MAP 1
16076 _ACEOF
16082 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16083 #include <linux/input.h>
16084 #endif
16086 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16088 cat >>confdefs.h <<_ACEOF
16089 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16090 _ACEOF
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16097 $as_echo_n "checking for sigaddset... " >&6; }
16098 if ${wine_cv_have_sigaddset+:} false; then :
16099 $as_echo_n "(cached) " >&6
16100 else
16101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16102 /* end confdefs.h. */
16103 #include <signal.h>
16105 main ()
16107 sigset_t set; sigaddset(&set,SIGTERM);
16109 return 0;
16111 _ACEOF
16112 if ac_fn_c_try_link "$LINENO"; then :
16113 wine_cv_have_sigaddset=yes
16114 else
16115 wine_cv_have_sigaddset=no
16117 rm -f core conftest.err conftest.$ac_objext \
16118 conftest$ac_exeext conftest.$ac_ext
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16121 $as_echo "$wine_cv_have_sigaddset" >&6; }
16122 if test "$wine_cv_have_sigaddset" = "yes"
16123 then
16125 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16131 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16132 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16133 $as_echo_n "(cached) " >&6
16134 else
16135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16136 /* end confdefs.h. */
16137 #include <netdb.h>
16139 main ()
16142 char *name=0;
16143 struct hostent he;
16144 struct hostent *result;
16145 char *buf=0;
16146 int bufsize=0;
16147 int errnr;
16148 char *addr=0;
16149 int addrlen=0;
16150 int addrtype=0;
16151 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16152 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16155 return 0;
16157 _ACEOF
16158 if ac_fn_c_try_link "$LINENO"; then :
16159 wine_cv_linux_gethostbyname_r_6=yes
16160 else
16161 wine_cv_linux_gethostbyname_r_6=no
16164 rm -f core conftest.err conftest.$ac_objext \
16165 conftest$ac_exeext conftest.$ac_ext
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16169 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16170 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16171 then
16173 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16177 if test "$ac_cv_header_linux_joystick_h" = "yes"
16178 then
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16180 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16181 if ${wine_cv_linux_joystick_22_api+:} false; then :
16182 $as_echo_n "(cached) " >&6
16183 else
16184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16185 /* end confdefs.h. */
16187 #include <sys/ioctl.h>
16188 #include <sys/types.h>
16189 #include <linux/joystick.h>
16191 struct js_event blub;
16192 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16193 #error "no 2.2 header"
16194 #endif
16197 main ()
16199 /*empty*/
16201 return 0;
16203 _ACEOF
16204 if ac_fn_c_try_compile "$LINENO"; then :
16205 wine_cv_linux_joystick_22_api=yes
16206 else
16207 wine_cv_linux_joystick_22_api=no
16209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16213 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16214 if test "$wine_cv_linux_joystick_22_api" = "yes"
16215 then
16217 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16223 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16224 #ifdef HAVE_SYS_PARAM_H
16225 # include <sys/param.h>
16226 #endif
16227 #ifdef HAVE_SYS_MOUNT_H
16228 # include <sys/mount.h>
16229 #endif
16230 #ifdef HAVE_SYS_VFS_H
16231 # include <sys/vfs.h>
16232 #endif
16233 #ifdef HAVE_SYS_STATFS_H
16234 # include <sys/statfs.h>
16235 #endif
16237 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define HAVE_STRUCT_STATFS_F_BFREE 1
16241 _ACEOF
16245 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16246 #ifdef HAVE_SYS_PARAM_H
16247 # include <sys/param.h>
16248 #endif
16249 #ifdef HAVE_SYS_MOUNT_H
16250 # include <sys/mount.h>
16251 #endif
16252 #ifdef HAVE_SYS_VFS_H
16253 # include <sys/vfs.h>
16254 #endif
16255 #ifdef HAVE_SYS_STATFS_H
16256 # include <sys/statfs.h>
16257 #endif
16259 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16263 _ACEOF
16267 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16268 #ifdef HAVE_SYS_PARAM_H
16269 # include <sys/param.h>
16270 #endif
16271 #ifdef HAVE_SYS_MOUNT_H
16272 # include <sys/mount.h>
16273 #endif
16274 #ifdef HAVE_SYS_VFS_H
16275 # include <sys/vfs.h>
16276 #endif
16277 #ifdef HAVE_SYS_STATFS_H
16278 # include <sys/statfs.h>
16279 #endif
16281 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16285 _ACEOF
16289 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_PARAM_H
16291 # include <sys/param.h>
16292 #endif
16293 #ifdef HAVE_SYS_MOUNT_H
16294 # include <sys/mount.h>
16295 #endif
16296 #ifdef HAVE_SYS_VFS_H
16297 # include <sys/vfs.h>
16298 #endif
16299 #ifdef HAVE_SYS_STATFS_H
16300 # include <sys/statfs.h>
16301 #endif
16303 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_STATFS_F_FFREE 1
16307 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16314 #endif
16315 #ifdef HAVE_SYS_MOUNT_H
16316 # include <sys/mount.h>
16317 #endif
16318 #ifdef HAVE_SYS_VFS_H
16319 # include <sys/vfs.h>
16320 #endif
16321 #ifdef HAVE_SYS_STATFS_H
16322 # include <sys/statfs.h>
16323 #endif
16325 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16329 _ACEOF
16333 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16334 #ifdef HAVE_SYS_PARAM_H
16335 # include <sys/param.h>
16336 #endif
16337 #ifdef HAVE_SYS_MOUNT_H
16338 # include <sys/mount.h>
16339 #endif
16340 #ifdef HAVE_SYS_VFS_H
16341 # include <sys/vfs.h>
16342 #endif
16343 #ifdef HAVE_SYS_STATFS_H
16344 # include <sys/statfs.h>
16345 #endif
16347 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16351 _ACEOF
16357 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16358 #include <sys/statvfs.h>
16359 #endif
16361 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16365 _ACEOF
16371 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16372 #include <dirent.h>
16373 #endif
16375 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16379 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16386 #ifdef HAVE_SYS_SOCKET_H
16387 # include <sys/socket.h>
16388 #endif
16389 #ifdef HAVE_SYS_UN_H
16390 # include <sys/un.h>
16391 #endif
16393 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16395 cat >>confdefs.h <<_ACEOF
16396 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16397 _ACEOF
16401 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16402 #ifdef HAVE_SYS_SOCKET_H
16403 # include <sys/socket.h>
16404 #endif
16405 #ifdef HAVE_SYS_UN_H
16406 # include <sys/un.h>
16407 #endif
16409 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16413 _ACEOF
16417 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16418 #ifdef HAVE_SYS_SOCKET_H
16419 # include <sys/socket.h>
16420 #endif
16421 #ifdef HAVE_SYS_UN_H
16422 # include <sys/un.h>
16423 #endif
16425 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16429 _ACEOF
16435 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16436 #ifdef HAVE_SCSI_SG_H
16437 #include <scsi/sg.h>
16438 #endif
16440 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_SCSIREQ_T_CMD 1
16444 _ACEOF
16448 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>
16449 #ifdef HAVE_SCSI_SG_H
16450 #include <scsi/sg.h>
16451 #endif
16453 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16457 _ACEOF
16463 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16465 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_SIGINFO_T_SI_FD 1
16469 _ACEOF
16475 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16476 #ifdef HAVE_SYS_MTIO_H
16477 #include <sys/mtio.h>
16478 #endif
16480 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16484 _ACEOF
16488 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16489 #ifdef HAVE_SYS_MTIO_H
16490 #include <sys/mtio.h>
16491 #endif
16493 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16495 cat >>confdefs.h <<_ACEOF
16496 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16497 _ACEOF
16501 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16502 #ifdef HAVE_SYS_MTIO_H
16503 #include <sys/mtio.h>
16504 #endif
16506 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16510 _ACEOF
16516 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16517 #include <getopt.h>
16518 #endif
16520 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_STRUCT_OPTION_NAME 1
16524 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16531 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16535 _ACEOF
16539 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16540 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_STRUCT_STAT_ST_MTIM 1
16544 _ACEOF
16548 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16549 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16553 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16558 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16560 cat >>confdefs.h <<_ACEOF
16561 #define HAVE_STRUCT_STAT_ST_CTIM 1
16562 _ACEOF
16566 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16567 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16571 _ACEOF
16575 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16576 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_STRUCT_STAT_ST_ATIM 1
16580 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16585 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16589 _ACEOF
16593 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16594 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16598 _ACEOF
16602 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16603 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16607 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16612 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16616 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16621 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16625 _ACEOF
16629 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16630 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16634 _ACEOF
16640 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
16641 #include <sys/types.h>
16642 #endif
16643 #ifdef HAVE_NETINET_IN_H
16644 #include <netinet/in.h>
16645 #endif
16647 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16651 _ACEOF
16657 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16658 #include <resolv.h>
16659 #endif
16661 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_STRUCT___RES_STATE 1
16665 _ACEOF
16671 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
16672 #include <resolv.h>
16673 #endif
16675 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16679 _ACEOF
16685 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16686 #include <sys/types.h>
16687 #endif
16688 #ifdef HAVE_NETINET_IN_H
16689 # include <netinet/in.h>
16690 #endif
16691 #ifdef HAVE_ARPA_NAMESER_H
16692 # include <arpa/nameser.h>
16693 #endif
16695 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16697 cat >>confdefs.h <<_ACEOF
16698 #define HAVE_NS_MSG__MSG_PTR 1
16699 _ACEOF
16705 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16706 #include <sys/types.h>
16707 #endif
16708 #ifdef HAVE_NETINET_IP_H
16709 #include <netinet/ip.h>
16710 #endif
16711 #ifdef HAVE_NETINET_IP_ICMP_H
16712 #include <netinet/ip_icmp.h>
16713 #endif
16714 #ifdef HAVE_NETINET_ICMP_VAR_H
16715 #include <netinet/icmp_var.h>
16716 #endif
16718 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16720 cat >>confdefs.h <<_ACEOF
16721 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16722 _ACEOF
16728 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16729 #include <sys/types.h>
16730 #endif
16731 #ifdef HAVE_ALIAS_H
16732 #include <alias.h>
16733 #endif
16734 #ifdef HAVE_SYS_SOCKET_H
16735 #include <sys/socket.h>
16736 #endif
16737 #ifdef HAVE_SYS_SOCKETVAR_H
16738 #include <sys/socketvar.h>
16739 #endif
16740 #ifdef HAVE_SYS_TIMEOUT_H
16741 #include <sys/timeout.h>
16742 #endif
16743 #ifdef HAVE_NETINET_IN_H
16744 #include <netinet/in.h>
16745 #endif
16746 #ifdef HAVE_NETINET_IN_SYSTM_H
16747 #include <netinet/in_systm.h>
16748 #endif
16749 #ifdef HAVE_NETINET_IP_H
16750 #include <netinet/ip.h>
16751 #endif
16752 #ifdef HAVE_NETINET_IP_VAR_H
16753 #include <netinet/ip_var.h>
16754 #endif
16755 #ifdef HAVE_NETINET_IP_ICMP_H
16756 #include <netinet/ip_icmp.h>
16757 #endif
16758 #ifdef HAVE_NETINET_ICMP_VAR_H
16759 #include <netinet/icmp_var.h>
16760 #endif
16762 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16764 cat >>confdefs.h <<_ACEOF
16765 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16766 _ACEOF
16772 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16773 #include <sys/types.h>
16774 #endif
16775 #ifdef HAVE_SYS_SOCKETVAR_H
16776 #include <sys/socketvar.h>
16777 #endif
16778 #ifdef HAVE_NETINET_IN_H
16779 #include <netinet/in.h>
16780 #endif
16781 #ifdef HAVE_NETINET_IP_VAR_H
16782 #include <netinet/ip_var.h>
16783 #endif
16785 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16787 cat >>confdefs.h <<_ACEOF
16788 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16789 _ACEOF
16795 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
16796 #include <netinet/ip_var.h>
16797 #endif
16799 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16801 cat >>confdefs.h <<_ACEOF
16802 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16803 _ACEOF
16809 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16810 #include <sys/types.h>
16811 #endif
16812 #ifdef HAVE_SYS_SOCKETVAR_H
16813 #include <sys/socketvar.h>
16814 #endif
16815 #ifdef HAVE_NETINET_IN_H
16816 #include <netinet/in.h>
16817 #endif
16818 #ifdef HAVE_NETINET_TCP_H
16819 #include <netinet/tcp.h>
16820 #endif
16821 #ifdef HAVE_NETINET_TCP_VAR_H
16822 #include <netinet/tcp_var.h>
16823 #endif
16825 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16827 cat >>confdefs.h <<_ACEOF
16828 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16829 _ACEOF
16835 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
16836 #include <netinet/tcp_var.h>
16837 #endif
16839 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16841 cat >>confdefs.h <<_ACEOF
16842 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16843 _ACEOF
16849 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16850 #include <sys/types.h>
16851 #endif
16852 #ifdef HAVE_NETINET_IN_H
16853 #include <netinet/in.h>
16854 #endif
16855 #ifdef HAVE_NETINET_IP_VAR_H
16856 #include <netinet/ip_var.h>
16857 #endif
16858 #ifdef HAVE_NETINET_UDP_H
16859 #include <netinet/udp.h>
16860 #endif
16861 #ifdef HAVE_NETINET_UDP_VAR_H
16862 #include <netinet/udp_var.h>
16863 #endif
16865 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16867 cat >>confdefs.h <<_ACEOF
16868 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16869 _ACEOF
16875 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16876 #include <sys/types.h>
16877 #endif
16878 #ifdef HAVE_NET_IF_H
16879 # include <net/if.h>
16880 #endif
16882 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16886 _ACEOF
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16893 $as_echo_n "checking for timezone variable... " >&6; }
16894 if ${ac_cv_have_timezone+:} false; then :
16895 $as_echo_n "(cached) " >&6
16896 else
16897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 #include <time.h>
16901 main ()
16903 timezone = 1
16905 return 0;
16907 _ACEOF
16908 if ac_fn_c_try_link "$LINENO"; then :
16909 ac_cv_have_timezone="yes"
16910 else
16911 ac_cv_have_timezone="no"
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16917 $as_echo "$ac_cv_have_timezone" >&6; }
16918 if test "$ac_cv_have_timezone" = "yes"
16919 then
16921 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16925 $as_echo_n "checking for daylight variable... " >&6; }
16926 if ${ac_cv_have_daylight+:} false; then :
16927 $as_echo_n "(cached) " >&6
16928 else
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <time.h>
16933 main ()
16935 daylight = 1
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"; then :
16941 ac_cv_have_daylight="yes"
16942 else
16943 ac_cv_have_daylight="no"
16945 rm -f core conftest.err conftest.$ac_objext \
16946 conftest$ac_exeext conftest.$ac_ext
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16949 $as_echo "$ac_cv_have_daylight" >&6; }
16950 if test "$ac_cv_have_daylight" = "yes"
16951 then
16953 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16957 ac_save_LIBS="$LIBS"
16958 LIBS="$LIBS -lm"
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16960 $as_echo_n "checking for isfinite... " >&6; }
16961 if ${ac_cv_have_isfinite+:} false; then :
16962 $as_echo_n "(cached) " >&6
16963 else
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #define _GNU_SOURCE
16967 #include <math.h>
16969 main ()
16971 float f = 0.0; return isfinite(f)
16973 return 0;
16975 _ACEOF
16976 if ac_fn_c_try_link "$LINENO"; then :
16977 ac_cv_have_isfinite="yes"
16978 else
16979 ac_cv_have_isfinite="no"
16981 rm -f core conftest.err conftest.$ac_objext \
16982 conftest$ac_exeext conftest.$ac_ext
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16985 $as_echo "$ac_cv_have_isfinite" >&6; }
16986 if test "$ac_cv_have_isfinite" = "yes"
16987 then
16989 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16994 $as_echo_n "checking for isinf... " >&6; }
16995 if ${ac_cv_have_isinf+:} false; then :
16996 $as_echo_n "(cached) " >&6
16997 else
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17000 #include <math.h>
17002 main ()
17004 float f = 0.0; return isinf(f)
17006 return 0;
17008 _ACEOF
17009 if ac_fn_c_try_link "$LINENO"; then :
17010 ac_cv_have_isinf="yes"
17011 else
17012 ac_cv_have_isinf="no"
17014 rm -f core conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17018 $as_echo "$ac_cv_have_isinf" >&6; }
17019 if test "$ac_cv_have_isinf" = "yes"
17020 then
17022 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17027 $as_echo_n "checking for isnan... " >&6; }
17028 if ${ac_cv_have_isnan+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 #include <math.h>
17035 main ()
17037 float f = 0.0; return isnan(f)
17039 return 0;
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_have_isnan="yes"
17044 else
17045 ac_cv_have_isnan="no"
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17051 $as_echo "$ac_cv_have_isnan" >&6; }
17052 if test "$ac_cv_have_isnan" = "yes"
17053 then
17055 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17059 for ac_func in \
17060 asinh \
17061 asinhf \
17062 cbrt \
17063 cbrtf \
17064 erf \
17065 erff \
17066 exp2 \
17067 exp2f \
17068 lgamma \
17069 lgammaf \
17070 llrint \
17071 llrintf \
17072 llround \
17073 llroundf \
17074 log2 \
17075 log2f \
17076 lrint \
17077 lrintf \
17078 lround \
17079 lroundf \
17080 powl \
17081 remainder \
17082 remainderf \
17083 rint \
17084 rintf \
17085 round \
17086 roundf \
17087 trunc \
17088 truncf
17090 do :
17091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17093 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17094 cat >>confdefs.h <<_ACEOF
17095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17096 _ACEOF
17099 done
17101 LIBS="$ac_save_LIBS"
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17104 $as_echo_n "checking for __builtin_clz... " >&6; }
17105 if ${ac_cv_have___builtin_clz+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17112 main ()
17114 return __builtin_clz(1)
17116 return 0;
17118 _ACEOF
17119 if ac_fn_c_try_link "$LINENO"; then :
17120 ac_cv_have___builtin_clz="yes"
17121 else
17122 ac_cv_have___builtin_clz="no"
17124 rm -f core conftest.err conftest.$ac_objext \
17125 conftest$ac_exeext conftest.$ac_ext
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17128 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17129 if test "$ac_cv_have___builtin_clz" = "yes"
17130 then
17132 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17137 $as_echo_n "checking for __builtin_popcount... " >&6; }
17138 if ${ac_cv_have___builtin_popcount+:} false; then :
17139 $as_echo_n "(cached) " >&6
17140 else
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17145 main ()
17147 return __builtin_popcount(1)
17149 return 0;
17151 _ACEOF
17152 if ac_fn_c_try_link "$LINENO"; then :
17153 ac_cv_have___builtin_popcount="yes"
17154 else
17155 ac_cv_have___builtin_popcount="no"
17157 rm -f core conftest.err conftest.$ac_objext \
17158 conftest$ac_exeext conftest.$ac_ext
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17161 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17162 if test "$ac_cv_have___builtin_popcount" = "yes"
17163 then
17165 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17170 case $host_cpu in
17171 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17172 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17173 if ${ac_cv_cpp_def___i386__+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178 #ifndef __i386__
17180 #endif
17181 _ACEOF
17182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17183 $EGREP "yes" >/dev/null 2>&1; then :
17184 ac_cv_cpp_def___i386__=yes
17185 else
17186 ac_cv_cpp_def___i386__=no
17188 rm -f conftest*
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17192 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17193 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17194 CFLAGS="$CFLAGS -D__i386__"
17195 LINTFLAGS="$LINTFLAGS -D__i386__"
17196 fi ;;
17197 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17198 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17199 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17200 $as_echo_n "(cached) " >&6
17201 else
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 #ifndef __x86_64__
17206 #endif
17207 _ACEOF
17208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17209 $EGREP "yes" >/dev/null 2>&1; then :
17210 ac_cv_cpp_def___x86_64__=yes
17211 else
17212 ac_cv_cpp_def___x86_64__=no
17214 rm -f conftest*
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17218 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17219 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17220 CFLAGS="$CFLAGS -D__x86_64__"
17221 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17222 fi ;;
17223 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17224 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17225 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 #ifndef __sparc64__
17232 #endif
17233 _ACEOF
17234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17235 $EGREP "yes" >/dev/null 2>&1; then :
17236 ac_cv_cpp_def___sparc64__=yes
17237 else
17238 ac_cv_cpp_def___sparc64__=no
17240 rm -f conftest*
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17244 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17245 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17246 CFLAGS="$CFLAGS -D__sparc64__"
17247 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17248 fi ;;
17249 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17250 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17251 if ${ac_cv_cpp_def___sparc__+:} false; then :
17252 $as_echo_n "(cached) " >&6
17253 else
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 #ifndef __sparc__
17258 #endif
17259 _ACEOF
17260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17261 $EGREP "yes" >/dev/null 2>&1; then :
17262 ac_cv_cpp_def___sparc__=yes
17263 else
17264 ac_cv_cpp_def___sparc__=no
17266 rm -f conftest*
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17270 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17271 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17272 CFLAGS="$CFLAGS -D__sparc__"
17273 LINTFLAGS="$LINTFLAGS -D__sparc__"
17274 fi ;;
17275 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17276 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17277 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 #ifndef __powerpc64__
17284 #endif
17285 _ACEOF
17286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17287 $EGREP "yes" >/dev/null 2>&1; then :
17288 ac_cv_cpp_def___powerpc64__=yes
17289 else
17290 ac_cv_cpp_def___powerpc64__=no
17292 rm -f conftest*
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17296 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17297 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17298 CFLAGS="$CFLAGS -D__powerpc64__"
17299 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17300 fi ;;
17301 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17302 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17303 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #ifndef __powerpc__
17310 #endif
17311 _ACEOF
17312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17313 $EGREP "yes" >/dev/null 2>&1; then :
17314 ac_cv_cpp_def___powerpc__=yes
17315 else
17316 ac_cv_cpp_def___powerpc__=no
17318 rm -f conftest*
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17322 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17323 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17324 CFLAGS="$CFLAGS -D__powerpc__"
17325 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17326 fi ;;
17327 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17328 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17329 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17330 $as_echo_n "(cached) " >&6
17331 else
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 #ifndef __aarch64__
17336 #endif
17337 _ACEOF
17338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17339 $EGREP "yes" >/dev/null 2>&1; then :
17340 ac_cv_cpp_def___aarch64__=yes
17341 else
17342 ac_cv_cpp_def___aarch64__=no
17344 rm -f conftest*
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17348 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17349 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17350 CFLAGS="$CFLAGS -D__aarch64__"
17351 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17352 fi ;;
17353 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17354 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17355 if ${ac_cv_cpp_def___arm__+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #ifndef __arm__
17362 #endif
17363 _ACEOF
17364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17365 $EGREP "yes" >/dev/null 2>&1; then :
17366 ac_cv_cpp_def___arm__=yes
17367 else
17368 ac_cv_cpp_def___arm__=no
17370 rm -f conftest*
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17374 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17375 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17376 CFLAGS="$CFLAGS -D__arm__"
17377 LINTFLAGS="$LINTFLAGS -D__arm__"
17378 fi ;;
17379 esac
17381 case $host_vendor in
17382 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17383 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17384 if ${ac_cv_cpp_def___sun__+:} false; then :
17385 $as_echo_n "(cached) " >&6
17386 else
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17389 #ifndef __sun__
17391 #endif
17392 _ACEOF
17393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17394 $EGREP "yes" >/dev/null 2>&1; then :
17395 ac_cv_cpp_def___sun__=yes
17396 else
17397 ac_cv_cpp_def___sun__=no
17399 rm -f conftest*
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17403 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17404 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17405 CFLAGS="$CFLAGS -D__sun__"
17406 LINTFLAGS="$LINTFLAGS -D__sun__"
17407 fi ;;
17408 esac
17414 ac_config_commands="$ac_config_commands include/stamp-h"
17416 $as_echo_n "creating Makefile rules..." >&6
17418 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17419 SOCKET_LIBS = $SOCKET_LIBS
17420 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17421 IOKIT_LIBS = $IOKIT_LIBS
17422 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17423 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17424 CORESERVICES_LIBS = $CORESERVICES_LIBS
17425 APPKIT_LIBS = $APPKIT_LIBS
17426 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17427 SECURITY_LIBS = $SECURITY_LIBS
17428 COREAUDIO_LIBS = $COREAUDIO_LIBS
17429 OPENAL_LIBS = $OPENAL_LIBS
17430 OPENCL_LIBS = $OPENCL_LIBS
17431 QUICKTIME_LIBS = $QUICKTIME_LIBS
17432 CARBON_LIBS = $CARBON_LIBS
17433 PTHREAD_LIBS = $PTHREAD_LIBS
17434 X_CFLAGS = $X_CFLAGS
17435 X_PRE_LIBS = $X_PRE_LIBS
17436 X_LIBS = $X_LIBS
17437 X_EXTRA_LIBS = $X_EXTRA_LIBS
17438 PCAP_LIBS = $PCAP_LIBS
17439 XML2_CFLAGS = $XML2_CFLAGS
17440 XML2_LIBS = $XML2_LIBS
17441 XSLT_CFLAGS = $XSLT_CFLAGS
17442 XSLT_LIBS = $XSLT_LIBS
17443 DBUS_CFLAGS = $DBUS_CFLAGS
17444 DBUS_LIBS = $DBUS_LIBS
17445 HAL_CFLAGS = $HAL_CFLAGS
17446 HAL_LIBS = $HAL_LIBS
17447 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17448 GNUTLS_LIBS = $GNUTLS_LIBS
17449 SANE_CFLAGS = $SANE_CFLAGS
17450 SANE_LIBS = $SANE_LIBS
17451 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17452 GPHOTO2_LIBS = $GPHOTO2_LIBS
17453 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17454 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17455 RESOLV_LIBS = $RESOLV_LIBS
17456 LCMS2_CFLAGS = $LCMS2_CFLAGS
17457 LCMS2_LIBS = $LCMS2_LIBS
17458 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17459 FREETYPE_LIBS = $FREETYPE_LIBS
17460 Z_LIBS = $Z_LIBS
17461 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17462 PULSE_CFLAGS = $PULSE_CFLAGS
17463 PULSE_LIBS = $PULSE_LIBS
17464 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17465 GSTREAMER_LIBS = $GSTREAMER_LIBS
17466 ALSA_LIBS = $ALSA_LIBS
17467 OSS4_CFLAGS = $OSS4_CFLAGS
17468 UDEV_CFLAGS = $UDEV_CFLAGS
17469 UDEV_LIBS = $UDEV_LIBS
17470 CAPI20_CFLAGS = $CAPI20_CFLAGS
17471 CAPI20_LIBS = $CAPI20_LIBS
17472 CUPS_CFLAGS = $CUPS_CFLAGS
17473 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17474 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17475 JPEG_CFLAGS = $JPEG_CFLAGS
17476 JPEG_LIBS = $JPEG_LIBS
17477 PNG_CFLAGS = $PNG_CFLAGS
17478 PNG_LIBS = $PNG_LIBS
17479 TIFF_CFLAGS = $TIFF_CFLAGS
17480 TIFF_LIBS = $TIFF_LIBS
17481 MPG123_CFLAGS = $MPG123_CFLAGS
17482 MPG123_LIBS = $MPG123_LIBS
17483 KSTAT_LIBS = $KSTAT_LIBS
17484 PROCSTAT_LIBS = $PROCSTAT_LIBS
17485 NETAPI_CFLAGS = $NETAPI_CFLAGS
17486 NETAPI_LIBS = $NETAPI_LIBS
17487 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17488 DL_LIBS = $DL_LIBS
17489 POLL_LIBS = $POLL_LIBS
17490 RT_LIBS = $RT_LIBS
17491 LDAP_LIBS = $LDAP_LIBS
17496 wine_fn_append_rule "
17497 # Rules automatically generated by configure
17499 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17501 .INIT: Makefile
17502 .MAKEFILEDEPS:
17503 all: Makefile
17504 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17505 @./config.status Make.tmp Makefile
17506 depend: \$(MAKEDEP) dummy
17507 \$(MAKEDEP)"
17509 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17510 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17512 if test "x$enable_fonts" != xno; then
17513 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17514 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17515 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17516 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17517 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17518 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17520 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17521 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17522 ac_config_links="$ac_config_links wine:tools/winewrapper"
17523 wine_fn_config_symlink wine
17524 if test "x$enable_win64" != xno; then
17525 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17526 wine_fn_config_symlink wine64
17529 wine_fn_config_dll acledit enable_acledit
17530 wine_fn_config_dll aclui enable_aclui implib
17531 wine_fn_config_dll activeds enable_activeds implib
17532 wine_fn_config_dll actxprxy enable_actxprxy clean
17533 wine_fn_config_lib adsiid
17534 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17535 wine_fn_config_test dlls/advapi32/tests advapi32_test
17536 wine_fn_config_dll advpack enable_advpack implib
17537 wine_fn_config_test dlls/advpack/tests advpack_test
17538 wine_fn_config_dll amstream enable_amstream clean
17539 wine_fn_config_test dlls/amstream/tests amstream_test
17540 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17541 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17542 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17543 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17544 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17545 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17546 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17547 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17548 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17549 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17550 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17551 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17553 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17554 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17555 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17556 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17557 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17558 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17559 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17560 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17561 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17564 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17567 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17568 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17570 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17573 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17576 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17578 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17579 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17580 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17581 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17584 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17585 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17588 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17592 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17594 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17596 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17597 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17604 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17609 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17615 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17616 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17618 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17627 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17632 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17633 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17634 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17635 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17636 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17637 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17638 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17639 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17640 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17641 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17642 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17643 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17644 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17645 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17646 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17647 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17648 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17649 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17650 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17651 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17652 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17653 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17654 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17655 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17656 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17657 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17658 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17659 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17660 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17661 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17662 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17663 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17664 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17665 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17666 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17667 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17668 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17669 wine_fn_config_dll apphelp enable_apphelp
17670 wine_fn_config_test dlls/apphelp/tests apphelp_test
17671 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17672 wine_fn_config_dll atl enable_atl clean,implib
17673 wine_fn_config_test dlls/atl/tests atl_test
17674 wine_fn_config_dll atl100 enable_atl100 clean,implib
17675 wine_fn_config_test dlls/atl100/tests atl100_test
17676 wine_fn_config_dll atl110 enable_atl110 clean
17677 wine_fn_config_dll atl80 enable_atl80 clean,implib
17678 wine_fn_config_test dlls/atl80/tests atl80_test
17679 wine_fn_config_dll atl90 enable_atl90 clean
17680 wine_fn_config_dll authz enable_authz
17681 wine_fn_config_dll avicap32 enable_avicap32 implib
17682 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17683 wine_fn_config_test dlls/avifil32/tests avifil32_test
17684 wine_fn_config_dll avifile.dll16 enable_win16
17685 wine_fn_config_dll avrt enable_avrt implib
17686 wine_fn_config_dll bcrypt enable_bcrypt implib
17687 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17688 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17689 wine_fn_config_dll browseui enable_browseui clean
17690 wine_fn_config_test dlls/browseui/tests browseui_test
17691 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17692 wine_fn_config_dll cabinet enable_cabinet implib
17693 wine_fn_config_test dlls/cabinet/tests cabinet_test
17694 wine_fn_config_dll capi2032 enable_capi2032 implib
17695 wine_fn_config_dll cards enable_cards implib
17696 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17697 wine_fn_config_dll clusapi enable_clusapi implib
17698 wine_fn_config_dll combase enable_combase
17699 wine_fn_config_test dlls/combase/tests combase_test
17700 wine_fn_config_dll comcat enable_comcat
17701 wine_fn_config_test dlls/comcat/tests comcat_test
17702 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17703 wine_fn_config_test dlls/comctl32/tests comctl32_test
17704 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17705 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17706 wine_fn_config_dll comm.drv16 enable_win16
17707 wine_fn_config_dll commdlg.dll16 enable_win16
17708 wine_fn_config_dll compobj.dll16 enable_win16
17709 wine_fn_config_dll compstui enable_compstui implib
17710 wine_fn_config_dll comsvcs enable_comsvcs implib
17711 wine_fn_config_dll concrt140 enable_concrt140
17712 wine_fn_config_dll connect enable_connect
17713 wine_fn_config_dll credui enable_credui clean,implib
17714 wine_fn_config_test dlls/credui/tests credui_test
17715 wine_fn_config_dll crtdll enable_crtdll
17716 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17717 wine_fn_config_test dlls/crypt32/tests crypt32_test
17718 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17719 wine_fn_config_dll cryptdll enable_cryptdll implib
17720 wine_fn_config_dll cryptext enable_cryptext
17721 wine_fn_config_dll cryptnet enable_cryptnet implib
17722 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17723 wine_fn_config_dll cryptui enable_cryptui clean,implib
17724 wine_fn_config_test dlls/cryptui/tests cryptui_test
17725 wine_fn_config_dll ctapi32 enable_ctapi32
17726 wine_fn_config_dll ctl3d.dll16 enable_win16
17727 wine_fn_config_dll ctl3d32 enable_ctl3d32
17728 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17729 wine_fn_config_dll d2d1 enable_d2d1 implib
17730 wine_fn_config_test dlls/d2d1/tests d2d1_test
17731 wine_fn_config_dll d3d10 enable_d3d10 implib
17732 wine_fn_config_test dlls/d3d10/tests d3d10_test
17733 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17734 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17735 wine_fn_config_dll d3d10core enable_d3d10core implib
17736 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17737 wine_fn_config_dll d3d11 enable_d3d11 implib
17738 wine_fn_config_test dlls/d3d11/tests d3d11_test
17739 wine_fn_config_dll d3d8 enable_d3d8 implib
17740 wine_fn_config_test dlls/d3d8/tests d3d8_test
17741 wine_fn_config_dll d3d9 enable_d3d9 implib
17742 wine_fn_config_test dlls/d3d9/tests d3d9_test
17743 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17744 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17745 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17746 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17747 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17748 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17749 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17750 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17751 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17752 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17753 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17754 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17755 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17756 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17757 wine_fn_config_dll d3dim enable_d3dim
17758 wine_fn_config_dll d3drm enable_d3drm implib
17759 wine_fn_config_test dlls/d3drm/tests d3drm_test
17760 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17761 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17762 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17763 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17764 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17765 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17766 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17767 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17768 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17769 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17770 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17771 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17772 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17773 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17774 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17775 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17776 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17777 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17778 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17779 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17780 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17781 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17782 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17783 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17784 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17785 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17786 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17787 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17788 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17789 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17790 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17791 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17792 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17793 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17794 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17795 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17796 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17797 wine_fn_config_dll davclnt enable_davclnt
17798 wine_fn_config_dll dbgeng enable_dbgeng implib
17799 wine_fn_config_dll dbghelp enable_dbghelp implib
17800 wine_fn_config_dll dciman32 enable_dciman32 implib
17801 wine_fn_config_dll ddeml.dll16 enable_win16
17802 wine_fn_config_dll ddraw enable_ddraw clean,implib
17803 wine_fn_config_test dlls/ddraw/tests ddraw_test
17804 wine_fn_config_dll ddrawex enable_ddrawex clean
17805 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17806 wine_fn_config_dll devenum enable_devenum clean
17807 wine_fn_config_test dlls/devenum/tests devenum_test
17808 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17809 wine_fn_config_dll difxapi enable_difxapi
17810 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17811 wine_fn_config_test dlls/dinput/tests dinput_test
17812 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17813 wine_fn_config_test dlls/dinput8/tests dinput8_test
17814 wine_fn_config_dll dispdib.dll16 enable_win16
17815 wine_fn_config_dll dispex enable_dispex clean
17816 wine_fn_config_test dlls/dispex/tests dispex_test
17817 wine_fn_config_dll display.drv16 enable_win16
17818 wine_fn_config_dll dmband enable_dmband clean
17819 wine_fn_config_test dlls/dmband/tests dmband_test
17820 wine_fn_config_dll dmcompos enable_dmcompos clean
17821 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17822 wine_fn_config_dll dmime enable_dmime clean
17823 wine_fn_config_test dlls/dmime/tests dmime_test
17824 wine_fn_config_dll dmloader enable_dmloader clean
17825 wine_fn_config_test dlls/dmloader/tests dmloader_test
17826 wine_fn_config_dll dmscript enable_dmscript clean
17827 wine_fn_config_test dlls/dmscript/tests dmscript_test
17828 wine_fn_config_dll dmstyle enable_dmstyle clean
17829 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17830 wine_fn_config_dll dmsynth enable_dmsynth clean
17831 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17832 wine_fn_config_dll dmusic enable_dmusic clean
17833 wine_fn_config_test dlls/dmusic/tests dmusic_test
17834 wine_fn_config_dll dmusic32 enable_dmusic32
17835 wine_fn_config_dll dnsapi enable_dnsapi implib
17836 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17837 wine_fn_config_dll dplay enable_dplay
17838 wine_fn_config_dll dplayx enable_dplayx clean,implib
17839 wine_fn_config_test dlls/dplayx/tests dplayx_test
17840 wine_fn_config_dll dpnaddr enable_dpnaddr
17841 wine_fn_config_dll dpnet enable_dpnet clean,implib
17842 wine_fn_config_test dlls/dpnet/tests dpnet_test
17843 wine_fn_config_dll dpnhpast enable_dpnhpast
17844 wine_fn_config_dll dpnlobby enable_dpnlobby
17845 wine_fn_config_dll dpvoice enable_dpvoice clean
17846 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17847 wine_fn_config_dll dpwsockx enable_dpwsockx
17848 wine_fn_config_dll drmclien enable_drmclien
17849 wine_fn_config_dll dsound enable_dsound clean,implib
17850 wine_fn_config_test dlls/dsound/tests dsound_test
17851 wine_fn_config_dll dssenh enable_dssenh
17852 wine_fn_config_test dlls/dssenh/tests dssenh_test
17853 wine_fn_config_dll dswave enable_dswave clean
17854 wine_fn_config_test dlls/dswave/tests dswave_test
17855 wine_fn_config_dll dwmapi enable_dwmapi implib
17856 wine_fn_config_dll dwrite enable_dwrite implib
17857 wine_fn_config_test dlls/dwrite/tests dwrite_test
17858 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17859 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17860 wine_fn_config_lib dxerr8
17861 wine_fn_config_lib dxerr9
17862 wine_fn_config_dll dxgi enable_dxgi implib
17863 wine_fn_config_test dlls/dxgi/tests dxgi_test
17864 wine_fn_config_lib dxguid
17865 wine_fn_config_dll dxva2 enable_dxva2
17866 wine_fn_config_dll esent enable_esent
17867 wine_fn_config_dll evr enable_evr
17868 wine_fn_config_dll explorerframe enable_explorerframe clean
17869 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17870 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17871 wine_fn_config_dll faultrep enable_faultrep implib
17872 wine_fn_config_test dlls/faultrep/tests faultrep_test
17873 wine_fn_config_dll fltlib enable_fltlib
17874 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17875 wine_fn_config_dll fntcache enable_fntcache
17876 wine_fn_config_dll fontsub enable_fontsub
17877 wine_fn_config_dll fusion enable_fusion
17878 wine_fn_config_test dlls/fusion/tests fusion_test
17879 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17880 wine_fn_config_dll gameux enable_gameux clean
17881 wine_fn_config_test dlls/gameux/tests gameux_test
17882 wine_fn_config_dll gdi.exe16 enable_win16
17883 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17884 wine_fn_config_test dlls/gdi32/tests gdi32_test
17885 wine_fn_config_dll gdiplus enable_gdiplus implib
17886 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17887 wine_fn_config_dll glu32 enable_glu32 implib
17888 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17889 wine_fn_config_dll gpkcsp enable_gpkcsp
17890 wine_fn_config_dll hal enable_hal
17891 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17892 wine_fn_config_dll hid enable_hid implib
17893 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17894 wine_fn_config_dll hlink enable_hlink clean,implib
17895 wine_fn_config_test dlls/hlink/tests hlink_test
17896 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17897 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17898 wine_fn_config_dll httpapi enable_httpapi
17899 wine_fn_config_dll iccvid enable_iccvid clean
17900 wine_fn_config_dll icmp enable_icmp
17901 wine_fn_config_dll ieframe enable_ieframe clean,implib
17902 wine_fn_config_test dlls/ieframe/tests ieframe_test
17903 wine_fn_config_dll ifsmgr.vxd enable_win16
17904 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17905 wine_fn_config_dll imagehlp enable_imagehlp implib
17906 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17907 wine_fn_config_dll imm.dll16 enable_win16
17908 wine_fn_config_dll imm32 enable_imm32 implib
17909 wine_fn_config_test dlls/imm32/tests imm32_test
17910 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17911 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17912 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17913 wine_fn_config_dll inetmib1 enable_inetmib1
17914 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17915 wine_fn_config_dll infosoft enable_infosoft clean
17916 wine_fn_config_test dlls/infosoft/tests infosoft_test
17917 wine_fn_config_dll initpki enable_initpki
17918 wine_fn_config_dll inkobj enable_inkobj
17919 wine_fn_config_dll inseng enable_inseng clean
17920 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17921 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17922 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17923 wine_fn_config_dll itircl enable_itircl
17924 wine_fn_config_dll itss enable_itss clean
17925 wine_fn_config_test dlls/itss/tests itss_test
17926 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17927 wine_fn_config_dll jscript enable_jscript clean
17928 wine_fn_config_test dlls/jscript/tests jscript_test
17929 wine_fn_config_dll jsproxy enable_jsproxy implib
17930 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17931 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17932 wine_fn_config_test dlls/kernel32/tests kernel32_test
17933 wine_fn_config_dll kernelbase enable_kernelbase
17934 wine_fn_config_dll keyboard.drv16 enable_win16
17935 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17936 wine_fn_config_dll ksuser enable_ksuser
17937 wine_fn_config_dll ktmw32 enable_ktmw32
17938 wine_fn_config_dll loadperf enable_loadperf implib
17939 wine_fn_config_dll localspl enable_localspl clean
17940 wine_fn_config_test dlls/localspl/tests localspl_test
17941 wine_fn_config_dll localui enable_localui clean
17942 wine_fn_config_test dlls/localui/tests localui_test
17943 wine_fn_config_dll lz32 enable_lz32 implib
17944 wine_fn_config_test dlls/lz32/tests lz32_test
17945 wine_fn_config_dll lzexpand.dll16 enable_win16
17946 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17947 wine_fn_config_test dlls/mapi32/tests mapi32_test
17948 wine_fn_config_dll mapistub enable_mapistub
17949 wine_fn_config_dll mciavi32 enable_mciavi32
17950 wine_fn_config_dll mcicda enable_mcicda
17951 wine_fn_config_dll mciqtz32 enable_mciqtz32
17952 wine_fn_config_dll mciseq enable_mciseq
17953 wine_fn_config_dll mciwave enable_mciwave
17954 wine_fn_config_dll mf enable_mf
17955 wine_fn_config_dll mfplat enable_mfplat
17956 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17957 wine_fn_config_dll mgmtapi enable_mgmtapi
17958 wine_fn_config_dll midimap enable_midimap
17959 wine_fn_config_dll mlang enable_mlang clean,implib
17960 wine_fn_config_test dlls/mlang/tests mlang_test
17961 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17962 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17963 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17964 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17965 wine_fn_config_dll mmdevldr.vxd enable_win16
17966 wine_fn_config_dll mmsystem.dll16 enable_win16
17967 wine_fn_config_dll monodebg.vxd enable_win16
17968 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17969 wine_fn_config_dll mouse.drv16 enable_win16
17970 wine_fn_config_dll mpr enable_mpr clean,implib
17971 wine_fn_config_test dlls/mpr/tests mpr_test
17972 wine_fn_config_dll mprapi enable_mprapi implib
17973 wine_fn_config_dll msacm.dll16 enable_win16
17974 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17975 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17976 wine_fn_config_test dlls/msacm32/tests msacm32_test
17977 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17978 wine_fn_config_dll msasn1 enable_msasn1 implib
17979 wine_fn_config_dll mscat32 enable_mscat32
17980 wine_fn_config_dll mscms enable_mscms implib
17981 wine_fn_config_test dlls/mscms/tests mscms_test
17982 wine_fn_config_dll mscoree enable_mscoree clean
17983 wine_fn_config_test dlls/mscoree/tests mscoree_test
17984 wine_fn_config_dll msctf enable_msctf clean
17985 wine_fn_config_test dlls/msctf/tests msctf_test
17986 wine_fn_config_dll msctfp enable_msctfp clean
17987 wine_fn_config_dll msdaps enable_msdaps clean
17988 wine_fn_config_dll msdelta enable_msdelta
17989 wine_fn_config_dll msdmo enable_msdmo implib
17990 wine_fn_config_test dlls/msdmo/tests msdmo_test
17991 wine_fn_config_dll msdrm enable_msdrm
17992 wine_fn_config_dll msftedit enable_msftedit
17993 wine_fn_config_dll msg711.acm enable_msg711_acm
17994 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17995 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17996 wine_fn_config_dll mshtml enable_mshtml clean,implib
17997 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17998 wine_fn_config_dll msi enable_msi clean,implib
17999 wine_fn_config_test dlls/msi/tests msi_test
18000 wine_fn_config_dll msident enable_msident clean
18001 wine_fn_config_dll msimg32 enable_msimg32 implib
18002 wine_fn_config_dll msimsg enable_msimsg
18003 wine_fn_config_dll msimtf enable_msimtf clean
18004 wine_fn_config_dll msisip enable_msisip
18005 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18006 wine_fn_config_dll msls31 enable_msls31
18007 wine_fn_config_dll msnet32 enable_msnet32
18008 wine_fn_config_dll mspatcha enable_mspatcha implib
18009 wine_fn_config_dll msports enable_msports
18010 wine_fn_config_dll msrle32 enable_msrle32 clean
18011 wine_fn_config_test dlls/msrle32/tests msrle32_test
18012 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18013 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18014 wine_fn_config_dll mssign32 enable_mssign32
18015 wine_fn_config_dll mssip32 enable_mssip32
18016 wine_fn_config_dll mstask enable_mstask clean
18017 wine_fn_config_test dlls/mstask/tests mstask_test
18018 wine_fn_config_dll msvcirt enable_msvcirt
18019 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18020 wine_fn_config_dll msvcm80 enable_msvcm80
18021 wine_fn_config_dll msvcm90 enable_msvcm90
18022 wine_fn_config_dll msvcp100 enable_msvcp100
18023 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18024 wine_fn_config_dll msvcp110 enable_msvcp110
18025 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18026 wine_fn_config_dll msvcp120 enable_msvcp120
18027 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18028 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18029 wine_fn_config_dll msvcp140 enable_msvcp140
18030 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18031 wine_fn_config_dll msvcp60 enable_msvcp60
18032 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18033 wine_fn_config_dll msvcp70 enable_msvcp70
18034 wine_fn_config_dll msvcp71 enable_msvcp71
18035 wine_fn_config_dll msvcp80 enable_msvcp80
18036 wine_fn_config_dll msvcp90 enable_msvcp90
18037 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18038 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18039 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18040 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18041 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18042 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18043 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18044 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18045 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18046 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18047 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18048 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18049 wine_fn_config_dll msvcrt enable_msvcrt implib
18050 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18051 wine_fn_config_dll msvcrt20 enable_msvcrt20
18052 wine_fn_config_dll msvcrt40 enable_msvcrt40
18053 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18054 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18055 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18056 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18057 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18058 wine_fn_config_dll msvideo.dll16 enable_win16
18059 wine_fn_config_dll mswsock enable_mswsock implib
18060 wine_fn_config_dll msxml enable_msxml clean
18061 wine_fn_config_dll msxml2 enable_msxml2 clean
18062 wine_fn_config_dll msxml3 enable_msxml3 clean
18063 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18064 wine_fn_config_dll msxml4 enable_msxml4 clean
18065 wine_fn_config_dll msxml6 enable_msxml6 clean
18066 wine_fn_config_dll ncrypt enable_ncrypt
18067 wine_fn_config_dll nddeapi enable_nddeapi implib
18068 wine_fn_config_dll ndis.sys enable_ndis_sys
18069 wine_fn_config_dll netapi32 enable_netapi32 implib
18070 wine_fn_config_test dlls/netapi32/tests netapi32_test
18071 wine_fn_config_dll netcfgx enable_netcfgx clean
18072 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18073 wine_fn_config_dll netprofm enable_netprofm clean
18074 wine_fn_config_test dlls/netprofm/tests netprofm_test
18075 wine_fn_config_dll newdev enable_newdev implib
18076 wine_fn_config_dll normaliz enable_normaliz implib
18077 wine_fn_config_dll npmshtml enable_npmshtml
18078 wine_fn_config_dll npptools enable_npptools
18079 wine_fn_config_dll ntdll enable_ntdll implib
18080 wine_fn_config_test dlls/ntdll/tests ntdll_test
18081 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18082 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18083 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18084 wine_fn_config_dll ntprint enable_ntprint
18085 wine_fn_config_test dlls/ntprint/tests ntprint_test
18086 wine_fn_config_dll objsel enable_objsel clean
18087 wine_fn_config_dll odbc32 enable_odbc32 implib
18088 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18089 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18090 wine_fn_config_dll odbccu32 enable_odbccu32
18091 wine_fn_config_dll ole2.dll16 enable_win16
18092 wine_fn_config_dll ole2conv.dll16 enable_win16
18093 wine_fn_config_dll ole2disp.dll16 enable_win16
18094 wine_fn_config_dll ole2nls.dll16 enable_win16
18095 wine_fn_config_dll ole2prox.dll16 enable_win16
18096 wine_fn_config_dll ole2thk.dll16 enable_win16
18097 wine_fn_config_dll ole32 enable_ole32 clean,implib
18098 wine_fn_config_test dlls/ole32/tests ole32_test
18099 wine_fn_config_dll oleacc enable_oleacc clean,implib
18100 wine_fn_config_test dlls/oleacc/tests oleacc_test
18101 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18102 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18103 wine_fn_config_dll olecli.dll16 enable_win16
18104 wine_fn_config_dll olecli32 enable_olecli32 implib
18105 wine_fn_config_dll oledb32 enable_oledb32 clean
18106 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18107 wine_fn_config_dll oledlg enable_oledlg clean,implib
18108 wine_fn_config_test dlls/oledlg/tests oledlg_test
18109 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18110 wine_fn_config_dll olesvr.dll16 enable_win16
18111 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18112 wine_fn_config_dll olethk32 enable_olethk32
18113 wine_fn_config_dll openal32 enable_openal32
18114 wine_fn_config_dll opencl enable_opencl
18115 wine_fn_config_dll opengl32 enable_opengl32 implib
18116 wine_fn_config_test dlls/opengl32/tests opengl32_test
18117 wine_fn_config_dll packager enable_packager clean
18118 wine_fn_config_test dlls/packager/tests packager_test
18119 wine_fn_config_dll pdh enable_pdh implib
18120 wine_fn_config_test dlls/pdh/tests pdh_test
18121 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18122 wine_fn_config_dll pidgen enable_pidgen
18123 wine_fn_config_dll powrprof enable_powrprof implib
18124 wine_fn_config_dll printui enable_printui
18125 wine_fn_config_dll prntvpt enable_prntvpt
18126 wine_fn_config_dll propsys enable_propsys clean,implib
18127 wine_fn_config_test dlls/propsys/tests propsys_test
18128 wine_fn_config_dll psapi enable_psapi implib
18129 wine_fn_config_test dlls/psapi/tests psapi_test
18130 wine_fn_config_dll pstorec enable_pstorec clean
18131 wine_fn_config_dll qcap enable_qcap
18132 wine_fn_config_test dlls/qcap/tests qcap_test
18133 wine_fn_config_dll qedit enable_qedit clean
18134 wine_fn_config_test dlls/qedit/tests qedit_test
18135 wine_fn_config_dll qmgr enable_qmgr clean
18136 wine_fn_config_test dlls/qmgr/tests qmgr_test
18137 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18138 wine_fn_config_dll quartz enable_quartz clean,implib
18139 wine_fn_config_test dlls/quartz/tests quartz_test clean
18140 wine_fn_config_dll query enable_query
18141 wine_fn_config_dll rasapi16.dll16 enable_win16
18142 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18143 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18144 wine_fn_config_dll rasdlg enable_rasdlg implib
18145 wine_fn_config_dll regapi enable_regapi
18146 wine_fn_config_dll resutils enable_resutils implib
18147 wine_fn_config_dll riched20 enable_riched20 clean,implib
18148 wine_fn_config_test dlls/riched20/tests riched20_test
18149 wine_fn_config_dll riched32 enable_riched32
18150 wine_fn_config_test dlls/riched32/tests riched32_test
18151 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18152 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18153 wine_fn_config_dll rsabase enable_rsabase
18154 wine_fn_config_dll rsaenh enable_rsaenh implib
18155 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18156 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18157 wine_fn_config_dll rtutils enable_rtutils implib
18158 wine_fn_config_dll samlib enable_samlib
18159 wine_fn_config_dll sane.ds enable_sane_ds clean
18160 wine_fn_config_dll scarddlg enable_scarddlg
18161 wine_fn_config_dll sccbase enable_sccbase
18162 wine_fn_config_dll schannel enable_schannel
18163 wine_fn_config_test dlls/schannel/tests schannel_test
18164 wine_fn_config_dll schedsvc enable_schedsvc clean
18165 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18166 wine_fn_config_dll scrrun enable_scrrun clean
18167 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18168 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18169 wine_fn_config_dll secur32 enable_secur32 implib
18170 wine_fn_config_test dlls/secur32/tests secur32_test
18171 wine_fn_config_dll security enable_security
18172 wine_fn_config_dll sensapi enable_sensapi implib
18173 wine_fn_config_dll serialui enable_serialui clean
18174 wine_fn_config_test dlls/serialui/tests serialui_test
18175 wine_fn_config_dll setupapi enable_setupapi clean,implib
18176 wine_fn_config_test dlls/setupapi/tests setupapi_test
18177 wine_fn_config_dll setupx.dll16 enable_win16
18178 wine_fn_config_dll sfc enable_sfc implib
18179 wine_fn_config_dll sfc_os enable_sfc_os implib
18180 wine_fn_config_dll shdoclc enable_shdoclc clean
18181 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18182 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18183 wine_fn_config_dll shell.dll16 enable_win16
18184 wine_fn_config_dll shell32 enable_shell32 clean,implib
18185 wine_fn_config_test dlls/shell32/tests shell32_test
18186 wine_fn_config_dll shfolder enable_shfolder implib
18187 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18188 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18189 wine_fn_config_dll slbcsp enable_slbcsp
18190 wine_fn_config_dll slc enable_slc implib
18191 wine_fn_config_test dlls/slc/tests slc_test
18192 wine_fn_config_dll snmpapi enable_snmpapi implib
18193 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18194 wine_fn_config_dll softpub enable_softpub
18195 wine_fn_config_dll sound.drv16 enable_win16
18196 wine_fn_config_dll spoolss enable_spoolss implib
18197 wine_fn_config_test dlls/spoolss/tests spoolss_test
18198 wine_fn_config_dll sspicli enable_sspicli
18199 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18200 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18201 wine_fn_config_dll sti enable_sti clean,implib
18202 wine_fn_config_test dlls/sti/tests sti_test
18203 wine_fn_config_dll storage.dll16 enable_win16
18204 wine_fn_config_dll stress.dll16 enable_win16
18205 wine_fn_config_lib strmbase
18206 wine_fn_config_lib strmiids
18207 wine_fn_config_dll svrapi enable_svrapi
18208 wine_fn_config_dll sxs enable_sxs implib
18209 wine_fn_config_test dlls/sxs/tests sxs_test
18210 wine_fn_config_dll system.drv16 enable_win16
18211 wine_fn_config_dll t2embed enable_t2embed implib
18212 wine_fn_config_test dlls/t2embed/tests t2embed_test
18213 wine_fn_config_dll tapi32 enable_tapi32 implib
18214 wine_fn_config_dll taskschd enable_taskschd clean
18215 wine_fn_config_test dlls/taskschd/tests taskschd_test
18216 wine_fn_config_dll tdi.sys enable_tdi_sys
18217 wine_fn_config_dll toolhelp.dll16 enable_win16
18218 wine_fn_config_dll traffic enable_traffic
18219 wine_fn_config_dll twain.dll16 enable_win16
18220 wine_fn_config_dll twain_32 enable_twain_32
18221 wine_fn_config_test dlls/twain_32/tests twain_32_test
18222 wine_fn_config_dll typelib.dll16 enable_win16
18223 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18224 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18225 wine_fn_config_dll unicows enable_unicows implib
18226 wine_fn_config_dll updspapi enable_updspapi
18227 wine_fn_config_dll url enable_url implib
18228 wine_fn_config_dll urlmon enable_urlmon clean,implib
18229 wine_fn_config_test dlls/urlmon/tests urlmon_test
18230 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18231 wine_fn_config_dll user.exe16 enable_win16
18232 wine_fn_config_dll user32 enable_user32 clean,implib
18233 wine_fn_config_test dlls/user32/tests user32_test
18234 wine_fn_config_dll userenv enable_userenv implib
18235 wine_fn_config_test dlls/userenv/tests userenv_test
18236 wine_fn_config_dll usp10 enable_usp10 implib
18237 wine_fn_config_test dlls/usp10/tests usp10_test
18238 wine_fn_config_lib uuid
18239 wine_fn_config_dll uxtheme enable_uxtheme implib
18240 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18241 wine_fn_config_dll vbscript enable_vbscript clean
18242 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18243 wine_fn_config_dll vcomp enable_vcomp
18244 wine_fn_config_test dlls/vcomp/tests vcomp_test
18245 wine_fn_config_dll vcomp100 enable_vcomp100
18246 wine_fn_config_dll vcomp110 enable_vcomp110
18247 wine_fn_config_dll vcomp120 enable_vcomp120
18248 wine_fn_config_dll vcomp140 enable_vcomp140
18249 wine_fn_config_dll vcomp90 enable_vcomp90
18250 wine_fn_config_dll vcruntime140 enable_vcruntime140
18251 wine_fn_config_dll vdhcp.vxd enable_win16
18252 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18253 wine_fn_config_dll ver.dll16 enable_win16
18254 wine_fn_config_dll version enable_version implib
18255 wine_fn_config_test dlls/version/tests version_test
18256 wine_fn_config_dll vmm.vxd enable_win16
18257 wine_fn_config_dll vnbt.vxd enable_win16
18258 wine_fn_config_dll vnetbios.vxd enable_win16
18259 wine_fn_config_dll vssapi enable_vssapi
18260 wine_fn_config_dll vtdapi.vxd enable_win16
18261 wine_fn_config_dll vwin32.vxd enable_win16
18262 wine_fn_config_dll w32skrnl enable_win16
18263 wine_fn_config_dll w32sys.dll16 enable_win16
18264 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18265 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18266 wine_fn_config_dll wbemprox enable_wbemprox clean
18267 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18268 wine_fn_config_dll webservices enable_webservices implib
18269 wine_fn_config_test dlls/webservices/tests webservices_test
18270 wine_fn_config_dll wer enable_wer implib
18271 wine_fn_config_test dlls/wer/tests wer_test
18272 wine_fn_config_dll wevtapi enable_wevtapi
18273 wine_fn_config_dll wiaservc enable_wiaservc clean
18274 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18275 wine_fn_config_dll wimgapi enable_wimgapi
18276 wine_fn_config_dll win32s16.dll16 enable_win16
18277 wine_fn_config_dll win87em.dll16 enable_win16
18278 wine_fn_config_dll winaspi.dll16 enable_win16
18279 wine_fn_config_dll windebug.dll16 enable_win16
18280 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18281 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18282 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18283 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18284 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18285 wine_fn_config_dll winebus.sys enable_winebus_sys
18286 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18287 wine_fn_config_lib winecrt0
18288 wine_fn_config_dll wined3d enable_wined3d implib
18289 wine_fn_config_dll winegstreamer enable_winegstreamer
18290 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18291 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18292 wine_fn_config_dll winemapi enable_winemapi
18293 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18294 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18295 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18296 wine_fn_config_dll wineps16.drv16 enable_win16
18297 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18298 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18299 wine_fn_config_dll winex11.drv enable_winex11_drv
18300 wine_fn_config_dll wing.dll16 enable_win16
18301 wine_fn_config_dll wing32 enable_wing32
18302 wine_fn_config_dll winhttp enable_winhttp clean,implib
18303 wine_fn_config_test dlls/winhttp/tests winhttp_test
18304 wine_fn_config_dll wininet enable_wininet clean,implib
18305 wine_fn_config_test dlls/wininet/tests wininet_test
18306 wine_fn_config_dll winmm enable_winmm clean,implib
18307 wine_fn_config_test dlls/winmm/tests winmm_test
18308 wine_fn_config_dll winnls.dll16 enable_win16
18309 wine_fn_config_dll winnls32 enable_winnls32 implib
18310 wine_fn_config_dll winscard enable_winscard implib
18311 wine_fn_config_dll winsock.dll16 enable_win16
18312 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18313 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18314 wine_fn_config_dll winsta enable_winsta
18315 wine_fn_config_dll wintab.dll16 enable_win16
18316 wine_fn_config_dll wintab32 enable_wintab32 implib
18317 wine_fn_config_test dlls/wintab32/tests wintab32_test
18318 wine_fn_config_dll wintrust enable_wintrust implib
18319 wine_fn_config_test dlls/wintrust/tests wintrust_test
18320 wine_fn_config_dll wlanapi enable_wlanapi
18321 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18322 wine_fn_config_test dlls/wldap32/tests wldap32_test
18323 wine_fn_config_dll wmasf enable_wmasf
18324 wine_fn_config_dll wmi enable_wmi
18325 wine_fn_config_dll wmiutils enable_wmiutils clean
18326 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18327 wine_fn_config_dll wmp enable_wmp clean
18328 wine_fn_config_test dlls/wmp/tests wmp_test
18329 wine_fn_config_dll wmvcore enable_wmvcore
18330 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18331 wine_fn_config_dll wow32 enable_win16 implib
18332 wine_fn_config_dll wpc enable_wpc clean
18333 wine_fn_config_test dlls/wpc/tests wpc_test
18334 wine_fn_config_dll wpcap enable_wpcap
18335 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18336 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18337 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18338 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18339 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18340 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18341 wine_fn_config_dll wsock32 enable_wsock32 implib
18342 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18343 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18344 wine_fn_config_dll wuapi enable_wuapi clean
18345 wine_fn_config_dll wuaueng enable_wuaueng
18346 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18347 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18348 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18349 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18350 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18351 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18352 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18353 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18354 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18355 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18356 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18357 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18358 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18359 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18360 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18361 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18362 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18363 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18364 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18365 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18366 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18367 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18368 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18369 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18370 wine_fn_config_dll xinput1_1 enable_xinput1_1
18371 wine_fn_config_dll xinput1_2 enable_xinput1_2
18372 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18373 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18374 wine_fn_config_dll xinput1_4 enable_xinput1_4
18375 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18376 wine_fn_config_dll xmllite enable_xmllite implib
18377 wine_fn_config_test dlls/xmllite/tests xmllite_test
18378 wine_fn_config_dll xolehlp enable_xolehlp
18379 wine_fn_config_dll xpsprint enable_xpsprint
18380 wine_fn_config_dll xpssvcs enable_xpssvcs
18381 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18382 wine_fn_config_makefile include enable_include clean,install-dev
18383 wine_fn_config_makefile libs/port enable_libs_port
18384 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18385 wine_fn_config_makefile libs/wpp enable_libs_wpp
18386 wine_fn_config_makefile loader enable_loader clean,install-lib
18387 wine_fn_config_makefile po enable_po clean
18388 wine_fn_config_program arp enable_arp install
18389 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18390 wine_fn_config_program attrib enable_attrib clean,install
18391 wine_fn_config_program cabarc enable_cabarc install
18392 wine_fn_config_program cacls enable_cacls install
18393 wine_fn_config_program clock enable_clock clean,install
18394 wine_fn_config_program cmd enable_cmd clean,install
18395 wine_fn_config_test programs/cmd/tests cmd.exe_test
18396 wine_fn_config_program conhost enable_conhost install
18397 wine_fn_config_program control enable_control install
18398 wine_fn_config_program cscript enable_cscript clean,install
18399 wine_fn_config_program dpnsvr enable_dpnsvr install
18400 wine_fn_config_program dxdiag enable_dxdiag clean,install
18401 wine_fn_config_program eject enable_eject install
18402 wine_fn_config_program expand enable_expand install
18403 wine_fn_config_program explorer enable_explorer clean,install
18404 wine_fn_config_program extrac32 enable_extrac32 install
18405 wine_fn_config_program findstr enable_findstr install
18406 wine_fn_config_program fsutil enable_fsutil install
18407 wine_fn_config_program hh enable_hh install
18408 wine_fn_config_program hostname enable_hostname clean,install
18409 wine_fn_config_program icacls enable_icacls install
18410 wine_fn_config_program icinfo enable_icinfo install
18411 wine_fn_config_program iexplore enable_iexplore install
18412 wine_fn_config_program ipconfig enable_ipconfig clean,install
18413 wine_fn_config_program lodctr enable_lodctr install
18414 wine_fn_config_program mofcomp enable_mofcomp install
18415 wine_fn_config_program mshta enable_mshta install
18416 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18417 wine_fn_config_program msinfo32 enable_msinfo32 install
18418 wine_fn_config_program net enable_net clean,install
18419 wine_fn_config_program netsh enable_netsh install
18420 wine_fn_config_program netstat enable_netstat clean,install
18421 wine_fn_config_program ngen enable_ngen install
18422 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18423 wine_fn_config_program oleview enable_oleview clean,install
18424 wine_fn_config_program ping enable_ping install
18425 wine_fn_config_program plugplay enable_plugplay install
18426 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18427 wine_fn_config_program progman enable_progman clean,install
18428 wine_fn_config_program reg enable_reg clean,install
18429 wine_fn_config_test programs/reg/tests reg.exe_test
18430 wine_fn_config_program regasm enable_regasm install
18431 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18432 wine_fn_config_test programs/regedit/tests regedit.exe_test
18433 wine_fn_config_program regsvcs enable_regsvcs install
18434 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18435 wine_fn_config_program rpcss enable_rpcss clean,install
18436 wine_fn_config_program rundll.exe16 enable_win16 install
18437 wine_fn_config_program rundll32 enable_rundll32 install
18438 wine_fn_config_program sc enable_sc install
18439 wine_fn_config_program schtasks enable_schtasks install
18440 wine_fn_config_program sdbinst enable_sdbinst install
18441 wine_fn_config_program secedit enable_secedit install
18442 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18443 wine_fn_config_program services enable_services clean,install
18444 wine_fn_config_test programs/services/tests services.exe_test
18445 wine_fn_config_program shutdown enable_shutdown install
18446 wine_fn_config_program spoolsv enable_spoolsv install
18447 wine_fn_config_program start enable_start clean,install
18448 wine_fn_config_program svchost enable_svchost install
18449 wine_fn_config_program systeminfo enable_systeminfo install
18450 wine_fn_config_program taskkill enable_taskkill clean,install
18451 wine_fn_config_program tasklist enable_tasklist install
18452 wine_fn_config_program taskmgr enable_taskmgr clean,install
18453 wine_fn_config_program termsv enable_termsv install
18454 wine_fn_config_program uninstaller enable_uninstaller clean,install
18455 wine_fn_config_program unlodctr enable_unlodctr install
18456 wine_fn_config_program view enable_view clean,install
18457 wine_fn_config_program wevtutil enable_wevtutil install
18458 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18459 wine_fn_config_program winebrowser enable_winebrowser install
18460 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18461 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18462 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18463 wine_fn_config_program winedevice enable_winedevice install
18464 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18465 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18466 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18467 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18468 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18469 wine_fn_config_program winetest enable_winetest clean
18470 wine_fn_config_program winevdm enable_win16 install
18471 wine_fn_config_program winhelp.exe16 enable_win16 install
18472 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18473 wine_fn_config_program winoldap.mod16 enable_win16 install
18474 wine_fn_config_program winver enable_winver install
18475 wine_fn_config_program wmic enable_wmic clean,install
18476 wine_fn_config_program wmplayer enable_wmplayer install
18477 wine_fn_config_program wordpad enable_wordpad clean,install
18478 wine_fn_config_program write enable_write clean,install
18479 wine_fn_config_program wscript enable_wscript clean,install
18480 wine_fn_config_test programs/wscript/tests wscript.exe_test
18481 wine_fn_config_program wusa enable_wusa install
18482 wine_fn_config_program xcopy enable_xcopy clean,install
18483 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18484 wine_fn_config_makefile server enable_server clean,install-lib
18485 wine_fn_config_tool tools clean
18486 wine_fn_config_tool tools/sfnt2fon clean
18487 wine_fn_config_tool tools/widl clean,install-dev
18488 wine_fn_config_tool tools/winebuild clean,install-dev
18489 wine_fn_config_tool tools/winedump clean,install-dev
18490 wine_fn_config_tool tools/winegcc clean,install-dev
18491 wine_fn_config_tool tools/winemaker clean,install-dev
18492 wine_fn_config_tool tools/wmc clean,install-dev
18493 wine_fn_config_tool tools/wrc clean,install-dev
18496 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18497 wine_fn_append_file CONFIGURE_TARGETS "tags"
18498 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18499 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18500 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18501 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18502 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18503 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18505 if test "x$enable_tools" != xno
18506 then
18507 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18508 ac_config_commands="$ac_config_commands tools/makedep"
18512 ac_config_commands="$ac_config_commands Makefile"
18515 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18519 if test "x$enable_maintainer_mode" = xyes
18520 then
18521 wine_fn_append_rule "configure: configure.ac aclocal.m4
18522 autoconf --warnings=all
18523 include/config.h.in: include/stamp-h.in
18524 include/stamp-h.in: configure.ac aclocal.m4
18525 autoheader --warnings=all
18526 @echo timestamp > \$@"
18529 if test "x$enable_tools" != xno
18530 then
18531 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18532 @./config.status tools/makedep
18533 Makefile: tools/makedep$ac_exeext"
18534 else
18535 wine_fn_append_rule "\$(MAKEDEP):
18536 @echo \"You need to run make in $TOOLSDIR first\" && false"
18539 if test -n "$with_wine64"
18540 then
18541 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18542 fonts server:
18543 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18544 $with_wine64/loader/wine:
18545 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18546 $with_wine64/loader/wine-preloader:
18547 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18548 clean::
18549 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18550 else
18551 WINELOADER_INSTALL="wine.inf"
18553 wine_fn_append_rule "install install-lib::
18554 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18555 uninstall::
18556 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18557 case $host_os in
18558 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18559 *) wine_fn_append_rule "install install-lib::
18560 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18561 uninstall::
18562 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18563 esac
18566 $as_echo " done" >&6
18567 cat >confcache <<\_ACEOF
18568 # This file is a shell script that caches the results of configure
18569 # tests run on this system so they can be shared between configure
18570 # scripts and configure runs, see configure's option --config-cache.
18571 # It is not useful on other systems. If it contains results you don't
18572 # want to keep, you may remove or edit it.
18574 # config.status only pays attention to the cache file if you give it
18575 # the --recheck option to rerun configure.
18577 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18578 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18579 # following values.
18581 _ACEOF
18583 # The following way of writing the cache mishandles newlines in values,
18584 # but we know of no workaround that is simple, portable, and efficient.
18585 # So, we kill variables containing newlines.
18586 # Ultrix sh set writes to stderr and can't be redirected directly,
18587 # and sets the high bit in the cache file unless we assign to the vars.
18589 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18590 eval ac_val=\$$ac_var
18591 case $ac_val in #(
18592 *${as_nl}*)
18593 case $ac_var in #(
18594 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18596 esac
18597 case $ac_var in #(
18598 _ | IFS | as_nl) ;; #(
18599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18600 *) { eval $ac_var=; unset $ac_var;} ;;
18601 esac ;;
18602 esac
18603 done
18605 (set) 2>&1 |
18606 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18607 *${as_nl}ac_space=\ *)
18608 # `set' does not quote correctly, so add quotes: double-quote
18609 # substitution turns \\\\ into \\, and sed turns \\ into \.
18610 sed -n \
18611 "s/'/'\\\\''/g;
18612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18613 ;; #(
18615 # `set' quotes correctly as required by POSIX, so do not add quotes.
18616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18618 esac |
18619 sort
18621 sed '
18622 /^ac_cv_env_/b end
18623 t clear
18624 :clear
18625 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18626 t end
18627 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18628 :end' >>confcache
18629 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18630 if test -w "$cache_file"; then
18631 if test "x$cache_file" != "x/dev/null"; then
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18633 $as_echo "$as_me: updating cache $cache_file" >&6;}
18634 if test ! -f "$cache_file" || test -h "$cache_file"; then
18635 cat confcache >"$cache_file"
18636 else
18637 case $cache_file in #(
18638 */* | ?:*)
18639 mv -f confcache "$cache_file"$$ &&
18640 mv -f "$cache_file"$$ "$cache_file" ;; #(
18642 mv -f confcache "$cache_file" ;;
18643 esac
18646 else
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18648 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18651 rm -f confcache
18653 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18654 # Let make expand exec_prefix.
18655 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18657 DEFS=-DHAVE_CONFIG_H
18659 ac_libobjs=
18660 ac_ltlibobjs=
18662 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18663 # 1. Remove the extension, and $U if already installed.
18664 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18665 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18666 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18667 # will be set to the directory where LIBOBJS objects are built.
18668 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18669 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18670 done
18671 LIBOBJS=$ac_libobjs
18673 LTLIBOBJS=$ac_ltlibobjs
18677 : "${CONFIG_STATUS=./config.status}"
18678 ac_write_fail=0
18679 ac_clean_files_save=$ac_clean_files
18680 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18682 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18683 as_write_fail=0
18684 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18685 #! $SHELL
18686 # Generated by $as_me.
18687 # Run this file to recreate the current configuration.
18688 # Compiler output produced by configure, useful for debugging
18689 # configure, is in config.log if it exists.
18691 debug=false
18692 ac_cs_recheck=false
18693 ac_cs_silent=false
18695 SHELL=\${CONFIG_SHELL-$SHELL}
18696 export SHELL
18697 _ASEOF
18698 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18699 ## -------------------- ##
18700 ## M4sh Initialization. ##
18701 ## -------------------- ##
18703 # Be more Bourne compatible
18704 DUALCASE=1; export DUALCASE # for MKS sh
18705 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18706 emulate sh
18707 NULLCMD=:
18708 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18709 # is contrary to our usage. Disable this feature.
18710 alias -g '${1+"$@"}'='"$@"'
18711 setopt NO_GLOB_SUBST
18712 else
18713 case `(set -o) 2>/dev/null` in #(
18714 *posix*) :
18715 set -o posix ;; #(
18716 *) :
18718 esac
18722 as_nl='
18724 export as_nl
18725 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18726 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18727 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18728 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18729 # Prefer a ksh shell builtin over an external printf program on Solaris,
18730 # but without wasting forks for bash or zsh.
18731 if test -z "$BASH_VERSION$ZSH_VERSION" \
18732 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18733 as_echo='print -r --'
18734 as_echo_n='print -rn --'
18735 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18736 as_echo='printf %s\n'
18737 as_echo_n='printf %s'
18738 else
18739 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18740 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18741 as_echo_n='/usr/ucb/echo -n'
18742 else
18743 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18744 as_echo_n_body='eval
18745 arg=$1;
18746 case $arg in #(
18747 *"$as_nl"*)
18748 expr "X$arg" : "X\\(.*\\)$as_nl";
18749 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18750 esac;
18751 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18753 export as_echo_n_body
18754 as_echo_n='sh -c $as_echo_n_body as_echo'
18756 export as_echo_body
18757 as_echo='sh -c $as_echo_body as_echo'
18760 # The user is always right.
18761 if test "${PATH_SEPARATOR+set}" != set; then
18762 PATH_SEPARATOR=:
18763 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18764 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18765 PATH_SEPARATOR=';'
18770 # IFS
18771 # We need space, tab and new line, in precisely that order. Quoting is
18772 # there to prevent editors from complaining about space-tab.
18773 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18774 # splitting by setting IFS to empty value.)
18775 IFS=" "" $as_nl"
18777 # Find who we are. Look in the path if we contain no directory separator.
18778 as_myself=
18779 case $0 in #((
18780 *[\\/]* ) as_myself=$0 ;;
18781 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18782 for as_dir in $PATH
18784 IFS=$as_save_IFS
18785 test -z "$as_dir" && as_dir=.
18786 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18787 done
18788 IFS=$as_save_IFS
18791 esac
18792 # We did not find ourselves, most probably we were run as `sh COMMAND'
18793 # in which case we are not to be found in the path.
18794 if test "x$as_myself" = x; then
18795 as_myself=$0
18797 if test ! -f "$as_myself"; then
18798 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18799 exit 1
18802 # Unset variables that we do not need and which cause bugs (e.g. in
18803 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18804 # suppresses any "Segmentation fault" message there. '((' could
18805 # trigger a bug in pdksh 5.2.14.
18806 for as_var in BASH_ENV ENV MAIL MAILPATH
18807 do eval test x\${$as_var+set} = xset \
18808 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18809 done
18810 PS1='$ '
18811 PS2='> '
18812 PS4='+ '
18814 # NLS nuisances.
18815 LC_ALL=C
18816 export LC_ALL
18817 LANGUAGE=C
18818 export LANGUAGE
18820 # CDPATH.
18821 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18824 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18825 # ----------------------------------------
18826 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18827 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18828 # script with STATUS, using 1 if that was 0.
18829 as_fn_error ()
18831 as_status=$1; test $as_status -eq 0 && as_status=1
18832 if test "$4"; then
18833 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18834 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18836 $as_echo "$as_me: error: $2" >&2
18837 as_fn_exit $as_status
18838 } # as_fn_error
18841 # as_fn_set_status STATUS
18842 # -----------------------
18843 # Set $? to STATUS, without forking.
18844 as_fn_set_status ()
18846 return $1
18847 } # as_fn_set_status
18849 # as_fn_exit STATUS
18850 # -----------------
18851 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18852 as_fn_exit ()
18854 set +e
18855 as_fn_set_status $1
18856 exit $1
18857 } # as_fn_exit
18859 # as_fn_unset VAR
18860 # ---------------
18861 # Portably unset VAR.
18862 as_fn_unset ()
18864 { eval $1=; unset $1;}
18866 as_unset=as_fn_unset
18867 # as_fn_append VAR VALUE
18868 # ----------------------
18869 # Append the text in VALUE to the end of the definition contained in VAR. Take
18870 # advantage of any shell optimizations that allow amortized linear growth over
18871 # repeated appends, instead of the typical quadratic growth present in naive
18872 # implementations.
18873 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18874 eval 'as_fn_append ()
18876 eval $1+=\$2
18878 else
18879 as_fn_append ()
18881 eval $1=\$$1\$2
18883 fi # as_fn_append
18885 # as_fn_arith ARG...
18886 # ------------------
18887 # Perform arithmetic evaluation on the ARGs, and store the result in the
18888 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18889 # must be portable across $(()) and expr.
18890 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18891 eval 'as_fn_arith ()
18893 as_val=$(( $* ))
18895 else
18896 as_fn_arith ()
18898 as_val=`expr "$@" || test $? -eq 1`
18900 fi # as_fn_arith
18903 if expr a : '\(a\)' >/dev/null 2>&1 &&
18904 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18905 as_expr=expr
18906 else
18907 as_expr=false
18910 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18911 as_basename=basename
18912 else
18913 as_basename=false
18916 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18917 as_dirname=dirname
18918 else
18919 as_dirname=false
18922 as_me=`$as_basename -- "$0" ||
18923 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18924 X"$0" : 'X\(//\)$' \| \
18925 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18926 $as_echo X/"$0" |
18927 sed '/^.*\/\([^/][^/]*\)\/*$/{
18928 s//\1/
18931 /^X\/\(\/\/\)$/{
18932 s//\1/
18935 /^X\/\(\/\).*/{
18936 s//\1/
18939 s/.*/./; q'`
18941 # Avoid depending upon Character Ranges.
18942 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18943 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18944 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18945 as_cr_digits='0123456789'
18946 as_cr_alnum=$as_cr_Letters$as_cr_digits
18948 ECHO_C= ECHO_N= ECHO_T=
18949 case `echo -n x` in #(((((
18950 -n*)
18951 case `echo 'xy\c'` in
18952 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18953 xy) ECHO_C='\c';;
18954 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18955 ECHO_T=' ';;
18956 esac;;
18958 ECHO_N='-n';;
18959 esac
18961 rm -f conf$$ conf$$.exe conf$$.file
18962 if test -d conf$$.dir; then
18963 rm -f conf$$.dir/conf$$.file
18964 else
18965 rm -f conf$$.dir
18966 mkdir conf$$.dir 2>/dev/null
18968 if (echo >conf$$.file) 2>/dev/null; then
18969 if ln -s conf$$.file conf$$ 2>/dev/null; then
18970 as_ln_s='ln -s'
18971 # ... but there are two gotchas:
18972 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18973 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18974 # In both cases, we have to default to `cp -pR'.
18975 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18976 as_ln_s='cp -pR'
18977 elif ln conf$$.file conf$$ 2>/dev/null; then
18978 as_ln_s=ln
18979 else
18980 as_ln_s='cp -pR'
18982 else
18983 as_ln_s='cp -pR'
18985 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18986 rmdir conf$$.dir 2>/dev/null
18989 # as_fn_mkdir_p
18990 # -------------
18991 # Create "$as_dir" as a directory, including parents if necessary.
18992 as_fn_mkdir_p ()
18995 case $as_dir in #(
18996 -*) as_dir=./$as_dir;;
18997 esac
18998 test -d "$as_dir" || eval $as_mkdir_p || {
18999 as_dirs=
19000 while :; do
19001 case $as_dir in #(
19002 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19003 *) as_qdir=$as_dir;;
19004 esac
19005 as_dirs="'$as_qdir' $as_dirs"
19006 as_dir=`$as_dirname -- "$as_dir" ||
19007 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19008 X"$as_dir" : 'X\(//\)[^/]' \| \
19009 X"$as_dir" : 'X\(//\)$' \| \
19010 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19011 $as_echo X"$as_dir" |
19012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19013 s//\1/
19016 /^X\(\/\/\)[^/].*/{
19017 s//\1/
19020 /^X\(\/\/\)$/{
19021 s//\1/
19024 /^X\(\/\).*/{
19025 s//\1/
19028 s/.*/./; q'`
19029 test -d "$as_dir" && break
19030 done
19031 test -z "$as_dirs" || eval "mkdir $as_dirs"
19032 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19035 } # as_fn_mkdir_p
19036 if mkdir -p . 2>/dev/null; then
19037 as_mkdir_p='mkdir -p "$as_dir"'
19038 else
19039 test -d ./-p && rmdir ./-p
19040 as_mkdir_p=false
19044 # as_fn_executable_p FILE
19045 # -----------------------
19046 # Test if FILE is an executable regular file.
19047 as_fn_executable_p ()
19049 test -f "$1" && test -x "$1"
19050 } # as_fn_executable_p
19051 as_test_x='test -x'
19052 as_executable_p=as_fn_executable_p
19054 # Sed expression to map a string onto a valid CPP name.
19055 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19057 # Sed expression to map a string onto a valid variable name.
19058 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19061 exec 6>&1
19062 ## ----------------------------------- ##
19063 ## Main body of $CONFIG_STATUS script. ##
19064 ## ----------------------------------- ##
19065 _ASEOF
19066 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19069 # Save the log message, to keep $0 and so on meaningful, and to
19070 # report actual input values of CONFIG_FILES etc. instead of their
19071 # values after options handling.
19072 ac_log="
19073 This file was extended by Wine $as_me 1.9.18, which was
19074 generated by GNU Autoconf 2.69. Invocation command line was
19076 CONFIG_FILES = $CONFIG_FILES
19077 CONFIG_HEADERS = $CONFIG_HEADERS
19078 CONFIG_LINKS = $CONFIG_LINKS
19079 CONFIG_COMMANDS = $CONFIG_COMMANDS
19080 $ $0 $@
19082 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19085 _ACEOF
19087 case $ac_config_files in *"
19088 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19089 esac
19091 case $ac_config_headers in *"
19092 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19093 esac
19096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19097 # Files that config.status was made for.
19098 config_files="$ac_config_files"
19099 config_headers="$ac_config_headers"
19100 config_links="$ac_config_links"
19101 config_commands="$ac_config_commands"
19103 _ACEOF
19105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19106 ac_cs_usage="\
19107 \`$as_me' instantiates files and other configuration actions
19108 from templates according to the current configuration. Unless the files
19109 and actions are specified as TAGs, all are instantiated by default.
19111 Usage: $0 [OPTION]... [TAG]...
19113 -h, --help print this help, then exit
19114 -V, --version print version number and configuration settings, then exit
19115 --config print configuration, then exit
19116 -q, --quiet, --silent
19117 do not print progress messages
19118 -d, --debug don't remove temporary files
19119 --recheck update $as_me by reconfiguring in the same conditions
19120 --file=FILE[:TEMPLATE]
19121 instantiate the configuration file FILE
19122 --header=FILE[:TEMPLATE]
19123 instantiate the configuration header FILE
19125 Configuration files:
19126 $config_files
19128 Configuration headers:
19129 $config_headers
19131 Configuration links:
19132 $config_links
19134 Configuration commands:
19135 $config_commands
19137 Report bugs to <wine-devel@winehq.org>.
19138 Wine home page: <http://www.winehq.org>."
19140 _ACEOF
19141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19142 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19143 ac_cs_version="\\
19144 Wine config.status 1.9.18
19145 configured by $0, generated by GNU Autoconf 2.69,
19146 with options \\"\$ac_cs_config\\"
19148 Copyright (C) 2012 Free Software Foundation, Inc.
19149 This config.status script is free software; the Free Software Foundation
19150 gives unlimited permission to copy, distribute and modify it."
19152 ac_pwd='$ac_pwd'
19153 srcdir='$srcdir'
19154 test -n "\$AWK" || AWK=awk
19155 _ACEOF
19157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19158 # The default lists apply if the user does not specify any file.
19159 ac_need_defaults=:
19160 while test $# != 0
19162 case $1 in
19163 --*=?*)
19164 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19165 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19166 ac_shift=:
19168 --*=)
19169 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19170 ac_optarg=
19171 ac_shift=:
19174 ac_option=$1
19175 ac_optarg=$2
19176 ac_shift=shift
19178 esac
19180 case $ac_option in
19181 # Handling of the options.
19182 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19183 ac_cs_recheck=: ;;
19184 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19185 $as_echo "$ac_cs_version"; exit ;;
19186 --config | --confi | --conf | --con | --co | --c )
19187 $as_echo "$ac_cs_config"; exit ;;
19188 --debug | --debu | --deb | --de | --d | -d )
19189 debug=: ;;
19190 --file | --fil | --fi | --f )
19191 $ac_shift
19192 case $ac_optarg in
19193 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19194 '') as_fn_error $? "missing file argument" ;;
19195 esac
19196 as_fn_append CONFIG_FILES " '$ac_optarg'"
19197 ac_need_defaults=false;;
19198 --header | --heade | --head | --hea )
19199 $ac_shift
19200 case $ac_optarg in
19201 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19202 esac
19203 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19204 ac_need_defaults=false;;
19205 --he | --h)
19206 # Conflict between --help and --header
19207 as_fn_error $? "ambiguous option: \`$1'
19208 Try \`$0 --help' for more information.";;
19209 --help | --hel | -h )
19210 $as_echo "$ac_cs_usage"; exit ;;
19211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19212 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19213 ac_cs_silent=: ;;
19215 # This is an error.
19216 -*) as_fn_error $? "unrecognized option: \`$1'
19217 Try \`$0 --help' for more information." ;;
19219 *) as_fn_append ac_config_targets " $1"
19220 ac_need_defaults=false ;;
19222 esac
19223 shift
19224 done
19226 ac_configure_extra_args=
19228 if $ac_cs_silent; then
19229 exec 6>/dev/null
19230 ac_configure_extra_args="$ac_configure_extra_args --silent"
19233 _ACEOF
19234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19235 if \$ac_cs_recheck; then
19236 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19237 shift
19238 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19239 CONFIG_SHELL='$SHELL'
19240 export CONFIG_SHELL
19241 exec "\$@"
19244 _ACEOF
19245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19246 exec 5>>config.log
19248 echo
19249 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19250 ## Running $as_me. ##
19251 _ASBOX
19252 $as_echo "$ac_log"
19253 } >&5
19255 _ACEOF
19256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19258 # INIT-COMMANDS
19260 wine_fn_output_makedep ()
19262 as_dir=tools; as_fn_mkdir_p
19263 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19265 wine_fn_output_makefile ()
19267 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19268 `cat $wine_rules_file`
19269 _WINE_EOF
19270 as_fn_error $? "could not create Makefile" "$LINENO" 5
19273 _ACEOF
19275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19277 # Handling of arguments.
19278 for ac_config_target in $ac_config_targets
19280 case $ac_config_target in
19281 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19282 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19283 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19284 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19285 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19286 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19287 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19288 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19289 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19290 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19291 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19292 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19293 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19295 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19296 esac
19297 done
19300 # If the user did not use the arguments to specify the items to instantiate,
19301 # then the envvar interface is used. Set only those that are not.
19302 # We use the long form for the default assignment because of an extremely
19303 # bizarre bug on SunOS 4.1.3.
19304 if $ac_need_defaults; then
19305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19307 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19308 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19311 # Have a temporary directory for convenience. Make it in the build tree
19312 # simply because there is no reason against having it here, and in addition,
19313 # creating and moving files from /tmp can sometimes cause problems.
19314 # Hook for its removal unless debugging.
19315 # Note that there is a small window in which the directory will not be cleaned:
19316 # after its creation but before its name has been assigned to `$tmp'.
19317 $debug ||
19319 tmp= ac_tmp=
19320 trap 'exit_status=$?
19321 : "${ac_tmp:=$tmp}"
19322 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19324 trap 'as_fn_exit 1' 1 2 13 15
19326 # Create a (secure) tmp directory for tmp files.
19329 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19330 test -d "$tmp"
19331 } ||
19333 tmp=./conf$$-$RANDOM
19334 (umask 077 && mkdir "$tmp")
19335 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19336 ac_tmp=$tmp
19338 # Set up the scripts for CONFIG_FILES section.
19339 # No need to generate them if there are no CONFIG_FILES.
19340 # This happens for instance with `./config.status config.h'.
19341 if test -n "$CONFIG_FILES"; then
19344 ac_cr=`echo X | tr X '\015'`
19345 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19346 # But we know of no other shell where ac_cr would be empty at this
19347 # point, so we can use a bashism as a fallback.
19348 if test "x$ac_cr" = x; then
19349 eval ac_cr=\$\'\\r\'
19351 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19352 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19353 ac_cs_awk_cr='\\r'
19354 else
19355 ac_cs_awk_cr=$ac_cr
19358 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19359 _ACEOF
19363 echo "cat >conf$$subs.awk <<_ACEOF" &&
19364 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19365 echo "_ACEOF"
19366 } >conf$$subs.sh ||
19367 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19368 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19369 ac_delim='%!_!# '
19370 for ac_last_try in false false false false false :; do
19371 . ./conf$$subs.sh ||
19372 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19374 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19375 if test $ac_delim_n = $ac_delim_num; then
19376 break
19377 elif $ac_last_try; then
19378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19379 else
19380 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19382 done
19383 rm -f conf$$subs.sh
19385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19386 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19387 _ACEOF
19388 sed -n '
19390 s/^/S["/; s/!.*/"]=/
19393 s/^[^!]*!//
19394 :repl
19395 t repl
19396 s/'"$ac_delim"'$//
19397 t delim
19400 s/\(.\{148\}\)..*/\1/
19401 t more1
19402 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19405 b repl
19406 :more1
19407 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19410 s/.\{148\}//
19411 t nl
19412 :delim
19414 s/\(.\{148\}\)..*/\1/
19415 t more2
19416 s/["\\]/\\&/g; s/^/"/; s/$/"/
19419 :more2
19420 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19423 s/.\{148\}//
19424 t delim
19425 ' <conf$$subs.awk | sed '
19426 /^[^""]/{
19428 s/\n//
19430 ' >>$CONFIG_STATUS || ac_write_fail=1
19431 rm -f conf$$subs.awk
19432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19433 _ACAWK
19434 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19435 for (key in S) S_is_set[key] = 1
19436 FS = "\a"
19440 line = $ 0
19441 nfields = split(line, field, "@")
19442 substed = 0
19443 len = length(field[1])
19444 for (i = 2; i < nfields; i++) {
19445 key = field[i]
19446 keylen = length(key)
19447 if (S_is_set[key]) {
19448 value = S[key]
19449 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19450 len += length(value) + length(field[++i])
19451 substed = 1
19452 } else
19453 len += 1 + keylen
19456 print line
19459 _ACAWK
19460 _ACEOF
19461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19462 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19463 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19464 else
19466 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19467 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19468 _ACEOF
19470 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19471 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19472 # trailing colons and then remove the whole line if VPATH becomes empty
19473 # (actually we leave an empty line to preserve line numbers).
19474 if test "x$srcdir" = x.; then
19475 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19477 s///
19478 s/^/:/
19479 s/[ ]*$/:/
19480 s/:\$(srcdir):/:/g
19481 s/:\${srcdir}:/:/g
19482 s/:@srcdir@:/:/g
19483 s/^:*//
19484 s/:*$//
19486 s/\(=[ ]*\).*/\1/
19488 s/\n//
19489 s/^[^=]*=[ ]*$//
19493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19494 fi # test -n "$CONFIG_FILES"
19496 # Set up the scripts for CONFIG_HEADERS section.
19497 # No need to generate them if there are no CONFIG_HEADERS.
19498 # This happens for instance with `./config.status Makefile'.
19499 if test -n "$CONFIG_HEADERS"; then
19500 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19501 BEGIN {
19502 _ACEOF
19504 # Transform confdefs.h into an awk script `defines.awk', embedded as
19505 # here-document in config.status, that substitutes the proper values into
19506 # config.h.in to produce config.h.
19508 # Create a delimiter string that does not exist in confdefs.h, to ease
19509 # handling of long lines.
19510 ac_delim='%!_!# '
19511 for ac_last_try in false false :; do
19512 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19513 if test -z "$ac_tt"; then
19514 break
19515 elif $ac_last_try; then
19516 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19517 else
19518 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19520 done
19522 # For the awk script, D is an array of macro values keyed by name,
19523 # likewise P contains macro parameters if any. Preserve backslash
19524 # newline sequences.
19526 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19527 sed -n '
19528 s/.\{148\}/&'"$ac_delim"'/g
19529 t rset
19530 :rset
19531 s/^[ ]*#[ ]*define[ ][ ]*/ /
19532 t def
19534 :def
19535 s/\\$//
19536 t bsnl
19537 s/["\\]/\\&/g
19538 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19539 D["\1"]=" \3"/p
19540 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19542 :bsnl
19543 s/["\\]/\\&/g
19544 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19545 D["\1"]=" \3\\\\\\n"\\/p
19546 t cont
19547 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19548 t cont
19550 :cont
19552 s/.\{148\}/&'"$ac_delim"'/g
19553 t clear
19554 :clear
19555 s/\\$//
19556 t bsnlc
19557 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19559 :bsnlc
19560 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19561 b cont
19562 ' <confdefs.h | sed '
19563 s/'"$ac_delim"'/"\\\
19564 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19567 for (key in D) D_is_set[key] = 1
19568 FS = "\a"
19570 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19571 line = \$ 0
19572 split(line, arg, " ")
19573 if (arg[1] == "#") {
19574 defundef = arg[2]
19575 mac1 = arg[3]
19576 } else {
19577 defundef = substr(arg[1], 2)
19578 mac1 = arg[2]
19580 split(mac1, mac2, "(") #)
19581 macro = mac2[1]
19582 prefix = substr(line, 1, index(line, defundef) - 1)
19583 if (D_is_set[macro]) {
19584 # Preserve the white space surrounding the "#".
19585 print prefix "define", macro P[macro] D[macro]
19586 next
19587 } else {
19588 # Replace #undef with comments. This is necessary, for example,
19589 # in the case of _POSIX_SOURCE, which is predefined and required
19590 # on some systems where configure will not decide to define it.
19591 if (defundef == "undef") {
19592 print "/*", prefix defundef, macro, "*/"
19593 next
19597 { print }
19598 _ACAWK
19599 _ACEOF
19600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19601 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19602 fi # test -n "$CONFIG_HEADERS"
19605 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19606 shift
19607 for ac_tag
19609 case $ac_tag in
19610 :[FHLC]) ac_mode=$ac_tag; continue;;
19611 esac
19612 case $ac_mode$ac_tag in
19613 :[FHL]*:*);;
19614 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19615 :[FH]-) ac_tag=-:-;;
19616 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19617 esac
19618 ac_save_IFS=$IFS
19619 IFS=:
19620 set x $ac_tag
19621 IFS=$ac_save_IFS
19622 shift
19623 ac_file=$1
19624 shift
19626 case $ac_mode in
19627 :L) ac_source=$1;;
19628 :[FH])
19629 ac_file_inputs=
19630 for ac_f
19632 case $ac_f in
19633 -) ac_f="$ac_tmp/stdin";;
19634 *) # Look for the file first in the build tree, then in the source tree
19635 # (if the path is not absolute). The absolute path cannot be DOS-style,
19636 # because $ac_f cannot contain `:'.
19637 test -f "$ac_f" ||
19638 case $ac_f in
19639 [\\/$]*) false;;
19640 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19641 esac ||
19642 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19643 esac
19644 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19645 as_fn_append ac_file_inputs " '$ac_f'"
19646 done
19648 # Let's still pretend it is `configure' which instantiates (i.e., don't
19649 # use $as_me), people would be surprised to read:
19650 # /* config.h. Generated by config.status. */
19651 configure_input='Generated from '`
19652 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19653 `' by configure.'
19654 if test x"$ac_file" != x-; then
19655 configure_input="$ac_file. $configure_input"
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19657 $as_echo "$as_me: creating $ac_file" >&6;}
19659 # Neutralize special characters interpreted by sed in replacement strings.
19660 case $configure_input in #(
19661 *\&* | *\|* | *\\* )
19662 ac_sed_conf_input=`$as_echo "$configure_input" |
19663 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19664 *) ac_sed_conf_input=$configure_input;;
19665 esac
19667 case $ac_tag in
19668 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19669 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19670 esac
19672 esac
19674 ac_dir=`$as_dirname -- "$ac_file" ||
19675 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19676 X"$ac_file" : 'X\(//\)[^/]' \| \
19677 X"$ac_file" : 'X\(//\)$' \| \
19678 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19679 $as_echo X"$ac_file" |
19680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19681 s//\1/
19684 /^X\(\/\/\)[^/].*/{
19685 s//\1/
19688 /^X\(\/\/\)$/{
19689 s//\1/
19692 /^X\(\/\).*/{
19693 s//\1/
19696 s/.*/./; q'`
19697 as_dir="$ac_dir"; as_fn_mkdir_p
19698 ac_builddir=.
19700 case "$ac_dir" in
19701 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19703 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19704 # A ".." for each directory in $ac_dir_suffix.
19705 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19706 case $ac_top_builddir_sub in
19707 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19708 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19709 esac ;;
19710 esac
19711 ac_abs_top_builddir=$ac_pwd
19712 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19713 # for backward compatibility:
19714 ac_top_builddir=$ac_top_build_prefix
19716 case $srcdir in
19717 .) # We are building in place.
19718 ac_srcdir=.
19719 ac_top_srcdir=$ac_top_builddir_sub
19720 ac_abs_top_srcdir=$ac_pwd ;;
19721 [\\/]* | ?:[\\/]* ) # Absolute name.
19722 ac_srcdir=$srcdir$ac_dir_suffix;
19723 ac_top_srcdir=$srcdir
19724 ac_abs_top_srcdir=$srcdir ;;
19725 *) # Relative name.
19726 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19727 ac_top_srcdir=$ac_top_build_prefix$srcdir
19728 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19729 esac
19730 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19733 case $ac_mode in
19736 # CONFIG_FILE
19739 _ACEOF
19741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19742 # If the template does not know about datarootdir, expand it.
19743 # FIXME: This hack should be removed a few years after 2.60.
19744 ac_datarootdir_hack=; ac_datarootdir_seen=
19745 ac_sed_dataroot='
19746 /datarootdir/ {
19750 /@datadir@/p
19751 /@docdir@/p
19752 /@infodir@/p
19753 /@localedir@/p
19754 /@mandir@/p'
19755 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19756 *datarootdir*) ac_datarootdir_seen=yes;;
19757 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19759 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19760 _ACEOF
19761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19762 ac_datarootdir_hack='
19763 s&@datadir@&$datadir&g
19764 s&@docdir@&$docdir&g
19765 s&@infodir@&$infodir&g
19766 s&@localedir@&$localedir&g
19767 s&@mandir@&$mandir&g
19768 s&\\\${datarootdir}&$datarootdir&g' ;;
19769 esac
19770 _ACEOF
19772 # Neutralize VPATH when `$srcdir' = `.'.
19773 # Shell code in configure.ac might set extrasub.
19774 # FIXME: do we really want to maintain this feature?
19775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19776 ac_sed_extra="$ac_vpsub
19777 $extrasub
19778 _ACEOF
19779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19782 s|@configure_input@|$ac_sed_conf_input|;t t
19783 s&@top_builddir@&$ac_top_builddir_sub&;t t
19784 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19785 s&@srcdir@&$ac_srcdir&;t t
19786 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19787 s&@top_srcdir@&$ac_top_srcdir&;t t
19788 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19789 s&@builddir@&$ac_builddir&;t t
19790 s&@abs_builddir@&$ac_abs_builddir&;t t
19791 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19792 $ac_datarootdir_hack
19794 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19795 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19797 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19798 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19799 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19800 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19802 which seems to be undefined. Please make sure it is defined" >&5
19803 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19804 which seems to be undefined. Please make sure it is defined" >&2;}
19806 rm -f "$ac_tmp/stdin"
19807 case $ac_file in
19808 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19809 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19810 esac \
19811 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19815 # CONFIG_HEADER
19817 if test x"$ac_file" != x-; then
19819 $as_echo "/* $configure_input */" \
19820 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19821 } >"$ac_tmp/config.h" \
19822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19823 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19825 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19826 else
19827 rm -f "$ac_file"
19828 mv "$ac_tmp/config.h" "$ac_file" \
19829 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19831 else
19832 $as_echo "/* $configure_input */" \
19833 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19834 || as_fn_error $? "could not create -" "$LINENO" 5
19839 # CONFIG_LINK
19842 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19844 else
19845 # Prefer the file from the source tree if names are identical.
19846 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19847 ac_source=$srcdir/$ac_source
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19851 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19853 if test ! -r "$ac_source"; then
19854 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19856 rm -f "$ac_file"
19858 # Try a relative symlink, then a hard link, then a copy.
19859 case $ac_source in
19860 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19861 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19862 esac
19863 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19864 ln "$ac_source" "$ac_file" 2>/dev/null ||
19865 cp -p "$ac_source" "$ac_file" ||
19866 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19869 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19870 $as_echo "$as_me: executing $ac_file commands" >&6;}
19872 esac
19875 case $ac_file$ac_mode in
19876 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19877 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19878 "Makefile":C) wine_fn_output_makefile Makefile ;;
19880 esac
19881 done # for ac_tag
19884 as_fn_exit 0
19885 _ACEOF
19886 ac_clean_files=$ac_clean_files_save
19888 test $ac_write_fail = 0 ||
19889 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19892 # configure is writing to config.log, and then calls config.status.
19893 # config.status does its own redirection, appending to config.log.
19894 # Unfortunately, on DOS this fails, as config.log is still kept open
19895 # by configure, so config.status won't be able to write to it; its
19896 # output is simply discarded. So we exec the FD to /dev/null,
19897 # effectively closing config.log, so it can be properly (re)opened and
19898 # appended to by config.status. When coming back to configure, we
19899 # need to make the FD available again.
19900 if test "$no_create" != yes; then
19901 ac_cs_success=:
19902 ac_config_status_args=
19903 test "$silent" = yes &&
19904 ac_config_status_args="$ac_config_status_args --quiet"
19905 exec 5>/dev/null
19906 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19907 exec 5>>config.log
19908 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19909 # would make configure fail if this is the last instruction.
19910 $ac_cs_success || as_fn_exit 1
19912 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19914 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19918 if test "$no_create" = "yes"
19919 then
19920 exit 0
19923 ac_save_IFS="$IFS"
19924 if test "x$wine_notices" != x; then
19925 echo >&6
19926 IFS="|"
19927 for msg in $wine_notices; do
19928 IFS="$ac_save_IFS"
19929 if ${msg:+false} :; then :
19931 else
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19933 $as_echo "$as_me: $msg" >&6;}
19935 done
19937 IFS="|"
19938 for msg in $wine_warnings; do
19939 IFS="$ac_save_IFS"
19940 if ${msg:+false} :; then :
19942 else
19943 echo >&2
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19945 $as_echo "$as_me: WARNING: $msg" >&2;}
19947 done
19948 IFS="$ac_save_IFS"
19950 $as_echo "
19951 $as_me: Finished. Do '${ac_make}' to compile Wine.
19952 " >&6