user32/tests: Add some tests for the contents of the clipboard data.
[wine.git] / configure
blob6727ea5b07b7b54ee09cb03780ea0f976122b96b
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_registry_l1_1_0
937 enable_api_ms_win_core_registryuserspecific_l1_1_0
938 enable_api_ms_win_core_rtlsupport_l1_1_0
939 enable_api_ms_win_core_rtlsupport_l1_2_0
940 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
941 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
942 enable_api_ms_win_core_sidebyside_l1_1_0
943 enable_api_ms_win_core_string_l1_1_0
944 enable_api_ms_win_core_string_l2_1_0
945 enable_api_ms_win_core_string_obsolete_l1_1_0
946 enable_api_ms_win_core_stringansi_l1_1_0
947 enable_api_ms_win_core_synch_l1_1_0
948 enable_api_ms_win_core_synch_l1_2_0
949 enable_api_ms_win_core_sysinfo_l1_1_0
950 enable_api_ms_win_core_sysinfo_l1_2_0
951 enable_api_ms_win_core_sysinfo_l1_2_1
952 enable_api_ms_win_core_threadpool_l1_1_0
953 enable_api_ms_win_core_threadpool_l1_2_0
954 enable_api_ms_win_core_threadpool_legacy_l1_1_0
955 enable_api_ms_win_core_timezone_l1_1_0
956 enable_api_ms_win_core_toolhelp_l1_1_0
957 enable_api_ms_win_core_url_l1_1_0
958 enable_api_ms_win_core_util_l1_1_0
959 enable_api_ms_win_core_version_l1_1_0
960 enable_api_ms_win_core_versionansi_l1_1_0
961 enable_api_ms_win_core_winrt_error_l1_1_0
962 enable_api_ms_win_core_winrt_error_l1_1_1
963 enable_api_ms_win_core_winrt_l1_1_0
964 enable_api_ms_win_core_winrt_registration_l1_1_0
965 enable_api_ms_win_core_winrt_string_l1_1_0
966 enable_api_ms_win_core_wow64_l1_1_0
967 enable_api_ms_win_core_xstate_l2_1_0
968 enable_api_ms_win_crt_conio_l1_1_0
969 enable_api_ms_win_crt_convert_l1_1_0
970 enable_api_ms_win_crt_environment_l1_1_0
971 enable_api_ms_win_crt_filesystem_l1_1_0
972 enable_api_ms_win_crt_heap_l1_1_0
973 enable_api_ms_win_crt_locale_l1_1_0
974 enable_api_ms_win_crt_math_l1_1_0
975 enable_api_ms_win_crt_multibyte_l1_1_0
976 enable_api_ms_win_crt_private_l1_1_0
977 enable_api_ms_win_crt_process_l1_1_0
978 enable_api_ms_win_crt_runtime_l1_1_0
979 enable_api_ms_win_crt_stdio_l1_1_0
980 enable_api_ms_win_crt_string_l1_1_0
981 enable_api_ms_win_crt_time_l1_1_0
982 enable_api_ms_win_crt_utility_l1_1_0
983 enable_api_ms_win_downlevel_advapi32_l1_1_0
984 enable_api_ms_win_downlevel_advapi32_l2_1_0
985 enable_api_ms_win_downlevel_normaliz_l1_1_0
986 enable_api_ms_win_downlevel_ole32_l1_1_0
987 enable_api_ms_win_downlevel_shell32_l1_1_0
988 enable_api_ms_win_downlevel_shlwapi_l1_1_0
989 enable_api_ms_win_downlevel_shlwapi_l2_1_0
990 enable_api_ms_win_downlevel_user32_l1_1_0
991 enable_api_ms_win_downlevel_version_l1_1_0
992 enable_api_ms_win_eventing_classicprovider_l1_1_0
993 enable_api_ms_win_eventing_provider_l1_1_0
994 enable_api_ms_win_eventlog_legacy_l1_1_0
995 enable_api_ms_win_ntuser_dc_access_l1_1_0
996 enable_api_ms_win_security_base_l1_1_0
997 enable_api_ms_win_security_base_l1_2_0
998 enable_api_ms_win_security_lsalookup_l1_1_0
999 enable_api_ms_win_security_lsalookup_l1_1_1
1000 enable_api_ms_win_security_sddl_l1_1_0
1001 enable_api_ms_win_service_core_l1_1_1
1002 enable_api_ms_win_service_management_l1_1_0
1003 enable_api_ms_win_service_winsvc_l1_2_0
1004 enable_api_ms_win_shell_shellfolders_l1_1_0
1005 enable_apphelp
1006 enable_appwiz_cpl
1007 enable_atl
1008 enable_atl100
1009 enable_atl110
1010 enable_atl80
1011 enable_atl90
1012 enable_authz
1013 enable_avicap32
1014 enable_avifil32
1015 enable_avrt
1016 enable_bcrypt
1017 enable_bluetoothapis
1018 enable_browseui
1019 enable_bthprops_cpl
1020 enable_cabinet
1021 enable_capi2032
1022 enable_cards
1023 enable_cfgmgr32
1024 enable_clusapi
1025 enable_combase
1026 enable_comcat
1027 enable_comctl32
1028 enable_comdlg32
1029 enable_compstui
1030 enable_comsvcs
1031 enable_concrt140
1032 enable_connect
1033 enable_credui
1034 enable_crtdll
1035 enable_crypt32
1036 enable_cryptdlg
1037 enable_cryptdll
1038 enable_cryptext
1039 enable_cryptnet
1040 enable_cryptui
1041 enable_ctapi32
1042 enable_ctl3d32
1043 enable_d2d1
1044 enable_d3d10
1045 enable_d3d10_1
1046 enable_d3d10core
1047 enable_d3d11
1048 enable_d3d8
1049 enable_d3d9
1050 enable_d3dcompiler_33
1051 enable_d3dcompiler_34
1052 enable_d3dcompiler_35
1053 enable_d3dcompiler_36
1054 enable_d3dcompiler_37
1055 enable_d3dcompiler_38
1056 enable_d3dcompiler_39
1057 enable_d3dcompiler_40
1058 enable_d3dcompiler_41
1059 enable_d3dcompiler_42
1060 enable_d3dcompiler_43
1061 enable_d3dcompiler_46
1062 enable_d3dcompiler_47
1063 enable_d3dim
1064 enable_d3drm
1065 enable_d3dx10_33
1066 enable_d3dx10_34
1067 enable_d3dx10_35
1068 enable_d3dx10_36
1069 enable_d3dx10_37
1070 enable_d3dx10_38
1071 enable_d3dx10_39
1072 enable_d3dx10_40
1073 enable_d3dx10_41
1074 enable_d3dx10_42
1075 enable_d3dx10_43
1076 enable_d3dx11_42
1077 enable_d3dx11_43
1078 enable_d3dx9_24
1079 enable_d3dx9_25
1080 enable_d3dx9_26
1081 enable_d3dx9_27
1082 enable_d3dx9_28
1083 enable_d3dx9_29
1084 enable_d3dx9_30
1085 enable_d3dx9_31
1086 enable_d3dx9_32
1087 enable_d3dx9_33
1088 enable_d3dx9_34
1089 enable_d3dx9_35
1090 enable_d3dx9_36
1091 enable_d3dx9_37
1092 enable_d3dx9_38
1093 enable_d3dx9_39
1094 enable_d3dx9_40
1095 enable_d3dx9_41
1096 enable_d3dx9_42
1097 enable_d3dx9_43
1098 enable_d3dxof
1099 enable_davclnt
1100 enable_dbgeng
1101 enable_dbghelp
1102 enable_dciman32
1103 enable_ddraw
1104 enable_ddrawex
1105 enable_devenum
1106 enable_dhcpcsvc
1107 enable_difxapi
1108 enable_dinput
1109 enable_dinput8
1110 enable_dispex
1111 enable_dmband
1112 enable_dmcompos
1113 enable_dmime
1114 enable_dmloader
1115 enable_dmscript
1116 enable_dmstyle
1117 enable_dmsynth
1118 enable_dmusic
1119 enable_dmusic32
1120 enable_dnsapi
1121 enable_dplay
1122 enable_dplayx
1123 enable_dpnaddr
1124 enable_dpnet
1125 enable_dpnhpast
1126 enable_dpnlobby
1127 enable_dpvoice
1128 enable_dpwsockx
1129 enable_drmclien
1130 enable_dsound
1131 enable_dssenh
1132 enable_dswave
1133 enable_dwmapi
1134 enable_dwrite
1135 enable_dxdiagn
1136 enable_dxgi
1137 enable_dxva2
1138 enable_esent
1139 enable_evr
1140 enable_explorerframe
1141 enable_ext_ms_win_gdi_devcaps_l1_1_0
1142 enable_faultrep
1143 enable_fltlib
1144 enable_fltmgr_sys
1145 enable_fntcache
1146 enable_fontsub
1147 enable_fusion
1148 enable_fwpuclnt
1149 enable_gameux
1150 enable_gdi32
1151 enable_gdiplus
1152 enable_glu32
1153 enable_gphoto2_ds
1154 enable_gpkcsp
1155 enable_hal
1156 enable_hhctrl_ocx
1157 enable_hid
1158 enable_hidclass_sys
1159 enable_hlink
1160 enable_hnetcfg
1161 enable_httpapi
1162 enable_iccvid
1163 enable_icmp
1164 enable_ieframe
1165 enable_imaadp32_acm
1166 enable_imagehlp
1167 enable_imm32
1168 enable_inetcomm
1169 enable_inetcpl_cpl
1170 enable_inetmib1
1171 enable_infosoft
1172 enable_initpki
1173 enable_inkobj
1174 enable_inseng
1175 enable_iphlpapi
1176 enable_irprops_cpl
1177 enable_itircl
1178 enable_itss
1179 enable_joy_cpl
1180 enable_jscript
1181 enable_jsproxy
1182 enable_kernel32
1183 enable_kernelbase
1184 enable_ksuser
1185 enable_ktmw32
1186 enable_loadperf
1187 enable_localspl
1188 enable_localui
1189 enable_lz32
1190 enable_mapi32
1191 enable_mapistub
1192 enable_mciavi32
1193 enable_mcicda
1194 enable_mciqtz32
1195 enable_mciseq
1196 enable_mciwave
1197 enable_mf
1198 enable_mfplat
1199 enable_mfreadwrite
1200 enable_mgmtapi
1201 enable_midimap
1202 enable_mlang
1203 enable_mmcndmgr
1204 enable_mmdevapi
1205 enable_mountmgr_sys
1206 enable_mpr
1207 enable_mprapi
1208 enable_msacm32_drv
1209 enable_msacm32
1210 enable_msadp32_acm
1211 enable_msasn1
1212 enable_mscat32
1213 enable_mscms
1214 enable_mscoree
1215 enable_msctf
1216 enable_msctfp
1217 enable_msdaps
1218 enable_msdelta
1219 enable_msdmo
1220 enable_msdrm
1221 enable_msftedit
1222 enable_msg711_acm
1223 enable_msgsm32_acm
1224 enable_mshtml_tlb
1225 enable_mshtml
1226 enable_msi
1227 enable_msident
1228 enable_msimg32
1229 enable_msimsg
1230 enable_msimtf
1231 enable_msisip
1232 enable_msisys_ocx
1233 enable_msls31
1234 enable_msnet32
1235 enable_mspatcha
1236 enable_msports
1237 enable_msrle32
1238 enable_msscript_ocx
1239 enable_mssign32
1240 enable_mssip32
1241 enable_mstask
1242 enable_msvcirt
1243 enable_msvcm80
1244 enable_msvcm90
1245 enable_msvcp100
1246 enable_msvcp110
1247 enable_msvcp120
1248 enable_msvcp120_app
1249 enable_msvcp140
1250 enable_msvcp60
1251 enable_msvcp70
1252 enable_msvcp71
1253 enable_msvcp80
1254 enable_msvcp90
1255 enable_msvcr100
1256 enable_msvcr110
1257 enable_msvcr120
1258 enable_msvcr120_app
1259 enable_msvcr70
1260 enable_msvcr71
1261 enable_msvcr80
1262 enable_msvcr90
1263 enable_msvcrt
1264 enable_msvcrt20
1265 enable_msvcrt40
1266 enable_msvcrtd
1267 enable_msvfw32
1268 enable_msvidc32
1269 enable_mswsock
1270 enable_msxml
1271 enable_msxml2
1272 enable_msxml3
1273 enable_msxml4
1274 enable_msxml6
1275 enable_ncrypt
1276 enable_nddeapi
1277 enable_ndis_sys
1278 enable_netapi32
1279 enable_netcfgx
1280 enable_netprofm
1281 enable_newdev
1282 enable_normaliz
1283 enable_npmshtml
1284 enable_npptools
1285 enable_ntdll
1286 enable_ntdsapi
1287 enable_ntoskrnl_exe
1288 enable_ntprint
1289 enable_objsel
1290 enable_odbc32
1291 enable_odbccp32
1292 enable_odbccu32
1293 enable_ole32
1294 enable_oleacc
1295 enable_oleaut32
1296 enable_olecli32
1297 enable_oledb32
1298 enable_oledlg
1299 enable_olepro32
1300 enable_olesvr32
1301 enable_olethk32
1302 enable_openal32
1303 enable_opencl
1304 enable_opengl32
1305 enable_packager
1306 enable_pdh
1307 enable_photometadatahandler
1308 enable_pidgen
1309 enable_powrprof
1310 enable_printui
1311 enable_prntvpt
1312 enable_propsys
1313 enable_psapi
1314 enable_pstorec
1315 enable_qcap
1316 enable_qedit
1317 enable_qmgr
1318 enable_qmgrprxy
1319 enable_quartz
1320 enable_query
1321 enable_rasapi32
1322 enable_rasdlg
1323 enable_regapi
1324 enable_resutils
1325 enable_riched20
1326 enable_riched32
1327 enable_rpcrt4
1328 enable_rsabase
1329 enable_rsaenh
1330 enable_rstrtmgr
1331 enable_rtutils
1332 enable_samlib
1333 enable_sane_ds
1334 enable_scarddlg
1335 enable_sccbase
1336 enable_schannel
1337 enable_schedsvc
1338 enable_scrrun
1339 enable_scsiport_sys
1340 enable_secur32
1341 enable_security
1342 enable_sensapi
1343 enable_serialui
1344 enable_setupapi
1345 enable_sfc
1346 enable_sfc_os
1347 enable_shdoclc
1348 enable_shdocvw
1349 enable_shell32
1350 enable_shfolder
1351 enable_shlwapi
1352 enable_slbcsp
1353 enable_slc
1354 enable_snmpapi
1355 enable_softpub
1356 enable_spoolss
1357 enable_sspicli
1358 enable_stdole2_tlb
1359 enable_stdole32_tlb
1360 enable_sti
1361 enable_svrapi
1362 enable_sxs
1363 enable_t2embed
1364 enable_tapi32
1365 enable_taskschd
1366 enable_tdi_sys
1367 enable_traffic
1368 enable_twain_32
1369 enable_ucrtbase
1370 enable_unicows
1371 enable_updspapi
1372 enable_url
1373 enable_urlmon
1374 enable_usbd_sys
1375 enable_user32
1376 enable_userenv
1377 enable_usp10
1378 enable_uxtheme
1379 enable_vbscript
1380 enable_vcomp
1381 enable_vcomp100
1382 enable_vcomp110
1383 enable_vcomp120
1384 enable_vcomp140
1385 enable_vcomp90
1386 enable_vcruntime140
1387 enable_vdmdbg
1388 enable_version
1389 enable_vssapi
1390 enable_wbemdisp
1391 enable_wbemprox
1392 enable_webservices
1393 enable_wer
1394 enable_wevtapi
1395 enable_wiaservc
1396 enable_wimgapi
1397 enable_windowscodecs
1398 enable_windowscodecsext
1399 enable_winealsa_drv
1400 enable_winebus_sys
1401 enable_winecoreaudio_drv
1402 enable_wined3d
1403 enable_winegstreamer
1404 enable_winejoystick_drv
1405 enable_winemac_drv
1406 enable_winemapi
1407 enable_winemp3_acm
1408 enable_wineoss_drv
1409 enable_wineps_drv
1410 enable_winepulse_drv
1411 enable_wineqtdecoder
1412 enable_winex11_drv
1413 enable_wing32
1414 enable_winhttp
1415 enable_wininet
1416 enable_winmm
1417 enable_winnls32
1418 enable_winscard
1419 enable_winspool_drv
1420 enable_winsta
1421 enable_wintab32
1422 enable_wintrust
1423 enable_wlanapi
1424 enable_wldap32
1425 enable_wmasf
1426 enable_wmi
1427 enable_wmiutils
1428 enable_wmp
1429 enable_wmvcore
1430 enable_wnaspi32
1431 enable_wpc
1432 enable_wpcap
1433 enable_ws2_32
1434 enable_wshom_ocx
1435 enable_wsnmp32
1436 enable_wsock32
1437 enable_wtsapi32
1438 enable_wuapi
1439 enable_wuaueng
1440 enable_x3daudio1_0
1441 enable_x3daudio1_1
1442 enable_x3daudio1_2
1443 enable_x3daudio1_3
1444 enable_x3daudio1_4
1445 enable_x3daudio1_5
1446 enable_x3daudio1_6
1447 enable_x3daudio1_7
1448 enable_xapofx1_1
1449 enable_xapofx1_2
1450 enable_xapofx1_3
1451 enable_xapofx1_4
1452 enable_xapofx1_5
1453 enable_xaudio2_0
1454 enable_xaudio2_1
1455 enable_xaudio2_2
1456 enable_xaudio2_3
1457 enable_xaudio2_4
1458 enable_xaudio2_5
1459 enable_xaudio2_6
1460 enable_xaudio2_7
1461 enable_xaudio2_8
1462 enable_xaudio2_9
1463 enable_xinput1_1
1464 enable_xinput1_2
1465 enable_xinput1_3
1466 enable_xinput1_4
1467 enable_xinput9_1_0
1468 enable_xmllite
1469 enable_xolehlp
1470 enable_xpsprint
1471 enable_xpssvcs
1472 enable_fonts
1473 enable_include
1474 enable_libs_port
1475 enable_libs_wine
1476 enable_libs_wpp
1477 enable_loader
1478 enable_po
1479 enable_arp
1480 enable_aspnet_regiis
1481 enable_attrib
1482 enable_cabarc
1483 enable_cacls
1484 enable_clock
1485 enable_cmd
1486 enable_conhost
1487 enable_control
1488 enable_cscript
1489 enable_dpnsvr
1490 enable_dxdiag
1491 enable_eject
1492 enable_expand
1493 enable_explorer
1494 enable_extrac32
1495 enable_findstr
1496 enable_fsutil
1497 enable_hh
1498 enable_hostname
1499 enable_icacls
1500 enable_icinfo
1501 enable_iexplore
1502 enable_ipconfig
1503 enable_lodctr
1504 enable_mofcomp
1505 enable_mshta
1506 enable_msiexec
1507 enable_msinfo32
1508 enable_net
1509 enable_netsh
1510 enable_netstat
1511 enable_ngen
1512 enable_notepad
1513 enable_oleview
1514 enable_ping
1515 enable_plugplay
1516 enable_presentationfontcache
1517 enable_progman
1518 enable_reg
1519 enable_regasm
1520 enable_regedit
1521 enable_regsvcs
1522 enable_regsvr32
1523 enable_rpcss
1524 enable_rundll32
1525 enable_sc
1526 enable_schtasks
1527 enable_sdbinst
1528 enable_secedit
1529 enable_servicemodelreg
1530 enable_services
1531 enable_shutdown
1532 enable_spoolsv
1533 enable_start
1534 enable_svchost
1535 enable_systeminfo
1536 enable_taskkill
1537 enable_tasklist
1538 enable_taskmgr
1539 enable_termsv
1540 enable_uninstaller
1541 enable_unlodctr
1542 enable_view
1543 enable_wevtutil
1544 enable_wineboot
1545 enable_winebrowser
1546 enable_winecfg
1547 enable_wineconsole
1548 enable_winedbg
1549 enable_winedevice
1550 enable_winefile
1551 enable_winemenubuilder
1552 enable_winemine
1553 enable_winemsibuilder
1554 enable_winepath
1555 enable_winetest
1556 enable_winhlp32
1557 enable_winver
1558 enable_wmic
1559 enable_wmplayer
1560 enable_wordpad
1561 enable_write
1562 enable_wscript
1563 enable_wusa
1564 enable_xcopy
1565 enable_server
1566 enable_tools
1568 ac_precious_vars='build_alias
1569 host_alias
1570 target_alias
1572 CFLAGS
1573 LDFLAGS
1574 LIBS
1575 CPPFLAGS
1577 CXXFLAGS
1580 XMKMF
1581 XML2_CFLAGS
1582 XML2_LIBS
1583 XSLT_CFLAGS
1584 XSLT_LIBS
1585 DBUS_CFLAGS
1586 DBUS_LIBS
1587 HAL_CFLAGS
1588 HAL_LIBS
1589 GNUTLS_CFLAGS
1590 GNUTLS_LIBS
1591 SANE_CFLAGS
1592 SANE_LIBS
1593 GPHOTO2_CFLAGS
1594 GPHOTO2_LIBS
1595 GPHOTO2_PORT_CFLAGS
1596 GPHOTO2_PORT_LIBS
1597 LCMS2_CFLAGS
1598 LCMS2_LIBS
1599 FREETYPE_CFLAGS
1600 FREETYPE_LIBS
1601 PULSE_CFLAGS
1602 PULSE_LIBS
1603 GSTREAMER_CFLAGS
1604 GSTREAMER_LIBS
1605 UDEV_CFLAGS
1606 UDEV_LIBS
1607 CAPI20_CFLAGS
1608 CAPI20_LIBS
1609 FONTCONFIG_CFLAGS
1610 FONTCONFIG_LIBS
1611 JPEG_CFLAGS
1612 JPEG_LIBS
1613 PNG_CFLAGS
1614 PNG_LIBS
1615 TIFF_CFLAGS
1616 TIFF_LIBS
1617 MPG123_CFLAGS
1618 MPG123_LIBS
1619 NETAPI_CFLAGS
1620 NETAPI_LIBS'
1623 # Initialize some variables set by options.
1624 ac_init_help=
1625 ac_init_version=false
1626 ac_unrecognized_opts=
1627 ac_unrecognized_sep=
1628 # The variables have the same names as the options, with
1629 # dashes changed to underlines.
1630 cache_file=/dev/null
1631 exec_prefix=NONE
1632 no_create=
1633 no_recursion=
1634 prefix=NONE
1635 program_prefix=NONE
1636 program_suffix=NONE
1637 program_transform_name=s,x,x,
1638 silent=
1639 site=
1640 srcdir=
1641 verbose=
1642 x_includes=NONE
1643 x_libraries=NONE
1645 # Installation directory options.
1646 # These are left unexpanded so users can "make install exec_prefix=/foo"
1647 # and all the variables that are supposed to be based on exec_prefix
1648 # by default will actually change.
1649 # Use braces instead of parens because sh, perl, etc. also accept them.
1650 # (The list follows the same order as the GNU Coding Standards.)
1651 bindir='${exec_prefix}/bin'
1652 sbindir='${exec_prefix}/sbin'
1653 libexecdir='${exec_prefix}/libexec'
1654 datarootdir='${prefix}/share'
1655 datadir='${datarootdir}'
1656 sysconfdir='${prefix}/etc'
1657 sharedstatedir='${prefix}/com'
1658 localstatedir='${prefix}/var'
1659 runstatedir='${localstatedir}/run'
1660 includedir='${prefix}/include'
1661 oldincludedir='/usr/include'
1662 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1663 infodir='${datarootdir}/info'
1664 htmldir='${docdir}'
1665 dvidir='${docdir}'
1666 pdfdir='${docdir}'
1667 psdir='${docdir}'
1668 libdir='${exec_prefix}/lib'
1669 localedir='${datarootdir}/locale'
1670 mandir='${datarootdir}/man'
1672 ac_prev=
1673 ac_dashdash=
1674 for ac_option
1676 # If the previous option needs an argument, assign it.
1677 if test -n "$ac_prev"; then
1678 eval $ac_prev=\$ac_option
1679 ac_prev=
1680 continue
1683 case $ac_option in
1684 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1685 *=) ac_optarg= ;;
1686 *) ac_optarg=yes ;;
1687 esac
1689 # Accept the important Cygnus configure options, so we can diagnose typos.
1691 case $ac_dashdash$ac_option in
1693 ac_dashdash=yes ;;
1695 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1696 ac_prev=bindir ;;
1697 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1698 bindir=$ac_optarg ;;
1700 -build | --build | --buil | --bui | --bu)
1701 ac_prev=build_alias ;;
1702 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1703 build_alias=$ac_optarg ;;
1705 -cache-file | --cache-file | --cache-fil | --cache-fi \
1706 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1707 ac_prev=cache_file ;;
1708 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1709 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1710 cache_file=$ac_optarg ;;
1712 --config-cache | -C)
1713 cache_file=config.cache ;;
1715 -datadir | --datadir | --datadi | --datad)
1716 ac_prev=datadir ;;
1717 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1718 datadir=$ac_optarg ;;
1720 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1721 | --dataroo | --dataro | --datar)
1722 ac_prev=datarootdir ;;
1723 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1724 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1725 datarootdir=$ac_optarg ;;
1727 -disable-* | --disable-*)
1728 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1729 # Reject names that are not valid shell variable names.
1730 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1731 as_fn_error $? "invalid feature name: $ac_useropt"
1732 ac_useropt_orig=$ac_useropt
1733 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1734 case $ac_user_opts in
1736 "enable_$ac_useropt"
1737 "*) ;;
1738 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1739 ac_unrecognized_sep=', ';;
1740 esac
1741 eval enable_$ac_useropt=no ;;
1743 -docdir | --docdir | --docdi | --doc | --do)
1744 ac_prev=docdir ;;
1745 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1746 docdir=$ac_optarg ;;
1748 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1749 ac_prev=dvidir ;;
1750 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1751 dvidir=$ac_optarg ;;
1753 -enable-* | --enable-*)
1754 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1755 # Reject names that are not valid shell variable names.
1756 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1757 as_fn_error $? "invalid feature name: $ac_useropt"
1758 ac_useropt_orig=$ac_useropt
1759 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1760 case $ac_user_opts in
1762 "enable_$ac_useropt"
1763 "*) ;;
1764 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1765 ac_unrecognized_sep=', ';;
1766 esac
1767 eval enable_$ac_useropt=\$ac_optarg ;;
1769 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1770 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1771 | --exec | --exe | --ex)
1772 ac_prev=exec_prefix ;;
1773 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1774 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1775 | --exec=* | --exe=* | --ex=*)
1776 exec_prefix=$ac_optarg ;;
1778 -gas | --gas | --ga | --g)
1779 # Obsolete; use --with-gas.
1780 with_gas=yes ;;
1782 -help | --help | --hel | --he | -h)
1783 ac_init_help=long ;;
1784 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1785 ac_init_help=recursive ;;
1786 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1787 ac_init_help=short ;;
1789 -host | --host | --hos | --ho)
1790 ac_prev=host_alias ;;
1791 -host=* | --host=* | --hos=* | --ho=*)
1792 host_alias=$ac_optarg ;;
1794 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1795 ac_prev=htmldir ;;
1796 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1797 | --ht=*)
1798 htmldir=$ac_optarg ;;
1800 -includedir | --includedir | --includedi | --included | --include \
1801 | --includ | --inclu | --incl | --inc)
1802 ac_prev=includedir ;;
1803 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1804 | --includ=* | --inclu=* | --incl=* | --inc=*)
1805 includedir=$ac_optarg ;;
1807 -infodir | --infodir | --infodi | --infod | --info | --inf)
1808 ac_prev=infodir ;;
1809 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1810 infodir=$ac_optarg ;;
1812 -libdir | --libdir | --libdi | --libd)
1813 ac_prev=libdir ;;
1814 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1815 libdir=$ac_optarg ;;
1817 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1818 | --libexe | --libex | --libe)
1819 ac_prev=libexecdir ;;
1820 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1821 | --libexe=* | --libex=* | --libe=*)
1822 libexecdir=$ac_optarg ;;
1824 -localedir | --localedir | --localedi | --localed | --locale)
1825 ac_prev=localedir ;;
1826 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1827 localedir=$ac_optarg ;;
1829 -localstatedir | --localstatedir | --localstatedi | --localstated \
1830 | --localstate | --localstat | --localsta | --localst | --locals)
1831 ac_prev=localstatedir ;;
1832 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1833 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1834 localstatedir=$ac_optarg ;;
1836 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1837 ac_prev=mandir ;;
1838 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1839 mandir=$ac_optarg ;;
1841 -nfp | --nfp | --nf)
1842 # Obsolete; use --without-fp.
1843 with_fp=no ;;
1845 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1846 | --no-cr | --no-c | -n)
1847 no_create=yes ;;
1849 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1850 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1851 no_recursion=yes ;;
1853 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1854 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1855 | --oldin | --oldi | --old | --ol | --o)
1856 ac_prev=oldincludedir ;;
1857 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1858 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1859 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1860 oldincludedir=$ac_optarg ;;
1862 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1863 ac_prev=prefix ;;
1864 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1865 prefix=$ac_optarg ;;
1867 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1868 | --program-pre | --program-pr | --program-p)
1869 ac_prev=program_prefix ;;
1870 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1871 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1872 program_prefix=$ac_optarg ;;
1874 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1875 | --program-suf | --program-su | --program-s)
1876 ac_prev=program_suffix ;;
1877 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1878 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1879 program_suffix=$ac_optarg ;;
1881 -program-transform-name | --program-transform-name \
1882 | --program-transform-nam | --program-transform-na \
1883 | --program-transform-n | --program-transform- \
1884 | --program-transform | --program-transfor \
1885 | --program-transfo | --program-transf \
1886 | --program-trans | --program-tran \
1887 | --progr-tra | --program-tr | --program-t)
1888 ac_prev=program_transform_name ;;
1889 -program-transform-name=* | --program-transform-name=* \
1890 | --program-transform-nam=* | --program-transform-na=* \
1891 | --program-transform-n=* | --program-transform-=* \
1892 | --program-transform=* | --program-transfor=* \
1893 | --program-transfo=* | --program-transf=* \
1894 | --program-trans=* | --program-tran=* \
1895 | --progr-tra=* | --program-tr=* | --program-t=*)
1896 program_transform_name=$ac_optarg ;;
1898 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1899 ac_prev=pdfdir ;;
1900 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1901 pdfdir=$ac_optarg ;;
1903 -psdir | --psdir | --psdi | --psd | --ps)
1904 ac_prev=psdir ;;
1905 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1906 psdir=$ac_optarg ;;
1908 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1909 | -silent | --silent | --silen | --sile | --sil)
1910 silent=yes ;;
1912 -runstatedir | --runstatedir | --runstatedi | --runstated \
1913 | --runstate | --runstat | --runsta | --runst | --runs \
1914 | --run | --ru | --r)
1915 ac_prev=runstatedir ;;
1916 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1917 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1918 | --run=* | --ru=* | --r=*)
1919 runstatedir=$ac_optarg ;;
1921 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1922 ac_prev=sbindir ;;
1923 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1924 | --sbi=* | --sb=*)
1925 sbindir=$ac_optarg ;;
1927 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1928 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1929 | --sharedst | --shareds | --shared | --share | --shar \
1930 | --sha | --sh)
1931 ac_prev=sharedstatedir ;;
1932 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1933 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1934 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1935 | --sha=* | --sh=*)
1936 sharedstatedir=$ac_optarg ;;
1938 -site | --site | --sit)
1939 ac_prev=site ;;
1940 -site=* | --site=* | --sit=*)
1941 site=$ac_optarg ;;
1943 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1944 ac_prev=srcdir ;;
1945 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1946 srcdir=$ac_optarg ;;
1948 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1949 | --syscon | --sysco | --sysc | --sys | --sy)
1950 ac_prev=sysconfdir ;;
1951 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1952 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1953 sysconfdir=$ac_optarg ;;
1955 -target | --target | --targe | --targ | --tar | --ta | --t)
1956 ac_prev=target_alias ;;
1957 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1958 target_alias=$ac_optarg ;;
1960 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1961 verbose=yes ;;
1963 -version | --version | --versio | --versi | --vers | -V)
1964 ac_init_version=: ;;
1966 -with-* | --with-*)
1967 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1968 # Reject names that are not valid shell variable names.
1969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1970 as_fn_error $? "invalid package name: $ac_useropt"
1971 ac_useropt_orig=$ac_useropt
1972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1973 case $ac_user_opts in
1975 "with_$ac_useropt"
1976 "*) ;;
1977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1978 ac_unrecognized_sep=', ';;
1979 esac
1980 eval with_$ac_useropt=\$ac_optarg ;;
1982 -without-* | --without-*)
1983 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1984 # Reject names that are not valid shell variable names.
1985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1986 as_fn_error $? "invalid package name: $ac_useropt"
1987 ac_useropt_orig=$ac_useropt
1988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1989 case $ac_user_opts in
1991 "with_$ac_useropt"
1992 "*) ;;
1993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1994 ac_unrecognized_sep=', ';;
1995 esac
1996 eval with_$ac_useropt=no ;;
1998 --x)
1999 # Obsolete; use --with-x.
2000 with_x=yes ;;
2002 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2003 | --x-incl | --x-inc | --x-in | --x-i)
2004 ac_prev=x_includes ;;
2005 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2006 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2007 x_includes=$ac_optarg ;;
2009 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2010 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2011 ac_prev=x_libraries ;;
2012 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2013 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2014 x_libraries=$ac_optarg ;;
2016 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2017 Try \`$0 --help' for more information"
2020 *=*)
2021 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2022 # Reject names that are not valid shell variable names.
2023 case $ac_envvar in #(
2024 '' | [0-9]* | *[!_$as_cr_alnum]* )
2025 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2026 esac
2027 eval $ac_envvar=\$ac_optarg
2028 export $ac_envvar ;;
2031 # FIXME: should be removed in autoconf 3.0.
2032 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2033 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2034 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2035 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2038 esac
2039 done
2041 if test -n "$ac_prev"; then
2042 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2043 as_fn_error $? "missing argument to $ac_option"
2046 if test -n "$ac_unrecognized_opts"; then
2047 case $enable_option_checking in
2048 no) ;;
2049 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2050 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2051 esac
2054 # Check all directory arguments for consistency.
2055 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2056 datadir sysconfdir sharedstatedir localstatedir includedir \
2057 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2058 libdir localedir mandir runstatedir
2060 eval ac_val=\$$ac_var
2061 # Remove trailing slashes.
2062 case $ac_val in
2063 */ )
2064 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2065 eval $ac_var=\$ac_val;;
2066 esac
2067 # Be sure to have absolute directory names.
2068 case $ac_val in
2069 [\\/$]* | ?:[\\/]* ) continue;;
2070 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2071 esac
2072 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2073 done
2075 # There might be people who depend on the old broken behavior: `$host'
2076 # used to hold the argument of --host etc.
2077 # FIXME: To remove some day.
2078 build=$build_alias
2079 host=$host_alias
2080 target=$target_alias
2082 # FIXME: To remove some day.
2083 if test "x$host_alias" != x; then
2084 if test "x$build_alias" = x; then
2085 cross_compiling=maybe
2086 elif test "x$build_alias" != "x$host_alias"; then
2087 cross_compiling=yes
2091 ac_tool_prefix=
2092 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2094 test "$silent" = yes && exec 6>/dev/null
2097 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2098 ac_ls_di=`ls -di .` &&
2099 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2100 as_fn_error $? "working directory cannot be determined"
2101 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2102 as_fn_error $? "pwd does not report name of working directory"
2105 # Find the source files, if location was not specified.
2106 if test -z "$srcdir"; then
2107 ac_srcdir_defaulted=yes
2108 # Try the directory containing this script, then the parent directory.
2109 ac_confdir=`$as_dirname -- "$as_myself" ||
2110 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2111 X"$as_myself" : 'X\(//\)[^/]' \| \
2112 X"$as_myself" : 'X\(//\)$' \| \
2113 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2114 $as_echo X"$as_myself" |
2115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2116 s//\1/
2119 /^X\(\/\/\)[^/].*/{
2120 s//\1/
2123 /^X\(\/\/\)$/{
2124 s//\1/
2127 /^X\(\/\).*/{
2128 s//\1/
2131 s/.*/./; q'`
2132 srcdir=$ac_confdir
2133 if test ! -r "$srcdir/$ac_unique_file"; then
2134 srcdir=..
2136 else
2137 ac_srcdir_defaulted=no
2139 if test ! -r "$srcdir/$ac_unique_file"; then
2140 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2141 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2143 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2144 ac_abs_confdir=`(
2145 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2146 pwd)`
2147 # When building in place, set srcdir=.
2148 if test "$ac_abs_confdir" = "$ac_pwd"; then
2149 srcdir=.
2151 # Remove unnecessary trailing slashes from srcdir.
2152 # Double slashes in file names in object file debugging info
2153 # mess up M-x gdb in Emacs.
2154 case $srcdir in
2155 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2156 esac
2157 for ac_var in $ac_precious_vars; do
2158 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2159 eval ac_env_${ac_var}_value=\$${ac_var}
2160 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2161 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2162 done
2165 # Report the --help message.
2167 if test "$ac_init_help" = "long"; then
2168 # Omit some internal or obsolete options to make the list less imposing.
2169 # This message is too long to be a string in the A/UX 3.1 sh.
2170 cat <<_ACEOF
2171 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2173 Usage: $0 [OPTION]... [VAR=VALUE]...
2175 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2176 VAR=VALUE. See below for descriptions of some of the useful variables.
2178 Defaults for the options are specified in brackets.
2180 Configuration:
2181 -h, --help display this help and exit
2182 --help=short display options specific to this package
2183 --help=recursive display the short help of all the included packages
2184 -V, --version display version information and exit
2185 -q, --quiet, --silent do not print \`checking ...' messages
2186 --cache-file=FILE cache test results in FILE [disabled]
2187 -C, --config-cache alias for \`--cache-file=config.cache'
2188 -n, --no-create do not create output files
2189 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2191 Installation directories:
2192 --prefix=PREFIX install architecture-independent files in PREFIX
2193 [$ac_default_prefix]
2194 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2195 [PREFIX]
2197 By default, \`make install' will install all the files in
2198 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2199 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2200 for instance \`--prefix=\$HOME'.
2202 For better control, use the options below.
2204 Fine tuning of the installation directories:
2205 --bindir=DIR user executables [EPREFIX/bin]
2206 --sbindir=DIR system admin executables [EPREFIX/sbin]
2207 --libexecdir=DIR program executables [EPREFIX/libexec]
2208 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2209 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2210 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2211 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2212 --libdir=DIR object code libraries [EPREFIX/lib]
2213 --includedir=DIR C header files [PREFIX/include]
2214 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2215 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2216 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2217 --infodir=DIR info documentation [DATAROOTDIR/info]
2218 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2219 --mandir=DIR man documentation [DATAROOTDIR/man]
2220 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2221 --htmldir=DIR html documentation [DOCDIR]
2222 --dvidir=DIR dvi documentation [DOCDIR]
2223 --pdfdir=DIR pdf documentation [DOCDIR]
2224 --psdir=DIR ps documentation [DOCDIR]
2225 _ACEOF
2227 cat <<\_ACEOF
2229 X features:
2230 --x-includes=DIR X include files are in DIR
2231 --x-libraries=DIR X library files are in DIR
2233 System types:
2234 --build=BUILD configure for building on BUILD [guessed]
2235 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2236 _ACEOF
2239 if test -n "$ac_init_help"; then
2240 case $ac_init_help in
2241 short | recursive ) echo "Configuration of Wine 1.9.18:";;
2242 esac
2243 cat <<\_ACEOF
2245 Optional Features:
2246 --disable-option-checking ignore unrecognized --enable/--with options
2247 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2248 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2249 --disable-win16 do not include Win16 support
2250 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2251 binaries)
2252 --disable-tests do not build the regression tests
2253 --enable-maintainer-mode
2254 enable maintainer-specific build rules
2255 --disable-largefile omit support for large files
2257 Optional Packages:
2258 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2259 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2260 --without-alsa do not use the Alsa sound support
2261 --without-capi do not use CAPI (ISDN support)
2262 --without-cms do not use CMS (color management support)
2263 --without-coreaudio do not use the CoreAudio sound support
2264 --without-cups do not use CUPS
2265 --without-curses do not use (n)curses
2266 --without-dbus do not use DBus (dynamic device support)
2267 --without-fontconfig do not use fontconfig
2268 --without-freetype do not use the FreeType library
2269 --without-gettext do not use gettext
2270 --with-gettextpo use the GetTextPO library to rebuild po files
2271 --without-gphoto do not use gphoto (Digital Camera support)
2272 --without-glu do not use the GLU library
2273 --without-gnutls do not use GnuTLS (schannel support)
2274 --without-gsm do not use libgsm (GSM 06.10 codec support)
2275 --without-gstreamer do not use GStreamer (codecs support)
2276 --without-hal do not use HAL (dynamic device support)
2277 --without-jpeg do not use JPEG
2278 --without-ldap do not use LDAP
2279 --without-mpg123 do not use the mpg123 library
2280 --without-netapi do not use the Samba NetAPI library
2281 --without-openal do not use OpenAL
2282 --without-opencl do not use OpenCL
2283 --without-opengl do not use OpenGL
2284 --without-osmesa do not use the OSMesa library
2285 --without-oss do not use the OSS sound support
2286 --without-pcap do not use the Packet Capture library
2287 --without-png do not use PNG
2288 --without-pthread do not use the pthread library
2289 --without-pulse do not use PulseAudio sound support
2290 --without-sane do not use SANE (scanner support)
2291 --without-tiff do not use TIFF
2292 --without-udev do not use udev (plug and play support)
2293 --without-v4l do not use v4l1 (v4l support)
2294 --without-xcomposite do not use the Xcomposite extension
2295 --without-xcursor do not use the Xcursor extension
2296 --without-xinerama do not use Xinerama (multi-monitor support)
2297 --without-xinput do not use the Xinput extension
2298 --without-xinput2 do not use the Xinput 2 extension
2299 --without-xml do not use XML
2300 --without-xrandr do not use Xrandr (resolution changes)
2301 --without-xrender do not use the Xrender extension
2302 --without-xshape do not use the Xshape extension
2303 --without-xshm do not use XShm (shared memory extension)
2304 --without-xslt do not use XSLT
2305 --without-xxf86vm do not use XFree video mode extension
2306 --without-zlib do not use Zlib (data compression)
2307 --with-wine-tools=DIR use Wine tools from directory DIR
2308 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2309 --with-x use the X Window System
2311 Some influential environment variables:
2312 CC C compiler command
2313 CFLAGS C compiler flags
2314 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2315 nonstandard directory <lib dir>
2316 LIBS libraries to pass to the linker, e.g. -l<library>
2317 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2318 you have headers in a nonstandard directory <include dir>
2319 CXX C++ compiler command
2320 CXXFLAGS C++ compiler flags
2321 CPP C preprocessor
2322 XMKMF Path to xmkmf, Makefile generator for X Window System
2323 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2324 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2325 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2326 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2327 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2328 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2329 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2330 HAL_LIBS Linker flags for hal, overriding pkg-config
2331 GNUTLS_CFLAGS
2332 C compiler flags for gnutls, overriding pkg-config
2333 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2334 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2335 SANE_LIBS Linker flags for libsane, overriding pkg-config
2336 GPHOTO2_CFLAGS
2337 C compiler flags for libgphoto2, overriding pkg-config
2338 GPHOTO2_LIBS
2339 Linker flags for libgphoto2, overriding pkg-config
2340 GPHOTO2_PORT_CFLAGS
2341 C compiler flags for libgphoto2_port, overriding pkg-config
2342 GPHOTO2_PORT_LIBS
2343 Linker flags for libgphoto2_port, overriding pkg-config
2344 LCMS2_CFLAGS
2345 C compiler flags for lcms2, overriding pkg-config
2346 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2347 FREETYPE_CFLAGS
2348 C compiler flags for freetype2, overriding pkg-config
2349 FREETYPE_LIBS
2350 Linker flags for freetype2, overriding pkg-config
2351 PULSE_CFLAGS
2352 C compiler flags for libpulse, overriding pkg-config
2353 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2354 GSTREAMER_CFLAGS
2355 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2356 gstreamer-audio-1.0, overriding pkg-config
2357 GSTREAMER_LIBS
2358 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2359 gstreamer-audio-1.0, overriding pkg-config
2360 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2361 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2362 CAPI20_CFLAGS
2363 C compiler flags for capi20, overriding pkg-config
2364 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2365 FONTCONFIG_CFLAGS
2366 C compiler flags for fontconfig, overriding pkg-config
2367 FONTCONFIG_LIBS
2368 Linker flags for fontconfig, overriding pkg-config
2369 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2370 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2371 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2372 PNG_LIBS Linker flags for libpng, overriding pkg-config
2373 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2374 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2375 MPG123_CFLAGS
2376 C compiler flags for libmpg123, overriding pkg-config
2377 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2378 NETAPI_CFLAGS
2379 C compiler flags for netapi, overriding pkg-config
2380 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2382 Use these variables to override the choices made by `configure' or to help
2383 it to find libraries and programs with nonstandard names/locations.
2385 Report bugs to <wine-devel@winehq.org>.
2386 Wine home page: <http://www.winehq.org>.
2387 _ACEOF
2388 ac_status=$?
2391 if test "$ac_init_help" = "recursive"; then
2392 # If there are subdirs, report their specific --help.
2393 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2394 test -d "$ac_dir" ||
2395 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2396 continue
2397 ac_builddir=.
2399 case "$ac_dir" in
2400 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2402 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2403 # A ".." for each directory in $ac_dir_suffix.
2404 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2405 case $ac_top_builddir_sub in
2406 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2407 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2408 esac ;;
2409 esac
2410 ac_abs_top_builddir=$ac_pwd
2411 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2412 # for backward compatibility:
2413 ac_top_builddir=$ac_top_build_prefix
2415 case $srcdir in
2416 .) # We are building in place.
2417 ac_srcdir=.
2418 ac_top_srcdir=$ac_top_builddir_sub
2419 ac_abs_top_srcdir=$ac_pwd ;;
2420 [\\/]* | ?:[\\/]* ) # Absolute name.
2421 ac_srcdir=$srcdir$ac_dir_suffix;
2422 ac_top_srcdir=$srcdir
2423 ac_abs_top_srcdir=$srcdir ;;
2424 *) # Relative name.
2425 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2426 ac_top_srcdir=$ac_top_build_prefix$srcdir
2427 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2428 esac
2429 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2431 cd "$ac_dir" || { ac_status=$?; continue; }
2432 # Check for guested configure.
2433 if test -f "$ac_srcdir/configure.gnu"; then
2434 echo &&
2435 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2436 elif test -f "$ac_srcdir/configure"; then
2437 echo &&
2438 $SHELL "$ac_srcdir/configure" --help=recursive
2439 else
2440 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2441 fi || ac_status=$?
2442 cd "$ac_pwd" || { ac_status=$?; break; }
2443 done
2446 test -n "$ac_init_help" && exit $ac_status
2447 if $ac_init_version; then
2448 cat <<\_ACEOF
2449 Wine configure 1.9.18
2450 generated by GNU Autoconf 2.69
2452 Copyright (C) 2012 Free Software Foundation, Inc.
2453 This configure script is free software; the Free Software Foundation
2454 gives unlimited permission to copy, distribute and modify it.
2455 _ACEOF
2456 exit
2459 ## ------------------------ ##
2460 ## Autoconf initialization. ##
2461 ## ------------------------ ##
2463 # ac_fn_c_try_compile LINENO
2464 # --------------------------
2465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2466 ac_fn_c_try_compile ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 rm -f conftest.$ac_objext
2470 if { { ac_try="$ac_compile"
2471 case "(($ac_try" in
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2474 esac
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_compile") 2>conftest.err
2478 ac_status=$?
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } && {
2486 test -z "$ac_c_werror_flag" ||
2487 test ! -s conftest.err
2488 } && test -s conftest.$ac_objext; then :
2489 ac_retval=0
2490 else
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_retval=1
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_c_try_compile
2501 # ac_fn_cxx_try_compile LINENO
2502 # ----------------------------
2503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2504 ac_fn_cxx_try_compile ()
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 rm -f conftest.$ac_objext
2508 if { { ac_try="$ac_compile"
2509 case "(($ac_try" in
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2512 esac
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_compile") 2>conftest.err
2516 ac_status=$?
2517 if test -s conftest.err; then
2518 grep -v '^ *+' conftest.err >conftest.er1
2519 cat conftest.er1 >&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_cxx_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest.$ac_objext; then :
2527 ac_retval=0
2528 else
2529 $as_echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2532 ac_retval=1
2534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2535 as_fn_set_status $ac_retval
2537 } # ac_fn_cxx_try_compile
2539 # ac_fn_c_try_link LINENO
2540 # -----------------------
2541 # Try to link conftest.$ac_ext, and return whether this succeeded.
2542 ac_fn_c_try_link ()
2544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2545 rm -f conftest.$ac_objext conftest$ac_exeext
2546 if { { ac_try="$ac_link"
2547 case "(($ac_try" in
2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2550 esac
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_link") 2>conftest.err
2554 ac_status=$?
2555 if test -s conftest.err; then
2556 grep -v '^ *+' conftest.err >conftest.er1
2557 cat conftest.er1 >&5
2558 mv -f conftest.er1 conftest.err
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; } && {
2562 test -z "$ac_c_werror_flag" ||
2563 test ! -s conftest.err
2564 } && test -s conftest$ac_exeext && {
2565 test "$cross_compiling" = yes ||
2566 test -x conftest$ac_exeext
2567 }; then :
2568 ac_retval=0
2569 else
2570 $as_echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2573 ac_retval=1
2575 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2576 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2577 # interfere with the next link command; also delete a directory that is
2578 # left behind by Apple's compiler. We do this before executing the actions.
2579 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2580 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2581 as_fn_set_status $ac_retval
2583 } # ac_fn_c_try_link
2585 # ac_fn_c_try_cpp LINENO
2586 # ----------------------
2587 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2588 ac_fn_c_try_cpp ()
2590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2591 if { { ac_try="$ac_cpp conftest.$ac_ext"
2592 case "(($ac_try" in
2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594 *) ac_try_echo=$ac_try;;
2595 esac
2596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2597 $as_echo "$ac_try_echo"; } >&5
2598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2599 ac_status=$?
2600 if test -s conftest.err; then
2601 grep -v '^ *+' conftest.err >conftest.er1
2602 cat conftest.er1 >&5
2603 mv -f conftest.er1 conftest.err
2605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2606 test $ac_status = 0; } > conftest.i && {
2607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2608 test ! -s conftest.err
2609 }; then :
2610 ac_retval=0
2611 else
2612 $as_echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 ac_retval=1
2617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 as_fn_set_status $ac_retval
2620 } # ac_fn_c_try_cpp
2622 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2623 # -------------------------------------------------------
2624 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2625 # the include files in INCLUDES and setting the cache variable VAR
2626 # accordingly.
2627 ac_fn_c_check_header_mongrel ()
2629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2630 if eval \${$3+:} false; then :
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2632 $as_echo_n "checking for $2... " >&6; }
2633 if eval \${$3+:} false; then :
2634 $as_echo_n "(cached) " >&6
2636 eval ac_res=\$$3
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2638 $as_echo "$ac_res" >&6; }
2639 else
2640 # Is the header compilable?
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2642 $as_echo_n "checking $2 usability... " >&6; }
2643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2644 /* end confdefs.h. */
2646 #include <$2>
2647 _ACEOF
2648 if ac_fn_c_try_compile "$LINENO"; then :
2649 ac_header_compiler=yes
2650 else
2651 ac_header_compiler=no
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2655 $as_echo "$ac_header_compiler" >&6; }
2657 # Is the header present?
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2659 $as_echo_n "checking $2 presence... " >&6; }
2660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 /* end confdefs.h. */
2662 #include <$2>
2663 _ACEOF
2664 if ac_fn_c_try_cpp "$LINENO"; then :
2665 ac_header_preproc=yes
2666 else
2667 ac_header_preproc=no
2669 rm -f conftest.err conftest.i conftest.$ac_ext
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2671 $as_echo "$ac_header_preproc" >&6; }
2673 # So? What about this header?
2674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2675 yes:no: )
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2677 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2679 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2681 no:yes:* )
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2683 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2685 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2687 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2689 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2691 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2692 ( $as_echo "## ------------------------------------ ##
2693 ## Report this to wine-devel@winehq.org ##
2694 ## ------------------------------------ ##"
2695 ) | sed "s/^/$as_me: WARNING: /" >&2
2697 esac
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \${$3+:} false; then :
2701 $as_echo_n "(cached) " >&6
2702 else
2703 eval "$3=\$ac_header_compiler"
2705 eval ac_res=\$$3
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2709 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 } # ac_fn_c_check_header_mongrel
2713 # ac_fn_c_try_run LINENO
2714 # ----------------------
2715 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2716 # that executables *can* be run.
2717 ac_fn_c_try_run ()
2719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2720 if { { ac_try="$ac_link"
2721 case "(($ac_try" in
2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2724 esac
2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 $as_echo "$ac_try_echo"; } >&5
2727 (eval "$ac_link") 2>&5
2728 ac_status=$?
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2731 { { case "(($ac_try" in
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2734 esac
2735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_try") 2>&5
2738 ac_status=$?
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; }; }; then :
2741 ac_retval=0
2742 else
2743 $as_echo "$as_me: program exited with status $ac_status" >&5
2744 $as_echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=$ac_status
2749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 as_fn_set_status $ac_retval
2753 } # ac_fn_c_try_run
2755 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2756 # -------------------------------------------------------
2757 # Tests whether HEADER exists and can be compiled using the include files in
2758 # INCLUDES, setting the cache variable VAR accordingly.
2759 ac_fn_c_check_header_compile ()
2761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2763 $as_echo_n "checking for $2... " >&6; }
2764 if eval \${$3+:} false; then :
2765 $as_echo_n "(cached) " >&6
2766 else
2767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2768 /* end confdefs.h. */
2770 #include <$2>
2771 _ACEOF
2772 if ac_fn_c_try_compile "$LINENO"; then :
2773 eval "$3=yes"
2774 else
2775 eval "$3=no"
2777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2779 eval ac_res=\$$3
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2781 $as_echo "$ac_res" >&6; }
2782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2784 } # ac_fn_c_check_header_compile
2786 # ac_fn_c_check_func LINENO FUNC VAR
2787 # ----------------------------------
2788 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2789 ac_fn_c_check_func ()
2791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2793 $as_echo_n "checking for $2... " >&6; }
2794 if eval \${$3+:} false; then :
2795 $as_echo_n "(cached) " >&6
2796 else
2797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2798 /* end confdefs.h. */
2799 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2801 #define $2 innocuous_$2
2803 /* System header to define __stub macros and hopefully few prototypes,
2804 which can conflict with char $2 (); below.
2805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2806 <limits.h> exists even on freestanding compilers. */
2808 #ifdef __STDC__
2809 # include <limits.h>
2810 #else
2811 # include <assert.h>
2812 #endif
2814 #undef $2
2816 /* Override any GCC internal prototype to avoid an error.
2817 Use char because int might match the return type of a GCC
2818 builtin and then its argument prototype would still apply. */
2819 #ifdef __cplusplus
2820 extern "C"
2821 #endif
2822 char $2 ();
2823 /* The GNU C library defines this for functions which it implements
2824 to always fail with ENOSYS. Some functions are actually named
2825 something starting with __ and the normal name is an alias. */
2826 #if defined __stub_$2 || defined __stub___$2
2827 choke me
2828 #endif
2831 main ()
2833 return $2 ();
2835 return 0;
2837 _ACEOF
2838 if ac_fn_c_try_link "$LINENO"; then :
2839 eval "$3=yes"
2840 else
2841 eval "$3=no"
2843 rm -f core conftest.err conftest.$ac_objext \
2844 conftest$ac_exeext conftest.$ac_ext
2846 eval ac_res=\$$3
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2848 $as_echo "$ac_res" >&6; }
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 } # ac_fn_c_check_func
2853 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2854 # ----------------------------------------------------
2855 # Tries to find if the field MEMBER exists in type AGGR, after including
2856 # INCLUDES, setting cache variable VAR accordingly.
2857 ac_fn_c_check_member ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2861 $as_echo_n "checking for $2.$3... " >&6; }
2862 if eval \${$4+:} false; then :
2863 $as_echo_n "(cached) " >&6
2864 else
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2869 main ()
2871 static $2 ac_aggr;
2872 if (ac_aggr.$3)
2873 return 0;
2875 return 0;
2877 _ACEOF
2878 if ac_fn_c_try_compile "$LINENO"; then :
2879 eval "$4=yes"
2880 else
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2885 main ()
2887 static $2 ac_aggr;
2888 if (sizeof ac_aggr.$3)
2889 return 0;
2891 return 0;
2893 _ACEOF
2894 if ac_fn_c_try_compile "$LINENO"; then :
2895 eval "$4=yes"
2896 else
2897 eval "$4=no"
2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 eval ac_res=\$$4
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2905 $as_echo "$ac_res" >&6; }
2906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2908 } # ac_fn_c_check_member
2910 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2911 # -------------------------------------------
2912 # Tests whether TYPE exists after having included INCLUDES, setting cache
2913 # variable VAR accordingly.
2914 ac_fn_c_check_type ()
2916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2918 $as_echo_n "checking for $2... " >&6; }
2919 if eval \${$3+:} false; then :
2920 $as_echo_n "(cached) " >&6
2921 else
2922 eval "$3=no"
2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924 /* end confdefs.h. */
2927 main ()
2929 if (sizeof ($2))
2930 return 0;
2932 return 0;
2934 _ACEOF
2935 if ac_fn_c_try_compile "$LINENO"; then :
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2940 main ()
2942 if (sizeof (($2)))
2943 return 0;
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_compile "$LINENO"; then :
2950 else
2951 eval "$3=yes"
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 eval ac_res=\$$3
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2962 } # ac_fn_c_check_type
2963 cat >config.log <<_ACEOF
2964 This file contains any messages produced by compilers while
2965 running configure, to aid debugging if configure makes a mistake.
2967 It was created by Wine $as_me 1.9.18, which was
2968 generated by GNU Autoconf 2.69. Invocation command line was
2970 $ $0 $@
2972 _ACEOF
2973 exec 5>>config.log
2975 cat <<_ASUNAME
2976 ## --------- ##
2977 ## Platform. ##
2978 ## --------- ##
2980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2987 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2989 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2990 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2992 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2993 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2994 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2995 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2997 _ASUNAME
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH
3002 IFS=$as_save_IFS
3003 test -z "$as_dir" && as_dir=.
3004 $as_echo "PATH: $as_dir"
3005 done
3006 IFS=$as_save_IFS
3008 } >&5
3010 cat >&5 <<_ACEOF
3013 ## ----------- ##
3014 ## Core tests. ##
3015 ## ----------- ##
3017 _ACEOF
3020 # Keep a trace of the command line.
3021 # Strip out --no-create and --no-recursion so they do not pile up.
3022 # Strip out --silent because we don't want to record it for future runs.
3023 # Also quote any args containing shell meta-characters.
3024 # Make two passes to allow for proper duplicate-argument suppression.
3025 ac_configure_args=
3026 ac_configure_args0=
3027 ac_configure_args1=
3028 ac_must_keep_next=false
3029 for ac_pass in 1 2
3031 for ac_arg
3033 case $ac_arg in
3034 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3036 | -silent | --silent | --silen | --sile | --sil)
3037 continue ;;
3038 *\'*)
3039 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3040 esac
3041 case $ac_pass in
3042 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3044 as_fn_append ac_configure_args1 " '$ac_arg'"
3045 if test $ac_must_keep_next = true; then
3046 ac_must_keep_next=false # Got value, back to normal.
3047 else
3048 case $ac_arg in
3049 *=* | --config-cache | -C | -disable-* | --disable-* \
3050 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3051 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3052 | -with-* | --with-* | -without-* | --without-* | --x)
3053 case "$ac_configure_args0 " in
3054 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3055 esac
3057 -* ) ac_must_keep_next=true ;;
3058 esac
3060 as_fn_append ac_configure_args " '$ac_arg'"
3062 esac
3063 done
3064 done
3065 { ac_configure_args0=; unset ac_configure_args0;}
3066 { ac_configure_args1=; unset ac_configure_args1;}
3068 # When interrupted or exit'd, cleanup temporary files, and complete
3069 # config.log. We remove comments because anyway the quotes in there
3070 # would cause problems or look ugly.
3071 # WARNING: Use '\'' to represent an apostrophe within the trap.
3072 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3073 trap 'exit_status=$?
3074 # Save into config.log some information that might help in debugging.
3076 echo
3078 $as_echo "## ---------------- ##
3079 ## Cache variables. ##
3080 ## ---------------- ##"
3081 echo
3082 # The following way of writing the cache mishandles newlines in values,
3084 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3085 eval ac_val=\$$ac_var
3086 case $ac_val in #(
3087 *${as_nl}*)
3088 case $ac_var in #(
3089 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3090 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3091 esac
3092 case $ac_var in #(
3093 _ | IFS | as_nl) ;; #(
3094 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3095 *) { eval $ac_var=; unset $ac_var;} ;;
3096 esac ;;
3097 esac
3098 done
3099 (set) 2>&1 |
3100 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3101 *${as_nl}ac_space=\ *)
3102 sed -n \
3103 "s/'\''/'\''\\\\'\'''\''/g;
3104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3105 ;; #(
3107 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3109 esac |
3110 sort
3112 echo
3114 $as_echo "## ----------------- ##
3115 ## Output variables. ##
3116 ## ----------------- ##"
3117 echo
3118 for ac_var in $ac_subst_vars
3120 eval ac_val=\$$ac_var
3121 case $ac_val in
3122 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3123 esac
3124 $as_echo "$ac_var='\''$ac_val'\''"
3125 done | sort
3126 echo
3128 if test -n "$ac_subst_files"; then
3129 $as_echo "## ------------------- ##
3130 ## File substitutions. ##
3131 ## ------------------- ##"
3132 echo
3133 for ac_var in $ac_subst_files
3135 eval ac_val=\$$ac_var
3136 case $ac_val in
3137 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3138 esac
3139 $as_echo "$ac_var='\''$ac_val'\''"
3140 done | sort
3141 echo
3144 if test -s confdefs.h; then
3145 $as_echo "## ----------- ##
3146 ## confdefs.h. ##
3147 ## ----------- ##"
3148 echo
3149 cat confdefs.h
3150 echo
3152 test "$ac_signal" != 0 &&
3153 $as_echo "$as_me: caught signal $ac_signal"
3154 $as_echo "$as_me: exit $exit_status"
3155 } >&5
3156 rm -f core *.core core.conftest.* &&
3157 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3158 exit $exit_status
3160 for ac_signal in 1 2 13 15; do
3161 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3162 done
3163 ac_signal=0
3165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3166 rm -f -r conftest* confdefs.h
3168 $as_echo "/* confdefs.h */" > confdefs.h
3170 # Predefined preprocessor variables.
3172 cat >>confdefs.h <<_ACEOF
3173 #define PACKAGE_NAME "$PACKAGE_NAME"
3174 _ACEOF
3176 cat >>confdefs.h <<_ACEOF
3177 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3178 _ACEOF
3180 cat >>confdefs.h <<_ACEOF
3181 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3182 _ACEOF
3184 cat >>confdefs.h <<_ACEOF
3185 #define PACKAGE_STRING "$PACKAGE_STRING"
3186 _ACEOF
3188 cat >>confdefs.h <<_ACEOF
3189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3190 _ACEOF
3192 cat >>confdefs.h <<_ACEOF
3193 #define PACKAGE_URL "$PACKAGE_URL"
3194 _ACEOF
3197 # Let the site file select an alternate cache file if it wants to.
3198 # Prefer an explicitly selected file to automatically selected ones.
3199 ac_site_file1=NONE
3200 ac_site_file2=NONE
3201 if test -n "$CONFIG_SITE"; then
3202 # We do not want a PATH search for config.site.
3203 case $CONFIG_SITE in #((
3204 -*) ac_site_file1=./$CONFIG_SITE;;
3205 */*) ac_site_file1=$CONFIG_SITE;;
3206 *) ac_site_file1=./$CONFIG_SITE;;
3207 esac
3208 elif test "x$prefix" != xNONE; then
3209 ac_site_file1=$prefix/share/config.site
3210 ac_site_file2=$prefix/etc/config.site
3211 else
3212 ac_site_file1=$ac_default_prefix/share/config.site
3213 ac_site_file2=$ac_default_prefix/etc/config.site
3215 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3217 test "x$ac_site_file" = xNONE && continue
3218 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3220 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3221 sed 's/^/| /' "$ac_site_file" >&5
3222 . "$ac_site_file" \
3223 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error $? "failed to load site script $ac_site_file
3226 See \`config.log' for more details" "$LINENO" 5; }
3228 done
3230 if test -r "$cache_file"; then
3231 # Some versions of bash will fail to source /dev/null (special files
3232 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3233 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3235 $as_echo "$as_me: loading cache $cache_file" >&6;}
3236 case $cache_file in
3237 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3238 *) . "./$cache_file";;
3239 esac
3241 else
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3243 $as_echo "$as_me: creating cache $cache_file" >&6;}
3244 >$cache_file
3247 # Check that the precious variables saved in the cache have kept the same
3248 # value.
3249 ac_cache_corrupted=false
3250 for ac_var in $ac_precious_vars; do
3251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3252 eval ac_new_set=\$ac_env_${ac_var}_set
3253 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3254 eval ac_new_val=\$ac_env_${ac_var}_value
3255 case $ac_old_set,$ac_new_set in
3256 set,)
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3258 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3259 ac_cache_corrupted=: ;;
3260 ,set)
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3262 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3263 ac_cache_corrupted=: ;;
3264 ,);;
3266 if test "x$ac_old_val" != "x$ac_new_val"; then
3267 # differences in whitespace do not lead to failure.
3268 ac_old_val_w=`echo x $ac_old_val`
3269 ac_new_val_w=`echo x $ac_new_val`
3270 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3272 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3273 ac_cache_corrupted=:
3274 else
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3276 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3277 eval $ac_var=\$ac_old_val
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3280 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3282 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3283 fi;;
3284 esac
3285 # Pass precious variables to config.status.
3286 if test "$ac_new_set" = set; then
3287 case $ac_new_val in
3288 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3289 *) ac_arg=$ac_var=$ac_new_val ;;
3290 esac
3291 case " $ac_configure_args " in
3292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3293 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3294 esac
3296 done
3297 if $ac_cache_corrupted; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3301 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3302 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3304 ## -------------------- ##
3305 ## Main body of script. ##
3306 ## -------------------- ##
3308 ac_ext=c
3309 ac_cpp='$CPP $CPPFLAGS'
3310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3316 ac_config_headers="$ac_config_headers include/config.h"
3318 ac_aux_dir=
3319 for ac_dir in tools "$srcdir"/tools; do
3320 if test -f "$ac_dir/install-sh"; then
3321 ac_aux_dir=$ac_dir
3322 ac_install_sh="$ac_aux_dir/install-sh -c"
3323 break
3324 elif test -f "$ac_dir/install.sh"; then
3325 ac_aux_dir=$ac_dir
3326 ac_install_sh="$ac_aux_dir/install.sh -c"
3327 break
3328 elif test -f "$ac_dir/shtool"; then
3329 ac_aux_dir=$ac_dir
3330 ac_install_sh="$ac_aux_dir/shtool install -c"
3331 break
3333 done
3334 if test -z "$ac_aux_dir"; then
3335 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3338 # These three variables are undocumented and unsupported,
3339 # and are intended to be withdrawn in a future Autoconf release.
3340 # They can cause serious problems if a builder's source tree is in a directory
3341 # whose full name contains unusual characters.
3342 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3343 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3344 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3348 libwine_version="1.0"
3352 # Check whether --enable-win16 was given.
3353 if test "${enable_win16+set}" = set; then :
3354 enableval=$enable_win16;
3357 # Check whether --enable-win64 was given.
3358 if test "${enable_win64+set}" = set; then :
3359 enableval=$enable_win64;
3362 # Check whether --enable-tests was given.
3363 if test "${enable_tests+set}" = set; then :
3364 enableval=$enable_tests;
3367 # Check whether --enable-maintainer-mode was given.
3368 if test "${enable_maintainer_mode+set}" = set; then :
3369 enableval=$enable_maintainer_mode;
3374 # Check whether --with-alsa was given.
3375 if test "${with_alsa+set}" = set; then :
3376 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3380 # Check whether --with-capi was given.
3381 if test "${with_capi+set}" = set; then :
3382 withval=$with_capi;
3386 # Check whether --with-cms was given.
3387 if test "${with_cms+set}" = set; then :
3388 withval=$with_cms;
3392 # Check whether --with-coreaudio was given.
3393 if test "${with_coreaudio+set}" = set; then :
3394 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3398 # Check whether --with-cups was given.
3399 if test "${with_cups+set}" = set; then :
3400 withval=$with_cups;
3404 # Check whether --with-curses was given.
3405 if test "${with_curses+set}" = set; then :
3406 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3410 # Check whether --with-dbus was given.
3411 if test "${with_dbus+set}" = set; then :
3412 withval=$with_dbus;
3416 # Check whether --with-fontconfig was given.
3417 if test "${with_fontconfig+set}" = set; then :
3418 withval=$with_fontconfig;
3422 # Check whether --with-freetype was given.
3423 if test "${with_freetype+set}" = set; then :
3424 withval=$with_freetype;
3428 # Check whether --with-gettext was given.
3429 if test "${with_gettext+set}" = set; then :
3430 withval=$with_gettext;
3434 # Check whether --with-gettextpo was given.
3435 if test "${with_gettextpo+set}" = set; then :
3436 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3440 # Check whether --with-gphoto was given.
3441 if test "${with_gphoto+set}" = set; then :
3442 withval=$with_gphoto;
3446 # Check whether --with-glu was given.
3447 if test "${with_glu+set}" = set; then :
3448 withval=$with_glu;
3452 # Check whether --with-gnutls was given.
3453 if test "${with_gnutls+set}" = set; then :
3454 withval=$with_gnutls;
3458 # Check whether --with-gsm was given.
3459 if test "${with_gsm+set}" = set; then :
3460 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3464 # Check whether --with-gstreamer was given.
3465 if test "${with_gstreamer+set}" = set; then :
3466 withval=$with_gstreamer;
3470 # Check whether --with-hal was given.
3471 if test "${with_hal+set}" = set; then :
3472 withval=$with_hal;
3476 # Check whether --with-jpeg was given.
3477 if test "${with_jpeg+set}" = set; then :
3478 withval=$with_jpeg;
3482 # Check whether --with-ldap was given.
3483 if test "${with_ldap+set}" = set; then :
3484 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3488 # Check whether --with-mpg123 was given.
3489 if test "${with_mpg123+set}" = set; then :
3490 withval=$with_mpg123;
3494 # Check whether --with-netapi was given.
3495 if test "${with_netapi+set}" = set; then :
3496 withval=$with_netapi;
3500 # Check whether --with-openal was given.
3501 if test "${with_openal+set}" = set; then :
3502 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3506 # Check whether --with-opencl was given.
3507 if test "${with_opencl+set}" = set; then :
3508 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3512 # Check whether --with-opengl was given.
3513 if test "${with_opengl+set}" = set; then :
3514 withval=$with_opengl;
3518 # Check whether --with-osmesa was given.
3519 if test "${with_osmesa+set}" = set; then :
3520 withval=$with_osmesa;
3524 # Check whether --with-oss was given.
3525 if test "${with_oss+set}" = set; then :
3526 withval=$with_oss;
3530 # Check whether --with-pcap was given.
3531 if test "${with_pcap+set}" = set; then :
3532 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3536 # Check whether --with-png was given.
3537 if test "${with_png+set}" = set; then :
3538 withval=$with_png;
3542 # Check whether --with-pthread was given.
3543 if test "${with_pthread+set}" = set; then :
3544 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3548 # Check whether --with-pulse was given.
3549 if test "${with_pulse+set}" = set; then :
3550 withval=$with_pulse;
3554 # Check whether --with-sane was given.
3555 if test "${with_sane+set}" = set; then :
3556 withval=$with_sane;
3560 # Check whether --with-tiff was given.
3561 if test "${with_tiff+set}" = set; then :
3562 withval=$with_tiff;
3566 # Check whether --with-udev was given.
3567 if test "${with_udev+set}" = set; then :
3568 withval=$with_udev;
3572 # Check whether --with-v4l was given.
3573 if test "${with_v4l+set}" = set; then :
3574 withval=$with_v4l;
3578 # Check whether --with-xcomposite was given.
3579 if test "${with_xcomposite+set}" = set; then :
3580 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3584 # Check whether --with-xcursor was given.
3585 if test "${with_xcursor+set}" = set; then :
3586 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3590 # Check whether --with-xinerama was given.
3591 if test "${with_xinerama+set}" = set; then :
3592 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3596 # Check whether --with-xinput was given.
3597 if test "${with_xinput+set}" = set; then :
3598 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3602 # Check whether --with-xinput2 was given.
3603 if test "${with_xinput2+set}" = set; then :
3604 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3608 # Check whether --with-xml was given.
3609 if test "${with_xml+set}" = set; then :
3610 withval=$with_xml;
3614 # Check whether --with-xrandr was given.
3615 if test "${with_xrandr+set}" = set; then :
3616 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3620 # Check whether --with-xrender was given.
3621 if test "${with_xrender+set}" = set; then :
3622 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3626 # Check whether --with-xshape was given.
3627 if test "${with_xshape+set}" = set; then :
3628 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3632 # Check whether --with-xshm was given.
3633 if test "${with_xshm+set}" = set; then :
3634 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3638 # Check whether --with-xslt was given.
3639 if test "${with_xslt+set}" = set; then :
3640 withval=$with_xslt;
3644 # Check whether --with-xxf86vm was given.
3645 if test "${with_xxf86vm+set}" = set; then :
3646 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
3650 # Check whether --with-zlib was given.
3651 if test "${with_zlib+set}" = set; then :
3652 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3657 # Check whether --with-wine-tools was given.
3658 if test "${with_wine_tools+set}" = set; then :
3659 withval=$with_wine_tools;
3663 # Check whether --with-wine64 was given.
3664 if test "${with_wine64+set}" = set; then :
3665 withval=$with_wine64;
3669 # Make sure we can run config.sub.
3670 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3671 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3674 $as_echo_n "checking build system type... " >&6; }
3675 if ${ac_cv_build+:} false; then :
3676 $as_echo_n "(cached) " >&6
3677 else
3678 ac_build_alias=$build_alias
3679 test "x$ac_build_alias" = x &&
3680 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3681 test "x$ac_build_alias" = x &&
3682 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3683 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3684 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3688 $as_echo "$ac_cv_build" >&6; }
3689 case $ac_cv_build in
3690 *-*-*) ;;
3691 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3692 esac
3693 build=$ac_cv_build
3694 ac_save_IFS=$IFS; IFS='-'
3695 set x $ac_cv_build
3696 shift
3697 build_cpu=$1
3698 build_vendor=$2
3699 shift; shift
3700 # Remember, the first character of IFS is used to create $*,
3701 # except with old shells:
3702 build_os=$*
3703 IFS=$ac_save_IFS
3704 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3708 $as_echo_n "checking host system type... " >&6; }
3709 if ${ac_cv_host+:} false; then :
3710 $as_echo_n "(cached) " >&6
3711 else
3712 if test "x$host_alias" = x; then
3713 ac_cv_host=$ac_cv_build
3714 else
3715 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3716 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3721 $as_echo "$ac_cv_host" >&6; }
3722 case $ac_cv_host in
3723 *-*-*) ;;
3724 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3725 esac
3726 host=$ac_cv_host
3727 ac_save_IFS=$IFS; IFS='-'
3728 set x $ac_cv_host
3729 shift
3730 host_cpu=$1
3731 host_vendor=$2
3732 shift; shift
3733 # Remember, the first character of IFS is used to create $*,
3734 # except with old shells:
3735 host_os=$*
3736 IFS=$ac_save_IFS
3737 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3741 case "$srcdir" in
3742 .) ;;
3743 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3744 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3745 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3746 fi ;;
3747 esac
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3752 set x ${MAKE-make}
3753 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3754 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 cat >conftest.make <<\_ACEOF
3758 SHELL = /bin/sh
3759 all:
3760 @echo '@@@%%%=$(MAKE)=@@@%%%'
3761 _ACEOF
3762 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3764 *@@@%%%=?*=@@@%%%*)
3765 eval ac_cv_prog_make_${ac_make}_set=yes;;
3767 eval ac_cv_prog_make_${ac_make}_set=no;;
3768 esac
3769 rm -f conftest.make
3771 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3773 $as_echo "yes" >&6; }
3774 SET_MAKE=
3775 else
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3778 SET_MAKE="MAKE=${MAKE-make}"
3781 ac_ext=c
3782 ac_cpp='$CPP $CPPFLAGS'
3783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3786 if test -n "$ac_tool_prefix"; then
3787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3788 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_CC+:} false; then :
3792 $as_echo_n "(cached) " >&6
3793 else
3794 if test -n "$CC"; then
3795 ac_cv_prog_CC="$CC" # Let the user override the test.
3796 else
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3800 IFS=$as_save_IFS
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 break 2
3808 done
3809 done
3810 IFS=$as_save_IFS
3814 CC=$ac_cv_prog_CC
3815 if test -n "$CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3817 $as_echo "$CC" >&6; }
3818 else
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3825 if test -z "$ac_cv_prog_CC"; then
3826 ac_ct_CC=$CC
3827 # Extract the first word of "gcc", so it can be a program name with args.
3828 set dummy gcc; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$ac_ct_CC"; then
3835 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844 ac_cv_prog_ac_ct_CC="gcc"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3855 if test -n "$ac_ct_CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3857 $as_echo "$ac_ct_CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3863 if test "x$ac_ct_CC" = x; then
3864 CC=""
3865 else
3866 case $cross_compiling:$ac_tool_warned in
3867 yes:)
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned=yes ;;
3871 esac
3872 CC=$ac_ct_CC
3874 else
3875 CC="$ac_cv_prog_CC"
3878 if test -z "$CC"; then
3879 if test -n "$ac_tool_prefix"; then
3880 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3881 set dummy ${ac_tool_prefix}cc; ac_word=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if ${ac_cv_prog_CC+:} false; then :
3885 $as_echo_n "(cached) " >&6
3886 else
3887 if test -n "$CC"; then
3888 ac_cv_prog_CC="$CC" # Let the user override the test.
3889 else
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3893 IFS=$as_save_IFS
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_CC="${ac_tool_prefix}cc"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 break 2
3901 done
3902 done
3903 IFS=$as_save_IFS
3907 CC=$ac_cv_prog_CC
3908 if test -n "$CC"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3910 $as_echo "$CC" >&6; }
3911 else
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3919 if test -z "$CC"; then
3920 # Extract the first word of "cc", so it can be a program name with args.
3921 set dummy cc; ac_word=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if ${ac_cv_prog_CC+:} false; then :
3925 $as_echo_n "(cached) " >&6
3926 else
3927 if test -n "$CC"; then
3928 ac_cv_prog_CC="$CC" # Let the user override the test.
3929 else
3930 ac_prog_rejected=no
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 for as_dir in $PATH
3934 IFS=$as_save_IFS
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3938 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3939 ac_prog_rejected=yes
3940 continue
3942 ac_cv_prog_CC="cc"
3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3944 break 2
3946 done
3947 done
3948 IFS=$as_save_IFS
3950 if test $ac_prog_rejected = yes; then
3951 # We found a bogon in the path, so make sure we never use it.
3952 set dummy $ac_cv_prog_CC
3953 shift
3954 if test $# != 0; then
3955 # We chose a different compiler from the bogus one.
3956 # However, it has the same basename, so the bogon will be chosen
3957 # first if we set CC to just the basename; use the full file name.
3958 shift
3959 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3964 CC=$ac_cv_prog_CC
3965 if test -n "$CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967 $as_echo "$CC" >&6; }
3968 else
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3975 if test -z "$CC"; then
3976 if test -n "$ac_tool_prefix"; then
3977 for ac_prog in cl.exe
3979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3980 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if ${ac_cv_prog_CC+:} false; then :
3984 $as_echo_n "(cached) " >&6
3985 else
3986 if test -n "$CC"; then
3987 ac_cv_prog_CC="$CC" # Let the user override the test.
3988 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
4000 done
4001 done
4002 IFS=$as_save_IFS
4006 CC=$ac_cv_prog_CC
4007 if test -n "$CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4009 $as_echo "$CC" >&6; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4016 test -n "$CC" && break
4017 done
4019 if test -z "$CC"; then
4020 ac_ct_CC=$CC
4021 for ac_prog in cl.exe
4023 # Extract the first word of "$ac_prog", so it can be a program name with args.
4024 set dummy $ac_prog; ac_word=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 if test -n "$ac_ct_CC"; then
4031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_ac_ct_CC="$ac_prog"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 break 2
4044 done
4045 done
4046 IFS=$as_save_IFS
4050 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4051 if test -n "$ac_ct_CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4053 $as_echo "$ac_ct_CC" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4060 test -n "$ac_ct_CC" && break
4061 done
4063 if test "x$ac_ct_CC" = x; then
4064 CC=""
4065 else
4066 case $cross_compiling:$ac_tool_warned in
4067 yes:)
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4070 ac_tool_warned=yes ;;
4071 esac
4072 CC=$ac_ct_CC
4079 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4081 as_fn_error $? "no acceptable C compiler found in \$PATH
4082 See \`config.log' for more details" "$LINENO" 5; }
4084 # Provide some information about the compiler.
4085 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4086 set X $ac_compile
4087 ac_compiler=$2
4088 for ac_option in --version -v -V -qversion; do
4089 { { ac_try="$ac_compiler $ac_option >&5"
4090 case "(($ac_try" in
4091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4092 *) ac_try_echo=$ac_try;;
4093 esac
4094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 $as_echo "$ac_try_echo"; } >&5
4096 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4097 ac_status=$?
4098 if test -s conftest.err; then
4099 sed '10a\
4100 ... rest of stderr output deleted ...
4101 10q' conftest.err >conftest.er1
4102 cat conftest.er1 >&5
4104 rm -f conftest.er1 conftest.err
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }
4107 done
4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4113 main ()
4117 return 0;
4119 _ACEOF
4120 ac_clean_files_save=$ac_clean_files
4121 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4122 # Try to create an executable without -o first, disregard a.out.
4123 # It will help us diagnose broken compilers, and finding out an intuition
4124 # of exeext.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4126 $as_echo_n "checking whether the C compiler works... " >&6; }
4127 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4129 # The possible output files:
4130 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4132 ac_rmfiles=
4133 for ac_file in $ac_files
4135 case $ac_file in
4136 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4137 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4138 esac
4139 done
4140 rm -f $ac_rmfiles
4142 if { { ac_try="$ac_link_default"
4143 case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_link_default") 2>&5
4150 ac_status=$?
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4155 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4156 # so that the user can short-circuit this test for compilers unknown to
4157 # Autoconf.
4158 for ac_file in $ac_files ''
4160 test -f "$ac_file" || continue
4161 case $ac_file in
4162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4164 [ab].out )
4165 # We found the default executable, but exeext='' is most
4166 # certainly right.
4167 break;;
4168 *.* )
4169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4170 then :; else
4171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4173 # We set ac_cv_exeext here because the later test for it is not
4174 # safe: cross compilers may not add the suffix if given an `-o'
4175 # argument, so we may need to know it at that point already.
4176 # Even if this section looks crufty: it has the advantage of
4177 # actually working.
4178 break;;
4180 break;;
4181 esac
4182 done
4183 test "$ac_cv_exeext" = no && ac_cv_exeext=
4185 else
4186 ac_file=''
4188 if test -z "$ac_file"; then :
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4191 $as_echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.$ac_ext >&5
4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196 as_fn_error 77 "C compiler cannot create executables
4197 See \`config.log' for more details" "$LINENO" 5; }
4198 else
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4200 $as_echo "yes" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4203 $as_echo_n "checking for C compiler default output file name... " >&6; }
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4205 $as_echo "$ac_file" >&6; }
4206 ac_exeext=$ac_cv_exeext
4208 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4209 ac_clean_files=$ac_clean_files_save
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4211 $as_echo_n "checking for suffix of executables... " >&6; }
4212 if { { ac_try="$ac_link"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4218 $as_echo "$ac_try_echo"; } >&5
4219 (eval "$ac_link") 2>&5
4220 ac_status=$?
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }; then :
4223 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4224 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4225 # work properly (i.e., refer to `conftest.exe'), while it won't with
4226 # `rm'.
4227 for ac_file in conftest.exe conftest conftest.*; do
4228 test -f "$ac_file" || continue
4229 case $ac_file in
4230 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4231 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4232 break;;
4233 * ) break;;
4234 esac
4235 done
4236 else
4237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4240 See \`config.log' for more details" "$LINENO" 5; }
4242 rm -f conftest conftest$ac_cv_exeext
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4244 $as_echo "$ac_cv_exeext" >&6; }
4246 rm -f conftest.$ac_ext
4247 EXEEXT=$ac_cv_exeext
4248 ac_exeext=$EXEEXT
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4251 #include <stdio.h>
4253 main ()
4255 FILE *f = fopen ("conftest.out", "w");
4256 return ferror (f) || fclose (f) != 0;
4259 return 0;
4261 _ACEOF
4262 ac_clean_files="$ac_clean_files conftest.out"
4263 # Check that the compiler produces executables we can run. If not, either
4264 # the compiler is broken, or we cross compile.
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4266 $as_echo_n "checking whether we are cross compiling... " >&6; }
4267 if test "$cross_compiling" != yes; then
4268 { { ac_try="$ac_link"
4269 case "(($ac_try" in
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4272 esac
4273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4274 $as_echo "$ac_try_echo"; } >&5
4275 (eval "$ac_link") 2>&5
4276 ac_status=$?
4277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278 test $ac_status = 0; }
4279 if { ac_try='./conftest$ac_cv_exeext'
4280 { { case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4283 esac
4284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$ac_try_echo"; } >&5
4286 (eval "$ac_try") 2>&5
4287 ac_status=$?
4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4289 test $ac_status = 0; }; }; then
4290 cross_compiling=no
4291 else
4292 if test "$cross_compiling" = maybe; then
4293 cross_compiling=yes
4294 else
4295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4297 as_fn_error $? "cannot run C compiled programs.
4298 If you meant to cross compile, use \`--host'.
4299 See \`config.log' for more details" "$LINENO" 5; }
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4304 $as_echo "$cross_compiling" >&6; }
4306 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4307 ac_clean_files=$ac_clean_files_save
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4309 $as_echo_n "checking for suffix of object files... " >&6; }
4310 if ${ac_cv_objext+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4317 main ()
4321 return 0;
4323 _ACEOF
4324 rm -f conftest.o conftest.obj
4325 if { { ac_try="$ac_compile"
4326 case "(($ac_try" in
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4329 esac
4330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4331 $as_echo "$ac_try_echo"; } >&5
4332 (eval "$ac_compile") 2>&5
4333 ac_status=$?
4334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4335 test $ac_status = 0; }; then :
4336 for ac_file in conftest.o conftest.obj conftest.*; do
4337 test -f "$ac_file" || continue;
4338 case $ac_file in
4339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4340 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4341 break;;
4342 esac
4343 done
4344 else
4345 $as_echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.$ac_ext >&5
4348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4350 as_fn_error $? "cannot compute suffix of object files: cannot compile
4351 See \`config.log' for more details" "$LINENO" 5; }
4353 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4356 $as_echo "$ac_cv_objext" >&6; }
4357 OBJEXT=$ac_cv_objext
4358 ac_objext=$OBJEXT
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4360 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4361 if ${ac_cv_c_compiler_gnu+:} false; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4368 main ()
4370 #ifndef __GNUC__
4371 choke me
4372 #endif
4375 return 0;
4377 _ACEOF
4378 if ac_fn_c_try_compile "$LINENO"; then :
4379 ac_compiler_gnu=yes
4380 else
4381 ac_compiler_gnu=no
4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4388 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4389 if test $ac_compiler_gnu = yes; then
4390 GCC=yes
4391 else
4392 GCC=
4394 ac_test_CFLAGS=${CFLAGS+set}
4395 ac_save_CFLAGS=$CFLAGS
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4397 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4398 if ${ac_cv_prog_cc_g+:} false; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 ac_save_c_werror_flag=$ac_c_werror_flag
4402 ac_c_werror_flag=yes
4403 ac_cv_prog_cc_g=no
4404 CFLAGS="-g"
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4409 main ()
4413 return 0;
4415 _ACEOF
4416 if ac_fn_c_try_compile "$LINENO"; then :
4417 ac_cv_prog_cc_g=yes
4418 else
4419 CFLAGS=""
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h. */
4424 main ()
4428 return 0;
4430 _ACEOF
4431 if ac_fn_c_try_compile "$LINENO"; then :
4433 else
4434 ac_c_werror_flag=$ac_save_c_werror_flag
4435 CFLAGS="-g"
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4440 main ()
4444 return 0;
4446 _ACEOF
4447 if ac_fn_c_try_compile "$LINENO"; then :
4448 ac_cv_prog_cc_g=yes
4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 ac_c_werror_flag=$ac_save_c_werror_flag
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4458 $as_echo "$ac_cv_prog_cc_g" >&6; }
4459 if test "$ac_test_CFLAGS" = set; then
4460 CFLAGS=$ac_save_CFLAGS
4461 elif test $ac_cv_prog_cc_g = yes; then
4462 if test "$GCC" = yes; then
4463 CFLAGS="-g -O2"
4464 else
4465 CFLAGS="-g"
4467 else
4468 if test "$GCC" = yes; then
4469 CFLAGS="-O2"
4470 else
4471 CFLAGS=
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4475 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4476 if ${ac_cv_prog_cc_c89+:} false; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 ac_cv_prog_cc_c89=no
4480 ac_save_CC=$CC
4481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 /* end confdefs.h. */
4483 #include <stdarg.h>
4484 #include <stdio.h>
4485 struct stat;
4486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4487 struct buf { int x; };
4488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4489 static char *e (p, i)
4490 char **p;
4491 int i;
4493 return p[i];
4495 static char *f (char * (*g) (char **, int), char **p, ...)
4497 char *s;
4498 va_list v;
4499 va_start (v,p);
4500 s = g (p, va_arg (v,int));
4501 va_end (v);
4502 return s;
4505 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4506 function prototypes and stuff, but not '\xHH' hex character constants.
4507 These don't provoke an error unfortunately, instead are silently treated
4508 as 'x'. The following induces an error, until -std is added to get
4509 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4510 array size at least. It's necessary to write '\x00'==0 to get something
4511 that's true only with -std. */
4512 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4514 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4515 inside strings and character constants. */
4516 #define FOO(x) 'x'
4517 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4519 int test (int i, double x);
4520 struct s1 {int (*f) (int a);};
4521 struct s2 {int (*f) (double a);};
4522 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4523 int argc;
4524 char **argv;
4526 main ()
4528 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4530 return 0;
4532 _ACEOF
4533 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4534 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4536 CC="$ac_save_CC $ac_arg"
4537 if ac_fn_c_try_compile "$LINENO"; then :
4538 ac_cv_prog_cc_c89=$ac_arg
4540 rm -f core conftest.err conftest.$ac_objext
4541 test "x$ac_cv_prog_cc_c89" != "xno" && break
4542 done
4543 rm -f conftest.$ac_ext
4544 CC=$ac_save_CC
4547 # AC_CACHE_VAL
4548 case "x$ac_cv_prog_cc_c89" in
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4551 $as_echo "none needed" >&6; } ;;
4552 xno)
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4554 $as_echo "unsupported" >&6; } ;;
4556 CC="$CC $ac_cv_prog_cc_c89"
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4558 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4559 esac
4560 if test "x$ac_cv_prog_cc_c89" != xno; then :
4564 ac_ext=c
4565 ac_cpp='$CPP $CPPFLAGS'
4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4570 ac_ext=cpp
4571 ac_cpp='$CXXCPP $CPPFLAGS'
4572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4575 if test -z "$CXX"; then
4576 if test -n "$CCC"; then
4577 CXX=$CCC
4578 else
4579 if test -n "$ac_tool_prefix"; then
4580 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4582 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4583 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_CXX+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 if test -n "$CXX"; then
4590 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 break 2
4603 done
4604 done
4605 IFS=$as_save_IFS
4609 CXX=$ac_cv_prog_CXX
4610 if test -n "$CXX"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4612 $as_echo "$CXX" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$CXX" && break
4620 done
4622 if test -z "$CXX"; then
4623 ac_ct_CXX=$CXX
4624 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4626 # Extract the first word of "$ac_prog", so it can be a program name with args.
4627 set dummy $ac_prog; ac_word=$2
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629 $as_echo_n "checking for $ac_word... " >&6; }
4630 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4631 $as_echo_n "(cached) " >&6
4632 else
4633 if test -n "$ac_ct_CXX"; then
4634 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4635 else
4636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4637 for as_dir in $PATH
4639 IFS=$as_save_IFS
4640 test -z "$as_dir" && as_dir=.
4641 for ac_exec_ext in '' $ac_executable_extensions; do
4642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4643 ac_cv_prog_ac_ct_CXX="$ac_prog"
4644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4645 break 2
4647 done
4648 done
4649 IFS=$as_save_IFS
4653 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4654 if test -n "$ac_ct_CXX"; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4656 $as_echo "$ac_ct_CXX" >&6; }
4657 else
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659 $as_echo "no" >&6; }
4663 test -n "$ac_ct_CXX" && break
4664 done
4666 if test "x$ac_ct_CXX" = x; then
4667 CXX="g++"
4668 else
4669 case $cross_compiling:$ac_tool_warned in
4670 yes:)
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4673 ac_tool_warned=yes ;;
4674 esac
4675 CXX=$ac_ct_CXX
4681 # Provide some information about the compiler.
4682 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4683 set X $ac_compile
4684 ac_compiler=$2
4685 for ac_option in --version -v -V -qversion; do
4686 { { ac_try="$ac_compiler $ac_option >&5"
4687 case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4690 esac
4691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4692 $as_echo "$ac_try_echo"; } >&5
4693 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4694 ac_status=$?
4695 if test -s conftest.err; then
4696 sed '10a\
4697 ... rest of stderr output deleted ...
4698 10q' conftest.err >conftest.er1
4699 cat conftest.er1 >&5
4701 rm -f conftest.er1 conftest.err
4702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4703 test $ac_status = 0; }
4704 done
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4707 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4708 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4709 $as_echo_n "(cached) " >&6
4710 else
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4715 main ()
4717 #ifndef __GNUC__
4718 choke me
4719 #endif
4722 return 0;
4724 _ACEOF
4725 if ac_fn_cxx_try_compile "$LINENO"; then :
4726 ac_compiler_gnu=yes
4727 else
4728 ac_compiler_gnu=no
4730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4735 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4736 if test $ac_compiler_gnu = yes; then
4737 GXX=yes
4738 else
4739 GXX=
4741 ac_test_CXXFLAGS=${CXXFLAGS+set}
4742 ac_save_CXXFLAGS=$CXXFLAGS
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4744 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4745 if ${ac_cv_prog_cxx_g+:} false; then :
4746 $as_echo_n "(cached) " >&6
4747 else
4748 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4749 ac_cxx_werror_flag=yes
4750 ac_cv_prog_cxx_g=no
4751 CXXFLAGS="-g"
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4756 main ()
4760 return 0;
4762 _ACEOF
4763 if ac_fn_cxx_try_compile "$LINENO"; then :
4764 ac_cv_prog_cxx_g=yes
4765 else
4766 CXXFLAGS=""
4767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4771 main ()
4775 return 0;
4777 _ACEOF
4778 if ac_fn_cxx_try_compile "$LINENO"; then :
4780 else
4781 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4782 CXXFLAGS="-g"
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4787 main ()
4791 return 0;
4793 _ACEOF
4794 if ac_fn_cxx_try_compile "$LINENO"; then :
4795 ac_cv_prog_cxx_g=yes
4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4802 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4805 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4806 if test "$ac_test_CXXFLAGS" = set; then
4807 CXXFLAGS=$ac_save_CXXFLAGS
4808 elif test $ac_cv_prog_cxx_g = yes; then
4809 if test "$GXX" = yes; then
4810 CXXFLAGS="-g -O2"
4811 else
4812 CXXFLAGS="-g"
4814 else
4815 if test "$GXX" = yes; then
4816 CXXFLAGS="-O2"
4817 else
4818 CXXFLAGS=
4821 ac_ext=c
4822 ac_cpp='$CPP $CPPFLAGS'
4823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4827 if test -n "$ac_tool_prefix"; then
4828 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4829 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_CPPBIN+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 if test -n "$CPPBIN"; then
4836 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4837 else
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH
4841 IFS=$as_save_IFS
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 break 2
4849 done
4850 done
4851 IFS=$as_save_IFS
4855 CPPBIN=$ac_cv_prog_CPPBIN
4856 if test -n "$CPPBIN"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4858 $as_echo "$CPPBIN" >&6; }
4859 else
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4866 if test -z "$ac_cv_prog_CPPBIN"; then
4867 ac_ct_CPPBIN=$CPPBIN
4868 # Extract the first word of "cpp", so it can be a program name with args.
4869 set dummy cpp; ac_word=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875 if test -n "$ac_ct_CPPBIN"; then
4876 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4877 else
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 for as_dir in $PATH
4881 IFS=$as_save_IFS
4882 test -z "$as_dir" && as_dir=.
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_ac_ct_CPPBIN="cpp"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4895 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4896 if test -n "$ac_ct_CPPBIN"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4898 $as_echo "$ac_ct_CPPBIN" >&6; }
4899 else
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4904 if test "x$ac_ct_CPPBIN" = x; then
4905 CPPBIN="cpp"
4906 else
4907 case $cross_compiling:$ac_tool_warned in
4908 yes:)
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4911 ac_tool_warned=yes ;;
4912 esac
4913 CPPBIN=$ac_ct_CPPBIN
4915 else
4916 CPPBIN="$ac_cv_prog_CPPBIN"
4920 cat >>confdefs.h <<_ACEOF
4921 #define EXEEXT "$ac_exeext"
4922 _ACEOF
4924 if test -n "$ac_tool_prefix"; then
4925 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4926 set dummy ${ac_tool_prefix}ld; ac_word=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_LD+:} false; then :
4930 $as_echo_n "(cached) " >&6
4931 else
4932 if test -n "$LD"; then
4933 ac_cv_prog_LD="$LD" # Let the user override the test.
4934 else
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH
4938 IFS=$as_save_IFS
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_LD="${ac_tool_prefix}ld"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 break 2
4946 done
4947 done
4948 IFS=$as_save_IFS
4952 LD=$ac_cv_prog_LD
4953 if test -n "$LD"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4955 $as_echo "$LD" >&6; }
4956 else
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4963 if test -z "$ac_cv_prog_LD"; then
4964 ac_ct_LD=$LD
4965 # Extract the first word of "ld", so it can be a program name with args.
4966 set dummy ld; ac_word=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4970 $as_echo_n "(cached) " >&6
4971 else
4972 if test -n "$ac_ct_LD"; then
4973 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4974 else
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 for as_dir in $PATH
4978 IFS=$as_save_IFS
4979 test -z "$as_dir" && as_dir=.
4980 for ac_exec_ext in '' $ac_executable_extensions; do
4981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4982 ac_cv_prog_ac_ct_LD="ld"
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 break 2
4986 done
4987 done
4988 IFS=$as_save_IFS
4992 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4993 if test -n "$ac_ct_LD"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4995 $as_echo "$ac_ct_LD" >&6; }
4996 else
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5001 if test "x$ac_ct_LD" = x; then
5002 LD=""
5003 else
5004 case $cross_compiling:$ac_tool_warned in
5005 yes:)
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5008 ac_tool_warned=yes ;;
5009 esac
5010 LD=$ac_ct_LD
5012 else
5013 LD="$ac_cv_prog_LD"
5017 case $host in
5018 *-darwin*)
5019 with_fontconfig=${with_fontconfig:-no}
5021 *-mingw32*|*-cygwin*)
5022 enable_win16=${enable_win16:-no}
5023 CFLAGS="$CFLAGS -D_WIN32"
5025 esac
5027 case $host in
5028 x86_64*|amd64*)
5029 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5030 then
5031 CC="$CC -m32"
5032 CXX="$CXX -m32"
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5034 $as_echo_n "checking whether $CC works... " >&6; }
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5040 main ()
5044 return 0;
5046 _ACEOF
5047 if ac_fn_c_try_link "$LINENO"; then :
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }
5050 else
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5053 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5055 rm -f core conftest.err conftest.$ac_objext \
5056 conftest$ac_exeext conftest.$ac_ext
5057 host_cpu="i386"
5058 notice_platform="32-bit "
5059 TARGETFLAGS="-m32"
5061 enable_win16=${enable_win16:-yes}
5062 else
5063 if test "x${GCC}" = "xyes"
5064 then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5066 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5069 #include <stdarg.h>
5071 main ()
5073 void func(__builtin_ms_va_list *args);
5075 return 0;
5077 _ACEOF
5078 if ac_fn_c_try_compile "$LINENO"; then :
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5080 $as_echo "yes" >&6; }
5081 else
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5084 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 CC="$CC -m64"
5089 CXX="$CXX -m64"
5090 host_cpu="x86_64"
5091 notice_platform="64-bit "
5092 TARGETFLAGS="-m64"
5096 arm*)
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5098 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 /* end confdefs.h. */
5101 int ac_test(int i) { return i; }
5103 main ()
5105 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5107 return 0;
5109 _ACEOF
5110 if ac_fn_c_try_link "$LINENO"; then :
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5112 $as_echo "yes" >&6; }
5113 else
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5116 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5118 rm -f core conftest.err conftest.$ac_objext \
5119 conftest$ac_exeext conftest.$ac_ext
5120 CFLAGS="$CFLAGS -marm"
5121 TARGETFLAGS="-marm"
5124 i[3456789]86*)
5125 enable_win16=${enable_win16:-yes}
5127 esac
5129 enable_win16=${enable_win16:-no}
5130 enable_win64=${enable_win64:-no}
5132 enable_winetest=${enable_winetest:-$enable_tests}
5134 if test -n "$with_wine64"
5135 then
5136 if test "x$enable_win64" = "xyes"
5137 then
5138 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5139 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5141 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5142 You should create a separate build directory and run configure from there." "$LINENO" 5
5143 enable_fonts=${enable_fonts:-no}
5144 enable_server=${enable_server:-no}
5145 elif test "x$enable_win64" = "xyes"
5146 then
5147 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5151 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5152 if ${wine_cv_toolsdir+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 wine_cv_toolsdir="$with_wine_tools"
5156 if test -z "$with_wine_tools"; then
5157 if test "$cross_compiling" = "yes"; then
5158 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5159 elif test -n "$with_wine64"; then
5160 wine_cv_toolsdir="$with_wine64"
5163 if test -z "$wine_cv_toolsdir"; then
5164 wine_makedep=tools/makedep
5165 wine_cv_toolsdir="\$(top_builddir)"
5166 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5167 wine_makedep=$wine_cv_toolsdir/tools/makedep
5168 case "$wine_cv_toolsdir" in
5169 /*) ;;
5170 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5171 esac
5172 enable_tools=${enable_tools:-no}
5173 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5174 else
5175 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5179 $as_echo "$wine_cv_toolsdir" >&6; }
5180 TOOLSDIR=$wine_cv_toolsdir
5182 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5183 then
5184 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5188 for ac_prog in flex
5190 # Extract the first word of "$ac_prog", so it can be a program name with args.
5191 set dummy $ac_prog; ac_word=$2
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5193 $as_echo_n "checking for $ac_word... " >&6; }
5194 if ${ac_cv_prog_FLEX+:} false; then :
5195 $as_echo_n "(cached) " >&6
5196 else
5197 if test -n "$FLEX"; then
5198 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5199 else
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 for as_dir in $PATH
5203 IFS=$as_save_IFS
5204 test -z "$as_dir" && as_dir=.
5205 for ac_exec_ext in '' $ac_executable_extensions; do
5206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5207 ac_cv_prog_FLEX="$ac_prog"
5208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 break 2
5211 done
5212 done
5213 IFS=$as_save_IFS
5217 FLEX=$ac_cv_prog_FLEX
5218 if test -n "$FLEX"; then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5220 $as_echo "$FLEX" >&6; }
5221 else
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5227 test -n "$FLEX" && break
5228 done
5229 test -n "$FLEX" || FLEX="none"
5231 if test "$FLEX" = "none"
5232 then
5233 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5236 $as_echo_n "checking whether flex is recent enough... " >&6; }
5237 cat >conftest.l <<EOF
5238 %top{
5239 #include "prediluvian.h"
5243 if $FLEX -t conftest.l >/dev/null 2>&5
5244 then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5246 $as_echo "yes" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5250 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5253 for ac_prog in bison
5255 # Extract the first word of "$ac_prog", so it can be a program name with args.
5256 set dummy $ac_prog; ac_word=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if ${ac_cv_prog_BISON+:} false; then :
5260 $as_echo_n "(cached) " >&6
5261 else
5262 if test -n "$BISON"; then
5263 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5264 else
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5266 for as_dir in $PATH
5268 IFS=$as_save_IFS
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5272 ac_cv_prog_BISON="$ac_prog"
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 break 2
5276 done
5277 done
5278 IFS=$as_save_IFS
5282 BISON=$ac_cv_prog_BISON
5283 if test -n "$BISON"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5285 $as_echo "$BISON" >&6; }
5286 else
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5292 test -n "$BISON" && break
5293 done
5294 test -n "$BISON" || BISON="none"
5296 if test "$BISON" = "none"
5297 then
5298 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5301 if test -n "$ac_tool_prefix"; then
5302 for ac_prog in ar gar
5304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_AR+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -n "$AR"; then
5312 ac_cv_prog_AR="$AR" # Let the user override the test.
5313 else
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 break 2
5325 done
5326 done
5327 IFS=$as_save_IFS
5331 AR=$ac_cv_prog_AR
5332 if test -n "$AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5334 $as_echo "$AR" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$AR" && break
5342 done
5344 if test -z "$AR"; then
5345 ac_ct_AR=$AR
5346 for ac_prog in ar gar
5348 # Extract the first word of "$ac_prog", so it can be a program name with args.
5349 set dummy $ac_prog; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5353 $as_echo_n "(cached) " >&6
5354 else
5355 if test -n "$ac_ct_AR"; then
5356 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_AR="$ac_prog"
5366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 break 2
5369 done
5370 done
5371 IFS=$as_save_IFS
5375 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5376 if test -n "$ac_ct_AR"; then
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5378 $as_echo "$ac_ct_AR" >&6; }
5379 else
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5385 test -n "$ac_ct_AR" && break
5386 done
5388 if test "x$ac_ct_AR" = x; then
5389 AR="ar"
5390 else
5391 case $cross_compiling:$ac_tool_warned in
5392 yes:)
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5395 ac_tool_warned=yes ;;
5396 esac
5397 AR=$ac_ct_AR
5401 if test -n "$ac_tool_prefix"; then
5402 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5403 set dummy ${ac_tool_prefix}strip; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_STRIP+:} false; then :
5407 $as_echo_n "(cached) " >&6
5408 else
5409 if test -n "$STRIP"; then
5410 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5411 else
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 break 2
5423 done
5424 done
5425 IFS=$as_save_IFS
5429 STRIP=$ac_cv_prog_STRIP
5430 if test -n "$STRIP"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5432 $as_echo "$STRIP" >&6; }
5433 else
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5440 if test -z "$ac_cv_prog_STRIP"; then
5441 ac_ct_STRIP=$STRIP
5442 # Extract the first word of "strip", so it can be a program name with args.
5443 set dummy strip; ac_word=$2
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5445 $as_echo_n "checking for $ac_word... " >&6; }
5446 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5447 $as_echo_n "(cached) " >&6
5448 else
5449 if test -n "$ac_ct_STRIP"; then
5450 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5451 else
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5453 for as_dir in $PATH
5455 IFS=$as_save_IFS
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_prog_ac_ct_STRIP="strip"
5460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 break 2
5463 done
5464 done
5465 IFS=$as_save_IFS
5469 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5470 if test -n "$ac_ct_STRIP"; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5472 $as_echo "$ac_ct_STRIP" >&6; }
5473 else
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5475 $as_echo "no" >&6; }
5478 if test "x$ac_ct_STRIP" = x; then
5479 STRIP="strip"
5480 else
5481 case $cross_compiling:$ac_tool_warned in
5482 yes:)
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5485 ac_tool_warned=yes ;;
5486 esac
5487 STRIP=$ac_ct_STRIP
5489 else
5490 STRIP="$ac_cv_prog_STRIP"
5493 ARFLAGS=rc
5495 if test -n "$ac_tool_prefix"; then
5496 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5497 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_RANLIB+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$RANLIB"; then
5504 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5517 done
5518 done
5519 IFS=$as_save_IFS
5523 RANLIB=$ac_cv_prog_RANLIB
5524 if test -n "$RANLIB"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5526 $as_echo "$RANLIB" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5534 if test -z "$ac_cv_prog_RANLIB"; then
5535 ac_ct_RANLIB=$RANLIB
5536 # Extract the first word of "ranlib", so it can be a program name with args.
5537 set dummy ranlib; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5541 $as_echo_n "(cached) " >&6
5542 else
5543 if test -n "$ac_ct_RANLIB"; then
5544 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553 ac_cv_prog_ac_ct_RANLIB="ranlib"
5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 break 2
5557 done
5558 done
5559 IFS=$as_save_IFS
5563 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5564 if test -n "$ac_ct_RANLIB"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5566 $as_echo "$ac_ct_RANLIB" >&6; }
5567 else
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5572 if test "x$ac_ct_RANLIB" = x; then
5573 RANLIB=":"
5574 else
5575 case $cross_compiling:$ac_tool_warned in
5576 yes:)
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5579 ac_tool_warned=yes ;;
5580 esac
5581 RANLIB=$ac_ct_RANLIB
5583 else
5584 RANLIB="$ac_cv_prog_RANLIB"
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5588 $as_echo_n "checking whether ln -s works... " >&6; }
5589 LN_S=$as_ln_s
5590 if test "$LN_S" = "ln -s"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5592 $as_echo "yes" >&6; }
5593 else
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5595 $as_echo "no, using $LN_S" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5599 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5600 if ${ac_cv_path_GREP+:} false; then :
5601 $as_echo_n "(cached) " >&6
5602 else
5603 if test -z "$GREP"; then
5604 ac_path_GREP_found=false
5605 # Loop through the user's path and test for each of PROGNAME-LIST
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5609 IFS=$as_save_IFS
5610 test -z "$as_dir" && as_dir=.
5611 for ac_prog in grep ggrep; do
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5613 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5614 as_fn_executable_p "$ac_path_GREP" || continue
5615 # Check for GNU ac_path_GREP and select it if it is found.
5616 # Check for GNU $ac_path_GREP
5617 case `"$ac_path_GREP" --version 2>&1` in
5618 *GNU*)
5619 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5621 ac_count=0
5622 $as_echo_n 0123456789 >"conftest.in"
5623 while :
5625 cat "conftest.in" "conftest.in" >"conftest.tmp"
5626 mv "conftest.tmp" "conftest.in"
5627 cp "conftest.in" "conftest.nl"
5628 $as_echo 'GREP' >> "conftest.nl"
5629 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5630 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5631 as_fn_arith $ac_count + 1 && ac_count=$as_val
5632 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5633 # Best one so far, save it but keep looking for a better one
5634 ac_cv_path_GREP="$ac_path_GREP"
5635 ac_path_GREP_max=$ac_count
5637 # 10*(2^10) chars as input seems more than enough
5638 test $ac_count -gt 10 && break
5639 done
5640 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5641 esac
5643 $ac_path_GREP_found && break 3
5644 done
5645 done
5646 done
5647 IFS=$as_save_IFS
5648 if test -z "$ac_cv_path_GREP"; then
5649 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5651 else
5652 ac_cv_path_GREP=$GREP
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5657 $as_echo "$ac_cv_path_GREP" >&6; }
5658 GREP="$ac_cv_path_GREP"
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5662 $as_echo_n "checking for egrep... " >&6; }
5663 if ${ac_cv_path_EGREP+:} false; then :
5664 $as_echo_n "(cached) " >&6
5665 else
5666 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5667 then ac_cv_path_EGREP="$GREP -E"
5668 else
5669 if test -z "$EGREP"; then
5670 ac_path_EGREP_found=false
5671 # Loop through the user's path and test for each of PROGNAME-LIST
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5675 IFS=$as_save_IFS
5676 test -z "$as_dir" && as_dir=.
5677 for ac_prog in egrep; do
5678 for ac_exec_ext in '' $ac_executable_extensions; do
5679 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5680 as_fn_executable_p "$ac_path_EGREP" || continue
5681 # Check for GNU ac_path_EGREP and select it if it is found.
5682 # Check for GNU $ac_path_EGREP
5683 case `"$ac_path_EGREP" --version 2>&1` in
5684 *GNU*)
5685 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5687 ac_count=0
5688 $as_echo_n 0123456789 >"conftest.in"
5689 while :
5691 cat "conftest.in" "conftest.in" >"conftest.tmp"
5692 mv "conftest.tmp" "conftest.in"
5693 cp "conftest.in" "conftest.nl"
5694 $as_echo 'EGREP' >> "conftest.nl"
5695 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5696 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5697 as_fn_arith $ac_count + 1 && ac_count=$as_val
5698 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5699 # Best one so far, save it but keep looking for a better one
5700 ac_cv_path_EGREP="$ac_path_EGREP"
5701 ac_path_EGREP_max=$ac_count
5703 # 10*(2^10) chars as input seems more than enough
5704 test $ac_count -gt 10 && break
5705 done
5706 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5707 esac
5709 $ac_path_EGREP_found && break 3
5710 done
5711 done
5712 done
5713 IFS=$as_save_IFS
5714 if test -z "$ac_cv_path_EGREP"; then
5715 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5717 else
5718 ac_cv_path_EGREP=$EGREP
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5724 $as_echo "$ac_cv_path_EGREP" >&6; }
5725 EGREP="$ac_cv_path_EGREP"
5728 # Extract the first word of "ldconfig", so it can be a program name with args.
5729 set dummy ldconfig; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_path_LDCONFIG+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 case $LDCONFIG in
5736 [\\/]* | ?:[\\/]*)
5737 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in /sbin /usr/sbin $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5755 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5757 esac
5759 LDCONFIG=$ac_cv_path_LDCONFIG
5760 if test -n "$LDCONFIG"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5762 $as_echo "$LDCONFIG" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 for ac_prog in msgfmt
5771 # Extract the first word of "$ac_prog", so it can be a program name with args.
5772 set dummy $ac_prog; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_MSGFMT+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$MSGFMT"; then
5779 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_MSGFMT="$ac_prog"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 MSGFMT=$ac_cv_prog_MSGFMT
5799 if test -n "$MSGFMT"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5801 $as_echo "$MSGFMT" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5808 test -n "$MSGFMT" && break
5809 done
5810 test -n "$MSGFMT" || MSGFMT="false"
5812 if ${ac_tool_prefix+:} false; then :
5813 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5814 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5816 $as_echo_n "checking for $ac_word... " >&6; }
5817 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5820 if test -n "$PKG_CONFIG"; then
5821 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5822 else
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5830 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 break 2
5834 done
5835 done
5836 IFS=$as_save_IFS
5840 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5841 if test -n "$PKG_CONFIG"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5843 $as_echo "$PKG_CONFIG" >&6; }
5844 else
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5851 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5852 if test "x$cross_compiling" = xyes; then :
5854 else
5855 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5856 # Extract the first word of "pkg-config", so it can be a program name with args.
5857 set dummy pkg-config; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5861 $as_echo_n "(cached) " >&6
5862 else
5863 if test -n "$PKG_CONFIG"; then
5864 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5869 IFS=$as_save_IFS
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_PKG_CONFIG="pkg-config"
5874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 break 2
5877 done
5878 done
5879 IFS=$as_save_IFS
5883 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5884 if test -n "$PKG_CONFIG"; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5886 $as_echo "$PKG_CONFIG" >&6; }
5887 else
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5894 else
5895 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5898 if test "x$enable_maintainer_mode" != "xyes"
5899 then
5900 FONTFORGE=""
5901 RSVG=""
5902 CONVERT=""
5903 ICOTOOL=""
5904 else
5905 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5906 for ac_prog in fontforge
5908 # Extract the first word of "$ac_prog", so it can be a program name with args.
5909 set dummy $ac_prog; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if ${ac_cv_prog_FONTFORGE+:} false; then :
5913 $as_echo_n "(cached) " >&6
5914 else
5915 if test -n "$FONTFORGE"; then
5916 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5917 else
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5919 for as_dir in $PATH
5921 IFS=$as_save_IFS
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5925 ac_cv_prog_FONTFORGE="$ac_prog"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927 break 2
5929 done
5930 done
5931 IFS=$as_save_IFS
5935 FONTFORGE=$ac_cv_prog_FONTFORGE
5936 if test -n "$FONTFORGE"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5938 $as_echo "$FONTFORGE" >&6; }
5939 else
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5945 test -n "$FONTFORGE" && break
5946 done
5947 test -n "$FONTFORGE" || FONTFORGE="false"
5949 for ac_prog in rsvg-convert rsvg
5951 # Extract the first word of "$ac_prog", so it can be a program name with args.
5952 set dummy $ac_prog; ac_word=$2
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5954 $as_echo_n "checking for $ac_word... " >&6; }
5955 if ${ac_cv_prog_RSVG+:} false; then :
5956 $as_echo_n "(cached) " >&6
5957 else
5958 if test -n "$RSVG"; then
5959 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5960 else
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5968 ac_cv_prog_RSVG="$ac_prog"
5969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 break 2
5972 done
5973 done
5974 IFS=$as_save_IFS
5978 RSVG=$ac_cv_prog_RSVG
5979 if test -n "$RSVG"; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5981 $as_echo "$RSVG" >&6; }
5982 else
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5984 $as_echo "no" >&6; }
5988 test -n "$RSVG" && break
5989 done
5990 test -n "$RSVG" || RSVG="false"
5992 for ac_prog in convert
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy $ac_prog; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_CONVERT+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 if test -n "$CONVERT"; then
6002 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6003 else
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 for as_dir in $PATH
6007 IFS=$as_save_IFS
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_CONVERT="$ac_prog"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 break 2
6015 done
6016 done
6017 IFS=$as_save_IFS
6021 CONVERT=$ac_cv_prog_CONVERT
6022 if test -n "$CONVERT"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6024 $as_echo "$CONVERT" >&6; }
6025 else
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6031 test -n "$CONVERT" && break
6032 done
6033 test -n "$CONVERT" || CONVERT="false"
6035 for ac_prog in icotool
6037 # Extract the first word of "$ac_prog", so it can be a program name with args.
6038 set dummy $ac_prog; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_ICOTOOL+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 if test -n "$ICOTOOL"; then
6045 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6050 IFS=$as_save_IFS
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_ICOTOOL="$ac_prog"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 break 2
6058 done
6059 done
6060 IFS=$as_save_IFS
6064 ICOTOOL=$ac_cv_prog_ICOTOOL
6065 if test -n "$ICOTOOL"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6067 $as_echo "$ICOTOOL" >&6; }
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6074 test -n "$ICOTOOL" && break
6075 done
6076 test -n "$ICOTOOL" || ICOTOOL="false"
6078 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6079 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6081 if test "$CONVERT" = false
6082 then
6083 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6086 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6087 convert_version=`convert --version | head -n1`
6088 if test "x$convert_version" != "x"
6089 then
6090 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6091 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6092 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6093 then
6094 CONVERT=false
6097 if test "$CONVERT" = false
6098 then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6100 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6101 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6102 else
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6104 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6108 if test "$ICOTOOL" = false
6109 then
6110 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6113 $as_echo_n "checking for recent enough icotool... " >&6; }
6114 icotool_version=`icotool --version | head -n1`
6115 if test "x$icotool_version" != "x"
6116 then
6117 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6118 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6119 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6120 then
6121 ICOTOOL=false
6122 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6125 if test "$ICOTOOL" = false
6126 then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6128 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6129 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6130 else
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6132 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6136 with_gettext=yes
6137 with_gettextpo=yes
6138 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6141 test "x$with_gettext" != xno || MSGFMT=false
6142 if test "$MSGFMT" != "false"
6143 then
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6145 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6146 cat >conftest.po <<EOF
6147 # comment
6148 msgctxt "ctxt"
6149 msgid "id"
6150 msgstr "str"
6152 if $MSGFMT -o /dev/null conftest.po 2>&5
6153 then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6155 $as_echo "yes" >&6; }
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6159 MSGFMT=false
6162 if test "$MSGFMT" = false; then :
6163 case "x$with_gettext" in
6164 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6165 xno) ;;
6166 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6167 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6168 esac
6169 enable_po=${enable_po:-no}
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6174 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6175 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6176 $as_echo_n "(cached) " >&6
6177 else
6178 ac_check_lib_save_LIBS=$LIBS
6179 LIBS="-li386 $LIBS"
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6183 /* Override any GCC internal prototype to avoid an error.
6184 Use char because int might match the return type of a GCC
6185 builtin and then its argument prototype would still apply. */
6186 #ifdef __cplusplus
6187 extern "C"
6188 #endif
6189 char i386_set_ldt ();
6191 main ()
6193 return i386_set_ldt ();
6195 return 0;
6197 _ACEOF
6198 if ac_fn_c_try_link "$LINENO"; then :
6199 ac_cv_lib_i386_i386_set_ldt=yes
6200 else
6201 ac_cv_lib_i386_i386_set_ldt=no
6203 rm -f core conftest.err conftest.$ac_objext \
6204 conftest$ac_exeext conftest.$ac_ext
6205 LIBS=$ac_check_lib_save_LIBS
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6208 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6209 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6210 cat >>confdefs.h <<_ACEOF
6211 #define HAVE_LIBI386 1
6212 _ACEOF
6214 LIBS="-li386 $LIBS"
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6219 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6220 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 ac_check_lib_save_LIBS=$LIBS
6224 LIBS="-lossaudio $LIBS"
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6228 /* Override any GCC internal prototype to avoid an error.
6229 Use char because int might match the return type of a GCC
6230 builtin and then its argument prototype would still apply. */
6231 #ifdef __cplusplus
6232 extern "C"
6233 #endif
6234 char _oss_ioctl ();
6236 main ()
6238 return _oss_ioctl ();
6240 return 0;
6242 _ACEOF
6243 if ac_fn_c_try_link "$LINENO"; then :
6244 ac_cv_lib_ossaudio__oss_ioctl=yes
6245 else
6246 ac_cv_lib_ossaudio__oss_ioctl=no
6248 rm -f core conftest.err conftest.$ac_objext \
6249 conftest$ac_exeext conftest.$ac_ext
6250 LIBS=$ac_check_lib_save_LIBS
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6253 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6254 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6255 cat >>confdefs.h <<_ACEOF
6256 #define HAVE_LIBOSSAUDIO 1
6257 _ACEOF
6259 LIBS="-lossaudio $LIBS"
6264 OPENGL_LIBS=""
6268 # Check whether --enable-largefile was given.
6269 if test "${enable_largefile+set}" = set; then :
6270 enableval=$enable_largefile;
6273 if test "$enable_largefile" != no; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6276 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6277 if ${ac_cv_sys_largefile_CC+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 ac_cv_sys_largefile_CC=no
6281 if test "$GCC" != yes; then
6282 ac_save_CC=$CC
6283 while :; do
6284 # IRIX 6.2 and later do not support large files by default,
6285 # so use the C compiler's -n32 option if that helps.
6286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6288 #include <sys/types.h>
6289 /* Check that off_t can represent 2**63 - 1 correctly.
6290 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6291 since some C++ compilers masquerading as C compilers
6292 incorrectly reject 9223372036854775807. */
6293 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6294 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6295 && LARGE_OFF_T % 2147483647 == 1)
6296 ? 1 : -1];
6298 main ()
6302 return 0;
6304 _ACEOF
6305 if ac_fn_c_try_compile "$LINENO"; then :
6306 break
6308 rm -f core conftest.err conftest.$ac_objext
6309 CC="$CC -n32"
6310 if ac_fn_c_try_compile "$LINENO"; then :
6311 ac_cv_sys_largefile_CC=' -n32'; break
6313 rm -f core conftest.err conftest.$ac_objext
6314 break
6315 done
6316 CC=$ac_save_CC
6317 rm -f conftest.$ac_ext
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6321 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6322 if test "$ac_cv_sys_largefile_CC" != no; then
6323 CC=$CC$ac_cv_sys_largefile_CC
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6327 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6328 if ${ac_cv_sys_file_offset_bits+:} false; then :
6329 $as_echo_n "(cached) " >&6
6330 else
6331 while :; do
6332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6334 #include <sys/types.h>
6335 /* Check that off_t can represent 2**63 - 1 correctly.
6336 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6337 since some C++ compilers masquerading as C compilers
6338 incorrectly reject 9223372036854775807. */
6339 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6340 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6341 && LARGE_OFF_T % 2147483647 == 1)
6342 ? 1 : -1];
6344 main ()
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_compile "$LINENO"; then :
6352 ac_cv_sys_file_offset_bits=no; break
6354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #define _FILE_OFFSET_BITS 64
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 ac_cv_sys_file_offset_bits=64; break
6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 ac_cv_sys_file_offset_bits=unknown
6380 break
6381 done
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6384 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6385 case $ac_cv_sys_file_offset_bits in #(
6386 no | unknown) ;;
6388 cat >>confdefs.h <<_ACEOF
6389 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6390 _ACEOF
6392 esac
6393 rm -rf conftest*
6394 if test $ac_cv_sys_file_offset_bits = unknown; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6396 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6397 if ${ac_cv_sys_large_files+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 while :; do
6401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6403 #include <sys/types.h>
6404 /* Check that off_t can represent 2**63 - 1 correctly.
6405 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6406 since some C++ compilers masquerading as C compilers
6407 incorrectly reject 9223372036854775807. */
6408 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6409 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6410 && LARGE_OFF_T % 2147483647 == 1)
6411 ? 1 : -1];
6413 main ()
6417 return 0;
6419 _ACEOF
6420 if ac_fn_c_try_compile "$LINENO"; then :
6421 ac_cv_sys_large_files=no; break
6423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #define _LARGE_FILES 1
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6435 ? 1 : -1];
6437 main ()
6441 return 0;
6443 _ACEOF
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445 ac_cv_sys_large_files=1; break
6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6448 ac_cv_sys_large_files=unknown
6449 break
6450 done
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6453 $as_echo "$ac_cv_sys_large_files" >&6; }
6454 case $ac_cv_sys_large_files in #(
6455 no | unknown) ;;
6457 cat >>confdefs.h <<_ACEOF
6458 #define _LARGE_FILES $ac_cv_sys_large_files
6459 _ACEOF
6461 esac
6462 rm -rf conftest*
6469 ac_ext=c
6470 ac_cpp='$CPP $CPPFLAGS'
6471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6475 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6476 # On Suns, sometimes $CPP names a directory.
6477 if test -n "$CPP" && test -d "$CPP"; then
6478 CPP=
6480 if test -z "$CPP"; then
6481 if ${ac_cv_prog_CPP+:} false; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 # Double quotes because CPP needs to be expanded
6485 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6487 ac_preproc_ok=false
6488 for ac_c_preproc_warn_flag in '' yes
6490 # Use a header file that comes with gcc, so configuring glibc
6491 # with a fresh cross-compiler works.
6492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6493 # <limits.h> exists even on freestanding compilers.
6494 # On the NeXT, cc -E runs the code through the compiler's parser,
6495 # not just through cpp. "Syntax error" is here to catch this case.
6496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6497 /* end confdefs.h. */
6498 #ifdef __STDC__
6499 # include <limits.h>
6500 #else
6501 # include <assert.h>
6502 #endif
6503 Syntax error
6504 _ACEOF
6505 if ac_fn_c_try_cpp "$LINENO"; then :
6507 else
6508 # Broken: fails on valid input.
6509 continue
6511 rm -f conftest.err conftest.i conftest.$ac_ext
6513 # OK, works on sane cases. Now check whether nonexistent headers
6514 # can be detected and how.
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6517 #include <ac_nonexistent.h>
6518 _ACEOF
6519 if ac_fn_c_try_cpp "$LINENO"; then :
6520 # Broken: success on invalid input.
6521 continue
6522 else
6523 # Passes both tests.
6524 ac_preproc_ok=:
6525 break
6527 rm -f conftest.err conftest.i conftest.$ac_ext
6529 done
6530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6531 rm -f conftest.i conftest.err conftest.$ac_ext
6532 if $ac_preproc_ok; then :
6533 break
6536 done
6537 ac_cv_prog_CPP=$CPP
6540 CPP=$ac_cv_prog_CPP
6541 else
6542 ac_cv_prog_CPP=$CPP
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6545 $as_echo "$CPP" >&6; }
6546 ac_preproc_ok=false
6547 for ac_c_preproc_warn_flag in '' yes
6549 # Use a header file that comes with gcc, so configuring glibc
6550 # with a fresh cross-compiler works.
6551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6552 # <limits.h> exists even on freestanding compilers.
6553 # On the NeXT, cc -E runs the code through the compiler's parser,
6554 # not just through cpp. "Syntax error" is here to catch this case.
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6556 /* end confdefs.h. */
6557 #ifdef __STDC__
6558 # include <limits.h>
6559 #else
6560 # include <assert.h>
6561 #endif
6562 Syntax error
6563 _ACEOF
6564 if ac_fn_c_try_cpp "$LINENO"; then :
6566 else
6567 # Broken: fails on valid input.
6568 continue
6570 rm -f conftest.err conftest.i conftest.$ac_ext
6572 # OK, works on sane cases. Now check whether nonexistent headers
6573 # can be detected and how.
6574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6575 /* end confdefs.h. */
6576 #include <ac_nonexistent.h>
6577 _ACEOF
6578 if ac_fn_c_try_cpp "$LINENO"; then :
6579 # Broken: success on invalid input.
6580 continue
6581 else
6582 # Passes both tests.
6583 ac_preproc_ok=:
6584 break
6586 rm -f conftest.err conftest.i conftest.$ac_ext
6588 done
6589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6590 rm -f conftest.i conftest.err conftest.$ac_ext
6591 if $ac_preproc_ok; then :
6593 else
6594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6596 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6597 See \`config.log' for more details" "$LINENO" 5; }
6600 ac_ext=c
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6608 $as_echo_n "checking for ANSI C header files... " >&6; }
6609 if ${ac_cv_header_stdc+:} false; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #include <stdlib.h>
6615 #include <stdarg.h>
6616 #include <string.h>
6617 #include <float.h>
6620 main ()
6624 return 0;
6626 _ACEOF
6627 if ac_fn_c_try_compile "$LINENO"; then :
6628 ac_cv_header_stdc=yes
6629 else
6630 ac_cv_header_stdc=no
6632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6634 if test $ac_cv_header_stdc = yes; then
6635 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 #include <string.h>
6640 _ACEOF
6641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6642 $EGREP "memchr" >/dev/null 2>&1; then :
6644 else
6645 ac_cv_header_stdc=no
6647 rm -f conftest*
6651 if test $ac_cv_header_stdc = yes; then
6652 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6654 /* end confdefs.h. */
6655 #include <stdlib.h>
6657 _ACEOF
6658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6659 $EGREP "free" >/dev/null 2>&1; then :
6661 else
6662 ac_cv_header_stdc=no
6664 rm -f conftest*
6668 if test $ac_cv_header_stdc = yes; then
6669 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6670 if test "$cross_compiling" = yes; then :
6672 else
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6675 #include <ctype.h>
6676 #include <stdlib.h>
6677 #if ((' ' & 0x0FF) == 0x020)
6678 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6679 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6680 #else
6681 # define ISLOWER(c) \
6682 (('a' <= (c) && (c) <= 'i') \
6683 || ('j' <= (c) && (c) <= 'r') \
6684 || ('s' <= (c) && (c) <= 'z'))
6685 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6686 #endif
6688 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6690 main ()
6692 int i;
6693 for (i = 0; i < 256; i++)
6694 if (XOR (islower (i), ISLOWER (i))
6695 || toupper (i) != TOUPPER (i))
6696 return 2;
6697 return 0;
6699 _ACEOF
6700 if ac_fn_c_try_run "$LINENO"; then :
6702 else
6703 ac_cv_header_stdc=no
6705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6706 conftest.$ac_objext conftest.beam conftest.$ac_ext
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6712 $as_echo "$ac_cv_header_stdc" >&6; }
6713 if test $ac_cv_header_stdc = yes; then
6715 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6719 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6720 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6721 inttypes.h stdint.h unistd.h
6722 do :
6723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6726 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6727 cat >>confdefs.h <<_ACEOF
6728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6729 _ACEOF
6733 done
6736 for ac_header in \
6737 AL/al.h \
6738 ApplicationServices/ApplicationServices.h \
6739 AudioToolbox/AudioConverter.h \
6740 AudioUnit/AudioUnit.h \
6741 AudioUnit/AudioComponent.h \
6742 CL/cl.h \
6743 Carbon/Carbon.h \
6744 CommonCrypto/CommonDigest.h \
6745 CoreAudio/CoreAudio.h \
6746 CoreServices/CoreServices.h \
6747 DiskArbitration/DiskArbitration.h \
6748 IOKit/IOKitLib.h \
6749 IOKit/hid/IOHIDLib.h \
6750 OpenAL/al.h \
6751 OpenCL/opencl.h \
6752 QuickTime/ImageCompression.h \
6753 Security/Security.h \
6754 alias.h \
6755 alsa/asoundlib.h \
6756 arpa/inet.h \
6757 arpa/nameser.h \
6758 asm/types.h \
6759 asm/user.h \
6760 curses.h \
6761 direct.h \
6762 dirent.h \
6763 dlfcn.h \
6764 elf.h \
6765 float.h \
6766 fnmatch.h \
6767 getopt.h \
6768 gettext-po.h \
6769 grp.h \
6770 gsm.h \
6771 gsm/gsm.h \
6772 ieeefp.h \
6773 inet/mib2.h \
6774 io.h \
6775 kstat.h \
6776 lber.h \
6777 ldap.h \
6778 libproc.h \
6779 link.h \
6780 linux/cdrom.h \
6781 linux/compiler.h \
6782 linux/filter.h \
6783 linux/hdreg.h \
6784 linux/input.h \
6785 linux/ioctl.h \
6786 linux/joystick.h \
6787 linux/major.h \
6788 linux/param.h \
6789 linux/serial.h \
6790 linux/types.h \
6791 linux/ucdrom.h \
6792 lwp.h \
6793 mach-o/nlist.h \
6794 mach-o/loader.h \
6795 mach/mach.h \
6796 mach/machine.h \
6797 machine/cpu.h \
6798 machine/limits.h \
6799 machine/sysarch.h \
6800 mntent.h \
6801 ncurses.h \
6802 netdb.h \
6803 netinet/in.h \
6804 netinet/in_systm.h \
6805 netinet/tcp.h \
6806 netinet/tcp_fsm.h \
6807 pcap/pcap.h \
6808 poll.h \
6809 port.h \
6810 process.h \
6811 pthread.h \
6812 pwd.h \
6813 sched.h \
6814 scsi/scsi.h \
6815 scsi/scsi_ioctl.h \
6816 scsi/sg.h \
6817 stdbool.h \
6818 stdint.h \
6819 stropts.h \
6820 sys/asoundlib.h \
6821 sys/attr.h \
6822 sys/cdio.h \
6823 sys/elf32.h \
6824 sys/epoll.h \
6825 sys/event.h \
6826 sys/exec_elf.h \
6827 sys/filio.h \
6828 sys/inotify.h \
6829 sys/ioctl.h \
6830 sys/ipc.h \
6831 sys/limits.h \
6832 sys/link.h \
6833 sys/mman.h \
6834 sys/modem.h \
6835 sys/msg.h \
6836 sys/mtio.h \
6837 sys/param.h \
6838 sys/poll.h \
6839 sys/prctl.h \
6840 sys/protosw.h \
6841 sys/ptrace.h \
6842 sys/queue.h \
6843 sys/resource.h \
6844 sys/scsiio.h \
6845 sys/shm.h \
6846 sys/signal.h \
6847 sys/socket.h \
6848 sys/socketvar.h \
6849 sys/sockio.h \
6850 sys/statvfs.h \
6851 sys/strtio.h \
6852 sys/syscall.h \
6853 sys/sysinfo.h \
6854 sys/tihdr.h \
6855 sys/time.h \
6856 sys/timeout.h \
6857 sys/times.h \
6858 sys/uio.h \
6859 sys/user.h \
6860 sys/utsname.h \
6861 sys/vm86.h \
6862 sys/vnode.h \
6863 sys/wait.h \
6864 syscall.h \
6865 termios.h \
6866 unistd.h \
6867 utime.h \
6868 valgrind/memcheck.h \
6869 valgrind/valgrind.h \
6870 zlib.h
6872 do :
6873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6874 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6876 cat >>confdefs.h <<_ACEOF
6877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6878 _ACEOF
6882 done
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6885 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6886 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6887 $as_echo_n "(cached) " >&6
6888 else
6889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6890 /* end confdefs.h. */
6891 #include <sys/types.h>
6893 main ()
6895 return makedev(0, 0);
6897 return 0;
6899 _ACEOF
6900 if ac_fn_c_try_link "$LINENO"; then :
6901 ac_cv_header_sys_types_h_makedev=yes
6902 else
6903 ac_cv_header_sys_types_h_makedev=no
6905 rm -f core conftest.err conftest.$ac_objext \
6906 conftest$ac_exeext conftest.$ac_ext
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6910 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6912 if test $ac_cv_header_sys_types_h_makedev = no; then
6913 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6914 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6916 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6922 if test $ac_cv_header_sys_mkdev_h = no; then
6923 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6924 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6926 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6935 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6936 if ${ac_cv_header_stat_broken+:} false; then :
6937 $as_echo_n "(cached) " >&6
6938 else
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #include <sys/types.h>
6942 #include <sys/stat.h>
6944 #if defined S_ISBLK && defined S_IFDIR
6945 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6946 #endif
6948 #if defined S_ISBLK && defined S_IFCHR
6949 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6950 #endif
6952 #if defined S_ISLNK && defined S_IFREG
6953 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6954 #endif
6956 #if defined S_ISSOCK && defined S_IFREG
6957 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6958 #endif
6960 _ACEOF
6961 if ac_fn_c_try_compile "$LINENO"; then :
6962 ac_cv_header_stat_broken=no
6963 else
6964 ac_cv_header_stat_broken=yes
6966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6969 $as_echo "$ac_cv_header_stat_broken" >&6; }
6970 if test $ac_cv_header_stat_broken = yes; then
6972 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6978 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6979 do :
6980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6981 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6982 #ifdef HAVE_SYS_PARAM_H
6983 # include <sys/param.h>
6984 #endif
6986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6987 cat >>confdefs.h <<_ACEOF
6988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6989 _ACEOF
6993 done
6996 for ac_header in \
6997 netinet/ip.h \
6998 net/if.h \
6999 net/if_arp.h \
7000 net/if_dl.h \
7001 net/if_types.h \
7002 net/route.h \
7003 netinet/if_ether.h \
7004 netinet/if_inarp.h \
7005 netinet/in_pcb.h \
7006 netinet/ip_icmp.h \
7007 netinet/ip_var.h \
7008 netinet/udp.h \
7009 netipx/ipx.h \
7010 sys/un.h \
7012 do :
7013 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7014 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7015 #ifdef HAVE_SYS_SOCKET_H
7016 # include <sys/socket.h>
7017 #endif
7018 #ifdef HAVE_SYS_SOCKETVAR_H
7019 # include <sys/socketvar.h>
7020 #endif
7021 #ifdef HAVE_NET_ROUTE_H
7022 # include <net/route.h>
7023 #endif
7024 #ifdef HAVE_NETINET_IN_H
7025 # include <netinet/in.h>
7026 #endif
7027 #ifdef HAVE_NETINET_IN_SYSTM_H
7028 # include <netinet/in_systm.h>
7029 #endif
7030 #ifdef HAVE_NET_IF_H
7031 # include <net/if.h>
7032 #endif
7033 #ifdef HAVE_NETINET_IP_H
7034 # include <netinet/ip.h>
7035 #endif
7037 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7038 cat >>confdefs.h <<_ACEOF
7039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7040 _ACEOF
7044 done
7047 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7048 do :
7049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7051 #ifdef HAVE_ALIAS_H
7052 # include <alias.h>
7053 #endif
7054 #ifdef HAVE_SYS_SOCKET_H
7055 # include <sys/socket.h>
7056 #endif
7057 #ifdef HAVE_SYS_SOCKETVAR_H
7058 # include <sys/socketvar.h>
7059 #endif
7060 #ifdef HAVE_SYS_TIMEOUT_H
7061 # include <sys/timeout.h>
7062 #endif
7063 #ifdef HAVE_NETINET_IN_H
7064 # include <netinet/in.h>
7065 #endif
7066 #ifdef HAVE_NETINET_IN_SYSTM_H
7067 # include <netinet/in_systm.h>
7068 #endif
7069 #ifdef HAVE_NETINET_IP_H
7070 # include <netinet/ip.h>
7071 #endif
7072 #ifdef HAVE_NETINET_IP_VAR_H
7073 # include <netinet/ip_var.h>
7074 #endif
7075 #ifdef HAVE_NETINET_IP_ICMP_H
7076 # include <netinet/ip_icmp.h>
7077 #endif
7078 #ifdef HAVE_NETINET_UDP_H
7079 # include <netinet/udp.h>
7080 #endif
7081 #ifdef HAVE_NETINET_TCP_H
7082 # include <netinet/tcp.h>
7083 #endif
7084 #ifdef HAVE_NETINET_TCP_TIMER_H
7085 #include <netinet/tcp_timer.h>
7086 #endif
7088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7091 _ACEOF
7095 done
7098 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7099 do :
7100 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7101 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7102 #ifdef HAVE_ASM_TYPES_H
7103 # include <asm/types.h>
7104 #endif
7105 #ifdef HAVE_SYS_SOCKET_H
7106 # include <sys/socket.h>
7107 #endif
7108 #ifdef HAVE_LINUX_TYPES_H
7109 # include <linux/types.h>
7110 #endif
7112 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7113 cat >>confdefs.h <<_ACEOF
7114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7115 _ACEOF
7119 done
7122 for ac_header in mach-o/dyld_images.h
7123 do :
7124 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7125 # include <stdbool.h>
7126 #endif
7127 #ifdef HAVE_STDINT_H
7128 # include <stdint.h>
7129 #endif
7131 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7132 cat >>confdefs.h <<_ACEOF
7133 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7134 _ACEOF
7138 done
7141 for ac_header in resolv.h
7142 do :
7143 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7144 #ifdef HAVE_SYS_SOCKET_H
7145 # include <sys/socket.h>
7146 #endif
7147 #ifdef HAVE_NETINET_IN_H
7148 # include <netinet/in.h>
7149 #endif
7150 #ifdef HAVE_ARPA_NAMESER_H
7151 # include <arpa/nameser.h>
7152 #endif
7154 if test "x$ac_cv_header_resolv_h" = xyes; then :
7155 cat >>confdefs.h <<_ACEOF
7156 #define HAVE_RESOLV_H 1
7157 _ACEOF
7161 done
7164 for ac_header in ifaddrs.h
7165 do :
7166 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7168 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7169 cat >>confdefs.h <<_ACEOF
7170 #define HAVE_IFADDRS_H 1
7171 _ACEOF
7175 done
7178 for ac_header in sys/ucontext.h
7179 do :
7180 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7182 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7183 cat >>confdefs.h <<_ACEOF
7184 #define HAVE_SYS_UCONTEXT_H 1
7185 _ACEOF
7189 done
7192 for ac_header in sys/thr.h
7193 do :
7194 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7195 #ifdef HAVE_SYS_UCONTEXT_H
7196 #include <sys/ucontext.h>
7197 #endif
7199 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define HAVE_SYS_THR_H 1
7202 _ACEOF
7206 done
7209 for ac_header in pthread_np.h
7210 do :
7211 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7212 #include <pthread.h>
7213 #endif
7215 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7216 cat >>confdefs.h <<_ACEOF
7217 #define HAVE_PTHREAD_NP_H 1
7218 _ACEOF
7222 done
7225 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7226 do :
7227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7229 #include <sys/time.h>
7230 #endif
7231 #include <sys/types.h>
7232 #ifdef HAVE_ASM_TYPES_H
7233 #include <asm/types.h>
7234 #endif
7236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7239 _ACEOF
7243 done
7246 for ac_header in libprocstat.h
7247 do :
7248 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7249 #include <sys/param.h>
7250 #endif
7251 #ifdef HAVE_SYS_QUEUE_H
7252 #include <sys/queue.h>
7253 #endif
7254 #ifdef HAVE_SYS_SOCKET_H
7255 #include <sys/socket.h>
7256 #endif
7258 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define HAVE_LIBPROCSTAT_H 1
7261 _ACEOF
7265 done
7269 dlldir="\${libdir}/wine"
7271 DLLFLAGS="-D_REENTRANT"
7273 LDRPATH_INSTALL=""
7275 LDRPATH_LOCAL=""
7277 LDEXECFLAGS=""
7279 LIBEXT="so"
7280 DLLEXT=".so"
7281 IMPLIBEXT="def"
7282 # Extract the first word of "ldd", so it can be a program name with args.
7283 set dummy ldd; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_path_LDD+:} false; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 case $LDD in
7290 [\\/]* | ?:[\\/]*)
7291 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 as_dummy="/sbin:/usr/sbin:$PATH"
7296 for as_dir in $as_dummy
7298 IFS=$as_save_IFS
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304 break 2
7306 done
7307 done
7308 IFS=$as_save_IFS
7310 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7312 esac
7314 LDD=$ac_cv_path_LDD
7315 if test -n "$LDD"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7317 $as_echo "$LDD" >&6; }
7318 else
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7324 if test -n "$ac_tool_prefix"; then
7325 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7326 set dummy ${ac_tool_prefix}otool; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if ${ac_cv_prog_OTOOL+:} false; then :
7330 $as_echo_n "(cached) " >&6
7331 else
7332 if test -n "$OTOOL"; then
7333 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7334 else
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336 for as_dir in $PATH
7338 IFS=$as_save_IFS
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 break 2
7346 done
7347 done
7348 IFS=$as_save_IFS
7352 OTOOL=$ac_cv_prog_OTOOL
7353 if test -n "$OTOOL"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7355 $as_echo "$OTOOL" >&6; }
7356 else
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7363 if test -z "$ac_cv_prog_OTOOL"; then
7364 ac_ct_OTOOL=$OTOOL
7365 # Extract the first word of "otool", so it can be a program name with args.
7366 set dummy otool; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 if test -n "$ac_ct_OTOOL"; then
7373 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7378 IFS=$as_save_IFS
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7382 ac_cv_prog_ac_ct_OTOOL="otool"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 break 2
7386 done
7387 done
7388 IFS=$as_save_IFS
7392 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7393 if test -n "$ac_ct_OTOOL"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7395 $as_echo "$ac_ct_OTOOL" >&6; }
7396 else
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7401 if test "x$ac_ct_OTOOL" = x; then
7402 OTOOL="otool"
7403 else
7404 case $cross_compiling:$ac_tool_warned in
7405 yes:)
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7408 ac_tool_warned=yes ;;
7409 esac
7410 OTOOL=$ac_ct_OTOOL
7412 else
7413 OTOOL="$ac_cv_prog_OTOOL"
7416 if test -n "$ac_tool_prefix"; then
7417 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7418 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if ${ac_cv_prog_READELF+:} false; then :
7422 $as_echo_n "(cached) " >&6
7423 else
7424 if test -n "$READELF"; then
7425 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7426 else
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 for as_dir in $PATH
7430 IFS=$as_save_IFS
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 READELF=$ac_cv_prog_READELF
7445 if test -n "$READELF"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7447 $as_echo "$READELF" >&6; }
7448 else
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7455 if test -z "$ac_cv_prog_READELF"; then
7456 ac_ct_READELF=$READELF
7457 # Extract the first word of "readelf", so it can be a program name with args.
7458 set dummy readelf; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$ac_ct_READELF"; then
7465 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_ac_ct_READELF="readelf"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7484 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7485 if test -n "$ac_ct_READELF"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7487 $as_echo "$ac_ct_READELF" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7493 if test "x$ac_ct_READELF" = x; then
7494 READELF="true"
7495 else
7496 case $cross_compiling:$ac_tool_warned in
7497 yes:)
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned=yes ;;
7501 esac
7502 READELF=$ac_ct_READELF
7504 else
7505 READELF="$ac_cv_prog_READELF"
7508 wine_rules_file=conf$$rules.make
7509 rm -f $wine_rules_file
7510 SUBDIRS=""
7512 DISABLED_SUBDIRS=""
7514 CONFIGURE_TARGETS=""
7516 ALL_TEST_RESOURCES=""
7519 wine_fn_append_file ()
7521 as_fn_append $1 " \\$as_nl $2"
7524 wine_fn_append_rule ()
7526 $as_echo "$1" >>$wine_rules_file
7529 wine_fn_has_flag ()
7531 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7534 wine_fn_all_rules ()
7536 wine_fn_append_file SUBDIRS $ac_dir
7537 wine_fn_append_rule \
7538 "all: $ac_dir
7539 .PHONY: $ac_dir
7540 $ac_dir: dummy
7541 @cd $ac_dir && \$(MAKE)"
7544 wine_fn_install_rules ()
7546 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7548 wine_fn_append_rule \
7549 ".PHONY: $ac_dir/install $ac_dir/uninstall
7550 $ac_dir/install:: $ac_dir
7551 @cd $ac_dir && \$(MAKE) install
7552 $ac_dir/uninstall::
7553 @cd $ac_dir && \$(MAKE) uninstall
7554 install:: $ac_dir/install
7555 __uninstall__: $ac_dir/uninstall"
7557 if wine_fn_has_flag install-lib
7558 then
7559 wine_fn_append_rule \
7560 ".PHONY: $ac_dir/install-lib
7561 $ac_dir/install-lib:: $ac_dir
7562 @cd $ac_dir && \$(MAKE) install-lib
7563 install-lib:: $ac_dir/install-lib"
7566 if wine_fn_has_flag install-dev
7567 then
7568 wine_fn_append_rule \
7569 ".PHONY: $ac_dir/install-dev
7570 $ac_dir/install-dev:: $ac_dir
7571 @cd $ac_dir && \$(MAKE) install-dev
7572 install-dev:: $ac_dir/install-dev"
7576 wine_fn_clean_rules ()
7578 ac_clean=$@
7580 if wine_fn_has_flag clean
7581 then
7582 wine_fn_append_rule \
7583 "$ac_dir/clean: dummy
7584 @cd $ac_dir && \$(MAKE) clean"
7585 else
7586 wine_fn_append_rule \
7587 "$ac_dir/clean: dummy
7588 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7590 wine_fn_append_rule \
7591 "__clean__: $ac_dir/clean
7592 .PHONY: $ac_dir/clean"
7595 wine_fn_disabled_rules ()
7597 ac_clean=$@
7599 wine_fn_append_file SUBDIRS $ac_dir
7600 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7601 wine_fn_append_rule \
7602 "__clean__: $ac_dir/clean
7603 .PHONY: $ac_dir/clean
7604 $ac_dir/clean: dummy
7605 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7608 wine_fn_config_makefile ()
7610 ac_dir=$1
7611 ac_enable=$2
7612 ac_flags=$3
7614 case $ac_dir in
7615 fonts|server) test -z "$with_wine64" || return ;;
7616 esac
7617 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7618 wine_fn_disabled_rules; return
7620 wine_fn_all_rules
7621 wine_fn_install_rules
7622 wine_fn_clean_rules
7625 wine_fn_config_lib ()
7627 ac_name=$1
7628 ac_flags=$2
7629 ac_dir=dlls/$ac_name
7630 ac_deps="include"
7632 if test "x$enable_tools" = xno; then :
7634 else
7635 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7637 wine_fn_all_rules
7638 wine_fn_clean_rules
7640 wine_fn_append_rule \
7641 ".PHONY: $ac_dir/install $ac_dir/uninstall
7642 $ac_dir/install:: $ac_dir
7643 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7644 $ac_dir/uninstall::
7645 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7646 install install-dev:: $ac_dir/install
7647 __uninstall__: $ac_dir/uninstall
7648 __builddeps__: $ac_dir
7649 $ac_dir: $ac_deps"
7652 wine_fn_config_dll ()
7654 ac_name=$1
7655 ac_dir=dlls/$ac_name
7656 ac_enable=$2
7657 ac_flags=$3
7658 ac_implib=${4:-$ac_name}
7659 ac_file=$ac_dir/lib$ac_implib
7660 ac_dll=$ac_name
7661 ac_deps="include"
7662 ac_implibflags=""
7664 if test "x$enable_tools" = xno; then :
7666 else
7667 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7669 case $ac_name in
7670 *16) ac_implibflags=" -m16" ;;
7671 *.*) ;;
7672 *) ac_dll=$ac_dll.dll ;;
7673 esac
7675 ac_clean=
7676 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7677 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7679 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7680 if test "$ac_enable" != enable_win16
7681 then
7682 wine_fn_clean_rules $ac_clean
7683 wine_fn_append_file SUBDIRS $ac_dir
7684 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7685 else
7686 wine_fn_disabled_rules $ac_clean
7687 return
7689 else
7690 wine_fn_all_rules
7691 wine_fn_clean_rules $ac_clean
7692 wine_fn_append_rule \
7693 "$ac_dir: __builddeps__
7694 manpages htmlpages sgmlpages xmlpages::
7695 @cd $ac_dir && \$(MAKE) \$@
7696 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7697 install install-lib:: $ac_dir/install-lib
7698 __uninstall__: $ac_dir/uninstall"
7699 if test -n "$DLLEXT"
7700 then
7701 wine_fn_append_rule \
7702 "$ac_dir/install-lib:: $ac_dir
7703 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7704 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7705 $ac_dir/uninstall::
7706 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7707 else
7708 wine_fn_append_rule \
7709 "$ac_dir/install-lib:: $ac_dir
7710 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7711 $ac_dir/uninstall::
7712 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7716 if wine_fn_has_flag staticimplib
7717 then
7718 wine_fn_append_rule \
7719 "__builddeps__: $ac_file.a
7720 $ac_file.a $ac_file.cross.a: $ac_deps
7721 $ac_file.a: dummy
7722 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7723 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7724 $ac_dir/install-dev:: $ac_file.a
7725 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7726 $ac_dir/uninstall::
7727 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7728 install install-dev:: $ac_dir/install-dev
7729 __uninstall__: $ac_dir/uninstall"
7731 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7732 then
7733 wine_fn_append_rule \
7734 "__builddeps__: $ac_file.cross.a
7735 $ac_file.cross.a: dummy
7736 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7739 elif wine_fn_has_flag implib
7740 then
7741 wine_fn_append_rule \
7742 "__builddeps__: $ac_file.$IMPLIBEXT
7743 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7744 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7745 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7746 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7747 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7748 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7749 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7750 $ac_dir/uninstall::
7751 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7752 install install-dev:: $ac_dir/install-dev
7753 __uninstall__: $ac_dir/uninstall"
7754 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7755 then
7756 wine_fn_append_rule \
7757 "__builddeps__: $ac_file.cross.a
7758 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7759 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7764 wine_fn_config_program ()
7766 ac_name=$1
7767 ac_dir=programs/$ac_name
7768 ac_enable=$2
7769 ac_flags=$3
7770 ac_program=$ac_name
7772 case $ac_name in
7773 *.*) ;;
7774 *) ac_program=$ac_program.exe ;;
7775 esac
7777 ac_clean=
7778 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7779 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7781 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7782 wine_fn_disabled_rules $ac_clean; return
7785 wine_fn_all_rules
7786 wine_fn_clean_rules $ac_clean
7787 wine_fn_append_rule "$ac_dir: __builddeps__"
7789 wine_fn_has_flag install || return
7790 wine_fn_append_rule \
7791 ".PHONY: $ac_dir/install $ac_dir/uninstall
7792 install install-lib:: $ac_dir/install
7793 __uninstall__: $ac_dir/uninstall"
7795 if test -n "$DLLEXT"
7796 then
7797 wine_fn_append_rule \
7798 "$ac_dir/install:: $ac_dir
7799 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7800 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7801 $ac_dir/uninstall::
7802 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7804 if test -z "$with_wine64" && wine_fn_has_flag installbin
7805 then
7806 wine_fn_append_rule \
7807 "$ac_dir/install:: __tooldeps__
7808 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7809 $ac_dir/uninstall::
7810 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7812 else
7813 wine_fn_append_rule \
7814 "$ac_dir/install:: $ac_dir
7815 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7816 $ac_dir/uninstall::
7817 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7820 if test -z "$with_wine64" && wine_fn_has_flag manpage
7821 then
7822 wine_fn_append_rule \
7823 "$ac_dir/install:: $ac_dir
7824 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7825 $ac_dir/uninstall::
7826 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7830 wine_fn_config_test ()
7832 ac_dir=$1
7833 ac_name=$2
7834 ac_flags=$3
7836 ac_clean=
7837 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7838 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7840 if test "x$enable_tests" = xno; then :
7841 wine_fn_disabled_rules $ac_clean; return
7844 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7845 wine_fn_all_rules
7846 wine_fn_clean_rules $ac_clean
7848 wine_fn_append_rule \
7849 "$ac_dir: __builddeps__
7850 programs/winetest: $ac_dir
7851 check test: $ac_dir/test
7852 .PHONY: $ac_dir/test
7853 $ac_dir/test: dummy
7854 @cd $ac_dir && \$(MAKE) test
7855 testclean::
7856 \$(RM) $ac_dir/*.ok"
7858 if test -n "$CROSSTARGET"
7859 then
7860 wine_fn_append_rule \
7861 "crosstest: $ac_dir/crosstest
7862 .PHONY: $ac_dir/crosstest
7863 $ac_dir/crosstest: __builddeps__ dummy
7864 @cd $ac_dir && \$(MAKE) crosstest"
7868 wine_fn_config_tool ()
7870 ac_dir=$1
7871 ac_flags=$2
7872 if test "x$enable_tools" = xno; then :
7873 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7876 wine_fn_all_rules
7877 wine_fn_install_rules
7878 wine_fn_clean_rules
7880 wine_fn_append_rule "__tooldeps__: $ac_dir"
7881 wine_fn_append_rule "$ac_dir: libs/port"
7882 case $ac_dir in
7883 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7884 esac
7887 wine_fn_config_symlink ()
7889 ac_linkdir=
7890 if test "x$1" = "x-d"
7891 then
7892 ac_linkdir=$2
7893 shift; shift
7895 ac_links=$@
7896 wine_fn_append_rule \
7897 "$ac_links:
7898 @./config.status \$@"
7899 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7900 test -n "$ac_linkdir" || return
7901 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7904 wine_binary="wine"
7905 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7906 WINELOADER_PROGRAMS="$wine_binary"
7908 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7910 case $host_os in
7911 cygwin*|mingw32*)
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_DLLTOOL+:} false; then :
7918 $as_echo_n "(cached) " >&6
7919 else
7920 if test -n "$DLLTOOL"; then
7921 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7940 DLLTOOL=$ac_cv_prog_DLLTOOL
7941 if test -n "$DLLTOOL"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7943 $as_echo "$DLLTOOL" >&6; }
7944 else
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7951 if test -z "$ac_cv_prog_DLLTOOL"; then
7952 ac_ct_DLLTOOL=$DLLTOOL
7953 # Extract the first word of "dlltool", so it can be a program name with args.
7954 set dummy dlltool; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 if test -n "$ac_ct_DLLTOOL"; then
7961 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7962 else
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 for as_dir in $PATH
7966 IFS=$as_save_IFS
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 break 2
7974 done
7975 done
7976 IFS=$as_save_IFS
7980 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7981 if test -n "$ac_ct_DLLTOOL"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7983 $as_echo "$ac_ct_DLLTOOL" >&6; }
7984 else
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7989 if test "x$ac_ct_DLLTOOL" = x; then
7990 DLLTOOL="false"
7991 else
7992 case $cross_compiling:$ac_tool_warned in
7993 yes:)
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned=yes ;;
7997 esac
7998 DLLTOOL=$ac_ct_DLLTOOL
8000 else
8001 DLLTOOL="$ac_cv_prog_DLLTOOL"
8004 LIBEXT="dll"
8005 DLLEXT=""
8006 IMPLIBEXT="a"
8007 enable_iphlpapi=${enable_iphlpapi:-no}
8008 enable_kernel32=${enable_kernel32:-no}
8009 enable_msvcrt=${enable_msvcrt:-no}
8010 enable_ntdll=${enable_ntdll:-no}
8011 enable_ws2_32=${enable_ws2_32:-no}
8012 enable_loader=${enable_loader:-no}
8013 enable_server=${enable_server:-no}
8014 with_x=${with_x:-no}
8015 with_pthread=${with_pthread:-no}
8017 crtlibs=""
8018 case $host_os in
8019 mingw32*)
8020 crtlibs="-lmsvcrt"
8021 SOCKET_LIBS="-lws2_32"
8023 esac
8025 LIBWINE_SHAREDLIB="libwine.dll"
8027 LIBWINE_IMPORTLIB="libwine.a"
8029 LIBWINE_INSTALL_LIB="libwine.dll"
8031 LIBWINE_INSTALL_DEV="libwine.a"
8033 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8035 LIBWINE_DEPENDS="wine.def"
8039 darwin*|macosx*)
8040 for ac_header in libunwind.h
8041 do :
8042 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8044 cat >>confdefs.h <<_ACEOF
8045 #define HAVE_LIBUNWIND_H 1
8046 _ACEOF
8050 done
8052 LIBEXT="dylib"
8053 DLLFLAGS="$DLLFLAGS -fPIC"
8054 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8055 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8056 COREFOUNDATION_LIBS="-framework CoreFoundation"
8058 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8060 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8062 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8064 CORESERVICES_LIBS="-framework CoreServices"
8066 APPKIT_LIBS="-framework AppKit"
8068 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8070 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8071 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 ac_wine_try_cflags_saved=$CFLAGS
8075 CFLAGS="$CFLAGS -Wl,-no_pie"
8076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8078 int main(int argc, char **argv) { return 0; }
8079 _ACEOF
8080 if ac_fn_c_try_link "$LINENO"; then :
8081 ac_cv_cflags__Wl__no_pie=yes
8082 else
8083 ac_cv_cflags__Wl__no_pie=no
8085 rm -f core conftest.err conftest.$ac_objext \
8086 conftest$ac_exeext conftest.$ac_ext
8087 CFLAGS=$ac_wine_try_cflags_saved
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8090 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8091 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8092 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8094 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8095 then
8096 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8099 if test "$ac_cv_header_Security_Security_h" = "yes"
8100 then
8101 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8103 ac_save_LIBS="$LIBS"
8104 LIBS="$LIBS $SECURITY_LIBS"
8105 for ac_func in SSLCopyPeerCertificates
8106 do :
8107 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8108 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8109 cat >>confdefs.h <<_ACEOF
8110 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8111 _ACEOF
8114 done
8116 LIBS="$ac_save_LIBS"
8117 with_gnutls=${with_gnutls:-no}
8119 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8120 then
8121 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8122 then
8123 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8125 else
8126 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8129 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8130 ac_save_LIBS="$LIBS"
8131 LIBS="$LIBS $COREAUDIO_LIBS"
8132 for ac_func in AUGraphAddNode
8133 do :
8134 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8135 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8136 cat >>confdefs.h <<_ACEOF
8137 #define HAVE_AUGRAPHADDNODE 1
8138 _ACEOF
8141 done
8143 LIBS="$ac_save_LIBS"
8145 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8146 then
8147 OPENAL_LIBS="-framework OpenAL"
8150 cat >>confdefs.h <<_ACEOF
8151 #define HAVE_OPENAL 1
8152 _ACEOF
8154 ac_cv_lib_openal=yes
8156 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8157 then
8158 OPENCL_LIBS="-framework OpenCL"
8160 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8162 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8163 then
8164 ac_save_LIBS="$LIBS"
8165 LIBS="$LIBS $IOKIT_LIBS"
8166 for ac_func in IOHIDManagerCreate
8167 do :
8168 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8169 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8170 cat >>confdefs.h <<_ACEOF
8171 #define HAVE_IOHIDMANAGERCREATE 1
8172 _ACEOF
8175 done
8177 LIBS="$ac_save_LIBS"
8179 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8180 then
8181 ac_save_LIBS="$LIBS"
8182 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8184 $as_echo_n "checking for the QuickTime framework... " >&6; }
8185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h. */
8187 #include <QuickTime/ImageCompression.h>
8189 main ()
8191 CodecManagerVersion(NULL);
8193 return 0;
8195 _ACEOF
8196 if ac_fn_c_try_link "$LINENO"; then :
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8198 $as_echo "yes" >&6; }
8199 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8201 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8202 else
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8204 $as_echo "no" >&6; }
8205 ac_cv_header_QuickTime_ImageCompression_h=no
8207 rm -f core conftest.err conftest.$ac_objext \
8208 conftest$ac_exeext conftest.$ac_ext
8209 LIBS="$ac_save_LIBS"
8211 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8212 then
8213 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8215 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8216 then
8217 CARBON_LIBS="-framework Carbon"
8221 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8222 then
8223 ac_save_LIBS="$LIBS"
8224 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8225 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8226 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8227 enable_winemac_drv=${enable_winemac_drv:-yes}
8230 LIBS="$ac_save_LIBS"
8233 if test "x$enable_win16" = "xyes"
8234 then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8236 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8237 if test "$cross_compiling" = yes; then :
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8239 $as_echo "cross-compiling, assuming yes" >&6; }
8240 else
8241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 /* end confdefs.h. */
8243 asm(".text\n"
8244 "bad:\tnop;nop\n"
8245 "good:\tnop;nop\n\t"
8246 ".globl _testfunc\n"
8247 "_testfunc:\tcallw good");
8248 extern void testfunc();
8250 main ()
8252 unsigned short *p = (unsigned short *)testfunc;
8253 return p[0] != 0xe866 || p[1] != 0xfffa
8255 return 0;
8257 _ACEOF
8258 if ac_fn_c_try_run "$LINENO"; then :
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8260 $as_echo "yes" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8264 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
8266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8267 conftest.$ac_objext conftest.beam conftest.$ac_ext
8272 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8274 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8276 LIBWINE_INSTALL_DEV="libwine.dylib"
8278 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8280 WINELOADER_DEPENDS="wine_info.plist"
8284 linux-android*)
8285 DLLFLAGS="$DLLFLAGS -fPIC"
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8287 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8288 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 ac_wine_try_cflags_saved=$CFLAGS
8292 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8294 /* end confdefs.h. */
8295 int main(int argc, char **argv) { return 0; }
8296 _ACEOF
8297 if ac_fn_c_try_link "$LINENO"; then :
8298 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8299 else
8300 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8302 rm -f core conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 CFLAGS=$ac_wine_try_cflags_saved
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8307 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8308 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8309 LDEXECFLAGS="-Wl,--export-dynamic"
8311 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8313 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8314 if eval \${$as_ac_var+:} false; then :
8315 $as_echo_n "(cached) " >&6
8316 else
8317 ac_wine_try_cflags_saved=$CFLAGS
8318 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 int main(int argc, char **argv) { return 0; }
8322 _ACEOF
8323 if ac_fn_c_try_link "$LINENO"; then :
8324 eval "$as_ac_var=yes"
8325 else
8326 eval "$as_ac_var=no"
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 CFLAGS=$ac_wine_try_cflags_saved
8332 eval ac_res=\$$as_ac_var
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8334 $as_echo "$ac_res" >&6; }
8335 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8336 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8337 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8338 else
8339 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8341 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8342 if eval \${$as_ac_var+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 ac_wine_try_cflags_saved=$CFLAGS
8346 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8350 _ACEOF
8351 if ac_fn_c_try_link "$LINENO"; then :
8352 eval "$as_ac_var=yes"
8353 else
8354 eval "$as_ac_var=no"
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 CFLAGS=$ac_wine_try_cflags_saved
8360 eval ac_res=\$$as_ac_var
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8362 $as_echo "$ac_res" >&6; }
8363 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8364 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8365 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8370 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8371 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8372 $as_echo_n "(cached) " >&6
8373 else
8374 ac_wine_try_cflags_saved=$CFLAGS
8375 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8378 int main(int argc, char **argv) { return 0; }
8379 _ACEOF
8380 if ac_fn_c_try_link "$LINENO"; then :
8381 ac_cv_cflags__Wl___enable_new_dtags=yes
8382 else
8383 ac_cv_cflags__Wl___enable_new_dtags=no
8385 rm -f core conftest.err conftest.$ac_objext \
8386 conftest$ac_exeext conftest.$ac_ext
8387 CFLAGS=$ac_wine_try_cflags_saved
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8390 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8391 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8392 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8395 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8396 if ${ac_cv_cflags__Wl__pie+:} false; then :
8397 $as_echo_n "(cached) " >&6
8398 else
8399 ac_wine_try_cflags_saved=$CFLAGS
8400 CFLAGS="$CFLAGS -Wl,-pie"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8403 int main(int argc, char **argv) { return 0; }
8404 _ACEOF
8405 if ac_fn_c_try_link "$LINENO"; then :
8406 ac_cv_cflags__Wl__pie=yes
8407 else
8408 ac_cv_cflags__Wl__pie=no
8410 rm -f core conftest.err conftest.$ac_objext \
8411 conftest$ac_exeext conftest.$ac_ext
8412 CFLAGS=$ac_wine_try_cflags_saved
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8415 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8416 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8417 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8420 LIBWINE_SHAREDLIB="libwine.so"
8422 LIBWINE_INSTALL_LIB="libwine.so"
8424 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8429 DLLFLAGS="$DLLFLAGS -fPIC"
8430 LDEXECFLAGS=""
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8432 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8433 if ${ac_cv_c_dll_gnuelf+:} false; then :
8434 $as_echo_n "(cached) " >&6
8435 else
8436 ac_wine_try_cflags_saved=$CFLAGS
8437 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8439 /* end confdefs.h. */
8440 void myfunc() {}
8441 _ACEOF
8442 if ac_fn_c_try_link "$LINENO"; then :
8443 ac_cv_c_dll_gnuelf="yes"
8444 else
8445 ac_cv_c_dll_gnuelf="no"
8447 rm -f core conftest.err conftest.$ac_objext \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8452 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8453 if test "$ac_cv_c_dll_gnuelf" = "yes"
8454 then
8455 LIBWINE_LDFLAGS="-shared"
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8457 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8458 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 int main(int argc, char **argv) { return 0; }
8466 _ACEOF
8467 if ac_fn_c_try_link "$LINENO"; then :
8468 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8469 else
8470 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8472 rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 CFLAGS=$ac_wine_try_cflags_saved
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8477 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8478 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8479 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8480 else
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8482 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8483 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_wine_try_cflags_saved=$CFLAGS
8487 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8494 else
8495 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8497 rm -f core conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 CFLAGS=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8502 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8503 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8504 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8508 echo '{ global: *; };' >conftest.map
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8510 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8511 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8519 _ACEOF
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8522 else
8523 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8525 rm -f core conftest.err conftest.$ac_objext \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8530 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8531 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8532 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8534 rm -f conftest.map
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8537 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8538 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8539 $as_echo_n "(cached) " >&6
8540 else
8541 ac_wine_try_cflags_saved=$CFLAGS
8542 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8545 int main(int argc, char **argv) { return 0; }
8546 _ACEOF
8547 if ac_fn_c_try_link "$LINENO"; then :
8548 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8549 else
8550 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8552 rm -f core conftest.err conftest.$ac_objext \
8553 conftest$ac_exeext conftest.$ac_ext
8554 CFLAGS=$ac_wine_try_cflags_saved
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8557 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8558 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8559 LDEXECFLAGS="-Wl,--export-dynamic"
8562 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8564 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8565 if eval \${$as_ac_var+:} false; then :
8566 $as_echo_n "(cached) " >&6
8567 else
8568 ac_wine_try_cflags_saved=$CFLAGS
8569 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 int main(int argc, char **argv) { return 0; }
8573 _ACEOF
8574 if ac_fn_c_try_link "$LINENO"; then :
8575 eval "$as_ac_var=yes"
8576 else
8577 eval "$as_ac_var=no"
8579 rm -f core conftest.err conftest.$ac_objext \
8580 conftest$ac_exeext conftest.$ac_ext
8581 CFLAGS=$ac_wine_try_cflags_saved
8583 eval ac_res=\$$as_ac_var
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8585 $as_echo "$ac_res" >&6; }
8586 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8587 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8588 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8589 else
8590 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8592 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8593 if eval \${$as_ac_var+:} false; then :
8594 $as_echo_n "(cached) " >&6
8595 else
8596 ac_wine_try_cflags_saved=$CFLAGS
8597 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8600 int main(int argc, char **argv) { return 0; }
8601 _ACEOF
8602 if ac_fn_c_try_link "$LINENO"; then :
8603 eval "$as_ac_var=yes"
8604 else
8605 eval "$as_ac_var=no"
8607 rm -f core conftest.err conftest.$ac_objext \
8608 conftest$ac_exeext conftest.$ac_ext
8609 CFLAGS=$ac_wine_try_cflags_saved
8611 eval ac_res=\$$as_ac_var
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8613 $as_echo "$ac_res" >&6; }
8614 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8615 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8616 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8621 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8622 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 ac_wine_try_cflags_saved=$CFLAGS
8626 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8629 int main(int argc, char **argv) { return 0; }
8630 _ACEOF
8631 if ac_fn_c_try_link "$LINENO"; then :
8632 ac_cv_cflags__Wl___enable_new_dtags=yes
8633 else
8634 ac_cv_cflags__Wl___enable_new_dtags=no
8636 rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 CFLAGS=$ac_wine_try_cflags_saved
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8641 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8642 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8643 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8646 case $host_cpu in
8647 *i[3456789]86* | x86_64)
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8649 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8650 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8658 _ACEOF
8659 if ac_fn_c_try_link "$LINENO"; then :
8660 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8661 else
8662 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8669 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8670 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8671 case $host_os in
8672 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8673 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8674 esac
8675 else
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8678 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 ac_wine_try_cflags_saved=$CFLAGS
8682 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8689 else
8690 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8697 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8698 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8699 case $host_os in
8700 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8701 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8702 esac
8704 # Extract the first word of "prelink", so it can be a program name with args.
8705 set dummy prelink; ac_word=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if ${ac_cv_path_PRELINK+:} false; then :
8709 $as_echo_n "(cached) " >&6
8710 else
8711 case $PRELINK in
8712 [\\/]* | ?:[\\/]*)
8713 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8717 for as_dir in /sbin /usr/sbin $PATH
8719 IFS=$as_save_IFS
8720 test -z "$as_dir" && as_dir=.
8721 for ac_exec_ext in '' $ac_executable_extensions; do
8722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8723 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8725 break 2
8727 done
8728 done
8729 IFS=$as_save_IFS
8731 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8733 esac
8735 PRELINK=$ac_cv_path_PRELINK
8736 if test -n "$PRELINK"; then
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8738 $as_echo "$PRELINK" >&6; }
8739 else
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8741 $as_echo "no" >&6; }
8745 if test "x$PRELINK" = xfalse
8746 then
8747 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8751 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8752 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8753 $as_echo_n "(cached) " >&6
8754 else
8755 ac_wine_try_cflags_saved=$CFLAGS
8756 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8758 /* end confdefs.h. */
8759 int main(int argc, char **argv) { return 0; }
8760 _ACEOF
8761 if ac_fn_c_try_link "$LINENO"; then :
8762 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8763 else
8764 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8766 rm -f core conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8771 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8772 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8773 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8776 esac
8778 else
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8780 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8781 if ${ac_cv_c_dll_unixware+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8787 /* end confdefs.h. */
8788 void myfunc() {}
8789 _ACEOF
8790 if ac_fn_c_try_link "$LINENO"; then :
8791 ac_cv_c_dll_unixware="yes"
8792 else
8793 ac_cv_c_dll_unixware="no"
8795 rm -f core conftest.err conftest.$ac_objext \
8796 conftest$ac_exeext conftest.$ac_ext
8797 CFLAGS=$ac_wine_try_cflags_saved
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8800 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8801 if test "$ac_cv_c_dll_unixware" = "yes"
8802 then
8803 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8806 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8808 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8810 LIBWINE_INSTALL_DEV="libwine.so"
8812 LIBWINE_DEPENDS="wine.map"
8815 esac
8817 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8818 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8819 enable_winemac_drv=${enable_winemac_drv:-no}
8820 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8822 CROSSTARGET=""
8824 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8825 then
8826 case "$host_cpu" in
8827 arm*)
8828 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8829 i[3456789]86*)
8830 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
8831 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8832 mingw32-gcc" ;;
8833 x86_64)
8834 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
8835 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8837 ac_prefix_list="" ;;
8838 esac
8839 for ac_prog in $ac_prefix_list
8841 # Extract the first word of "$ac_prog", so it can be a program name with args.
8842 set dummy $ac_prog; ac_word=$2
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8844 $as_echo_n "checking for $ac_word... " >&6; }
8845 if ${ac_cv_prog_CROSSCC+:} false; then :
8846 $as_echo_n "(cached) " >&6
8847 else
8848 if test -n "$CROSSCC"; then
8849 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8850 else
8851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8852 for as_dir in $PATH
8854 IFS=$as_save_IFS
8855 test -z "$as_dir" && as_dir=.
8856 for ac_exec_ext in '' $ac_executable_extensions; do
8857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8858 ac_cv_prog_CROSSCC="$ac_prog"
8859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8860 break 2
8862 done
8863 done
8864 IFS=$as_save_IFS
8868 CROSSCC=$ac_cv_prog_CROSSCC
8869 if test -n "$CROSSCC"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8871 $as_echo "$CROSSCC" >&6; }
8872 else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8878 test -n "$CROSSCC" && break
8879 done
8880 test -n "$CROSSCC" || CROSSCC="false"
8882 if test "$CROSSCC" != "false"
8883 then
8884 ac_save_CC="$CC"
8885 CC="$CROSSCC"
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8887 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8892 main ()
8896 return 0;
8898 _ACEOF
8899 if ac_fn_c_try_compile "$LINENO"; then :
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8901 $as_echo "yes" >&6; }
8902 set x $CROSSCC
8903 shift
8904 while test $# -ge 1
8906 case "$1" in
8907 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8908 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8909 esac
8910 shift
8911 done
8912 else
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8914 $as_echo "no" >&6; }
8916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8917 CC="$ac_save_CC"
8922 if test "$ac_cv_header_pthread_h" = "yes"
8923 then
8924 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8925 if test "x$ac_cv_func_pthread_create" = xyes; then :
8927 else
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8929 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8930 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 ac_check_lib_save_LIBS=$LIBS
8934 LIBS="-lpthread $LIBS"
8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8938 /* Override any GCC internal prototype to avoid an error.
8939 Use char because int might match the return type of a GCC
8940 builtin and then its argument prototype would still apply. */
8941 #ifdef __cplusplus
8942 extern "C"
8943 #endif
8944 char pthread_create ();
8946 main ()
8948 return pthread_create ();
8950 return 0;
8952 _ACEOF
8953 if ac_fn_c_try_link "$LINENO"; then :
8954 ac_cv_lib_pthread_pthread_create=yes
8955 else
8956 ac_cv_lib_pthread_pthread_create=no
8958 rm -f core conftest.err conftest.$ac_objext \
8959 conftest$ac_exeext conftest.$ac_ext
8960 LIBS=$ac_check_lib_save_LIBS
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8963 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8964 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8965 PTHREAD_LIBS="-lpthread"
8972 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8973 case "x$with_pthread" in
8974 xno) ;;
8975 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8976 Wine cannot support threads without libpthread.
8977 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8978 esac
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8984 $as_echo_n "checking for X... " >&6; }
8987 # Check whether --with-x was given.
8988 if test "${with_x+set}" = set; then :
8989 withval=$with_x;
8992 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8993 if test "x$with_x" = xno; then
8994 # The user explicitly disabled X.
8995 have_x=disabled
8996 else
8997 case $x_includes,$x_libraries in #(
8998 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8999 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9000 $as_echo_n "(cached) " >&6
9001 else
9002 # One or both of the vars are not set, and there is no cached value.
9003 ac_x_includes=no ac_x_libraries=no
9004 rm -f -r conftest.dir
9005 if mkdir conftest.dir; then
9006 cd conftest.dir
9007 cat >Imakefile <<'_ACEOF'
9008 incroot:
9009 @echo incroot='${INCROOT}'
9010 usrlibdir:
9011 @echo usrlibdir='${USRLIBDIR}'
9012 libdir:
9013 @echo libdir='${LIBDIR}'
9014 _ACEOF
9015 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9016 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9017 for ac_var in incroot usrlibdir libdir; do
9018 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9019 done
9020 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9021 for ac_extension in a so sl dylib la dll; do
9022 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9023 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9024 ac_im_usrlibdir=$ac_im_libdir; break
9026 done
9027 # Screen out bogus values from the imake configuration. They are
9028 # bogus both because they are the default anyway, and because
9029 # using them would break gcc on systems where it needs fixed includes.
9030 case $ac_im_incroot in
9031 /usr/include) ac_x_includes= ;;
9032 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9033 esac
9034 case $ac_im_usrlibdir in
9035 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9036 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9037 esac
9039 cd ..
9040 rm -f -r conftest.dir
9043 # Standard set of common directories for X headers.
9044 # Check X11 before X11Rn because it is often a symlink to the current release.
9045 ac_x_header_dirs='
9046 /usr/X11/include
9047 /usr/X11R7/include
9048 /usr/X11R6/include
9049 /usr/X11R5/include
9050 /usr/X11R4/include
9052 /usr/include/X11
9053 /usr/include/X11R7
9054 /usr/include/X11R6
9055 /usr/include/X11R5
9056 /usr/include/X11R4
9058 /usr/local/X11/include
9059 /usr/local/X11R7/include
9060 /usr/local/X11R6/include
9061 /usr/local/X11R5/include
9062 /usr/local/X11R4/include
9064 /usr/local/include/X11
9065 /usr/local/include/X11R7
9066 /usr/local/include/X11R6
9067 /usr/local/include/X11R5
9068 /usr/local/include/X11R4
9070 /usr/X386/include
9071 /usr/x386/include
9072 /usr/XFree86/include/X11
9074 /usr/include
9075 /usr/local/include
9076 /usr/unsupported/include
9077 /usr/athena/include
9078 /usr/local/x11r5/include
9079 /usr/lpp/Xamples/include
9081 /usr/openwin/include
9082 /usr/openwin/share/include'
9084 if test "$ac_x_includes" = no; then
9085 # Guess where to find include files, by looking for Xlib.h.
9086 # First, try using that file with no special directory specified.
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9089 #include <X11/Xlib.h>
9090 _ACEOF
9091 if ac_fn_c_try_cpp "$LINENO"; then :
9092 # We can compile using X headers with no special include directory.
9093 ac_x_includes=
9094 else
9095 for ac_dir in $ac_x_header_dirs; do
9096 if test -r "$ac_dir/X11/Xlib.h"; then
9097 ac_x_includes=$ac_dir
9098 break
9100 done
9102 rm -f conftest.err conftest.i conftest.$ac_ext
9103 fi # $ac_x_includes = no
9105 if test "$ac_x_libraries" = no; then
9106 # Check for the libraries.
9107 # See if we find them without any special options.
9108 # Don't add to $LIBS permanently.
9109 ac_save_LIBS=$LIBS
9110 LIBS="-lX11 $LIBS"
9111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9112 /* end confdefs.h. */
9113 #include <X11/Xlib.h>
9115 main ()
9117 XrmInitialize ()
9119 return 0;
9121 _ACEOF
9122 if ac_fn_c_try_link "$LINENO"; then :
9123 LIBS=$ac_save_LIBS
9124 # We can link X programs with no special library path.
9125 ac_x_libraries=
9126 else
9127 LIBS=$ac_save_LIBS
9128 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9130 # Don't even attempt the hair of trying to link an X program!
9131 for ac_extension in a so sl dylib la dll; do
9132 if test -r "$ac_dir/libX11.$ac_extension"; then
9133 ac_x_libraries=$ac_dir
9134 break 2
9136 done
9137 done
9139 rm -f core conftest.err conftest.$ac_objext \
9140 conftest$ac_exeext conftest.$ac_ext
9141 fi # $ac_x_libraries = no
9143 case $ac_x_includes,$ac_x_libraries in #(
9144 no,* | *,no | *\'*)
9145 # Didn't find X, or a directory has "'" in its name.
9146 ac_cv_have_x="have_x=no";; #(
9148 # Record where we found X for the cache.
9149 ac_cv_have_x="have_x=yes\
9150 ac_x_includes='$ac_x_includes'\
9151 ac_x_libraries='$ac_x_libraries'"
9152 esac
9154 ;; #(
9155 *) have_x=yes;;
9156 esac
9157 eval "$ac_cv_have_x"
9158 fi # $with_x != no
9160 if test "$have_x" != yes; then
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9162 $as_echo "$have_x" >&6; }
9163 no_x=yes
9164 else
9165 # If each of the values was on the command line, it overrides each guess.
9166 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9167 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9168 # Update the cache value to reflect the command line values.
9169 ac_cv_have_x="have_x=yes\
9170 ac_x_includes='$x_includes'\
9171 ac_x_libraries='$x_libraries'"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9173 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9176 if test "$no_x" = yes; then
9177 # Not all programs may use this symbol, but it does not hurt to define it.
9179 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9181 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9182 else
9183 if test -n "$x_includes"; then
9184 X_CFLAGS="$X_CFLAGS -I$x_includes"
9187 # It would also be nice to do this for all -L options, not just this one.
9188 if test -n "$x_libraries"; then
9189 X_LIBS="$X_LIBS -L$x_libraries"
9190 # For Solaris; some versions of Sun CC require a space after -R and
9191 # others require no space. Words are not sufficient . . . .
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9193 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9194 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9195 ac_xsave_c_werror_flag=$ac_c_werror_flag
9196 ac_c_werror_flag=yes
9197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9201 main ()
9205 return 0;
9207 _ACEOF
9208 if ac_fn_c_try_link "$LINENO"; then :
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9210 $as_echo "no" >&6; }
9211 X_LIBS="$X_LIBS -R$x_libraries"
9212 else
9213 LIBS="$ac_xsave_LIBS -R $x_libraries"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9218 main ()
9222 return 0;
9224 _ACEOF
9225 if ac_fn_c_try_link "$LINENO"; then :
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9227 $as_echo "yes" >&6; }
9228 X_LIBS="$X_LIBS -R $x_libraries"
9229 else
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9231 $as_echo "neither works" >&6; }
9233 rm -f core conftest.err conftest.$ac_objext \
9234 conftest$ac_exeext conftest.$ac_ext
9236 rm -f core conftest.err conftest.$ac_objext \
9237 conftest$ac_exeext conftest.$ac_ext
9238 ac_c_werror_flag=$ac_xsave_c_werror_flag
9239 LIBS=$ac_xsave_LIBS
9242 # Check for system-dependent libraries X programs must link with.
9243 # Do this before checking for the system-independent R6 libraries
9244 # (-lICE), since we may need -lsocket or whatever for X linking.
9246 if test "$ISC" = yes; then
9247 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9248 else
9249 # Martyn Johnson says this is needed for Ultrix, if the X
9250 # libraries were built with DECnet support. And Karl Berry says
9251 # the Alpha needs dnet_stub (dnet does not exist).
9252 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9259 #ifdef __cplusplus
9260 extern "C"
9261 #endif
9262 char XOpenDisplay ();
9264 main ()
9266 return XOpenDisplay ();
9268 return 0;
9270 _ACEOF
9271 if ac_fn_c_try_link "$LINENO"; then :
9273 else
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9275 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9276 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9277 $as_echo_n "(cached) " >&6
9278 else
9279 ac_check_lib_save_LIBS=$LIBS
9280 LIBS="-ldnet $LIBS"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9287 #ifdef __cplusplus
9288 extern "C"
9289 #endif
9290 char dnet_ntoa ();
9292 main ()
9294 return dnet_ntoa ();
9296 return 0;
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 ac_cv_lib_dnet_dnet_ntoa=yes
9301 else
9302 ac_cv_lib_dnet_dnet_ntoa=no
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 LIBS=$ac_check_lib_save_LIBS
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9309 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9310 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9311 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9314 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9316 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9317 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 ac_check_lib_save_LIBS=$LIBS
9321 LIBS="-ldnet_stub $LIBS"
9322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9328 #ifdef __cplusplus
9329 extern "C"
9330 #endif
9331 char dnet_ntoa ();
9333 main ()
9335 return dnet_ntoa ();
9337 return 0;
9339 _ACEOF
9340 if ac_fn_c_try_link "$LINENO"; then :
9341 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9342 else
9343 ac_cv_lib_dnet_stub_dnet_ntoa=no
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS=$ac_check_lib_save_LIBS
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9350 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9351 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9352 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9357 rm -f core conftest.err conftest.$ac_objext \
9358 conftest$ac_exeext conftest.$ac_ext
9359 LIBS="$ac_xsave_LIBS"
9361 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9362 # to get the SysV transport functions.
9363 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9364 # needs -lnsl.
9365 # The nsl library prevents programs from opening the X display
9366 # on Irix 5.2, according to T.E. Dickey.
9367 # The functions gethostbyname, getservbyname, and inet_addr are
9368 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9369 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9370 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9374 if test $ac_cv_func_gethostbyname = no; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9376 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9377 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9378 $as_echo_n "(cached) " >&6
9379 else
9380 ac_check_lib_save_LIBS=$LIBS
9381 LIBS="-lnsl $LIBS"
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9388 #ifdef __cplusplus
9389 extern "C"
9390 #endif
9391 char gethostbyname ();
9393 main ()
9395 return gethostbyname ();
9397 return 0;
9399 _ACEOF
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_lib_nsl_gethostbyname=yes
9402 else
9403 ac_cv_lib_nsl_gethostbyname=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_lib_save_LIBS
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9410 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9411 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9412 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9415 if test $ac_cv_lib_nsl_gethostbyname = no; then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9417 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9418 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9419 $as_echo_n "(cached) " >&6
9420 else
9421 ac_check_lib_save_LIBS=$LIBS
9422 LIBS="-lbsd $LIBS"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9426 /* Override any GCC internal prototype to avoid an error.
9427 Use char because int might match the return type of a GCC
9428 builtin and then its argument prototype would still apply. */
9429 #ifdef __cplusplus
9430 extern "C"
9431 #endif
9432 char gethostbyname ();
9434 main ()
9436 return gethostbyname ();
9438 return 0;
9440 _ACEOF
9441 if ac_fn_c_try_link "$LINENO"; then :
9442 ac_cv_lib_bsd_gethostbyname=yes
9443 else
9444 ac_cv_lib_bsd_gethostbyname=no
9446 rm -f core conftest.err conftest.$ac_objext \
9447 conftest$ac_exeext conftest.$ac_ext
9448 LIBS=$ac_check_lib_save_LIBS
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9451 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9452 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9459 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9460 # socket/setsockopt and other routines are undefined under SCO ODT
9461 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9462 # on later versions), says Simon Leinen: it contains gethostby*
9463 # variants that don't use the name server (or something). -lsocket
9464 # must be given before -lnsl if both are needed. We assume that
9465 # if connect needs -lnsl, so does gethostbyname.
9466 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9467 if test "x$ac_cv_func_connect" = xyes; then :
9471 if test $ac_cv_func_connect = no; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9473 $as_echo_n "checking for connect in -lsocket... " >&6; }
9474 if ${ac_cv_lib_socket_connect+:} false; then :
9475 $as_echo_n "(cached) " >&6
9476 else
9477 ac_check_lib_save_LIBS=$LIBS
9478 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9480 /* end confdefs.h. */
9482 /* Override any GCC internal prototype to avoid an error.
9483 Use char because int might match the return type of a GCC
9484 builtin and then its argument prototype would still apply. */
9485 #ifdef __cplusplus
9486 extern "C"
9487 #endif
9488 char connect ();
9490 main ()
9492 return connect ();
9494 return 0;
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_lib_socket_connect=yes
9499 else
9500 ac_cv_lib_socket_connect=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 LIBS=$ac_check_lib_save_LIBS
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9507 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9508 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9509 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9514 # Guillermo Gomez says -lposix is necessary on A/UX.
9515 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9516 if test "x$ac_cv_func_remove" = xyes; then :
9520 if test $ac_cv_func_remove = no; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9522 $as_echo_n "checking for remove in -lposix... " >&6; }
9523 if ${ac_cv_lib_posix_remove+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 ac_check_lib_save_LIBS=$LIBS
9527 LIBS="-lposix $LIBS"
9528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9529 /* end confdefs.h. */
9531 /* Override any GCC internal prototype to avoid an error.
9532 Use char because int might match the return type of a GCC
9533 builtin and then its argument prototype would still apply. */
9534 #ifdef __cplusplus
9535 extern "C"
9536 #endif
9537 char remove ();
9539 main ()
9541 return remove ();
9543 return 0;
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"; then :
9547 ac_cv_lib_posix_remove=yes
9548 else
9549 ac_cv_lib_posix_remove=no
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 LIBS=$ac_check_lib_save_LIBS
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9556 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9557 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9558 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9563 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9564 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9565 if test "x$ac_cv_func_shmat" = xyes; then :
9569 if test $ac_cv_func_shmat = no; then
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9571 $as_echo_n "checking for shmat in -lipc... " >&6; }
9572 if ${ac_cv_lib_ipc_shmat+:} false; then :
9573 $as_echo_n "(cached) " >&6
9574 else
9575 ac_check_lib_save_LIBS=$LIBS
9576 LIBS="-lipc $LIBS"
9577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9578 /* end confdefs.h. */
9580 /* Override any GCC internal prototype to avoid an error.
9581 Use char because int might match the return type of a GCC
9582 builtin and then its argument prototype would still apply. */
9583 #ifdef __cplusplus
9584 extern "C"
9585 #endif
9586 char shmat ();
9588 main ()
9590 return shmat ();
9592 return 0;
9594 _ACEOF
9595 if ac_fn_c_try_link "$LINENO"; then :
9596 ac_cv_lib_ipc_shmat=yes
9597 else
9598 ac_cv_lib_ipc_shmat=no
9600 rm -f core conftest.err conftest.$ac_objext \
9601 conftest$ac_exeext conftest.$ac_ext
9602 LIBS=$ac_check_lib_save_LIBS
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9605 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9606 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9607 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9613 # Check for libraries that X11R6 Xt/Xaw programs need.
9614 ac_save_LDFLAGS=$LDFLAGS
9615 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9616 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9617 # check for ICE first), but we must link in the order -lSM -lICE or
9618 # we get undefined symbols. So assume we have SM if we have ICE.
9619 # These have to be linked with before -lX11, unlike the other
9620 # libraries we check for below, so use a different variable.
9621 # John Interrante, Karl Berry
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9623 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9624 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9625 $as_echo_n "(cached) " >&6
9626 else
9627 ac_check_lib_save_LIBS=$LIBS
9628 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9630 /* end confdefs.h. */
9632 /* Override any GCC internal prototype to avoid an error.
9633 Use char because int might match the return type of a GCC
9634 builtin and then its argument prototype would still apply. */
9635 #ifdef __cplusplus
9636 extern "C"
9637 #endif
9638 char IceConnectionNumber ();
9640 main ()
9642 return IceConnectionNumber ();
9644 return 0;
9646 _ACEOF
9647 if ac_fn_c_try_link "$LINENO"; then :
9648 ac_cv_lib_ICE_IceConnectionNumber=yes
9649 else
9650 ac_cv_lib_ICE_IceConnectionNumber=no
9652 rm -f core conftest.err conftest.$ac_objext \
9653 conftest$ac_exeext conftest.$ac_ext
9654 LIBS=$ac_check_lib_save_LIBS
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9657 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9658 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9659 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9662 LDFLAGS=$ac_save_LDFLAGS
9667 if test "$have_x" = "yes"
9668 then
9669 ac_save_CPPFLAGS="$CPPFLAGS"
9670 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9673 $as_echo_n "checking for -lX11... " >&6; }
9674 if ${ac_cv_lib_soname_X11+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_check_soname_save_LIBS=$LIBS
9678 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9685 #ifdef __cplusplus
9686 extern "C"
9687 #endif
9688 char XCreateWindow ();
9690 main ()
9692 return XCreateWindow ();
9694 return 0;
9696 _ACEOF
9697 if ac_fn_c_try_link "$LINENO"; then :
9698 case "$LIBEXT" in
9699 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9700 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'` ;;
9701 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9702 if ${ac_cv_lib_soname_X11:+false} :; then :
9703 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9704 fi ;;
9705 esac
9707 rm -f core conftest.err conftest.$ac_objext \
9708 conftest$ac_exeext conftest.$ac_ext
9709 LIBS=$ac_check_soname_save_LIBS
9711 if ${ac_cv_lib_soname_X11:+false} :; then :
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9713 $as_echo "not found" >&6; }
9715 else
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9717 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9719 cat >>confdefs.h <<_ACEOF
9720 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9721 _ACEOF
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9726 $as_echo_n "checking for -lXext... " >&6; }
9727 if ${ac_cv_lib_soname_Xext+:} false; then :
9728 $as_echo_n "(cached) " >&6
9729 else
9730 ac_check_soname_save_LIBS=$LIBS
9731 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9735 /* Override any GCC internal prototype to avoid an error.
9736 Use char because int might match the return type of a GCC
9737 builtin and then its argument prototype would still apply. */
9738 #ifdef __cplusplus
9739 extern "C"
9740 #endif
9741 char XextCreateExtension ();
9743 main ()
9745 return XextCreateExtension ();
9747 return 0;
9749 _ACEOF
9750 if ac_fn_c_try_link "$LINENO"; then :
9751 case "$LIBEXT" in
9752 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9753 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'` ;;
9754 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9755 if ${ac_cv_lib_soname_Xext:+false} :; then :
9756 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9757 fi ;;
9758 esac
9760 rm -f core conftest.err conftest.$ac_objext \
9761 conftest$ac_exeext conftest.$ac_ext
9762 LIBS=$ac_check_soname_save_LIBS
9764 if ${ac_cv_lib_soname_Xext:+false} :; then :
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9766 $as_echo "not found" >&6; }
9768 else
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9770 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9772 cat >>confdefs.h <<_ACEOF
9773 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9774 _ACEOF
9776 X_LIBS="$X_LIBS -lXext"
9778 X_LIBS="$X_LIBS -lX11"
9780 for ac_header in X11/Xlib.h \
9781 X11/XKBlib.h \
9782 X11/Xutil.h \
9783 X11/Xcursor/Xcursor.h \
9784 X11/extensions/shape.h \
9785 X11/extensions/XInput.h \
9786 X11/extensions/XInput2.h \
9787 X11/extensions/XShm.h \
9788 X11/extensions/Xcomposite.h \
9789 X11/extensions/Xinerama.h \
9790 X11/extensions/Xrandr.h \
9791 X11/extensions/Xrender.h \
9792 X11/extensions/xf86vmode.h \
9793 X11/extensions/xf86vmproto.h
9794 do :
9795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9796 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9797 # include <X11/Xlib.h>
9798 #endif
9799 #ifdef HAVE_X11_XUTIL_H
9800 # include <X11/Xutil.h>
9801 #endif
9803 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9804 cat >>confdefs.h <<_ACEOF
9805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9806 _ACEOF
9810 done
9813 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9814 then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9816 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9817 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9818 $as_echo_n "(cached) " >&6
9819 else
9820 ac_check_lib_save_LIBS=$LIBS
9821 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9828 #ifdef __cplusplus
9829 extern "C"
9830 #endif
9831 char XkbQueryExtension ();
9833 main ()
9835 return XkbQueryExtension ();
9837 return 0;
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"; then :
9841 ac_cv_lib_X11_XkbQueryExtension=yes
9842 else
9843 ac_cv_lib_X11_XkbQueryExtension=no
9845 rm -f core conftest.err conftest.$ac_objext \
9846 conftest$ac_exeext conftest.$ac_ext
9847 LIBS=$ac_check_lib_save_LIBS
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9850 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9851 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9853 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9859 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9860 then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9862 $as_echo_n "checking for -lXcursor... " >&6; }
9863 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
9866 ac_check_soname_save_LIBS=$LIBS
9867 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9874 #ifdef __cplusplus
9875 extern "C"
9876 #endif
9877 char XcursorImageLoadCursor ();
9879 main ()
9881 return XcursorImageLoadCursor ();
9883 return 0;
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 case "$LIBEXT" in
9888 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9889 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'` ;;
9890 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9891 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9892 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9893 fi ;;
9894 esac
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 LIBS=$ac_check_soname_save_LIBS
9900 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9902 $as_echo "not found" >&6; }
9904 else
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9906 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9908 cat >>confdefs.h <<_ACEOF
9909 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9910 _ACEOF
9915 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9916 case "x$with_xcursor" in
9917 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9918 xno) ;;
9919 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9920 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9921 esac
9925 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9926 then
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9928 $as_echo_n "checking for -lXi... " >&6; }
9929 if ${ac_cv_lib_soname_Xi+:} false; then :
9930 $as_echo_n "(cached) " >&6
9931 else
9932 ac_check_soname_save_LIBS=$LIBS
9933 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9940 #ifdef __cplusplus
9941 extern "C"
9942 #endif
9943 char XOpenDevice ();
9945 main ()
9947 return XOpenDevice ();
9949 return 0;
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 case "$LIBEXT" in
9954 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9955 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'` ;;
9956 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9957 if ${ac_cv_lib_soname_Xi:+false} :; then :
9958 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9959 fi ;;
9960 esac
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_soname_save_LIBS
9966 if ${ac_cv_lib_soname_Xi:+false} :; then :
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9968 $as_echo "not found" >&6; }
9970 else
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9972 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9974 cat >>confdefs.h <<_ACEOF
9975 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9976 _ACEOF
9981 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9982 case "x$with_xinput" in
9983 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9984 xno) ;;
9985 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9986 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9987 esac
9991 if test "x$ac_cv_lib_soname_Xi" != x
9992 then
9993 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9994 case "x$with_xinput2" in
9995 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9996 xno) ;;
9997 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9998 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9999 esac
10004 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10005 then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10007 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10008 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_check_lib_save_LIBS=$LIBS
10012 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10014 /* end confdefs.h. */
10016 /* Override any GCC internal prototype to avoid an error.
10017 Use char because int might match the return type of a GCC
10018 builtin and then its argument prototype would still apply. */
10019 #ifdef __cplusplus
10020 extern "C"
10021 #endif
10022 char XShmQueryExtension ();
10024 main ()
10026 return XShmQueryExtension ();
10028 return 0;
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 ac_cv_lib_Xext_XShmQueryExtension=yes
10033 else
10034 ac_cv_lib_Xext_XShmQueryExtension=no
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_lib_save_LIBS
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10041 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10042 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10044 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10049 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10050 case "x$with_xshm" in
10051 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10052 xno) ;;
10053 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10054 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10055 esac
10059 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10060 then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10062 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10063 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_check_lib_save_LIBS=$LIBS
10067 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10071 /* Override any GCC internal prototype to avoid an error.
10072 Use char because int might match the return type of a GCC
10073 builtin and then its argument prototype would still apply. */
10074 #ifdef __cplusplus
10075 extern "C"
10076 #endif
10077 char XShapeQueryExtension ();
10079 main ()
10081 return XShapeQueryExtension ();
10083 return 0;
10085 _ACEOF
10086 if ac_fn_c_try_link "$LINENO"; then :
10087 ac_cv_lib_Xext_XShapeQueryExtension=yes
10088 else
10089 ac_cv_lib_Xext_XShapeQueryExtension=no
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_lib_save_LIBS
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10096 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10097 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10099 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10104 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10105 case "x$with_xshape" in
10106 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10107 xno) ;;
10108 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10109 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10110 esac
10114 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10115 then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10117 $as_echo_n "checking for -lXxf86vm... " >&6; }
10118 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_check_soname_save_LIBS=$LIBS
10122 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10126 /* Override any GCC internal prototype to avoid an error.
10127 Use char because int might match the return type of a GCC
10128 builtin and then its argument prototype would still apply. */
10129 #ifdef __cplusplus
10130 extern "C"
10131 #endif
10132 char XF86VidModeQueryExtension ();
10134 main ()
10136 return XF86VidModeQueryExtension ();
10138 return 0;
10140 _ACEOF
10141 if ac_fn_c_try_link "$LINENO"; then :
10142 case "$LIBEXT" in
10143 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10144 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'` ;;
10145 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10146 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10147 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10148 fi ;;
10149 esac
10151 rm -f core conftest.err conftest.$ac_objext \
10152 conftest$ac_exeext conftest.$ac_ext
10153 LIBS=$ac_check_soname_save_LIBS
10155 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10157 $as_echo "not found" >&6; }
10159 else
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10161 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10163 cat >>confdefs.h <<_ACEOF
10164 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10165 _ACEOF
10170 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10171 case "x$with_xxf86vm" in
10172 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10173 xno) ;;
10174 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10175 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10176 esac
10180 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10181 then
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10183 $as_echo_n "checking for -lXrender... " >&6; }
10184 if ${ac_cv_lib_soname_Xrender+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_check_soname_save_LIBS=$LIBS
10188 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 char XRenderQueryExtension ();
10200 main ()
10202 return XRenderQueryExtension ();
10204 return 0;
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"; then :
10208 case "$LIBEXT" in
10209 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10210 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'` ;;
10211 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10212 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10213 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10214 fi ;;
10215 esac
10217 rm -f core conftest.err conftest.$ac_objext \
10218 conftest$ac_exeext conftest.$ac_ext
10219 LIBS=$ac_check_soname_save_LIBS
10221 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10223 $as_echo "not found" >&6; }
10225 else
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10227 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10229 cat >>confdefs.h <<_ACEOF
10230 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10231 _ACEOF
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10234 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10235 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_check_lib_save_LIBS=$LIBS
10239 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10246 #ifdef __cplusplus
10247 extern "C"
10248 #endif
10249 char XRenderSetPictureTransform ();
10251 main ()
10253 return XRenderSetPictureTransform ();
10255 return 0;
10257 _ACEOF
10258 if ac_fn_c_try_link "$LINENO"; then :
10259 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10260 else
10261 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 LIBS=$ac_check_lib_save_LIBS
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10268 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10269 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10271 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10276 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10277 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_check_lib_save_LIBS=$LIBS
10281 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10285 /* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
10288 #ifdef __cplusplus
10289 extern "C"
10290 #endif
10291 char XRenderCreateLinearGradient ();
10293 main ()
10295 return XRenderCreateLinearGradient ();
10297 return 0;
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10302 else
10303 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_lib_save_LIBS
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10310 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10311 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10313 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10320 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10321 case "x$with_xrender" in
10322 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10323 xno) ;;
10324 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10325 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10326 esac
10330 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10331 then
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10334 #include <X11/Xlib.h>
10335 #include <X11/extensions/Xrandr.h>
10337 main ()
10339 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10341 return 0;
10343 _ACEOF
10344 if ac_fn_c_try_compile "$LINENO"; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10346 $as_echo_n "checking for -lXrandr... " >&6; }
10347 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10348 $as_echo_n "(cached) " >&6
10349 else
10350 ac_check_soname_save_LIBS=$LIBS
10351 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10355 /* Override any GCC internal prototype to avoid an error.
10356 Use char because int might match the return type of a GCC
10357 builtin and then its argument prototype would still apply. */
10358 #ifdef __cplusplus
10359 extern "C"
10360 #endif
10361 char XRRQueryExtension ();
10363 main ()
10365 return XRRQueryExtension ();
10367 return 0;
10369 _ACEOF
10370 if ac_fn_c_try_link "$LINENO"; then :
10371 case "$LIBEXT" in
10372 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10373 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'` ;;
10374 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10375 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10376 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10377 fi ;;
10378 esac
10380 rm -f core conftest.err conftest.$ac_objext \
10381 conftest$ac_exeext conftest.$ac_ext
10382 LIBS=$ac_check_soname_save_LIBS
10384 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10386 $as_echo "not found" >&6; }
10388 else
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10390 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10392 cat >>confdefs.h <<_ACEOF
10393 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10394 _ACEOF
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10398 #include <X11/Xlib.h>
10399 #include <X11/extensions/Xrandr.h>
10401 main ()
10403 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10405 return 0;
10407 _ACEOF
10408 if ac_fn_c_try_compile "$LINENO"; then :
10410 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10418 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10419 case "x$with_xrandr" in
10420 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10421 xno) ;;
10422 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10423 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10424 esac
10428 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10429 then
10430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10431 /* end confdefs.h. */
10432 #include <X11/Xlib.h>
10433 #include <X11/extensions/Xinerama.h>
10435 main ()
10437 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10439 return 0;
10441 _ACEOF
10442 if ac_fn_c_try_compile "$LINENO"; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10444 $as_echo_n "checking for -lXinerama... " >&6; }
10445 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10446 $as_echo_n "(cached) " >&6
10447 else
10448 ac_check_soname_save_LIBS=$LIBS
10449 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10456 #ifdef __cplusplus
10457 extern "C"
10458 #endif
10459 char XineramaQueryScreens ();
10461 main ()
10463 return XineramaQueryScreens ();
10465 return 0;
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 case "$LIBEXT" in
10470 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10471 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'` ;;
10472 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10473 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10474 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10475 fi ;;
10476 esac
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 LIBS=$ac_check_soname_save_LIBS
10482 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10484 $as_echo "not found" >&6; }
10486 else
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10488 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10490 cat >>confdefs.h <<_ACEOF
10491 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10492 _ACEOF
10497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10499 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10500 case "x$with_xinerama" in
10501 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10502 xno) ;;
10503 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10504 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10505 esac
10509 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10510 then
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10512 $as_echo_n "checking for -lXcomposite... " >&6; }
10513 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_soname_save_LIBS=$LIBS
10517 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XCompositeRedirectWindow ();
10529 main ()
10531 return XCompositeRedirectWindow ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10542 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 fi ;;
10544 esac
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10552 $as_echo "not found" >&6; }
10554 else
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10556 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10558 cat >>confdefs.h <<_ACEOF
10559 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10560 _ACEOF
10565 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10566 case "x$with_xcomposite" in
10567 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10568 xno) ;;
10569 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10570 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10571 esac
10575 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10576 #include <X11/Xlib.h>
10577 #endif
10579 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10581 cat >>confdefs.h <<_ACEOF
10582 #define HAVE_XICCALLBACK_CALLBACK 1
10583 _ACEOF
10587 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10588 #include <X11/Xlib.h>
10589 #endif
10591 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10593 cat >>confdefs.h <<_ACEOF
10594 #define HAVE_XEVENT_XCOOKIE 1
10595 _ACEOF
10602 opengl_msg=""
10603 if test "x$with_opengl" != "xno"
10604 then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10606 $as_echo_n "checking for -lGL... " >&6; }
10607 if ${ac_cv_lib_soname_GL+:} false; then :
10608 $as_echo_n "(cached) " >&6
10609 else
10610 ac_check_soname_save_LIBS=$LIBS
10611 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10615 /* Override any GCC internal prototype to avoid an error.
10616 Use char because int might match the return type of a GCC
10617 builtin and then its argument prototype would still apply. */
10618 #ifdef __cplusplus
10619 extern "C"
10620 #endif
10621 char glXCreateContext ();
10623 main ()
10625 return glXCreateContext ();
10627 return 0;
10629 _ACEOF
10630 if ac_fn_c_try_link "$LINENO"; then :
10631 case "$LIBEXT" in
10632 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10633 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'` ;;
10634 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10635 if ${ac_cv_lib_soname_GL:+false} :; then :
10636 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10637 fi ;;
10638 esac
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LIBS=$ac_check_soname_save_LIBS
10644 if ${ac_cv_lib_soname_GL:+false} :; then :
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10646 $as_echo "not found" >&6; }
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10648 $as_echo_n "checking for -lGL... " >&6; }
10649 if ${ac_cv_lib_soname_GL+:} false; then :
10650 $as_echo_n "(cached) " >&6
10651 else
10652 ac_check_soname_save_LIBS=$LIBS
10653 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char glXCreateContext ();
10665 main ()
10667 return glXCreateContext ();
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 case "$LIBEXT" in
10674 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10675 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10676 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10677 if ${ac_cv_lib_soname_GL:+false} :; then :
10678 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10679 fi ;;
10680 esac
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_soname_save_LIBS
10686 if ${ac_cv_lib_soname_GL:+false} :; then :
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10688 $as_echo "not found" >&6; }
10689 if test -f /usr/X11R6/lib/libGL.a
10690 then
10691 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10692 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10693 else
10694 opengl_msg="No OpenGL library found on this system."
10696 else
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10698 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10700 cat >>confdefs.h <<_ACEOF
10701 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10702 _ACEOF
10704 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"
10706 else
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10708 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10710 cat >>confdefs.h <<_ACEOF
10711 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10712 _ACEOF
10714 OPENGL_LIBS="-lGL"
10716 if test "x$with_glu" != "xno"
10717 then
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10719 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10720 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10721 $as_echo_n "(cached) " >&6
10722 else
10723 ac_check_lib_save_LIBS=$LIBS
10724 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10731 #ifdef __cplusplus
10732 extern "C"
10733 #endif
10734 char gluLookAt ();
10736 main ()
10738 return gluLookAt ();
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 ac_cv_lib_GLU_gluLookAt=yes
10745 else
10746 ac_cv_lib_GLU_gluLookAt=no
10748 rm -f core conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 LIBS=$ac_check_lib_save_LIBS
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10753 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10754 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10758 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10759 case "x$with_glu" in
10760 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10761 xno) ;;
10762 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10763 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10764 esac
10769 if test "x$with_osmesa" != "xno"
10770 then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10772 $as_echo_n "checking for -lOSMesa... " >&6; }
10773 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10774 $as_echo_n "(cached) " >&6
10775 else
10776 ac_check_soname_save_LIBS=$LIBS
10777 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10781 /* Override any GCC internal prototype to avoid an error.
10782 Use char because int might match the return type of a GCC
10783 builtin and then its argument prototype would still apply. */
10784 #ifdef __cplusplus
10785 extern "C"
10786 #endif
10787 char glAccum ();
10789 main ()
10791 return glAccum ();
10793 return 0;
10795 _ACEOF
10796 if ac_fn_c_try_link "$LINENO"; then :
10797 case "$LIBEXT" in
10798 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10799 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'` ;;
10800 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10801 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10802 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10803 fi ;;
10804 esac
10806 rm -f core conftest.err conftest.$ac_objext \
10807 conftest$ac_exeext conftest.$ac_ext
10808 LIBS=$ac_check_soname_save_LIBS
10810 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10812 $as_echo "not found" >&6; }
10814 else
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10816 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10818 cat >>confdefs.h <<_ACEOF
10819 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10820 _ACEOF
10824 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10825 case "x$with_osmesa" in
10826 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10827 xno) ;;
10828 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10829 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10830 esac
10835 if test -n "$opengl_msg"; then :
10836 case "x$with_opengl" in
10837 x) as_fn_append wine_warnings "|$opengl_msg
10838 OpenGL and Direct3D won't be supported." ;;
10839 xno) ;;
10840 *) as_fn_error $? "$opengl_msg
10841 OpenGL and Direct3D won't be supported.
10842 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10843 esac
10847 CPPFLAGS="$ac_save_CPPFLAGS"
10848 else
10849 X_CFLAGS=""
10850 X_LIBS=""
10852 if test "x$X_LIBS" = "x"; then :
10853 case "x$with_x" in
10854 xno) ;;
10855 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10856 without X support, which probably isn't what you want. You will need
10857 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10858 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10859 esac
10860 enable_winex11_drv=${enable_winex11_drv:-no}
10863 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10865 if test "$ac_cv_header_CL_cl_h" = "yes"
10866 then
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10868 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10869 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10870 $as_echo_n "(cached) " >&6
10871 else
10872 ac_check_lib_save_LIBS=$LIBS
10873 LIBS="-lOpenCL $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10880 #ifdef __cplusplus
10881 extern "C"
10882 #endif
10883 char clGetPlatformInfo ();
10885 main ()
10887 return clGetPlatformInfo ();
10889 return 0;
10891 _ACEOF
10892 if ac_fn_c_try_link "$LINENO"; then :
10893 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10894 else
10895 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10897 rm -f core conftest.err conftest.$ac_objext \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_lib_save_LIBS
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10902 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10903 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10904 OPENCL_LIBS="-lOpenCL"
10909 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10910 case "x$with_opencl" in
10911 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10912 xno) ;;
10913 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10914 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10915 esac
10916 enable_opencl=${enable_opencl:-no}
10919 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10920 then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10922 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10923 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10924 $as_echo_n "(cached) " >&6
10925 else
10926 ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lpcap $LIBS"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10934 #ifdef __cplusplus
10935 extern "C"
10936 #endif
10937 char pcap_create ();
10939 main ()
10941 return pcap_create ();
10943 return 0;
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 ac_cv_lib_pcap_pcap_create=yes
10948 else
10949 ac_cv_lib_pcap_pcap_create=no
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10956 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10957 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10958 PCAP_LIBS="-lpcap"
10963 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10964 case "x$with_pcap" in
10965 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10966 xno) ;;
10967 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10968 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10969 esac
10970 enable_wpcap=${enable_wpcap:-no}
10974 if test "x$with_xml" != "xno"
10975 then
10976 if ${XML2_CFLAGS:+false} :; then :
10977 if ${PKG_CONFIG+:} false; then :
10978 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10981 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10982 if ${XML2_LIBS:+false} :; then :
10983 if ${PKG_CONFIG+:} false; then :
10984 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10987 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10988 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10989 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10990 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10991 ac_save_CPPFLAGS=$CPPFLAGS
10992 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10993 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10994 do :
10995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10996 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10998 cat >>confdefs.h <<_ACEOF
10999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11000 _ACEOF
11004 done
11006 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"
11007 then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11009 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11010 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11011 $as_echo_n "(cached) " >&6
11012 else
11013 ac_check_lib_save_LIBS=$LIBS
11014 LIBS="-lxml2 $XML2_LIBS $LIBS"
11015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11021 #ifdef __cplusplus
11022 extern "C"
11023 #endif
11024 char xmlParseMemory ();
11026 main ()
11028 return xmlParseMemory ();
11030 return 0;
11032 _ACEOF
11033 if ac_fn_c_try_link "$LINENO"; then :
11034 ac_cv_lib_xml2_xmlParseMemory=yes
11035 else
11036 ac_cv_lib_xml2_xmlParseMemory=no
11038 rm -f core conftest.err conftest.$ac_objext \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11043 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11044 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11046 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11048 else
11049 XML2_LIBS=""
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11053 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11054 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11055 $as_echo_n "(cached) " >&6
11056 else
11057 ac_check_lib_save_LIBS=$LIBS
11058 LIBS="-lxml2 $XML2_LIBS $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11065 #ifdef __cplusplus
11066 extern "C"
11067 #endif
11068 char xmlReadMemory ();
11070 main ()
11072 return xmlReadMemory ();
11074 return 0;
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"; then :
11078 ac_cv_lib_xml2_xmlReadMemory=yes
11079 else
11080 ac_cv_lib_xml2_xmlReadMemory=no
11082 rm -f core conftest.err conftest.$ac_objext \
11083 conftest$ac_exeext conftest.$ac_ext
11084 LIBS=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11087 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11088 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11090 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11095 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11096 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11097 $as_echo_n "(cached) " >&6
11098 else
11099 ac_check_lib_save_LIBS=$LIBS
11100 LIBS="-lxml2 $XML2_LIBS $LIBS"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11104 /* Override any GCC internal prototype to avoid an error.
11105 Use char because int might match the return type of a GCC
11106 builtin and then its argument prototype would still apply. */
11107 #ifdef __cplusplus
11108 extern "C"
11109 #endif
11110 char xmlNewDocPI ();
11112 main ()
11114 return xmlNewDocPI ();
11116 return 0;
11118 _ACEOF
11119 if ac_fn_c_try_link "$LINENO"; then :
11120 ac_cv_lib_xml2_xmlNewDocPI=yes
11121 else
11122 ac_cv_lib_xml2_xmlNewDocPI=no
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_lib_save_LIBS
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11129 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11130 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11132 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11137 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11138 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11139 $as_echo_n "(cached) " >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lxml2 $XML2_LIBS $LIBS"
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11149 #ifdef __cplusplus
11150 extern "C"
11151 #endif
11152 char xmlSchemaSetParserStructuredErrors ();
11154 main ()
11156 return xmlSchemaSetParserStructuredErrors ();
11158 return 0;
11160 _ACEOF
11161 if ac_fn_c_try_link "$LINENO"; then :
11162 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11163 else
11164 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11166 rm -f core conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11171 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11172 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11174 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11179 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11180 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11181 $as_echo_n "(cached) " >&6
11182 else
11183 ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lxml2 $XML2_LIBS $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191 #ifdef __cplusplus
11192 extern "C"
11193 #endif
11194 char xmlSchemaSetValidStructuredErrors ();
11196 main ()
11198 return xmlSchemaSetValidStructuredErrors ();
11200 return 0;
11202 _ACEOF
11203 if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11205 else
11206 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_lib_save_LIBS
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11213 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11214 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11216 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11221 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11222 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11223 $as_echo_n "(cached) " >&6
11224 else
11225 ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-lxml2 $XML2_LIBS $LIBS"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char xmlFirstElementChild ();
11238 main ()
11240 return xmlFirstElementChild ();
11242 return 0;
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 ac_cv_lib_xml2_xmlFirstElementChild=yes
11247 else
11248 ac_cv_lib_xml2_xmlFirstElementChild=no
11250 rm -f core conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11255 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11256 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11258 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11262 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11264 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11266 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11270 else
11271 XML2_CFLAGS=""
11272 XML2_LIBS=""
11274 CPPFLAGS=$ac_save_CPPFLAGS
11275 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11276 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11279 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11280 case "x$with_xml" in
11281 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11282 xno) ;;
11283 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11284 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11285 esac
11289 if test "x$with_xslt" != "xno"
11290 then
11291 if ${XSLT_CFLAGS:+false} :; then :
11292 if ${PKG_CONFIG+:} false; then :
11293 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11296 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11297 if ${XSLT_LIBS:+false} :; then :
11298 if ${PKG_CONFIG+:} false; then :
11299 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11302 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11303 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11304 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11305 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11306 ac_save_CPPFLAGS=$CPPFLAGS
11307 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11308 for ac_header in libxslt/pattern.h libxslt/transform.h
11309 do :
11310 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11311 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11312 # include <libxslt/pattern.h>
11313 #endif
11315 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11316 cat >>confdefs.h <<_ACEOF
11317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11318 _ACEOF
11322 done
11324 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11325 then
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11327 $as_echo_n "checking for -lxslt... " >&6; }
11328 if ${ac_cv_lib_soname_xslt+:} false; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_soname_save_LIBS=$LIBS
11332 LIBS="-lxslt $XSLT_LIBS $LIBS"
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11339 #ifdef __cplusplus
11340 extern "C"
11341 #endif
11342 char xsltCompilePattern ();
11344 main ()
11346 return xsltCompilePattern ();
11348 return 0;
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"; then :
11352 case "$LIBEXT" in
11353 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11354 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'` ;;
11355 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11356 if ${ac_cv_lib_soname_xslt:+false} :; then :
11357 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11358 fi ;;
11359 esac
11361 rm -f core conftest.err conftest.$ac_objext \
11362 conftest$ac_exeext conftest.$ac_ext
11363 LIBS=$ac_check_soname_save_LIBS
11365 if ${ac_cv_lib_soname_xslt:+false} :; then :
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11367 $as_echo "not found" >&6; }
11369 else
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11371 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11373 cat >>confdefs.h <<_ACEOF
11374 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11375 _ACEOF
11379 else
11380 XSLT_CFLAGS=""
11382 CPPFLAGS=$ac_save_CPPFLAGS
11383 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11384 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11387 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11388 case "x$with_xslt" in
11389 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11390 xno) ;;
11391 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11392 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11393 esac
11397 if test "x$with_dbus" != "xno"
11398 then
11399 if ${DBUS_CFLAGS:+false} :; then :
11400 if ${PKG_CONFIG+:} false; then :
11401 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11405 if ${DBUS_LIBS:+false} :; then :
11406 if ${PKG_CONFIG+:} false; then :
11407 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11412 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11413 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11414 ac_save_CPPFLAGS=$CPPFLAGS
11415 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11416 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11417 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11419 $as_echo_n "checking for -ldbus-1... " >&6; }
11420 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11421 $as_echo_n "(cached) " >&6
11422 else
11423 ac_check_soname_save_LIBS=$LIBS
11424 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11431 #ifdef __cplusplus
11432 extern "C"
11433 #endif
11434 char dbus_connection_close ();
11436 main ()
11438 return dbus_connection_close ();
11440 return 0;
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"; then :
11444 case "$LIBEXT" in
11445 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11446 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'` ;;
11447 *) 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'`
11448 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11449 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11450 fi ;;
11451 esac
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_soname_save_LIBS
11457 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11459 $as_echo "not found" >&6; }
11460 DBUS_CFLAGS=""
11461 else
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11463 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11465 cat >>confdefs.h <<_ACEOF
11466 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11467 _ACEOF
11471 else
11472 DBUS_CFLAGS=""
11476 CPPFLAGS=$ac_save_CPPFLAGS
11477 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11478 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11481 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11482 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11483 case "x$with_dbus" in
11484 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11485 xno) ;;
11486 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11487 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11488 esac
11492 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11493 then
11494 if ${HAL_CFLAGS:+false} :; then :
11495 if ${PKG_CONFIG+:} false; then :
11496 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11500 if ${HAL_LIBS:+false} :; then :
11501 if ${PKG_CONFIG+:} false; then :
11502 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11506 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11507 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11508 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11509 ac_save_CPPFLAGS=$CPPFLAGS
11510 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11511 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11512 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11514 $as_echo_n "checking for -lhal... " >&6; }
11515 if ${ac_cv_lib_soname_hal+:} false; then :
11516 $as_echo_n "(cached) " >&6
11517 else
11518 ac_check_soname_save_LIBS=$LIBS
11519 LIBS="-lhal $HAL_LIBS $LIBS"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char libhal_ctx_new ();
11531 main ()
11533 return libhal_ctx_new ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 case "$LIBEXT" in
11540 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11541 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'` ;;
11542 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11543 if ${ac_cv_lib_soname_hal:+false} :; then :
11544 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11545 fi ;;
11546 esac
11548 rm -f core conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_soname_save_LIBS
11552 if ${ac_cv_lib_soname_hal:+false} :; then :
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11554 $as_echo "not found" >&6; }
11555 HAL_CFLAGS=""
11556 else
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11558 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11560 cat >>confdefs.h <<_ACEOF
11561 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11562 _ACEOF
11566 else
11567 HAL_CFLAGS=""
11571 CPPFLAGS=$ac_save_CPPFLAGS
11572 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11573 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11575 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11576 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11577 case "x$with_hal" in
11578 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11579 xno) ;;
11580 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11581 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11582 esac
11587 if test "x$with_gnutls" != "xno"
11588 then
11589 if ${GNUTLS_CFLAGS:+false} :; then :
11590 if ${PKG_CONFIG+:} false; then :
11591 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11595 if ${GNUTLS_LIBS:+false} :; then :
11596 if ${PKG_CONFIG+:} false; then :
11597 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11602 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11604 ac_save_CPPFLAGS=$CPPFLAGS
11605 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11606 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11607 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 #include <gnutls/gnutls.h>
11611 #include <gnutls/crypto.h>
11613 main ()
11615 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11617 return 0;
11619 _ACEOF
11620 if ac_fn_c_try_compile "$LINENO"; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11622 $as_echo_n "checking for -lgnutls... " >&6; }
11623 if ${ac_cv_lib_soname_gnutls+:} false; then :
11624 $as_echo_n "(cached) " >&6
11625 else
11626 ac_check_soname_save_LIBS=$LIBS
11627 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11631 /* Override any GCC internal prototype to avoid an error.
11632 Use char because int might match the return type of a GCC
11633 builtin and then its argument prototype would still apply. */
11634 #ifdef __cplusplus
11635 extern "C"
11636 #endif
11637 char gnutls_global_init ();
11639 main ()
11641 return gnutls_global_init ();
11643 return 0;
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"; then :
11647 case "$LIBEXT" in
11648 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11649 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'` ;;
11650 *) 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'`
11651 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11652 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'`
11653 fi ;;
11654 esac
11656 rm -f core conftest.err conftest.$ac_objext \
11657 conftest$ac_exeext conftest.$ac_ext
11658 LIBS=$ac_check_soname_save_LIBS
11660 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11662 $as_echo "not found" >&6; }
11663 GNUTLS_CFLAGS=""
11664 else
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11666 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11668 cat >>confdefs.h <<_ACEOF
11669 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11670 _ACEOF
11674 ac_wine_check_funcs_save_LIBS="$LIBS"
11675 LIBS="$LIBS $GNUTLS_LIBS"
11676 for ac_func in gnutls_hash
11677 do :
11678 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11679 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11680 cat >>confdefs.h <<_ACEOF
11681 #define HAVE_GNUTLS_HASH 1
11682 _ACEOF
11684 else
11685 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11687 done
11689 LIBS="$ac_wine_check_funcs_save_LIBS"
11691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11692 else
11693 GNUTLS_CFLAGS=""
11697 CPPFLAGS=$ac_save_CPPFLAGS
11698 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11699 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11702 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11703 case "x$with_gnutls" in
11704 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11705 xno) ;;
11706 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11707 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11708 esac
11712 CURSES_LIBS=""
11713 if test "$ac_cv_header_ncurses_h" = "yes"
11714 then
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11716 $as_echo_n "checking for -lncurses... " >&6; }
11717 if ${ac_cv_lib_soname_ncurses+:} false; then :
11718 $as_echo_n "(cached) " >&6
11719 else
11720 ac_check_soname_save_LIBS=$LIBS
11721 LIBS="-lncurses $LIBS"
11722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11723 /* end confdefs.h. */
11725 /* Override any GCC internal prototype to avoid an error.
11726 Use char because int might match the return type of a GCC
11727 builtin and then its argument prototype would still apply. */
11728 #ifdef __cplusplus
11729 extern "C"
11730 #endif
11731 char waddch ();
11733 main ()
11735 return waddch ();
11737 return 0;
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"; then :
11741 case "$LIBEXT" in
11742 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11743 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'` ;;
11744 *) 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'`
11745 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11746 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11747 fi ;;
11748 esac
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_soname_save_LIBS
11754 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11756 $as_echo "not found" >&6; }
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11760 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11762 cat >>confdefs.h <<_ACEOF
11763 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11764 _ACEOF
11766 CURSES_LIBS="-lncurses"
11768 elif test "$ac_cv_header_curses_h" = "yes"
11769 then
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11771 $as_echo_n "checking for -lcurses... " >&6; }
11772 if ${ac_cv_lib_soname_curses+:} false; then :
11773 $as_echo_n "(cached) " >&6
11774 else
11775 ac_check_soname_save_LIBS=$LIBS
11776 LIBS="-lcurses $LIBS"
11777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11783 #ifdef __cplusplus
11784 extern "C"
11785 #endif
11786 char waddch ();
11788 main ()
11790 return waddch ();
11792 return 0;
11794 _ACEOF
11795 if ac_fn_c_try_link "$LINENO"; then :
11796 case "$LIBEXT" in
11797 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11798 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'` ;;
11799 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11800 if ${ac_cv_lib_soname_curses:+false} :; then :
11801 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11802 fi ;;
11803 esac
11805 rm -f core conftest.err conftest.$ac_objext \
11806 conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_soname_save_LIBS
11809 if ${ac_cv_lib_soname_curses:+false} :; then :
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11811 $as_echo "not found" >&6; }
11813 else
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11815 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11817 cat >>confdefs.h <<_ACEOF
11818 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11819 _ACEOF
11821 CURSES_LIBS="-lcurses"
11824 ac_save_LIBS="$LIBS"
11825 LIBS="$LIBS $CURSES_LIBS"
11826 for ac_func in mousemask
11827 do :
11828 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11829 if test "x$ac_cv_func_mousemask" = xyes; then :
11830 cat >>confdefs.h <<_ACEOF
11831 #define HAVE_MOUSEMASK 1
11832 _ACEOF
11835 done
11837 LIBS="$ac_save_LIBS"
11838 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11839 case "x$with_curses" in
11840 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11841 xno) ;;
11842 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11843 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11844 esac
11848 if test "x$with_sane" != "xno"
11849 then
11850 if ${SANE_CFLAGS:+false} :; then :
11851 if ${PKG_CONFIG+:} false; then :
11852 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11855 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11856 if ${SANE_LIBS:+false} :; then :
11857 if ${PKG_CONFIG+:} false; then :
11858 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11861 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11863 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11864 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11865 ac_save_CPPFLAGS=$CPPFLAGS
11866 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11867 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11868 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11870 $as_echo_n "checking for -lsane... " >&6; }
11871 if ${ac_cv_lib_soname_sane+:} false; then :
11872 $as_echo_n "(cached) " >&6
11873 else
11874 ac_check_soname_save_LIBS=$LIBS
11875 LIBS="-lsane $SANE_LIBS $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11882 #ifdef __cplusplus
11883 extern "C"
11884 #endif
11885 char sane_init ();
11887 main ()
11889 return sane_init ();
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_link "$LINENO"; then :
11895 case "$LIBEXT" in
11896 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11897 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'` ;;
11898 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11899 if ${ac_cv_lib_soname_sane:+false} :; then :
11900 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11901 fi ;;
11902 esac
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11906 LIBS=$ac_check_soname_save_LIBS
11908 if ${ac_cv_lib_soname_sane:+false} :; then :
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11910 $as_echo "not found" >&6; }
11911 SANE_CFLAGS=""
11912 else
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11914 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11916 cat >>confdefs.h <<_ACEOF
11917 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11918 _ACEOF
11922 else
11923 SANE_CFLAGS=""
11927 CPPFLAGS=$ac_save_CPPFLAGS
11928 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11929 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11932 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11933 case "x$with_sane" in
11934 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11935 xno) ;;
11936 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11937 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11938 esac
11942 if test "x$with_v4l" != "xno"
11943 then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11945 $as_echo_n "checking for -lv4l1... " >&6; }
11946 if ${ac_cv_lib_soname_v4l1+:} false; then :
11947 $as_echo_n "(cached) " >&6
11948 else
11949 ac_check_soname_save_LIBS=$LIBS
11950 LIBS="-lv4l1 $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 #ifdef __cplusplus
11958 extern "C"
11959 #endif
11960 char v4l1_open ();
11962 main ()
11964 return v4l1_open ();
11966 return 0;
11968 _ACEOF
11969 if ac_fn_c_try_link "$LINENO"; then :
11970 case "$LIBEXT" in
11971 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11972 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'` ;;
11973 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11974 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11975 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11976 fi ;;
11977 esac
11979 rm -f core conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11981 LIBS=$ac_check_soname_save_LIBS
11983 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11985 $as_echo "not found" >&6; }
11987 else
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11989 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11991 cat >>confdefs.h <<_ACEOF
11992 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11993 _ACEOF
11998 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11999 case "x$with_v4l" in
12000 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12001 xno) ;;
12002 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12003 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12004 esac
12008 if test "x$with_gphoto" != "xno"
12009 then
12010 if ${GPHOTO2_CFLAGS:+false} :; then :
12011 if ${PKG_CONFIG+:} false; then :
12012 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12015 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12016 if ${GPHOTO2_LIBS:+false} :; then :
12017 if ${PKG_CONFIG+:} false; then :
12018 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12021 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12022 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12023 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12024 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12025 ac_save_CPPFLAGS=$CPPFLAGS
12026 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12027 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12028 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12030 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12031 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12032 $as_echo_n "(cached) " >&6
12033 else
12034 ac_check_lib_save_LIBS=$LIBS
12035 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12037 /* end confdefs.h. */
12039 /* Override any GCC internal prototype to avoid an error.
12040 Use char because int might match the return type of a GCC
12041 builtin and then its argument prototype would still apply. */
12042 #ifdef __cplusplus
12043 extern "C"
12044 #endif
12045 char gp_camera_new ();
12047 main ()
12049 return gp_camera_new ();
12051 return 0;
12053 _ACEOF
12054 if ac_fn_c_try_link "$LINENO"; then :
12055 ac_cv_lib_gphoto2_gp_camera_new=yes
12056 else
12057 ac_cv_lib_gphoto2_gp_camera_new=no
12059 rm -f core conftest.err conftest.$ac_objext \
12060 conftest$ac_exeext conftest.$ac_ext
12061 LIBS=$ac_check_lib_save_LIBS
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12064 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12065 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12067 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12069 else
12070 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12073 else
12074 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12078 CPPFLAGS=$ac_save_CPPFLAGS
12079 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12080 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12082 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12083 if ${PKG_CONFIG+:} false; then :
12084 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12087 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12088 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12089 if ${PKG_CONFIG+:} false; then :
12090 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12093 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12094 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12095 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12096 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12097 ac_save_CPPFLAGS=$CPPFLAGS
12098 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12099 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12100 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12102 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12103 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12114 #ifdef __cplusplus
12115 extern "C"
12116 #endif
12117 char gp_port_info_list_new ();
12119 main ()
12121 return gp_port_info_list_new ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"; then :
12127 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12128 else
12129 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12131 rm -f core conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_lib_save_LIBS
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12136 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12137 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12139 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12141 else
12142 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12145 else
12146 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12150 CPPFLAGS=$ac_save_CPPFLAGS
12151 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12152 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12155 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12156 case "x$with_gphoto" in
12157 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12158 xno) ;;
12159 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12160 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12161 esac
12164 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12165 case "x$with_gphoto" in
12166 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12167 xno) ;;
12168 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12169 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12170 esac
12175 if test "$ac_cv_header_resolv_h" = "yes"
12176 then
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12178 $as_echo_n "checking for resolver library... " >&6; }
12179 if ${ac_cv_have_resolv+:} false; then :
12180 $as_echo_n "(cached) " >&6
12181 else
12182 ac_save_LIBS="$LIBS"
12183 for lib in '' -lresolv
12185 LIBS="$lib $ac_save_LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12188 #ifdef HAVE_NETINET_IN_H
12189 #include <netinet/in.h>
12190 #endif
12191 #include <resolv.h>
12193 main ()
12195 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12197 return 0;
12199 _ACEOF
12200 if ac_fn_c_try_link "$LINENO"; then :
12201 ac_cv_have_resolv=${lib:-"none required"}
12202 else
12203 ac_cv_have_resolv="not found"
12205 rm -f core conftest.err conftest.$ac_objext \
12206 conftest$ac_exeext conftest.$ac_ext
12207 test "x$ac_cv_have_resolv" = "xnot found" || break
12208 done
12209 LIBS="$ac_save_LIBS"
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12212 $as_echo "$ac_cv_have_resolv" >&6; }
12214 case "$ac_cv_have_resolv" in
12215 "not found") ;;
12216 "none required")
12218 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12221 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12223 RESOLV_LIBS=$ac_cv_have_resolv
12225 esac
12228 if test "x$with_cms" != "xno"
12229 then
12230 if ${LCMS2_CFLAGS:+false} :; then :
12231 if ${PKG_CONFIG+:} false; then :
12232 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12236 if ${LCMS2_LIBS:+false} :; then :
12237 if ${PKG_CONFIG+:} false; then :
12238 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12242 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12243 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12244 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12245 ac_save_CPPFLAGS=$CPPFLAGS
12246 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12247 for ac_header in lcms2.h
12248 do :
12249 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12250 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12251 cat >>confdefs.h <<_ACEOF
12252 #define HAVE_LCMS2_H 1
12253 _ACEOF
12257 done
12259 if test "$ac_cv_header_lcms2_h" = "yes"
12260 then
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12262 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12263 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12264 $as_echo_n "(cached) " >&6
12265 else
12266 ac_check_lib_save_LIBS=$LIBS
12267 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12271 /* Override any GCC internal prototype to avoid an error.
12272 Use char because int might match the return type of a GCC
12273 builtin and then its argument prototype would still apply. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 #endif
12277 char cmsOpenProfileFromFile ();
12279 main ()
12281 return cmsOpenProfileFromFile ();
12283 return 0;
12285 _ACEOF
12286 if ac_fn_c_try_link "$LINENO"; then :
12287 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12288 else
12289 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12291 rm -f core conftest.err conftest.$ac_objext \
12292 conftest$ac_exeext conftest.$ac_ext
12293 LIBS=$ac_check_lib_save_LIBS
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12296 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12297 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12299 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12301 else
12302 LCMS2_LIBS=""
12305 else
12306 LCMS2_CFLAGS=""
12307 LCMS2_LIBS=""
12309 CPPFLAGS=$ac_save_CPPFLAGS
12310 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12311 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12314 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12315 case "x$with_cms" in
12316 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12317 xno) ;;
12318 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12319 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12320 esac
12324 if test "x$with_freetype" != "xno"
12325 then
12326 if ${FREETYPE_CFLAGS:+false} :; then :
12327 if ${PKG_CONFIG+:} false; then :
12328 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12331 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12332 if ${FREETYPE_LIBS:+false} :; then :
12333 if ${PKG_CONFIG+:} false; then :
12334 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12337 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12338 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12339 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12340 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12341 ac_save_CPPFLAGS=$CPPFLAGS
12342 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12343 for ac_header in ft2build.h
12344 do :
12345 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12346 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12347 cat >>confdefs.h <<_ACEOF
12348 #define HAVE_FT2BUILD_H 1
12349 _ACEOF
12353 done
12355 if test "$ac_cv_header_ft2build_h" = "yes"
12356 then
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12358 $as_echo_n "checking for -lfreetype... " >&6; }
12359 if ${ac_cv_lib_soname_freetype+:} false; then :
12360 $as_echo_n "(cached) " >&6
12361 else
12362 ac_check_soname_save_LIBS=$LIBS
12363 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12367 /* Override any GCC internal prototype to avoid an error.
12368 Use char because int might match the return type of a GCC
12369 builtin and then its argument prototype would still apply. */
12370 #ifdef __cplusplus
12371 extern "C"
12372 #endif
12373 char FT_Init_FreeType ();
12375 main ()
12377 return FT_Init_FreeType ();
12379 return 0;
12381 _ACEOF
12382 if ac_fn_c_try_link "$LINENO"; then :
12383 case "$LIBEXT" in
12384 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12385 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'` ;;
12386 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12387 if ${ac_cv_lib_soname_freetype:+false} :; then :
12388 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12389 fi ;;
12390 esac
12392 rm -f core conftest.err conftest.$ac_objext \
12393 conftest$ac_exeext conftest.$ac_ext
12394 LIBS=$ac_check_soname_save_LIBS
12396 if ${ac_cv_lib_soname_freetype:+false} :; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12398 $as_echo "not found" >&6; }
12399 FREETYPE_LIBS=""
12400 else
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12402 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12404 cat >>confdefs.h <<_ACEOF
12405 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12406 _ACEOF
12409 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12411 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12412 #include FT_MODULE_H
12414 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12416 cat >>confdefs.h <<_ACEOF
12417 #define HAVE_FT_TRUETYPEENGINETYPE 1
12418 _ACEOF
12424 else
12425 FREETYPE_CFLAGS=""
12426 FREETYPE_LIBS=""
12428 CPPFLAGS=$ac_save_CPPFLAGS
12429 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12430 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12433 if test "x$ac_cv_lib_soname_freetype" = x; then :
12434 case "x$with_freetype" in
12435 xno) ;;
12436 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12437 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12438 esac
12439 enable_fonts=${enable_fonts:-no}
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12443 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12444 if ${ac_cv_c_ppdev+:} false; then :
12445 $as_echo_n "(cached) " >&6
12446 else
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12449 #ifdef HAVE_SYS_IOCTL_H
12450 # include <sys/ioctl.h>
12451 #endif
12452 #include <linux/ppdev.h>
12454 main ()
12456 ioctl (1,PPCLAIM,0)
12458 return 0;
12460 _ACEOF
12461 if ac_fn_c_try_compile "$LINENO"; then :
12462 ac_cv_c_ppdev="yes"
12463 else
12464 ac_cv_c_ppdev="no"
12466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12469 $as_echo "$ac_cv_c_ppdev" >&6; }
12470 if test "$ac_cv_c_ppdev" = "yes"
12471 then
12473 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12477 ac_wine_check_funcs_save_LIBS="$LIBS"
12478 LIBS="$LIBS $PTHREAD_LIBS"
12479 for ac_func in \
12480 pthread_attr_get_np \
12481 pthread_getattr_np \
12482 pthread_getthreadid_np \
12483 pthread_get_stackaddr_np \
12484 pthread_get_stacksize_np
12485 do :
12486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12489 cat >>confdefs.h <<_ACEOF
12490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12491 _ACEOF
12494 done
12496 LIBS="$ac_wine_check_funcs_save_LIBS"
12498 if test "$ac_cv_header_zlib_h" = "yes"
12499 then
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12501 $as_echo_n "checking for inflate in -lz... " >&6; }
12502 if ${ac_cv_lib_z_inflate+:} false; then :
12503 $as_echo_n "(cached) " >&6
12504 else
12505 ac_check_lib_save_LIBS=$LIBS
12506 LIBS="-lz $LIBS"
12507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12508 /* end confdefs.h. */
12510 /* Override any GCC internal prototype to avoid an error.
12511 Use char because int might match the return type of a GCC
12512 builtin and then its argument prototype would still apply. */
12513 #ifdef __cplusplus
12514 extern "C"
12515 #endif
12516 char inflate ();
12518 main ()
12520 return inflate ();
12522 return 0;
12524 _ACEOF
12525 if ac_fn_c_try_link "$LINENO"; then :
12526 ac_cv_lib_z_inflate=yes
12527 else
12528 ac_cv_lib_z_inflate=no
12530 rm -f core conftest.err conftest.$ac_objext \
12531 conftest$ac_exeext conftest.$ac_ext
12532 LIBS=$ac_check_lib_save_LIBS
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12535 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12536 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12538 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12540 Z_LIBS="-lz"
12545 if test "x$Z_LIBS" = "x"; then :
12546 case "x$with_zlib" in
12547 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12548 xno) ;;
12549 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12550 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12551 esac
12555 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12556 then
12557 if test "$ac_cv_header_gettext_po_h" = "yes"
12558 then
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12560 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12561 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_check_lib_save_LIBS=$LIBS
12565 LIBS="-lgettextpo $LIBS"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12572 #ifdef __cplusplus
12573 extern "C"
12574 #endif
12575 char po_message_msgctxt ();
12577 main ()
12579 return po_message_msgctxt ();
12581 return 0;
12583 _ACEOF
12584 if ac_fn_c_try_link "$LINENO"; then :
12585 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12586 else
12587 ac_cv_lib_gettextpo_po_message_msgctxt=no
12589 rm -f core conftest.err conftest.$ac_objext \
12590 conftest$ac_exeext conftest.$ac_ext
12591 LIBS=$ac_check_lib_save_LIBS
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12594 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12595 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12597 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12599 GETTEXTPO_LIBS="-lgettextpo"
12604 if test "x$GETTEXTPO_LIBS" = "x"; then :
12605 case "x$with_gettextpo" in
12606 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12607 xno) ;;
12608 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12609 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12610 esac
12613 if test "$srcdir" != .; then :
12614 case "x$with_gettextpo" in
12615 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12616 xno) ;;
12617 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12618 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12619 esac
12624 if test "x$with_pulse" != "xno";
12625 then
12626 if ${PULSE_CFLAGS:+false} :; then :
12627 if ${PKG_CONFIG+:} false; then :
12628 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12632 if ${PULSE_LIBS:+false} :; then :
12633 if ${PKG_CONFIG+:} false; then :
12634 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12639 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12640 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12641 ac_save_CPPFLAGS=$CPPFLAGS
12642 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12643 for ac_header in pulse/pulseaudio.h
12644 do :
12645 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12646 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12647 cat >>confdefs.h <<_ACEOF
12648 #define HAVE_PULSE_PULSEAUDIO_H 1
12649 _ACEOF
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12651 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12652 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12653 $as_echo_n "(cached) " >&6
12654 else
12655 ac_check_lib_save_LIBS=$LIBS
12656 LIBS="-lpulse $PULSE_LIBS $LIBS"
12657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12660 /* Override any GCC internal prototype to avoid an error.
12661 Use char because int might match the return type of a GCC
12662 builtin and then its argument prototype would still apply. */
12663 #ifdef __cplusplus
12664 extern "C"
12665 #endif
12666 char pa_stream_is_corked ();
12668 main ()
12670 return pa_stream_is_corked ();
12672 return 0;
12674 _ACEOF
12675 if ac_fn_c_try_link "$LINENO"; then :
12676 ac_cv_lib_pulse_pa_stream_is_corked=yes
12677 else
12678 ac_cv_lib_pulse_pa_stream_is_corked=no
12680 rm -f core conftest.err conftest.$ac_objext \
12681 conftest$ac_exeext conftest.$ac_ext
12682 LIBS=$ac_check_lib_save_LIBS
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12685 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12686 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12688 else
12689 PULSE_LIBS=""
12692 else
12693 PULSE_LIBS=""
12696 done
12698 CPPFLAGS=$ac_save_CPPFLAGS
12699 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12700 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12703 if test -z "$PULSE_LIBS"; then :
12704 case "x$with_pulse" in
12705 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12706 xno) ;;
12707 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12708 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12709 esac
12710 enable_winepulse_drv=${enable_winepulse_drv:-no}
12713 if test "x$with_gstreamer" != "xno"
12714 then
12715 if ${GSTREAMER_CFLAGS:+false} :; then :
12716 if ${PKG_CONFIG+:} false; then :
12717 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12721 if ${GSTREAMER_LIBS:+false} :; then :
12722 if ${PKG_CONFIG+:} false; then :
12723 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12728 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12729 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12730 ac_save_CPPFLAGS=$CPPFLAGS
12731 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12732 ac_gst_incl=""
12733 for i in $GSTREAMER_CFLAGS
12735 case "$i" in
12736 -I*) ac_gst_incl="$ac_gst_incl $i";;
12737 esac
12738 done
12739 GSTREAMER_CFLAGS=$ac_gst_incl
12740 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12741 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12742 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12744 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746 /* end confdefs.h. */
12747 #include <gst/gst.h>
12749 main ()
12751 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_compile "$LINENO"; then :
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12758 $as_echo "yes" >&6; }
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12760 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12761 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 ac_check_lib_save_LIBS=$LIBS
12765 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char gst_pad_new ();
12777 main ()
12779 return gst_pad_new ();
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"; then :
12785 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12786 else
12787 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12789 rm -f core conftest.err conftest.$ac_objext \
12790 conftest$ac_exeext conftest.$ac_ext
12791 LIBS=$ac_check_lib_save_LIBS
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12794 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12795 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12799 else
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12802 ac_glib2_broken=yes
12803 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12809 CPPFLAGS=$ac_save_CPPFLAGS
12810 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12811 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12814 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 :
12815 case "x$with_gstreamer" in
12816 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12817 xno) ;;
12818 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12819 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12820 esac
12823 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12825 ALSA_LIBS=""
12827 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12828 then
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12830 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12831 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12832 $as_echo_n "(cached) " >&6
12833 else
12834 ac_check_lib_save_LIBS=$LIBS
12835 LIBS="-lasound $LIBS"
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12839 /* Override any GCC internal prototype to avoid an error.
12840 Use char because int might match the return type of a GCC
12841 builtin and then its argument prototype would still apply. */
12842 #ifdef __cplusplus
12843 extern "C"
12844 #endif
12845 char snd_pcm_hw_params_get_access_mask ();
12847 main ()
12849 return snd_pcm_hw_params_get_access_mask ();
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_link "$LINENO"; then :
12855 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12856 else
12857 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12859 rm -f core conftest.err conftest.$ac_objext \
12860 conftest$ac_exeext conftest.$ac_ext
12861 LIBS=$ac_check_lib_save_LIBS
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12864 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12865 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12868 #ifdef HAVE_ALSA_ASOUNDLIB_H
12869 #include <alsa/asoundlib.h>
12870 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12871 #include <sys/asoundlib.h>
12872 #endif
12874 main ()
12876 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_compile "$LINENO"; then :
12882 ALSA_LIBS="-lasound"
12884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12890 if test "x$with_oss" != xno
12891 then
12892 ac_save_CPPFLAGS="$CPPFLAGS"
12893 if test -f /etc/oss.conf
12894 then
12895 . /etc/oss.conf
12897 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12898 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12899 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12900 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12901 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12903 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12905 cat >>confdefs.h <<_ACEOF
12906 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12907 _ACEOF
12909 OSS4_CFLAGS="$ac_oss_incl"
12916 CPPFLAGS="$ac_save_CPPFLAGS"
12918 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12919 case "x$with_oss" in
12920 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12921 xno) ;;
12922 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12923 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12924 esac
12925 enable_wineoss_drv=${enable_wineoss_drv:-no}
12928 if test "x$with_udev" != "xno"
12929 then
12930 if ${UDEV_CFLAGS:+false} :; then :
12931 if ${PKG_CONFIG+:} false; then :
12932 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12936 if ${UDEV_LIBS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12945 ac_save_CPPFLAGS=$CPPFLAGS
12946 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12947 for ac_header in libudev.h
12948 do :
12949 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_libudev_h" = xyes; then :
12951 cat >>confdefs.h <<_ACEOF
12952 #define HAVE_LIBUDEV_H 1
12953 _ACEOF
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12955 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12956 if ${ac_cv_lib_udev_udev_new+:} false; then :
12957 $as_echo_n "(cached) " >&6
12958 else
12959 ac_check_lib_save_LIBS=$LIBS
12960 LIBS="-ludev $UDEV_LIBS $LIBS"
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 char udev_new ();
12972 main ()
12974 return udev_new ();
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_link "$LINENO"; then :
12980 ac_cv_lib_udev_udev_new=yes
12981 else
12982 ac_cv_lib_udev_udev_new=no
12984 rm -f core conftest.err conftest.$ac_objext \
12985 conftest$ac_exeext conftest.$ac_ext
12986 LIBS=$ac_check_lib_save_LIBS
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12989 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12990 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
12992 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
12994 else
12995 UDEV_LIBS=""
12998 else
12999 UDEV_LIBS=""
13002 done
13004 CPPFLAGS=$ac_save_CPPFLAGS
13005 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13006 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13009 if test "x$UDEV_LIBS" = "x"; then :
13010 case "x$with_udev" in
13011 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13012 xno) ;;
13013 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13014 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13015 esac
13019 if test "x$with_capi" != "xno"
13020 then
13021 if ${CAPI20_CFLAGS:+false} :; then :
13022 if ${PKG_CONFIG+:} false; then :
13023 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13027 if ${CAPI20_LIBS:+false} :; then :
13028 if ${PKG_CONFIG+:} false; then :
13029 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13034 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13035 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13036 ac_save_CPPFLAGS=$CPPFLAGS
13037 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13038 for ac_header in capi20.h linux/capi.h
13039 do :
13040 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13041 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13043 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13044 cat >>confdefs.h <<_ACEOF
13045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13046 _ACEOF
13050 done
13052 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13053 then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13055 $as_echo_n "checking for -lcapi20... " >&6; }
13056 if ${ac_cv_lib_soname_capi20+:} false; then :
13057 $as_echo_n "(cached) " >&6
13058 else
13059 ac_check_soname_save_LIBS=$LIBS
13060 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13067 #ifdef __cplusplus
13068 extern "C"
13069 #endif
13070 char capi20_register ();
13072 main ()
13074 return capi20_register ();
13076 return 0;
13078 _ACEOF
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 case "$LIBEXT" in
13081 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13082 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'` ;;
13083 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13084 if ${ac_cv_lib_soname_capi20:+false} :; then :
13085 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13086 fi ;;
13087 esac
13089 rm -f core conftest.err conftest.$ac_objext \
13090 conftest$ac_exeext conftest.$ac_ext
13091 LIBS=$ac_check_soname_save_LIBS
13093 if ${ac_cv_lib_soname_capi20:+false} :; then :
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13095 $as_echo "not found" >&6; }
13097 else
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13099 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13101 cat >>confdefs.h <<_ACEOF
13102 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13103 _ACEOF
13108 CPPFLAGS=$ac_save_CPPFLAGS
13109 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13110 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13113 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13114 case "x$with_capi" in
13115 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13116 xno) ;;
13117 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13118 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13119 esac
13123 CUPS_CFLAGS=""
13125 if test "x$with_cups" != "xno"
13126 then
13127 ac_save_CPPFLAGS="$CPPFLAGS"
13128 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13129 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13130 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13131 for ac_header in cups/cups.h
13132 do :
13133 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13134 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13135 cat >>confdefs.h <<_ACEOF
13136 #define HAVE_CUPS_CUPS_H 1
13137 _ACEOF
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13139 $as_echo_n "checking for -lcups... " >&6; }
13140 if ${ac_cv_lib_soname_cups+:} false; then :
13141 $as_echo_n "(cached) " >&6
13142 else
13143 ac_check_soname_save_LIBS=$LIBS
13144 LIBS="-lcups $ac_cups_libs $LIBS"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13151 #ifdef __cplusplus
13152 extern "C"
13153 #endif
13154 char cupsGetDefault ();
13156 main ()
13158 return cupsGetDefault ();
13160 return 0;
13162 _ACEOF
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 case "$LIBEXT" in
13165 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13166 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'` ;;
13167 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13168 if ${ac_cv_lib_soname_cups:+false} :; then :
13169 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13170 fi ;;
13171 esac
13173 rm -f core conftest.err conftest.$ac_objext \
13174 conftest$ac_exeext conftest.$ac_ext
13175 LIBS=$ac_check_soname_save_LIBS
13177 if ${ac_cv_lib_soname_cups:+false} :; then :
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13179 $as_echo "not found" >&6; }
13181 else
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13183 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13185 cat >>confdefs.h <<_ACEOF
13186 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13187 _ACEOF
13189 CUPS_CFLAGS="$ac_cups_cflags"
13191 for ac_header in cups/ppd.h
13192 do :
13193 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13194 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13195 cat >>confdefs.h <<_ACEOF
13196 #define HAVE_CUPS_PPD_H 1
13197 _ACEOF
13201 done
13205 done
13207 CPPFLAGS="$ac_save_CPPFLAGS"
13209 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13210 case "x$with_cups" in
13211 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13212 xno) ;;
13213 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13214 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13215 esac
13219 if test "x$with_fontconfig" != "xno"
13220 then
13221 if ${FONTCONFIG_CFLAGS:+false} :; then :
13222 if ${PKG_CONFIG+:} false; then :
13223 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13226 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13227 if ${FONTCONFIG_LIBS:+false} :; then :
13228 if ${PKG_CONFIG+:} false; then :
13229 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13232 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13234 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13235 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13236 ac_save_CPPFLAGS=$CPPFLAGS
13237 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13238 for ac_header in fontconfig/fontconfig.h
13239 do :
13240 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13242 cat >>confdefs.h <<_ACEOF
13243 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13244 _ACEOF
13248 done
13250 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13251 then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13253 $as_echo_n "checking for -lfontconfig... " >&6; }
13254 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_check_soname_save_LIBS=$LIBS
13258 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char FcInit ();
13270 main ()
13272 return FcInit ();
13274 return 0;
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 case "$LIBEXT" in
13279 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13280 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'` ;;
13281 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13282 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13283 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13284 fi ;;
13285 esac
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13294 FONTCONFIG_CFLAGS=""
13295 else
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13297 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13299 cat >>confdefs.h <<_ACEOF
13300 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13301 _ACEOF
13305 else
13306 FONTCONFIG_CFLAGS=""
13308 CPPFLAGS=$ac_save_CPPFLAGS
13309 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13310 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13313 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13314 case "x$with_fontconfig" in
13315 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13316 xno) ;;
13317 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13318 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13319 esac
13323 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13324 then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13326 $as_echo_n "checking for -lgsm... " >&6; }
13327 if ${ac_cv_lib_soname_gsm+:} false; then :
13328 $as_echo_n "(cached) " >&6
13329 else
13330 ac_check_soname_save_LIBS=$LIBS
13331 LIBS="-lgsm $LIBS"
13332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13335 /* Override any GCC internal prototype to avoid an error.
13336 Use char because int might match the return type of a GCC
13337 builtin and then its argument prototype would still apply. */
13338 #ifdef __cplusplus
13339 extern "C"
13340 #endif
13341 char gsm_create ();
13343 main ()
13345 return gsm_create ();
13347 return 0;
13349 _ACEOF
13350 if ac_fn_c_try_link "$LINENO"; then :
13351 case "$LIBEXT" in
13352 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13353 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'` ;;
13354 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13355 if ${ac_cv_lib_soname_gsm:+false} :; then :
13356 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13357 fi ;;
13358 esac
13360 rm -f core conftest.err conftest.$ac_objext \
13361 conftest$ac_exeext conftest.$ac_ext
13362 LIBS=$ac_check_soname_save_LIBS
13364 if ${ac_cv_lib_soname_gsm:+false} :; then :
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13366 $as_echo "not found" >&6; }
13368 else
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13370 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13372 cat >>confdefs.h <<_ACEOF
13373 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13374 _ACEOF
13379 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13380 case "x$with_gsm" in
13381 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13382 xno) ;;
13383 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13384 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13385 esac
13389 if test "x$with_jpeg" != "xno"
13390 then
13391 if ${JPEG_CFLAGS:+false} :; then :
13392 if ${PKG_CONFIG+:} false; then :
13393 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13397 if ${JPEG_LIBS:+false} :; then :
13398 if ${PKG_CONFIG+:} false; then :
13399 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13404 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13405 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13406 ac_save_CPPFLAGS=$CPPFLAGS
13407 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13408 for ac_header in jpeglib.h
13409 do :
13410 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13411 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13412 cat >>confdefs.h <<_ACEOF
13413 #define HAVE_JPEGLIB_H 1
13414 _ACEOF
13418 done
13420 if test "$ac_cv_header_jpeglib_h" = "yes"
13421 then
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13423 $as_echo_n "checking for -ljpeg... " >&6; }
13424 if ${ac_cv_lib_soname_jpeg+:} false; then :
13425 $as_echo_n "(cached) " >&6
13426 else
13427 ac_check_soname_save_LIBS=$LIBS
13428 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13432 /* Override any GCC internal prototype to avoid an error.
13433 Use char because int might match the return type of a GCC
13434 builtin and then its argument prototype would still apply. */
13435 #ifdef __cplusplus
13436 extern "C"
13437 #endif
13438 char jpeg_start_decompress ();
13440 main ()
13442 return jpeg_start_decompress ();
13444 return 0;
13446 _ACEOF
13447 if ac_fn_c_try_link "$LINENO"; then :
13448 case "$LIBEXT" in
13449 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13450 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'` ;;
13451 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13452 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13453 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13454 fi ;;
13455 esac
13457 rm -f core conftest.err conftest.$ac_objext \
13458 conftest$ac_exeext conftest.$ac_ext
13459 LIBS=$ac_check_soname_save_LIBS
13461 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13463 $as_echo "not found" >&6; }
13464 JPEG_CFLAGS=""
13465 else
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13467 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13469 cat >>confdefs.h <<_ACEOF
13470 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13471 _ACEOF
13475 else
13476 JPEG_CFLAGS=""
13478 CPPFLAGS=$ac_save_CPPFLAGS
13479 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13480 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13483 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13484 case "x$with_jpeg" in
13485 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13486 xno) ;;
13487 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13488 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13489 esac
13493 if test "x$with_png" != "xno"
13494 then
13495 if ${PNG_CFLAGS:+false} :; then :
13496 if ${PKG_CONFIG+:} false; then :
13497 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13500 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13501 if ${PNG_LIBS:+false} :; then :
13502 if ${PKG_CONFIG+:} false; then :
13503 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13506 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13508 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13509 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13510 ac_save_CPPFLAGS=$CPPFLAGS
13511 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13512 for ac_header in png.h
13513 do :
13514 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13515 if test "x$ac_cv_header_png_h" = xyes; then :
13516 cat >>confdefs.h <<_ACEOF
13517 #define HAVE_PNG_H 1
13518 _ACEOF
13522 done
13524 if test "$ac_cv_header_png_h" = "yes"
13525 then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13527 $as_echo_n "checking for -lpng... " >&6; }
13528 if ${ac_cv_lib_soname_png+:} false; then :
13529 $as_echo_n "(cached) " >&6
13530 else
13531 ac_check_soname_save_LIBS=$LIBS
13532 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13536 /* Override any GCC internal prototype to avoid an error.
13537 Use char because int might match the return type of a GCC
13538 builtin and then its argument prototype would still apply. */
13539 #ifdef __cplusplus
13540 extern "C"
13541 #endif
13542 char png_create_read_struct ();
13544 main ()
13546 return png_create_read_struct ();
13548 return 0;
13550 _ACEOF
13551 if ac_fn_c_try_link "$LINENO"; then :
13552 case "$LIBEXT" in
13553 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13554 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'` ;;
13555 *) 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'`
13556 if ${ac_cv_lib_soname_png:+false} :; then :
13557 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13558 fi ;;
13559 esac
13561 rm -f core conftest.err conftest.$ac_objext \
13562 conftest$ac_exeext conftest.$ac_ext
13563 LIBS=$ac_check_soname_save_LIBS
13565 if ${ac_cv_lib_soname_png:+false} :; then :
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13567 $as_echo "not found" >&6; }
13568 PNG_CFLAGS=""
13569 else
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13571 $as_echo "$ac_cv_lib_soname_png" >&6; }
13573 cat >>confdefs.h <<_ACEOF
13574 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13575 _ACEOF
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13579 #include <png.h>
13581 main ()
13583 typeof(png_set_expand_gray_1_2_4_to_8) *p
13585 return 0;
13587 _ACEOF
13588 if ac_fn_c_try_compile "$LINENO"; then :
13590 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13595 else
13596 PNG_CFLAGS=""
13598 CPPFLAGS=$ac_save_CPPFLAGS
13599 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13600 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13603 if test "x$ac_cv_lib_soname_png" = "x"; then :
13604 case "x$with_png" in
13605 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13606 xno) ;;
13607 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13608 This is an error since --with-png was requested." "$LINENO" 5 ;;
13609 esac
13613 if test "x$with_tiff" != "xno"
13614 then
13615 if ${TIFF_CFLAGS:+false} :; then :
13616 if ${PKG_CONFIG+:} false; then :
13617 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13621 if ${TIFF_LIBS:+false} :; then :
13622 if ${PKG_CONFIG+:} false; then :
13623 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13628 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13629 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13630 ac_save_CPPFLAGS=$CPPFLAGS
13631 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13632 for ac_header in tiffio.h
13633 do :
13634 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13635 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13636 cat >>confdefs.h <<_ACEOF
13637 #define HAVE_TIFFIO_H 1
13638 _ACEOF
13642 done
13644 if test "$ac_cv_header_tiffio_h" = "yes"
13645 then
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13647 $as_echo_n "checking for -ltiff... " >&6; }
13648 if ${ac_cv_lib_soname_tiff+:} false; then :
13649 $as_echo_n "(cached) " >&6
13650 else
13651 ac_check_soname_save_LIBS=$LIBS
13652 LIBS="-ltiff $TIFF_LIBS $LIBS"
13653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13656 /* Override any GCC internal prototype to avoid an error.
13657 Use char because int might match the return type of a GCC
13658 builtin and then its argument prototype would still apply. */
13659 #ifdef __cplusplus
13660 extern "C"
13661 #endif
13662 char TIFFClientOpen ();
13664 main ()
13666 return TIFFClientOpen ();
13668 return 0;
13670 _ACEOF
13671 if ac_fn_c_try_link "$LINENO"; then :
13672 case "$LIBEXT" in
13673 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13674 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'` ;;
13675 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13676 if ${ac_cv_lib_soname_tiff:+false} :; then :
13677 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13678 fi ;;
13679 esac
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 LIBS=$ac_check_soname_save_LIBS
13685 if ${ac_cv_lib_soname_tiff:+false} :; then :
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13687 $as_echo "not found" >&6; }
13689 else
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13691 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13693 cat >>confdefs.h <<_ACEOF
13694 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13695 _ACEOF
13700 CPPFLAGS=$ac_save_CPPFLAGS
13701 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13702 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13705 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13706 case "x$with_tiff" in
13707 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13708 xno) ;;
13709 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13710 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13711 esac
13715 if test "x$with_mpg123" != "xno"
13716 then
13717 if ${MPG123_CFLAGS:+false} :; then :
13718 if ${PKG_CONFIG+:} false; then :
13719 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13723 if ${MPG123_LIBS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13729 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13730 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13731 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13732 ac_save_CPPFLAGS=$CPPFLAGS
13733 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13734 for ac_header in mpg123.h
13735 do :
13736 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13737 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13738 cat >>confdefs.h <<_ACEOF
13739 #define HAVE_MPG123_H 1
13740 _ACEOF
13744 done
13746 if test "$ac_cv_header_mpg123_h" = "yes"
13747 then
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13749 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13750 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13751 $as_echo_n "(cached) " >&6
13752 else
13753 ac_check_lib_save_LIBS=$LIBS
13754 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13758 /* Override any GCC internal prototype to avoid an error.
13759 Use char because int might match the return type of a GCC
13760 builtin and then its argument prototype would still apply. */
13761 #ifdef __cplusplus
13762 extern "C"
13763 #endif
13764 char mpg123_feed ();
13766 main ()
13768 return mpg123_feed ();
13770 return 0;
13772 _ACEOF
13773 if ac_fn_c_try_link "$LINENO"; then :
13774 ac_cv_lib_mpg123_mpg123_feed=yes
13775 else
13776 ac_cv_lib_mpg123_mpg123_feed=no
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 LIBS=$ac_check_lib_save_LIBS
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13783 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13784 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13786 else
13787 MPG123_LIBS=""
13790 else
13791 MPG123_CFLAGS=""
13792 MPG123_LIBS=""
13794 CPPFLAGS=$ac_save_CPPFLAGS
13795 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13796 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13799 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13800 case "x$with_mpg123" in
13801 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13802 xno) ;;
13803 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13804 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13805 esac
13806 enable_winemp3_acm=${enable_winemp3_acm:-no}
13809 if test "$ac_cv_header_AL_al_h" = "yes"
13810 then
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13812 $as_echo_n "checking for -lopenal... " >&6; }
13813 if ${ac_cv_lib_soname_openal+:} false; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 ac_check_soname_save_LIBS=$LIBS
13817 LIBS="-lopenal $LIBS"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13821 /* Override any GCC internal prototype to avoid an error.
13822 Use char because int might match the return type of a GCC
13823 builtin and then its argument prototype would still apply. */
13824 #ifdef __cplusplus
13825 extern "C"
13826 #endif
13827 char alGetSource3i ();
13829 main ()
13831 return alGetSource3i ();
13833 return 0;
13835 _ACEOF
13836 if ac_fn_c_try_link "$LINENO"; then :
13837 case "$LIBEXT" in
13838 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13839 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'` ;;
13840 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13841 if ${ac_cv_lib_soname_openal:+false} :; then :
13842 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13843 fi ;;
13844 esac
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_soname_save_LIBS
13850 if ${ac_cv_lib_soname_openal:+false} :; then :
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13852 $as_echo "not found" >&6; }
13854 else
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13856 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13858 cat >>confdefs.h <<_ACEOF
13859 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13860 _ACEOF
13862 OPENAL_LIBS="-lopenal"
13864 ac_cv_lib_openal=yes
13866 cat >>confdefs.h <<_ACEOF
13867 #define HAVE_OPENAL 1
13868 _ACEOF
13872 if test "x$ac_cv_lib_openal" != xyes; then :
13873 case "x$with_openal" in
13874 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13875 xno) ;;
13876 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13877 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13878 esac
13879 enable_openal32=${enable_openal32:-no}
13882 if test "x$ac_cv_lib_openal" = xyes
13883 then
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13885 $as_echo_n "checking for openal-soft... " >&6; }
13886 if ${ac_cv_have_openalsoft+:} false; then :
13887 $as_echo_n "(cached) " >&6
13888 else
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13891 #include <AL/al.h>
13892 #include <AL/alc.h>
13893 #include <AL/alext.h>
13894 LPALCRENDERSAMPLESSOFT x;
13896 main ()
13900 return 0;
13902 _ACEOF
13903 if ac_fn_c_try_compile "$LINENO"; then :
13904 ac_cv_have_openalsoft=yes
13905 else
13906 ac_cv_have_openalsoft=no
13908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13911 $as_echo "$ac_cv_have_openalsoft" >&6; }
13913 if test "x$ac_cv_have_openalsoft" != xyes
13914 then
13915 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13916 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13917 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13918 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13919 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13920 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13921 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13922 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13923 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13924 enable_xapofx1_1=${enable_xapofx1_1:-no}
13925 enable_xapofx1_2=${enable_xapofx1_2:-no}
13926 enable_xapofx1_3=${enable_xapofx1_3:-no}
13927 enable_xapofx1_4=${enable_xapofx1_4:-no}
13928 enable_xapofx1_5=${enable_xapofx1_5:-no}
13929 enable_xaudio2_0=${enable_xaudio2_0:-no}
13930 enable_xaudio2_1=${enable_xaudio2_1:-no}
13931 enable_xaudio2_2=${enable_xaudio2_2:-no}
13932 enable_xaudio2_3=${enable_xaudio2_3:-no}
13933 enable_xaudio2_4=${enable_xaudio2_4:-no}
13934 enable_xaudio2_5=${enable_xaudio2_5:-no}
13935 enable_xaudio2_6=${enable_xaudio2_6:-no}
13936 enable_xaudio2_7=${enable_xaudio2_7:-no}
13937 enable_xaudio2_8=${enable_xaudio2_8:-no}
13938 enable_xaudio2_9=${enable_xaudio2_9:-no}
13941 if test "$ac_cv_header_kstat_h" = "yes"
13942 then
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13944 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13945 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13946 $as_echo_n "(cached) " >&6
13947 else
13948 ac_check_lib_save_LIBS=$LIBS
13949 LIBS="-lkstat $LIBS"
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13953 /* Override any GCC internal prototype to avoid an error.
13954 Use char because int might match the return type of a GCC
13955 builtin and then its argument prototype would still apply. */
13956 #ifdef __cplusplus
13957 extern "C"
13958 #endif
13959 char kstat_open ();
13961 main ()
13963 return kstat_open ();
13965 return 0;
13967 _ACEOF
13968 if ac_fn_c_try_link "$LINENO"; then :
13969 ac_cv_lib_kstat_kstat_open=yes
13970 else
13971 ac_cv_lib_kstat_kstat_open=no
13973 rm -f core conftest.err conftest.$ac_objext \
13974 conftest$ac_exeext conftest.$ac_ext
13975 LIBS=$ac_check_lib_save_LIBS
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13978 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13979 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13981 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13983 KSTAT_LIBS="-lkstat"
13989 if test "$ac_cv_header_libprocstat_h" = "yes"
13990 then
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13992 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13993 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13994 $as_echo_n "(cached) " >&6
13995 else
13996 ac_check_lib_save_LIBS=$LIBS
13997 LIBS="-lprocstat $LIBS"
13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14001 /* Override any GCC internal prototype to avoid an error.
14002 Use char because int might match the return type of a GCC
14003 builtin and then its argument prototype would still apply. */
14004 #ifdef __cplusplus
14005 extern "C"
14006 #endif
14007 char procstat_open_sysctl ();
14009 main ()
14011 return procstat_open_sysctl ();
14013 return 0;
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_lib_procstat_procstat_open_sysctl=yes
14018 else
14019 ac_cv_lib_procstat_procstat_open_sysctl=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 LIBS=$ac_check_lib_save_LIBS
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14026 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14027 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14029 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14031 PROCSTAT_LIBS="-lprocstat"
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14038 $as_echo_n "checking for -lodbc... " >&6; }
14039 if ${ac_cv_lib_soname_odbc+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 ac_check_soname_save_LIBS=$LIBS
14043 LIBS="-lodbc $LIBS"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14050 #ifdef __cplusplus
14051 extern "C"
14052 #endif
14053 char SQLConnect ();
14055 main ()
14057 return SQLConnect ();
14059 return 0;
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 case "$LIBEXT" in
14064 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14065 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'` ;;
14066 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14067 if ${ac_cv_lib_soname_odbc:+false} :; then :
14068 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14069 fi ;;
14070 esac
14072 rm -f core conftest.err conftest.$ac_objext \
14073 conftest$ac_exeext conftest.$ac_ext
14074 LIBS=$ac_check_soname_save_LIBS
14076 if ${ac_cv_lib_soname_odbc:+false} :; then :
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14078 $as_echo "not found" >&6; }
14079 cat >>confdefs.h <<_ACEOF
14080 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14081 _ACEOF
14083 else
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14085 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14087 cat >>confdefs.h <<_ACEOF
14088 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14089 _ACEOF
14094 if test "x$with_netapi" != "xno"
14095 then
14096 if ${NETAPI_CFLAGS:+false} :; then :
14097 if ${PKG_CONFIG+:} false; then :
14098 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14102 if ${NETAPI_LIBS:+false} :; then :
14103 if ${PKG_CONFIG+:} false; then :
14104 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14109 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14110 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14111 ac_save_CPPFLAGS=$CPPFLAGS
14112 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14114 $as_echo_n "checking for -lnetapi... " >&6; }
14115 if ${ac_cv_lib_soname_netapi+:} false; then :
14116 $as_echo_n "(cached) " >&6
14117 else
14118 ac_check_soname_save_LIBS=$LIBS
14119 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121 /* end confdefs.h. */
14123 /* Override any GCC internal prototype to avoid an error.
14124 Use char because int might match the return type of a GCC
14125 builtin and then its argument prototype would still apply. */
14126 #ifdef __cplusplus
14127 extern "C"
14128 #endif
14129 char libnetapi_init ();
14131 main ()
14133 return libnetapi_init ();
14135 return 0;
14137 _ACEOF
14138 if ac_fn_c_try_link "$LINENO"; then :
14139 case "$LIBEXT" in
14140 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14141 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'` ;;
14142 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14143 if ${ac_cv_lib_soname_netapi:+false} :; then :
14144 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14145 fi ;;
14146 esac
14148 rm -f core conftest.err conftest.$ac_objext \
14149 conftest$ac_exeext conftest.$ac_ext
14150 LIBS=$ac_check_soname_save_LIBS
14152 if ${ac_cv_lib_soname_netapi:+false} :; then :
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14154 $as_echo "not found" >&6; }
14155 cat >>confdefs.h <<_ACEOF
14156 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14157 _ACEOF
14159 else
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14161 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14163 cat >>confdefs.h <<_ACEOF
14164 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14165 _ACEOF
14169 CPPFLAGS=$ac_save_CPPFLAGS
14170 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14171 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14175 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14176 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14177 then
14178 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14182 EXTRACFLAGS=""
14184 if test "x${GCC}" = "xyes"
14185 then
14186 EXTRACFLAGS="-Wall -pipe"
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14189 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14190 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 if test "$cross_compiling" = yes; then :
14194 ac_cv_c_gcc_strength_bug="no"
14195 else
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14198 int L[4] = {0,1,2,3};
14200 main ()
14202 static int Array[3];
14203 unsigned int B = 3;
14204 int i;
14205 for(i=0; i<B; i++) Array[i] = i - 3;
14206 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14207 L[i] = 4;
14208 return (Array[1] != -2 || L[2] != 3)
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_run "$LINENO"; then :
14214 ac_cv_c_gcc_strength_bug="no"
14215 else
14216 ac_cv_c_gcc_strength_bug="yes"
14218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14219 conftest.$ac_objext conftest.beam conftest.$ac_ext
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14224 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14225 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14226 then
14227 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14231 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14232 if ${ac_cv_cflags__fno_builtin+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 ac_wine_try_cflags_saved=$CFLAGS
14236 CFLAGS="$CFLAGS -fno-builtin"
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14239 int main(int argc, char **argv) { return 0; }
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"; then :
14242 ac_cv_cflags__fno_builtin=yes
14243 else
14244 ac_cv_cflags__fno_builtin=no
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14248 CFLAGS=$ac_wine_try_cflags_saved
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14251 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14252 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14253 BUILTINFLAG="-fno-builtin"
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14257 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14258 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14259 $as_echo_n "(cached) " >&6
14260 else
14261 ac_wine_try_cflags_saved=$CFLAGS
14262 CFLAGS="$CFLAGS -fno-strict-aliasing"
14263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264 /* end confdefs.h. */
14265 int main(int argc, char **argv) { return 0; }
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"; then :
14268 ac_cv_cflags__fno_strict_aliasing=yes
14269 else
14270 ac_cv_cflags__fno_strict_aliasing=no
14272 rm -f core conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14274 CFLAGS=$ac_wine_try_cflags_saved
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14277 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14278 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14279 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14282 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14283 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 ac_wine_try_cflags_saved=$CFLAGS
14287 CFLAGS="$CFLAGS -fexcess-precision=standard"
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 int main(int argc, char **argv) { return 0; }
14291 _ACEOF
14292 if ac_fn_c_try_link "$LINENO"; then :
14293 ac_cv_cflags__fexcess_precision_standard=yes
14294 else
14295 ac_cv_cflags__fexcess_precision_standard=no
14297 rm -f core conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 CFLAGS=$ac_wine_try_cflags_saved
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14302 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14303 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14304 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14307 saved_CFLAGS=$CFLAGS
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14309 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14310 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14311 $as_echo_n "(cached) " >&6
14312 else
14313 ac_wine_try_cflags_saved=$CFLAGS
14314 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14317 int main(int argc, char **argv) { return 0; }
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"; then :
14320 ac_cv_cflags__Werror_unknown_warning_option=yes
14321 else
14322 ac_cv_cflags__Werror_unknown_warning_option=no
14324 rm -f core conftest.err conftest.$ac_objext \
14325 conftest$ac_exeext conftest.$ac_ext
14326 CFLAGS=$ac_wine_try_cflags_saved
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14329 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14330 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14331 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14334 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14335 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 ac_wine_try_cflags_saved=$CFLAGS
14339 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14342 int main(int argc, char **argv) { return 0; }
14343 _ACEOF
14344 if ac_fn_c_try_link "$LINENO"; then :
14345 ac_cv_cflags__Wdeclaration_after_statement=yes
14346 else
14347 ac_cv_cflags__Wdeclaration_after_statement=no
14349 rm -f core conftest.err conftest.$ac_objext \
14350 conftest$ac_exeext conftest.$ac_ext
14351 CFLAGS=$ac_wine_try_cflags_saved
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14354 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14355 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14356 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14359 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14360 if ${ac_cv_cflags__Wempty_body+:} false; then :
14361 $as_echo_n "(cached) " >&6
14362 else
14363 ac_wine_try_cflags_saved=$CFLAGS
14364 CFLAGS="$CFLAGS -Wempty-body"
14365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h. */
14367 int main(int argc, char **argv) { return 0; }
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 ac_cv_cflags__Wempty_body=yes
14371 else
14372 ac_cv_cflags__Wempty_body=no
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 CFLAGS=$ac_wine_try_cflags_saved
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14379 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14380 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14381 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14384 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14385 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 ac_wine_try_cflags_saved=$CFLAGS
14389 CFLAGS="$CFLAGS -Wignored-qualifiers"
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 int main(int argc, char **argv) { return 0; }
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_cflags__Wignored_qualifiers=yes
14396 else
14397 ac_cv_cflags__Wignored_qualifiers=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 CFLAGS=$ac_wine_try_cflags_saved
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14404 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14405 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14406 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14409 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14410 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 ac_wine_try_cflags_saved=$CFLAGS
14414 CFLAGS="$CFLAGS -Wshift-overflow=2"
14415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 int main(int argc, char **argv) { return 0; }
14418 _ACEOF
14419 if ac_fn_c_try_link "$LINENO"; then :
14420 ac_cv_cflags__Wshift_overflow_2=yes
14421 else
14422 ac_cv_cflags__Wshift_overflow_2=no
14424 rm -f core conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14426 CFLAGS=$ac_wine_try_cflags_saved
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14429 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14430 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14431 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14434 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14435 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14436 $as_echo_n "(cached) " >&6
14437 else
14438 ac_wine_try_cflags_saved=$CFLAGS
14439 CFLAGS="$CFLAGS -Wstrict-prototypes"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442 int main(int argc, char **argv) { return 0; }
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_cflags__Wstrict_prototypes=yes
14446 else
14447 ac_cv_cflags__Wstrict_prototypes=no
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 CFLAGS=$ac_wine_try_cflags_saved
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14454 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14455 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14456 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14459 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14460 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_wine_try_cflags_saved=$CFLAGS
14464 CFLAGS="$CFLAGS -Wtype-limits"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14467 int main(int argc, char **argv) { return 0; }
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"; then :
14470 ac_cv_cflags__Wtype_limits=yes
14471 else
14472 ac_cv_cflags__Wtype_limits=no
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 CFLAGS=$ac_wine_try_cflags_saved
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14479 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14480 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14481 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14484 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14485 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_wine_try_cflags_saved=$CFLAGS
14489 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14492 int main(int argc, char **argv) { return 0; }
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_cflags__Wunused_but_set_parameter=yes
14496 else
14497 ac_cv_cflags__Wunused_but_set_parameter=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 CFLAGS=$ac_wine_try_cflags_saved
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14504 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14505 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14506 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14509 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14510 if ${ac_cv_cflags__Wvla+:} false; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 ac_wine_try_cflags_saved=$CFLAGS
14514 CFLAGS="$CFLAGS -Wvla"
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 int main(int argc, char **argv) { return 0; }
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_cflags__Wvla=yes
14521 else
14522 ac_cv_cflags__Wvla=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14529 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14530 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14531 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14534 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14535 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14536 $as_echo_n "(cached) " >&6
14537 else
14538 ac_wine_try_cflags_saved=$CFLAGS
14539 CFLAGS="$CFLAGS -Wwrite-strings"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 int main(int argc, char **argv) { return 0; }
14543 _ACEOF
14544 if ac_fn_c_try_link "$LINENO"; then :
14545 ac_cv_cflags__Wwrite_strings=yes
14546 else
14547 ac_cv_cflags__Wwrite_strings=no
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 CFLAGS=$ac_wine_try_cflags_saved
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14554 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14555 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14556 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14560 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14561 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14562 $as_echo_n "(cached) " >&6
14563 else
14564 ac_wine_try_cflags_saved=$CFLAGS
14565 CFLAGS="$CFLAGS -Wpointer-arith"
14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14567 /* end confdefs.h. */
14568 int main(int argc, char **argv) { return 0; }
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"; then :
14571 ac_cv_cflags__Wpointer_arith=yes
14572 else
14573 ac_cv_cflags__Wpointer_arith=no
14575 rm -f core conftest.err conftest.$ac_objext \
14576 conftest$ac_exeext conftest.$ac_ext
14577 CFLAGS=$ac_wine_try_cflags_saved
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14580 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14581 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14582 saved_string_h_CFLAGS=$CFLAGS
14583 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14585 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14586 if ${ac_cv_c_string_h_warnings+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 #include <string.h>
14593 main ()
14597 return 0;
14599 _ACEOF
14600 if ac_fn_c_try_compile "$LINENO"; then :
14601 ac_cv_c_string_h_warnings=no
14602 else
14603 ac_cv_c_string_h_warnings=yes
14605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14608 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14609 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14610 CFLAGS=$saved_string_h_CFLAGS
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14614 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14615 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14616 $as_echo_n "(cached) " >&6
14617 else
14618 ac_wine_try_cflags_saved=$CFLAGS
14619 CFLAGS="$CFLAGS -Wlogical-op"
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 int main(int argc, char **argv) { return 0; }
14623 _ACEOF
14624 if ac_fn_c_try_link "$LINENO"; then :
14625 ac_cv_cflags__Wlogical_op=yes
14626 else
14627 ac_cv_cflags__Wlogical_op=no
14629 rm -f core conftest.err conftest.$ac_objext \
14630 conftest$ac_exeext conftest.$ac_ext
14631 CFLAGS=$ac_wine_try_cflags_saved
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14634 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14635 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14636 saved_string_h_CFLAGS=$CFLAGS
14637 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14639 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14640 if ${ac_cv_c_logicalop_noisy+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 #include <string.h>
14646 char*f(const char *h,char n) {return strchr(h,n);}
14648 main ()
14652 return 0;
14654 _ACEOF
14655 if ac_fn_c_try_compile "$LINENO"; then :
14656 ac_cv_c_logicalop_noisy=no
14657 else
14658 ac_cv_c_logicalop_noisy=yes
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14663 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14664 CFLAGS=$saved_string_h_CFLAGS
14665 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14668 CFLAGS=$saved_CFLAGS
14670 for ac_flag in $CFLAGS; do
14671 case $ac_flag in
14672 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14673 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14674 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14675 $as_echo_n "(cached) " >&6
14676 else
14677 ac_wine_try_cflags_saved=$CFLAGS
14678 CFLAGS="$CFLAGS -gdwarf-2"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h. */
14681 int main(int argc, char **argv) { return 0; }
14682 _ACEOF
14683 if ac_fn_c_try_link "$LINENO"; then :
14684 ac_cv_cflags__gdwarf_2=yes
14685 else
14686 ac_cv_cflags__gdwarf_2=no
14688 rm -f core conftest.err conftest.$ac_objext \
14689 conftest$ac_exeext conftest.$ac_ext
14690 CFLAGS=$ac_wine_try_cflags_saved
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14693 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14694 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14695 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14698 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14699 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 ac_wine_try_cflags_saved=$CFLAGS
14703 CFLAGS="$CFLAGS -gstrict-dwarf"
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 int main(int argc, char **argv) { return 0; }
14707 _ACEOF
14708 if ac_fn_c_try_link "$LINENO"; then :
14709 ac_cv_cflags__gstrict_dwarf=yes
14710 else
14711 ac_cv_cflags__gstrict_dwarf=no
14713 rm -f core conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14715 CFLAGS=$ac_wine_try_cflags_saved
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14718 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14719 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14720 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14721 fi ;;
14722 esac
14723 done
14725 case $host_cpu in
14726 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14727 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14728 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14729 $as_echo_n "(cached) " >&6
14730 else
14731 ac_wine_try_cflags_saved=$CFLAGS
14732 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14734 /* end confdefs.h. */
14735 int main(int argc, char **argv) { return 0; }
14736 _ACEOF
14737 if ac_fn_c_try_link "$LINENO"; then :
14738 ac_cv_cflags__fno_omit_frame_pointer=yes
14739 else
14740 ac_cv_cflags__fno_omit_frame_pointer=no
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 CFLAGS=$ac_wine_try_cflags_saved
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14747 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14748 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14749 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14750 fi ;;
14751 esac
14753 case $host in
14754 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14755 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14756 if ${ac_cv_cflags__Wno_format+:} false; then :
14757 $as_echo_n "(cached) " >&6
14758 else
14759 ac_wine_try_cflags_saved=$CFLAGS
14760 CFLAGS="$CFLAGS -Wno-format"
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 int main(int argc, char **argv) { return 0; }
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_cflags__Wno_format=yes
14767 else
14768 ac_cv_cflags__Wno_format=no
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 CFLAGS=$ac_wine_try_cflags_saved
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14775 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14776 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14777 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14778 fi ;;
14779 esac
14781 if test "x$enable_maintainer_mode" = "xyes"
14782 then
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14784 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14785 if ${ac_cv_cflags__Werror+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_wine_try_cflags_saved=$CFLAGS
14789 CFLAGS="$CFLAGS -Werror"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14793 _ACEOF
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 ac_cv_cflags__Werror=yes
14796 else
14797 ac_cv_cflags__Werror=no
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14801 CFLAGS=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14804 $as_echo "$ac_cv_cflags__Werror" >&6; }
14805 if test "x$ac_cv_cflags__Werror" = xyes; then :
14806 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14810 saved_CFLAGS="$CFLAGS"
14811 CFLAGS="$CFLAGS -Werror"
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14813 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14814 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14819 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14821 main ()
14825 return 0;
14827 _ACEOF
14828 if ac_fn_c_try_compile "$LINENO"; then :
14829 ac_cv_have_ms_hook_prologue="yes"
14830 else
14831 ac_cv_have_ms_hook_prologue="no"
14833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14836 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14837 CFLAGS="$saved_CFLAGS"
14838 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14839 then
14841 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14843 else
14844 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14851 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14852 if ${ac_cv_c_fortify_enabled+:} false; then :
14853 $as_echo_n "(cached) " >&6
14854 else
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 #include <string.h>
14859 main ()
14861 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14862 #error Fortify enabled
14863 #endif
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_compile "$LINENO"; then :
14869 ac_cv_c_fortify_enabled=no
14870 else
14871 ac_cv_c_fortify_enabled=yes
14873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14876 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14877 if test "$ac_cv_c_fortify_enabled" = yes
14878 then
14879 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14884 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14885 if ${ac_cv_c_extern_prefix+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14890 extern int ac_test;
14892 main ()
14894 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14896 return 0;
14898 _ACEOF
14899 if ac_fn_c_try_link "$LINENO"; then :
14900 ac_cv_c_extern_prefix="yes"
14901 else
14902 ac_cv_c_extern_prefix="no"
14904 rm -f core conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14908 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14910 case $host_cpu in
14911 *i[3456789]86*)
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14913 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14914 if ${ac_cv_c_stdcall_suffix+:} false; then :
14915 $as_echo_n "(cached) " >&6
14916 else
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14919 #ifndef _MSC_VER
14920 #define __stdcall __attribute__((__stdcall__))
14921 #endif
14922 int __stdcall ac_test(int i) { return i; }
14924 main ()
14926 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"; then :
14932 ac_cv_c_stdcall_suffix="yes"
14933 else
14934 ac_cv_c_stdcall_suffix="no"
14936 rm -f core conftest.err conftest.$ac_objext \
14937 conftest$ac_exeext conftest.$ac_ext
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14940 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14941 *) ac_cv_c_stdcall_suffix="no" ;;
14942 esac
14945 if test "$ac_cv_c_extern_prefix" = "yes"
14946 then
14947 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14949 asm_name_prefix="_"
14950 else
14951 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14953 asm_name_prefix=""
14957 if test "$ac_cv_c_stdcall_suffix" = "yes"
14958 then
14959 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14961 else
14962 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14968 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14969 if ${ac_cv_asm_func_def+:} false; then :
14970 $as_echo_n "(cached) " >&6
14971 else
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14976 main ()
14978 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 ac_cv_asm_func_def=".def"
14985 else
14986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14990 main ()
14992 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14994 return 0;
14996 _ACEOF
14997 if ac_fn_c_try_link "$LINENO"; then :
14998 ac_cv_asm_func_def=".type @function"
14999 else
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15004 main ()
15006 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15008 return 0;
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 ac_cv_asm_func_def=".type 2"
15013 else
15014 ac_cv_asm_func_def="unknown"
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15019 rm -f core conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15026 $as_echo "$ac_cv_asm_func_def" >&6; }
15029 case "$ac_cv_asm_func_def" in
15030 ".def")
15031 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15033 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15034 ".type @function")
15035 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15037 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15038 ".type 2")
15039 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15041 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15043 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15045 asm_func_header="" ;;
15046 esac
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15049 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15050 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 asm(".text\n\t.long 0");
15057 main ()
15061 return 0;
15063 _ACEOF
15064 if ac_fn_c_try_compile "$LINENO"; then :
15065 ac_cv_c_asm_outside_funcs="yes"
15066 else
15067 ac_cv_c_asm_outside_funcs="no"
15069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15072 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15075 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15076 if ${ac_cv_c_dot_previous+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15083 main ()
15085 asm(".text\nac_test:\t.long 0\n\t.previous");
15087 return 0;
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_c_dot_previous="yes"
15092 else
15093 ac_cv_c_dot_previous="no"
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15099 $as_echo "$ac_cv_c_dot_previous" >&6; }
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15102 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15103 if ${ac_cv_c_cfi_support+:} false; then :
15104 $as_echo_n "(cached) " >&6
15105 else
15106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107 /* end confdefs.h. */
15108 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15110 main ()
15114 return 0;
15116 _ACEOF
15117 if ac_fn_c_try_compile "$LINENO"; then :
15118 ac_cv_c_cfi_support="yes"
15119 else
15120 ac_cv_c_cfi_support="no"
15122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15125 $as_echo "$ac_cv_c_cfi_support" >&6; }
15127 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15128 asm_func_trailer=""
15129 if test "$ac_cv_c_dot_previous" = "yes"
15130 then
15131 asm_func_trailer="\\n\\t.previous"
15133 if test "$ac_cv_c_cfi_support" = "yes"
15134 then
15135 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15136 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15138 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15140 UNWINDFLAGS=-fasynchronous-unwind-tables
15142 else
15143 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15145 if test "x$enable_win64" = "xyes"
15146 then
15147 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15151 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15154 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15155 then
15156 cat >>confdefs.h <<_ACEOF
15157 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15158 _ACEOF
15160 else
15161 cat >>confdefs.h <<_ACEOF
15162 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15163 _ACEOF
15167 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15170 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15174 case $build_os in
15175 cygwin*|mingw32*) TOOLSEXT=".exe"
15177 esac
15179 case $host_os in
15180 linux-android*) ;;
15181 linux*)
15182 case $host_cpu in
15183 *i[3456789]86*|x86_64*)
15184 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15185 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15187 esac
15189 esac
15192 ac_save_CFLAGS="$CFLAGS"
15193 CFLAGS="$CFLAGS $BUILTINFLAG"
15194 for ac_func in \
15195 __res_get_state \
15196 __res_getservers \
15197 _finite \
15198 _isnan \
15199 _pclose \
15200 _popen \
15201 _snprintf \
15202 _spawnvp \
15203 _strdup \
15204 _stricmp \
15205 _strnicmp \
15206 _strtoi64 \
15207 _strtoui64 \
15208 _vsnprintf \
15209 asctime_r \
15210 chsize \
15211 dlopen \
15212 epoll_create \
15213 ffs \
15214 finitef \
15215 fnmatch \
15216 fork \
15217 fpclass \
15218 fstatfs \
15219 fstatvfs \
15220 ftruncate \
15221 futimens \
15222 futimes \
15223 futimesat \
15224 getattrlist \
15225 getopt_long_only \
15226 getpwuid \
15227 gettimeofday \
15228 getuid \
15229 if_nameindex \
15230 isnanf \
15231 kqueue \
15232 lstat \
15233 memmove \
15234 mmap \
15235 pclose \
15236 pipe2 \
15237 poll \
15238 popen \
15239 port_create \
15240 prctl \
15241 pread \
15242 proc_pidinfo \
15243 pwrite \
15244 readdir \
15245 readlink \
15246 sched_yield \
15247 select \
15248 setproctitle \
15249 setprogname \
15250 setrlimit \
15251 settimeofday \
15252 sigaltstack \
15253 sigprocmask \
15254 snprintf \
15255 statfs \
15256 statvfs \
15257 strcasecmp \
15258 strdup \
15259 strerror \
15260 strncasecmp \
15261 strtold \
15262 strtoll \
15263 strtoull \
15264 symlink \
15265 sysinfo \
15266 tcdrain \
15267 thr_kill2 \
15268 timegm \
15269 usleep \
15270 vsnprintf
15272 do :
15273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15276 cat >>confdefs.h <<_ACEOF
15277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15278 _ACEOF
15281 done
15283 CFLAGS="$ac_save_CFLAGS"
15285 if test "$ac_cv_func_dlopen" = no
15286 then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15289 if ${ac_cv_lib_dl_dlopen+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_check_lib_save_LIBS=$LIBS
15293 LIBS="-ldl $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char dlopen ();
15305 main ()
15307 return dlopen ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 ac_cv_lib_dl_dlopen=yes
15314 else
15315 ac_cv_lib_dl_dlopen=no
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext conftest.$ac_ext
15319 LIBS=$ac_check_lib_save_LIBS
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15323 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15324 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15325 DL_LIBS="-ldl"
15330 ac_wine_check_funcs_save_LIBS="$LIBS"
15331 LIBS="$LIBS $DL_LIBS"
15332 for ac_func in dladdr
15333 do :
15334 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15335 if test "x$ac_cv_func_dladdr" = xyes; then :
15336 cat >>confdefs.h <<_ACEOF
15337 #define HAVE_DLADDR 1
15338 _ACEOF
15341 done
15343 LIBS="$ac_wine_check_funcs_save_LIBS"
15345 if test "$ac_cv_func_poll" = no
15346 then
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15348 $as_echo_n "checking for poll in -lpoll... " >&6; }
15349 if ${ac_cv_lib_poll_poll+:} false; then :
15350 $as_echo_n "(cached) " >&6
15351 else
15352 ac_check_lib_save_LIBS=$LIBS
15353 LIBS="-lpoll $LIBS"
15354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15360 #ifdef __cplusplus
15361 extern "C"
15362 #endif
15363 char poll ();
15365 main ()
15367 return poll ();
15369 return 0;
15371 _ACEOF
15372 if ac_fn_c_try_link "$LINENO"; then :
15373 ac_cv_lib_poll_poll=yes
15374 else
15375 ac_cv_lib_poll_poll=no
15377 rm -f core conftest.err conftest.$ac_objext \
15378 conftest$ac_exeext conftest.$ac_ext
15379 LIBS=$ac_check_lib_save_LIBS
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15382 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15383 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15384 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15385 POLL_LIBS="-lpoll"
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15392 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15393 if ${ac_cv_search_gethostbyname+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 ac_func_search_save_LIBS=$LIBS
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15403 #ifdef __cplusplus
15404 extern "C"
15405 #endif
15406 char gethostbyname ();
15408 main ()
15410 return gethostbyname ();
15412 return 0;
15414 _ACEOF
15415 for ac_lib in '' nsl; do
15416 if test -z "$ac_lib"; then
15417 ac_res="none required"
15418 else
15419 ac_res=-l$ac_lib
15420 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15422 if ac_fn_c_try_link "$LINENO"; then :
15423 ac_cv_search_gethostbyname=$ac_res
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext
15427 if ${ac_cv_search_gethostbyname+:} false; then :
15428 break
15430 done
15431 if ${ac_cv_search_gethostbyname+:} false; then :
15433 else
15434 ac_cv_search_gethostbyname=no
15436 rm conftest.$ac_ext
15437 LIBS=$ac_func_search_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15440 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15441 ac_res=$ac_cv_search_gethostbyname
15442 if test "$ac_res" != no; then :
15443 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15449 $as_echo_n "checking for library containing connect... " >&6; }
15450 if ${ac_cv_search_connect+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 ac_func_search_save_LIBS=$LIBS
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15460 #ifdef __cplusplus
15461 extern "C"
15462 #endif
15463 char connect ();
15465 main ()
15467 return connect ();
15469 return 0;
15471 _ACEOF
15472 for ac_lib in '' socket; do
15473 if test -z "$ac_lib"; then
15474 ac_res="none required"
15475 else
15476 ac_res=-l$ac_lib
15477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 ac_cv_search_connect=$ac_res
15482 rm -f core conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext
15484 if ${ac_cv_search_connect+:} false; then :
15485 break
15487 done
15488 if ${ac_cv_search_connect+:} false; then :
15490 else
15491 ac_cv_search_connect=no
15493 rm conftest.$ac_ext
15494 LIBS=$ac_func_search_save_LIBS
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15497 $as_echo "$ac_cv_search_connect" >&6; }
15498 ac_res=$ac_cv_search_connect
15499 if test "$ac_res" != no; then :
15500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15506 $as_echo_n "checking for library containing inet_aton... " >&6; }
15507 if ${ac_cv_search_inet_aton+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15510 ac_func_search_save_LIBS=$LIBS
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply. */
15517 #ifdef __cplusplus
15518 extern "C"
15519 #endif
15520 char inet_aton ();
15522 main ()
15524 return inet_aton ();
15526 return 0;
15528 _ACEOF
15529 for ac_lib in '' resolv; do
15530 if test -z "$ac_lib"; then
15531 ac_res="none required"
15532 else
15533 ac_res=-l$ac_lib
15534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_search_inet_aton=$ac_res
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext
15541 if ${ac_cv_search_inet_aton+:} false; then :
15542 break
15544 done
15545 if ${ac_cv_search_inet_aton+:} false; then :
15547 else
15548 ac_cv_search_inet_aton=no
15550 rm conftest.$ac_ext
15551 LIBS=$ac_func_search_save_LIBS
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15554 $as_echo "$ac_cv_search_inet_aton" >&6; }
15555 ac_res=$ac_cv_search_inet_aton
15556 if test "$ac_res" != no; then :
15557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15562 for ac_func in \
15563 getaddrinfo \
15564 getnameinfo \
15565 getnetbyname \
15566 getprotobyname \
15567 getprotobynumber \
15568 getservbyport \
15569 inet_addr \
15570 inet_network \
15571 inet_ntop \
15572 inet_pton \
15573 sendmsg \
15574 socketpair \
15576 do :
15577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15580 cat >>confdefs.h <<_ACEOF
15581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15582 _ACEOF
15585 done
15588 ac_save_LIBS=$LIBS
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15590 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15591 if ${ac_cv_search_clock_gettime+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 ac_func_search_save_LIBS=$LIBS
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15598 /* Override any GCC internal prototype to avoid an error.
15599 Use char because int might match the return type of a GCC
15600 builtin and then its argument prototype would still apply. */
15601 #ifdef __cplusplus
15602 extern "C"
15603 #endif
15604 char clock_gettime ();
15606 main ()
15608 return clock_gettime ();
15610 return 0;
15612 _ACEOF
15613 for ac_lib in '' rt; do
15614 if test -z "$ac_lib"; then
15615 ac_res="none required"
15616 else
15617 ac_res=-l$ac_lib
15618 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15620 if ac_fn_c_try_link "$LINENO"; then :
15621 ac_cv_search_clock_gettime=$ac_res
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext
15625 if ${ac_cv_search_clock_gettime+:} false; then :
15626 break
15628 done
15629 if ${ac_cv_search_clock_gettime+:} false; then :
15631 else
15632 ac_cv_search_clock_gettime=no
15634 rm conftest.$ac_ext
15635 LIBS=$ac_func_search_save_LIBS
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15638 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15639 ac_res=$ac_cv_search_clock_gettime
15640 if test "$ac_res" != no; then :
15641 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15643 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15645 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15649 LIBS=$ac_save_LIBS
15651 LDAP_LIBS=""
15653 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15654 then
15655 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15657 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15659 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15660 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15661 $as_echo_n "(cached) " >&6
15662 else
15663 ac_check_lib_save_LIBS=$LIBS
15664 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 #ifdef __cplusplus
15672 extern "C"
15673 #endif
15674 char ldap_initialize ();
15676 main ()
15678 return ldap_initialize ();
15680 return 0;
15682 _ACEOF
15683 if ac_fn_c_try_link "$LINENO"; then :
15684 ac_cv_lib_ldap_r_ldap_initialize=yes
15685 else
15686 ac_cv_lib_ldap_r_ldap_initialize=no
15688 rm -f core conftest.err conftest.$ac_objext \
15689 conftest$ac_exeext conftest.$ac_ext
15690 LIBS=$ac_check_lib_save_LIBS
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15693 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15694 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15696 $as_echo_n "checking for ber_init in -llber... " >&6; }
15697 if ${ac_cv_lib_lber_ber_init+:} false; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 ac_check_lib_save_LIBS=$LIBS
15701 LIBS="-llber $PTHREAD_LIBS $LIBS"
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 #ifdef __cplusplus
15709 extern "C"
15710 #endif
15711 char ber_init ();
15713 main ()
15715 return ber_init ();
15717 return 0;
15719 _ACEOF
15720 if ac_fn_c_try_link "$LINENO"; then :
15721 ac_cv_lib_lber_ber_init=yes
15722 else
15723 ac_cv_lib_lber_ber_init=no
15725 rm -f core conftest.err conftest.$ac_objext \
15726 conftest$ac_exeext conftest.$ac_ext
15727 LIBS=$ac_check_lib_save_LIBS
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15730 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15731 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15733 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15735 LDAP_LIBS="-lldap_r -llber"
15742 ac_wine_check_funcs_save_LIBS="$LIBS"
15743 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15744 for ac_func in \
15745 ldap_count_references \
15746 ldap_first_reference \
15747 ldap_next_reference \
15748 ldap_parse_reference \
15749 ldap_parse_sort_control \
15750 ldap_parse_sortresponse_control \
15751 ldap_parse_vlv_control \
15752 ldap_parse_vlvresponse_control
15753 do :
15754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15756 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15757 cat >>confdefs.h <<_ACEOF
15758 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15759 _ACEOF
15762 done
15764 LIBS="$ac_wine_check_funcs_save_LIBS"
15766 if test "x$LDAP_LIBS" = "x"; then :
15767 case "x$with_ldap" in
15768 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15769 xno) ;;
15770 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15771 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15772 esac
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15777 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15778 if ${wine_cv_one_arg_mkdir+:} false; then :
15779 $as_echo_n "(cached) " >&6
15780 else
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15783 #include <sys/stat.h>
15785 main ()
15787 mkdir("foo");
15789 return 0;
15791 _ACEOF
15792 if ac_fn_c_try_compile "$LINENO"; then :
15793 wine_cv_one_arg_mkdir=yes
15794 else
15795 wine_cv_one_arg_mkdir=no
15797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15800 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15801 if test "$wine_cv_one_arg_mkdir" = "yes"
15802 then
15804 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15809 $as_echo_n "checking for sched_setaffinity... " >&6; }
15810 if ${wine_cv_have_sched_setaffinity+:} false; then :
15811 $as_echo_n "(cached) " >&6
15812 else
15813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15815 #define _GNU_SOURCE
15816 #include <sched.h>
15818 main ()
15820 sched_setaffinity(0, 0, 0);
15822 return 0;
15824 _ACEOF
15825 if ac_fn_c_try_link "$LINENO"; then :
15826 wine_cv_have_sched_setaffinity=yes
15827 else
15828 wine_cv_have_sched_setaffinity=no
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15834 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15835 if test "$wine_cv_have_sched_setaffinity" = "yes"
15836 then
15838 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15843 $as_echo_n "checking for fallocate... " >&6; }
15844 if ${wine_cv_have_fallocate+:} false; then :
15845 $as_echo_n "(cached) " >&6
15846 else
15847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15848 /* end confdefs.h. */
15849 #define _GNU_SOURCE
15850 #include <fcntl.h>
15852 main ()
15854 fallocate(-1, 0, 0, 0);
15856 return 0;
15858 _ACEOF
15859 if ac_fn_c_try_link "$LINENO"; then :
15860 wine_cv_have_fallocate=yes
15861 else
15862 wine_cv_have_fallocate=no
15864 rm -f core conftest.err conftest.$ac_objext \
15865 conftest$ac_exeext conftest.$ac_ext
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15868 $as_echo "$wine_cv_have_fallocate" >&6; }
15869 if test "$wine_cv_have_fallocate" = "yes"
15870 then
15872 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15878 $as_echo_n "checking for inline... " >&6; }
15879 if ${ac_cv_c_inline+:} false; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 ac_cv_c_inline=no
15883 for ac_kw in inline __inline__ __inline; do
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15886 #ifndef __cplusplus
15887 typedef int foo_t;
15888 static $ac_kw foo_t static_foo () {return 0; }
15889 $ac_kw foo_t foo () {return 0; }
15890 #endif
15892 _ACEOF
15893 if ac_fn_c_try_compile "$LINENO"; then :
15894 ac_cv_c_inline=$ac_kw
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15897 test "$ac_cv_c_inline" != no && break
15898 done
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15902 $as_echo "$ac_cv_c_inline" >&6; }
15904 case $ac_cv_c_inline in
15905 inline | yes) ;;
15907 case $ac_cv_c_inline in
15908 no) ac_val=;;
15909 *) ac_val=$ac_cv_c_inline;;
15910 esac
15911 cat >>confdefs.h <<_ACEOF
15912 #ifndef __cplusplus
15913 #define inline $ac_val
15914 #endif
15915 _ACEOF
15917 esac
15919 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15920 if test "x$ac_cv_type_mode_t" = xyes; then :
15922 cat >>confdefs.h <<_ACEOF
15923 #define HAVE_MODE_T 1
15924 _ACEOF
15928 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15929 if test "x$ac_cv_type_off_t" = xyes; then :
15931 cat >>confdefs.h <<_ACEOF
15932 #define HAVE_OFF_T 1
15933 _ACEOF
15937 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15938 if test "x$ac_cv_type_pid_t" = xyes; then :
15940 cat >>confdefs.h <<_ACEOF
15941 #define HAVE_PID_T 1
15942 _ACEOF
15946 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15947 if test "x$ac_cv_type_size_t" = xyes; then :
15949 cat >>confdefs.h <<_ACEOF
15950 #define HAVE_SIZE_T 1
15951 _ACEOF
15955 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15956 if test "x$ac_cv_type_ssize_t" = xyes; then :
15958 cat >>confdefs.h <<_ACEOF
15959 #define HAVE_SSIZE_T 1
15960 _ACEOF
15964 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15965 if test "x$ac_cv_type_long_long" = xyes; then :
15967 cat >>confdefs.h <<_ACEOF
15968 #define HAVE_LONG_LONG 1
15969 _ACEOF
15973 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15974 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15976 cat >>confdefs.h <<_ACEOF
15977 #define HAVE_FSBLKCNT_T 1
15978 _ACEOF
15982 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15983 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_FSFILCNT_T 1
15987 _ACEOF
15992 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15993 #include <signal.h>
15995 if test "x$ac_cv_type_sigset_t" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_SIGSET_T 1
15999 _ACEOF
16004 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16006 if test "x$ac_cv_type_request_sense" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_REQUEST_SENSE 1
16010 _ACEOF
16016 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16017 #ifdef HAVE_SYS_SOCKET_H
16018 #include <sys/socket.h>
16019 #endif
16020 #ifdef HAVE_SYS_SOCKETVAR_H
16021 #include <sys/socketvar.h>
16022 #endif
16023 #ifdef HAVE_NET_ROUTE_H
16024 #include <net/route.h>
16025 #endif
16026 #ifdef HAVE_NETINET_IN_H
16027 #include <netinet/in.h>
16028 #endif
16029 #ifdef HAVE_NETINET_IN_SYSTM_H
16030 #include <netinet/in_systm.h>
16031 #endif
16032 #ifdef HAVE_NETINET_IP_H
16033 #include <netinet/ip.h>
16034 #endif
16035 #ifdef HAVE_NETINET_IN_PCB_H
16036 #include <netinet/in_pcb.h>
16037 #endif
16039 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16041 cat >>confdefs.h <<_ACEOF
16042 #define HAVE_STRUCT_XINPGEN 1
16043 _ACEOF
16049 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16050 #include <link.h>
16051 #endif
16052 #ifdef HAVE_SYS_LINK_H
16053 #include <sys/link.h>
16054 #endif
16056 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16058 cat >>confdefs.h <<_ACEOF
16059 #define HAVE_STRUCT_R_DEBUG 1
16060 _ACEOF
16064 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16065 #include <link.h>
16066 #endif
16067 #ifdef HAVE_SYS_LINK_H
16068 #include <sys/link.h>
16069 #endif
16071 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16073 cat >>confdefs.h <<_ACEOF
16074 #define HAVE_STRUCT_LINK_MAP 1
16075 _ACEOF
16081 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16082 #include <linux/input.h>
16083 #endif
16085 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16087 cat >>confdefs.h <<_ACEOF
16088 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16089 _ACEOF
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16096 $as_echo_n "checking for sigaddset... " >&6; }
16097 if ${wine_cv_have_sigaddset+:} false; then :
16098 $as_echo_n "(cached) " >&6
16099 else
16100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16101 /* end confdefs.h. */
16102 #include <signal.h>
16104 main ()
16106 sigset_t set; sigaddset(&set,SIGTERM);
16108 return 0;
16110 _ACEOF
16111 if ac_fn_c_try_link "$LINENO"; then :
16112 wine_cv_have_sigaddset=yes
16113 else
16114 wine_cv_have_sigaddset=no
16116 rm -f core conftest.err conftest.$ac_objext \
16117 conftest$ac_exeext conftest.$ac_ext
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16120 $as_echo "$wine_cv_have_sigaddset" >&6; }
16121 if test "$wine_cv_have_sigaddset" = "yes"
16122 then
16124 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16130 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16131 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16132 $as_echo_n "(cached) " >&6
16133 else
16134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16136 #include <netdb.h>
16138 main ()
16141 char *name=0;
16142 struct hostent he;
16143 struct hostent *result;
16144 char *buf=0;
16145 int bufsize=0;
16146 int errnr;
16147 char *addr=0;
16148 int addrlen=0;
16149 int addrtype=0;
16150 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16151 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16154 return 0;
16156 _ACEOF
16157 if ac_fn_c_try_link "$LINENO"; then :
16158 wine_cv_linux_gethostbyname_r_6=yes
16159 else
16160 wine_cv_linux_gethostbyname_r_6=no
16163 rm -f core conftest.err conftest.$ac_objext \
16164 conftest$ac_exeext conftest.$ac_ext
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16168 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16169 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16170 then
16172 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16176 if test "$ac_cv_header_linux_joystick_h" = "yes"
16177 then
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16179 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16180 if ${wine_cv_linux_joystick_22_api+:} false; then :
16181 $as_echo_n "(cached) " >&6
16182 else
16183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16184 /* end confdefs.h. */
16186 #include <sys/ioctl.h>
16187 #include <sys/types.h>
16188 #include <linux/joystick.h>
16190 struct js_event blub;
16191 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16192 #error "no 2.2 header"
16193 #endif
16196 main ()
16198 /*empty*/
16200 return 0;
16202 _ACEOF
16203 if ac_fn_c_try_compile "$LINENO"; then :
16204 wine_cv_linux_joystick_22_api=yes
16205 else
16206 wine_cv_linux_joystick_22_api=no
16208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16212 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16213 if test "$wine_cv_linux_joystick_22_api" = "yes"
16214 then
16216 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16222 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16223 #ifdef HAVE_SYS_PARAM_H
16224 # include <sys/param.h>
16225 #endif
16226 #ifdef HAVE_SYS_MOUNT_H
16227 # include <sys/mount.h>
16228 #endif
16229 #ifdef HAVE_SYS_VFS_H
16230 # include <sys/vfs.h>
16231 #endif
16232 #ifdef HAVE_SYS_STATFS_H
16233 # include <sys/statfs.h>
16234 #endif
16236 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16238 cat >>confdefs.h <<_ACEOF
16239 #define HAVE_STRUCT_STATFS_F_BFREE 1
16240 _ACEOF
16244 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16245 #ifdef HAVE_SYS_PARAM_H
16246 # include <sys/param.h>
16247 #endif
16248 #ifdef HAVE_SYS_MOUNT_H
16249 # include <sys/mount.h>
16250 #endif
16251 #ifdef HAVE_SYS_VFS_H
16252 # include <sys/vfs.h>
16253 #endif
16254 #ifdef HAVE_SYS_STATFS_H
16255 # include <sys/statfs.h>
16256 #endif
16258 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16260 cat >>confdefs.h <<_ACEOF
16261 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16262 _ACEOF
16266 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16267 #ifdef HAVE_SYS_PARAM_H
16268 # include <sys/param.h>
16269 #endif
16270 #ifdef HAVE_SYS_MOUNT_H
16271 # include <sys/mount.h>
16272 #endif
16273 #ifdef HAVE_SYS_VFS_H
16274 # include <sys/vfs.h>
16275 #endif
16276 #ifdef HAVE_SYS_STATFS_H
16277 # include <sys/statfs.h>
16278 #endif
16280 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16284 _ACEOF
16288 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16289 #ifdef HAVE_SYS_PARAM_H
16290 # include <sys/param.h>
16291 #endif
16292 #ifdef HAVE_SYS_MOUNT_H
16293 # include <sys/mount.h>
16294 #endif
16295 #ifdef HAVE_SYS_VFS_H
16296 # include <sys/vfs.h>
16297 #endif
16298 #ifdef HAVE_SYS_STATFS_H
16299 # include <sys/statfs.h>
16300 #endif
16302 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16304 cat >>confdefs.h <<_ACEOF
16305 #define HAVE_STRUCT_STATFS_F_FFREE 1
16306 _ACEOF
16310 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16311 #ifdef HAVE_SYS_PARAM_H
16312 # include <sys/param.h>
16313 #endif
16314 #ifdef HAVE_SYS_MOUNT_H
16315 # include <sys/mount.h>
16316 #endif
16317 #ifdef HAVE_SYS_VFS_H
16318 # include <sys/vfs.h>
16319 #endif
16320 #ifdef HAVE_SYS_STATFS_H
16321 # include <sys/statfs.h>
16322 #endif
16324 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16328 _ACEOF
16332 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16333 #ifdef HAVE_SYS_PARAM_H
16334 # include <sys/param.h>
16335 #endif
16336 #ifdef HAVE_SYS_MOUNT_H
16337 # include <sys/mount.h>
16338 #endif
16339 #ifdef HAVE_SYS_VFS_H
16340 # include <sys/vfs.h>
16341 #endif
16342 #ifdef HAVE_SYS_STATFS_H
16343 # include <sys/statfs.h>
16344 #endif
16346 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16350 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16357 #include <sys/statvfs.h>
16358 #endif
16360 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16364 _ACEOF
16370 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16371 #include <dirent.h>
16372 #endif
16374 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16378 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16385 #ifdef HAVE_SYS_SOCKET_H
16386 # include <sys/socket.h>
16387 #endif
16388 #ifdef HAVE_SYS_UN_H
16389 # include <sys/un.h>
16390 #endif
16392 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16396 _ACEOF
16400 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16401 #ifdef HAVE_SYS_SOCKET_H
16402 # include <sys/socket.h>
16403 #endif
16404 #ifdef HAVE_SYS_UN_H
16405 # include <sys/un.h>
16406 #endif
16408 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16412 _ACEOF
16416 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16417 #ifdef HAVE_SYS_SOCKET_H
16418 # include <sys/socket.h>
16419 #endif
16420 #ifdef HAVE_SYS_UN_H
16421 # include <sys/un.h>
16422 #endif
16424 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16428 _ACEOF
16434 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16435 #ifdef HAVE_SCSI_SG_H
16436 #include <scsi/sg.h>
16437 #endif
16439 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16441 cat >>confdefs.h <<_ACEOF
16442 #define HAVE_SCSIREQ_T_CMD 1
16443 _ACEOF
16447 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>
16448 #ifdef HAVE_SCSI_SG_H
16449 #include <scsi/sg.h>
16450 #endif
16452 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16456 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16464 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_SIGINFO_T_SI_FD 1
16468 _ACEOF
16474 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16475 #ifdef HAVE_SYS_MTIO_H
16476 #include <sys/mtio.h>
16477 #endif
16479 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16481 cat >>confdefs.h <<_ACEOF
16482 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16483 _ACEOF
16487 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16488 #ifdef HAVE_SYS_MTIO_H
16489 #include <sys/mtio.h>
16490 #endif
16492 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16496 _ACEOF
16500 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16501 #ifdef HAVE_SYS_MTIO_H
16502 #include <sys/mtio.h>
16503 #endif
16505 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16509 _ACEOF
16515 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16516 #include <getopt.h>
16517 #endif
16519 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_STRUCT_OPTION_NAME 1
16523 _ACEOF
16529 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16530 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16534 _ACEOF
16538 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16539 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_STRUCT_STAT_ST_MTIM 1
16543 _ACEOF
16547 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16548 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16552 _ACEOF
16556 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16557 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_STRUCT_STAT_ST_CTIM 1
16561 _ACEOF
16565 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16566 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16570 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16575 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16577 cat >>confdefs.h <<_ACEOF
16578 #define HAVE_STRUCT_STAT_ST_ATIM 1
16579 _ACEOF
16583 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16584 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16586 cat >>confdefs.h <<_ACEOF
16587 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16588 _ACEOF
16592 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16593 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16595 cat >>confdefs.h <<_ACEOF
16596 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16597 _ACEOF
16601 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16602 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16606 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16611 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16615 _ACEOF
16619 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16620 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16624 _ACEOF
16628 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16629 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16633 _ACEOF
16639 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
16640 #include <sys/types.h>
16641 #endif
16642 #ifdef HAVE_NETINET_IN_H
16643 #include <netinet/in.h>
16644 #endif
16646 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16650 _ACEOF
16656 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16657 #include <resolv.h>
16658 #endif
16660 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16662 cat >>confdefs.h <<_ACEOF
16663 #define HAVE_STRUCT___RES_STATE 1
16664 _ACEOF
16670 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
16671 #include <resolv.h>
16672 #endif
16674 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16678 _ACEOF
16684 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16685 #include <sys/types.h>
16686 #endif
16687 #ifdef HAVE_NETINET_IN_H
16688 # include <netinet/in.h>
16689 #endif
16690 #ifdef HAVE_ARPA_NAMESER_H
16691 # include <arpa/nameser.h>
16692 #endif
16694 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_NS_MSG__MSG_PTR 1
16698 _ACEOF
16704 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16705 #include <sys/types.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IP_H
16708 #include <netinet/ip.h>
16709 #endif
16710 #ifdef HAVE_NETINET_IP_ICMP_H
16711 #include <netinet/ip_icmp.h>
16712 #endif
16713 #ifdef HAVE_NETINET_ICMP_VAR_H
16714 #include <netinet/icmp_var.h>
16715 #endif
16717 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16721 _ACEOF
16727 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16729 #endif
16730 #ifdef HAVE_ALIAS_H
16731 #include <alias.h>
16732 #endif
16733 #ifdef HAVE_SYS_SOCKET_H
16734 #include <sys/socket.h>
16735 #endif
16736 #ifdef HAVE_SYS_SOCKETVAR_H
16737 #include <sys/socketvar.h>
16738 #endif
16739 #ifdef HAVE_SYS_TIMEOUT_H
16740 #include <sys/timeout.h>
16741 #endif
16742 #ifdef HAVE_NETINET_IN_H
16743 #include <netinet/in.h>
16744 #endif
16745 #ifdef HAVE_NETINET_IN_SYSTM_H
16746 #include <netinet/in_systm.h>
16747 #endif
16748 #ifdef HAVE_NETINET_IP_H
16749 #include <netinet/ip.h>
16750 #endif
16751 #ifdef HAVE_NETINET_IP_VAR_H
16752 #include <netinet/ip_var.h>
16753 #endif
16754 #ifdef HAVE_NETINET_IP_ICMP_H
16755 #include <netinet/ip_icmp.h>
16756 #endif
16757 #ifdef HAVE_NETINET_ICMP_VAR_H
16758 #include <netinet/icmp_var.h>
16759 #endif
16761 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16763 cat >>confdefs.h <<_ACEOF
16764 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16765 _ACEOF
16771 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16772 #include <sys/types.h>
16773 #endif
16774 #ifdef HAVE_SYS_SOCKETVAR_H
16775 #include <sys/socketvar.h>
16776 #endif
16777 #ifdef HAVE_NETINET_IN_H
16778 #include <netinet/in.h>
16779 #endif
16780 #ifdef HAVE_NETINET_IP_VAR_H
16781 #include <netinet/ip_var.h>
16782 #endif
16784 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16788 _ACEOF
16794 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
16795 #include <netinet/ip_var.h>
16796 #endif
16798 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16800 cat >>confdefs.h <<_ACEOF
16801 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16802 _ACEOF
16808 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16809 #include <sys/types.h>
16810 #endif
16811 #ifdef HAVE_SYS_SOCKETVAR_H
16812 #include <sys/socketvar.h>
16813 #endif
16814 #ifdef HAVE_NETINET_IN_H
16815 #include <netinet/in.h>
16816 #endif
16817 #ifdef HAVE_NETINET_TCP_H
16818 #include <netinet/tcp.h>
16819 #endif
16820 #ifdef HAVE_NETINET_TCP_VAR_H
16821 #include <netinet/tcp_var.h>
16822 #endif
16824 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16826 cat >>confdefs.h <<_ACEOF
16827 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16828 _ACEOF
16834 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
16835 #include <netinet/tcp_var.h>
16836 #endif
16838 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16840 cat >>confdefs.h <<_ACEOF
16841 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16842 _ACEOF
16848 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16849 #include <sys/types.h>
16850 #endif
16851 #ifdef HAVE_NETINET_IN_H
16852 #include <netinet/in.h>
16853 #endif
16854 #ifdef HAVE_NETINET_IP_VAR_H
16855 #include <netinet/ip_var.h>
16856 #endif
16857 #ifdef HAVE_NETINET_UDP_H
16858 #include <netinet/udp.h>
16859 #endif
16860 #ifdef HAVE_NETINET_UDP_VAR_H
16861 #include <netinet/udp_var.h>
16862 #endif
16864 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16866 cat >>confdefs.h <<_ACEOF
16867 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16868 _ACEOF
16874 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16875 #include <sys/types.h>
16876 #endif
16877 #ifdef HAVE_NET_IF_H
16878 # include <net/if.h>
16879 #endif
16881 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16885 _ACEOF
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16892 $as_echo_n "checking for timezone variable... " >&6; }
16893 if ${ac_cv_have_timezone+:} false; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16898 #include <time.h>
16900 main ()
16902 timezone = 1
16904 return 0;
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_have_timezone="yes"
16909 else
16910 ac_cv_have_timezone="no"
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16916 $as_echo "$ac_cv_have_timezone" >&6; }
16917 if test "$ac_cv_have_timezone" = "yes"
16918 then
16920 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16924 $as_echo_n "checking for daylight variable... " >&6; }
16925 if ${ac_cv_have_daylight+:} false; then :
16926 $as_echo_n "(cached) " >&6
16927 else
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 #include <time.h>
16932 main ()
16934 daylight = 1
16936 return 0;
16938 _ACEOF
16939 if ac_fn_c_try_link "$LINENO"; then :
16940 ac_cv_have_daylight="yes"
16941 else
16942 ac_cv_have_daylight="no"
16944 rm -f core conftest.err conftest.$ac_objext \
16945 conftest$ac_exeext conftest.$ac_ext
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16948 $as_echo "$ac_cv_have_daylight" >&6; }
16949 if test "$ac_cv_have_daylight" = "yes"
16950 then
16952 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16956 ac_save_LIBS="$LIBS"
16957 LIBS="$LIBS -lm"
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16959 $as_echo_n "checking for isfinite... " >&6; }
16960 if ${ac_cv_have_isfinite+:} false; then :
16961 $as_echo_n "(cached) " >&6
16962 else
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16965 #define _GNU_SOURCE
16966 #include <math.h>
16968 main ()
16970 float f = 0.0; return isfinite(f)
16972 return 0;
16974 _ACEOF
16975 if ac_fn_c_try_link "$LINENO"; then :
16976 ac_cv_have_isfinite="yes"
16977 else
16978 ac_cv_have_isfinite="no"
16980 rm -f core conftest.err conftest.$ac_objext \
16981 conftest$ac_exeext conftest.$ac_ext
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16984 $as_echo "$ac_cv_have_isfinite" >&6; }
16985 if test "$ac_cv_have_isfinite" = "yes"
16986 then
16988 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16993 $as_echo_n "checking for isinf... " >&6; }
16994 if ${ac_cv_have_isinf+:} false; then :
16995 $as_echo_n "(cached) " >&6
16996 else
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h. */
16999 #include <math.h>
17001 main ()
17003 float f = 0.0; return isinf(f)
17005 return 0;
17007 _ACEOF
17008 if ac_fn_c_try_link "$LINENO"; then :
17009 ac_cv_have_isinf="yes"
17010 else
17011 ac_cv_have_isinf="no"
17013 rm -f core conftest.err conftest.$ac_objext \
17014 conftest$ac_exeext conftest.$ac_ext
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17017 $as_echo "$ac_cv_have_isinf" >&6; }
17018 if test "$ac_cv_have_isinf" = "yes"
17019 then
17021 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17026 $as_echo_n "checking for isnan... " >&6; }
17027 if ${ac_cv_have_isnan+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 #include <math.h>
17034 main ()
17036 float f = 0.0; return isnan(f)
17038 return 0;
17040 _ACEOF
17041 if ac_fn_c_try_link "$LINENO"; then :
17042 ac_cv_have_isnan="yes"
17043 else
17044 ac_cv_have_isnan="no"
17046 rm -f core conftest.err conftest.$ac_objext \
17047 conftest$ac_exeext conftest.$ac_ext
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17050 $as_echo "$ac_cv_have_isnan" >&6; }
17051 if test "$ac_cv_have_isnan" = "yes"
17052 then
17054 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17058 for ac_func in \
17059 asinh \
17060 asinhf \
17061 cbrt \
17062 cbrtf \
17063 erf \
17064 erff \
17065 exp2 \
17066 exp2f \
17067 lgamma \
17068 lgammaf \
17069 llrint \
17070 llrintf \
17071 llround \
17072 llroundf \
17073 log2 \
17074 log2f \
17075 lrint \
17076 lrintf \
17077 lround \
17078 lroundf \
17079 powl \
17080 remainder \
17081 remainderf \
17082 rint \
17083 rintf \
17084 round \
17085 roundf \
17086 trunc \
17087 truncf
17089 do :
17090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17092 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17093 cat >>confdefs.h <<_ACEOF
17094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17095 _ACEOF
17098 done
17100 LIBS="$ac_save_LIBS"
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17103 $as_echo_n "checking for __builtin_clz... " >&6; }
17104 if ${ac_cv_have___builtin_clz+:} false; then :
17105 $as_echo_n "(cached) " >&6
17106 else
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17111 main ()
17113 return __builtin_clz(1)
17115 return 0;
17117 _ACEOF
17118 if ac_fn_c_try_link "$LINENO"; then :
17119 ac_cv_have___builtin_clz="yes"
17120 else
17121 ac_cv_have___builtin_clz="no"
17123 rm -f core conftest.err conftest.$ac_objext \
17124 conftest$ac_exeext conftest.$ac_ext
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17127 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17128 if test "$ac_cv_have___builtin_clz" = "yes"
17129 then
17131 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17136 $as_echo_n "checking for __builtin_popcount... " >&6; }
17137 if ${ac_cv_have___builtin_popcount+:} false; then :
17138 $as_echo_n "(cached) " >&6
17139 else
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17144 main ()
17146 return __builtin_popcount(1)
17148 return 0;
17150 _ACEOF
17151 if ac_fn_c_try_link "$LINENO"; then :
17152 ac_cv_have___builtin_popcount="yes"
17153 else
17154 ac_cv_have___builtin_popcount="no"
17156 rm -f core conftest.err conftest.$ac_objext \
17157 conftest$ac_exeext conftest.$ac_ext
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17160 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17161 if test "$ac_cv_have___builtin_popcount" = "yes"
17162 then
17164 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17169 case $host_cpu in
17170 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17171 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17172 if ${ac_cv_cpp_def___i386__+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17177 #ifndef __i386__
17179 #endif
17180 _ACEOF
17181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17182 $EGREP "yes" >/dev/null 2>&1; then :
17183 ac_cv_cpp_def___i386__=yes
17184 else
17185 ac_cv_cpp_def___i386__=no
17187 rm -f conftest*
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17191 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17192 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17193 CFLAGS="$CFLAGS -D__i386__"
17194 LINTFLAGS="$LINTFLAGS -D__i386__"
17195 fi ;;
17196 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17197 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17198 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 #ifndef __x86_64__
17205 #endif
17206 _ACEOF
17207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17208 $EGREP "yes" >/dev/null 2>&1; then :
17209 ac_cv_cpp_def___x86_64__=yes
17210 else
17211 ac_cv_cpp_def___x86_64__=no
17213 rm -f conftest*
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17217 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17218 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17219 CFLAGS="$CFLAGS -D__x86_64__"
17220 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17221 fi ;;
17222 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17223 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17224 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17225 $as_echo_n "(cached) " >&6
17226 else
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 #ifndef __sparc64__
17231 #endif
17232 _ACEOF
17233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17234 $EGREP "yes" >/dev/null 2>&1; then :
17235 ac_cv_cpp_def___sparc64__=yes
17236 else
17237 ac_cv_cpp_def___sparc64__=no
17239 rm -f conftest*
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17243 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17244 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17245 CFLAGS="$CFLAGS -D__sparc64__"
17246 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17247 fi ;;
17248 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17249 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17250 if ${ac_cv_cpp_def___sparc__+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #ifndef __sparc__
17257 #endif
17258 _ACEOF
17259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17260 $EGREP "yes" >/dev/null 2>&1; then :
17261 ac_cv_cpp_def___sparc__=yes
17262 else
17263 ac_cv_cpp_def___sparc__=no
17265 rm -f conftest*
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17269 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17270 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17271 CFLAGS="$CFLAGS -D__sparc__"
17272 LINTFLAGS="$LINTFLAGS -D__sparc__"
17273 fi ;;
17274 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17275 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17276 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #ifndef __powerpc64__
17283 #endif
17284 _ACEOF
17285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17286 $EGREP "yes" >/dev/null 2>&1; then :
17287 ac_cv_cpp_def___powerpc64__=yes
17288 else
17289 ac_cv_cpp_def___powerpc64__=no
17291 rm -f conftest*
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17295 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17296 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17297 CFLAGS="$CFLAGS -D__powerpc64__"
17298 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17299 fi ;;
17300 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17301 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17302 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #ifndef __powerpc__
17309 #endif
17310 _ACEOF
17311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17312 $EGREP "yes" >/dev/null 2>&1; then :
17313 ac_cv_cpp_def___powerpc__=yes
17314 else
17315 ac_cv_cpp_def___powerpc__=no
17317 rm -f conftest*
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17321 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17322 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17323 CFLAGS="$CFLAGS -D__powerpc__"
17324 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17325 fi ;;
17326 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17327 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17328 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #ifndef __aarch64__
17335 #endif
17336 _ACEOF
17337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17338 $EGREP "yes" >/dev/null 2>&1; then :
17339 ac_cv_cpp_def___aarch64__=yes
17340 else
17341 ac_cv_cpp_def___aarch64__=no
17343 rm -f conftest*
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17347 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17348 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17349 CFLAGS="$CFLAGS -D__aarch64__"
17350 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17351 fi ;;
17352 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17353 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17354 if ${ac_cv_cpp_def___arm__+:} false; then :
17355 $as_echo_n "(cached) " >&6
17356 else
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 #ifndef __arm__
17361 #endif
17362 _ACEOF
17363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17364 $EGREP "yes" >/dev/null 2>&1; then :
17365 ac_cv_cpp_def___arm__=yes
17366 else
17367 ac_cv_cpp_def___arm__=no
17369 rm -f conftest*
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17373 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17374 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17375 CFLAGS="$CFLAGS -D__arm__"
17376 LINTFLAGS="$LINTFLAGS -D__arm__"
17377 fi ;;
17378 esac
17380 case $host_vendor in
17381 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17382 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17383 if ${ac_cv_cpp_def___sun__+:} false; then :
17384 $as_echo_n "(cached) " >&6
17385 else
17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17387 /* end confdefs.h. */
17388 #ifndef __sun__
17390 #endif
17391 _ACEOF
17392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17393 $EGREP "yes" >/dev/null 2>&1; then :
17394 ac_cv_cpp_def___sun__=yes
17395 else
17396 ac_cv_cpp_def___sun__=no
17398 rm -f conftest*
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17402 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17403 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17404 CFLAGS="$CFLAGS -D__sun__"
17405 LINTFLAGS="$LINTFLAGS -D__sun__"
17406 fi ;;
17407 esac
17413 ac_config_commands="$ac_config_commands include/stamp-h"
17415 $as_echo_n "creating Makefile rules..." >&6
17417 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17418 SOCKET_LIBS = $SOCKET_LIBS
17419 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17420 IOKIT_LIBS = $IOKIT_LIBS
17421 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17422 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17423 CORESERVICES_LIBS = $CORESERVICES_LIBS
17424 APPKIT_LIBS = $APPKIT_LIBS
17425 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17426 SECURITY_LIBS = $SECURITY_LIBS
17427 COREAUDIO_LIBS = $COREAUDIO_LIBS
17428 OPENAL_LIBS = $OPENAL_LIBS
17429 OPENCL_LIBS = $OPENCL_LIBS
17430 QUICKTIME_LIBS = $QUICKTIME_LIBS
17431 CARBON_LIBS = $CARBON_LIBS
17432 PTHREAD_LIBS = $PTHREAD_LIBS
17433 X_CFLAGS = $X_CFLAGS
17434 X_PRE_LIBS = $X_PRE_LIBS
17435 X_LIBS = $X_LIBS
17436 X_EXTRA_LIBS = $X_EXTRA_LIBS
17437 PCAP_LIBS = $PCAP_LIBS
17438 XML2_CFLAGS = $XML2_CFLAGS
17439 XML2_LIBS = $XML2_LIBS
17440 XSLT_CFLAGS = $XSLT_CFLAGS
17441 XSLT_LIBS = $XSLT_LIBS
17442 DBUS_CFLAGS = $DBUS_CFLAGS
17443 DBUS_LIBS = $DBUS_LIBS
17444 HAL_CFLAGS = $HAL_CFLAGS
17445 HAL_LIBS = $HAL_LIBS
17446 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17447 GNUTLS_LIBS = $GNUTLS_LIBS
17448 SANE_CFLAGS = $SANE_CFLAGS
17449 SANE_LIBS = $SANE_LIBS
17450 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17451 GPHOTO2_LIBS = $GPHOTO2_LIBS
17452 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17453 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17454 RESOLV_LIBS = $RESOLV_LIBS
17455 LCMS2_CFLAGS = $LCMS2_CFLAGS
17456 LCMS2_LIBS = $LCMS2_LIBS
17457 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17458 FREETYPE_LIBS = $FREETYPE_LIBS
17459 Z_LIBS = $Z_LIBS
17460 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17461 PULSE_CFLAGS = $PULSE_CFLAGS
17462 PULSE_LIBS = $PULSE_LIBS
17463 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17464 GSTREAMER_LIBS = $GSTREAMER_LIBS
17465 ALSA_LIBS = $ALSA_LIBS
17466 OSS4_CFLAGS = $OSS4_CFLAGS
17467 UDEV_CFLAGS = $UDEV_CFLAGS
17468 UDEV_LIBS = $UDEV_LIBS
17469 CAPI20_CFLAGS = $CAPI20_CFLAGS
17470 CAPI20_LIBS = $CAPI20_LIBS
17471 CUPS_CFLAGS = $CUPS_CFLAGS
17472 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17473 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17474 JPEG_CFLAGS = $JPEG_CFLAGS
17475 JPEG_LIBS = $JPEG_LIBS
17476 PNG_CFLAGS = $PNG_CFLAGS
17477 PNG_LIBS = $PNG_LIBS
17478 TIFF_CFLAGS = $TIFF_CFLAGS
17479 TIFF_LIBS = $TIFF_LIBS
17480 MPG123_CFLAGS = $MPG123_CFLAGS
17481 MPG123_LIBS = $MPG123_LIBS
17482 KSTAT_LIBS = $KSTAT_LIBS
17483 PROCSTAT_LIBS = $PROCSTAT_LIBS
17484 NETAPI_CFLAGS = $NETAPI_CFLAGS
17485 NETAPI_LIBS = $NETAPI_LIBS
17486 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17487 DL_LIBS = $DL_LIBS
17488 POLL_LIBS = $POLL_LIBS
17489 RT_LIBS = $RT_LIBS
17490 LDAP_LIBS = $LDAP_LIBS
17495 wine_fn_append_rule "
17496 # Rules automatically generated by configure
17498 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17500 .INIT: Makefile
17501 .MAKEFILEDEPS:
17502 all: Makefile
17503 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17504 @./config.status Make.tmp Makefile
17505 depend: \$(MAKEDEP) dummy
17506 \$(MAKEDEP)"
17508 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17509 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17511 if test "x$enable_fonts" != xno; then
17512 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17513 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17514 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17515 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17516 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17517 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17519 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17520 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17521 ac_config_links="$ac_config_links wine:tools/winewrapper"
17522 wine_fn_config_symlink wine
17523 if test "x$enable_win64" != xno; then
17524 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17525 wine_fn_config_symlink wine64
17528 wine_fn_config_dll acledit enable_acledit
17529 wine_fn_config_dll aclui enable_aclui implib
17530 wine_fn_config_dll activeds enable_activeds implib
17531 wine_fn_config_dll actxprxy enable_actxprxy clean
17532 wine_fn_config_lib adsiid
17533 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17534 wine_fn_config_test dlls/advapi32/tests advapi32_test
17535 wine_fn_config_dll advpack enable_advpack implib
17536 wine_fn_config_test dlls/advpack/tests advpack_test
17537 wine_fn_config_dll amstream enable_amstream clean
17538 wine_fn_config_test dlls/amstream/tests amstream_test
17539 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17540 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17541 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17542 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17543 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17544 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17545 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17546 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17547 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17548 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17549 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17550 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17551 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17552 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17553 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17555 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17556 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17557 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17558 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17559 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17560 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17561 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17563 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17564 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17566 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17567 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17569 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17571 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17574 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17575 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17577 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17578 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17580 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17584 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17587 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17591 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17593 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17596 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17602 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17607 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17610 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17611 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17613 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17614 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17616 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17624 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17625 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17630 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17631 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17632 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17633 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17634 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17635 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17636 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17637 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17638 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17639 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17640 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17641 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17642 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17643 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17644 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17645 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17646 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17647 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17648 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17649 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17650 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17651 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17652 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17653 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17654 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17655 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17656 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17657 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17658 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17659 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17660 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17661 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17662 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17663 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17664 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17665 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17666 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17667 wine_fn_config_dll apphelp enable_apphelp
17668 wine_fn_config_test dlls/apphelp/tests apphelp_test
17669 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17670 wine_fn_config_dll atl enable_atl clean,implib
17671 wine_fn_config_test dlls/atl/tests atl_test
17672 wine_fn_config_dll atl100 enable_atl100 clean,implib
17673 wine_fn_config_test dlls/atl100/tests atl100_test
17674 wine_fn_config_dll atl110 enable_atl110 clean
17675 wine_fn_config_dll atl80 enable_atl80 clean,implib
17676 wine_fn_config_test dlls/atl80/tests atl80_test
17677 wine_fn_config_dll atl90 enable_atl90 clean
17678 wine_fn_config_dll authz enable_authz
17679 wine_fn_config_dll avicap32 enable_avicap32 implib
17680 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17681 wine_fn_config_test dlls/avifil32/tests avifil32_test
17682 wine_fn_config_dll avifile.dll16 enable_win16
17683 wine_fn_config_dll avrt enable_avrt implib
17684 wine_fn_config_dll bcrypt enable_bcrypt implib
17685 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17686 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17687 wine_fn_config_dll browseui enable_browseui clean
17688 wine_fn_config_test dlls/browseui/tests browseui_test
17689 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17690 wine_fn_config_dll cabinet enable_cabinet implib
17691 wine_fn_config_test dlls/cabinet/tests cabinet_test
17692 wine_fn_config_dll capi2032 enable_capi2032 implib
17693 wine_fn_config_dll cards enable_cards implib
17694 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17695 wine_fn_config_dll clusapi enable_clusapi implib
17696 wine_fn_config_dll combase enable_combase
17697 wine_fn_config_test dlls/combase/tests combase_test
17698 wine_fn_config_dll comcat enable_comcat
17699 wine_fn_config_test dlls/comcat/tests comcat_test
17700 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17701 wine_fn_config_test dlls/comctl32/tests comctl32_test
17702 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17703 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17704 wine_fn_config_dll comm.drv16 enable_win16
17705 wine_fn_config_dll commdlg.dll16 enable_win16
17706 wine_fn_config_dll compobj.dll16 enable_win16
17707 wine_fn_config_dll compstui enable_compstui implib
17708 wine_fn_config_dll comsvcs enable_comsvcs implib
17709 wine_fn_config_dll concrt140 enable_concrt140
17710 wine_fn_config_dll connect enable_connect
17711 wine_fn_config_dll credui enable_credui clean,implib
17712 wine_fn_config_test dlls/credui/tests credui_test
17713 wine_fn_config_dll crtdll enable_crtdll
17714 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17715 wine_fn_config_test dlls/crypt32/tests crypt32_test
17716 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17717 wine_fn_config_dll cryptdll enable_cryptdll implib
17718 wine_fn_config_dll cryptext enable_cryptext
17719 wine_fn_config_dll cryptnet enable_cryptnet implib
17720 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17721 wine_fn_config_dll cryptui enable_cryptui clean,implib
17722 wine_fn_config_test dlls/cryptui/tests cryptui_test
17723 wine_fn_config_dll ctapi32 enable_ctapi32
17724 wine_fn_config_dll ctl3d.dll16 enable_win16
17725 wine_fn_config_dll ctl3d32 enable_ctl3d32
17726 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17727 wine_fn_config_dll d2d1 enable_d2d1 implib
17728 wine_fn_config_test dlls/d2d1/tests d2d1_test
17729 wine_fn_config_dll d3d10 enable_d3d10 implib
17730 wine_fn_config_test dlls/d3d10/tests d3d10_test
17731 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17732 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17733 wine_fn_config_dll d3d10core enable_d3d10core implib
17734 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17735 wine_fn_config_dll d3d11 enable_d3d11 implib
17736 wine_fn_config_test dlls/d3d11/tests d3d11_test
17737 wine_fn_config_dll d3d8 enable_d3d8 implib
17738 wine_fn_config_test dlls/d3d8/tests d3d8_test
17739 wine_fn_config_dll d3d9 enable_d3d9 implib
17740 wine_fn_config_test dlls/d3d9/tests d3d9_test
17741 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17742 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17743 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17744 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17745 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17746 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17747 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17748 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17749 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17750 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17751 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17752 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17753 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17754 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17755 wine_fn_config_dll d3dim enable_d3dim
17756 wine_fn_config_dll d3drm enable_d3drm implib
17757 wine_fn_config_test dlls/d3drm/tests d3drm_test
17758 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17759 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17760 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17761 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17762 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17763 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17764 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17765 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17766 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17767 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17768 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17769 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17770 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17771 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17772 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17773 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17774 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17775 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17776 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17777 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17778 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17779 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17780 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17781 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17782 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17783 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17784 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17785 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17786 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17787 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17788 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17789 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17790 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17791 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17792 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17793 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17794 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17795 wine_fn_config_dll davclnt enable_davclnt
17796 wine_fn_config_dll dbgeng enable_dbgeng implib
17797 wine_fn_config_dll dbghelp enable_dbghelp implib
17798 wine_fn_config_dll dciman32 enable_dciman32 implib
17799 wine_fn_config_dll ddeml.dll16 enable_win16
17800 wine_fn_config_dll ddraw enable_ddraw clean,implib
17801 wine_fn_config_test dlls/ddraw/tests ddraw_test
17802 wine_fn_config_dll ddrawex enable_ddrawex clean
17803 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17804 wine_fn_config_dll devenum enable_devenum clean
17805 wine_fn_config_test dlls/devenum/tests devenum_test
17806 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17807 wine_fn_config_dll difxapi enable_difxapi
17808 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17809 wine_fn_config_test dlls/dinput/tests dinput_test
17810 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17811 wine_fn_config_test dlls/dinput8/tests dinput8_test
17812 wine_fn_config_dll dispdib.dll16 enable_win16
17813 wine_fn_config_dll dispex enable_dispex clean
17814 wine_fn_config_test dlls/dispex/tests dispex_test
17815 wine_fn_config_dll display.drv16 enable_win16
17816 wine_fn_config_dll dmband enable_dmband clean
17817 wine_fn_config_test dlls/dmband/tests dmband_test
17818 wine_fn_config_dll dmcompos enable_dmcompos clean
17819 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17820 wine_fn_config_dll dmime enable_dmime clean
17821 wine_fn_config_test dlls/dmime/tests dmime_test
17822 wine_fn_config_dll dmloader enable_dmloader clean
17823 wine_fn_config_test dlls/dmloader/tests dmloader_test
17824 wine_fn_config_dll dmscript enable_dmscript clean
17825 wine_fn_config_test dlls/dmscript/tests dmscript_test
17826 wine_fn_config_dll dmstyle enable_dmstyle clean
17827 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17828 wine_fn_config_dll dmsynth enable_dmsynth clean
17829 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17830 wine_fn_config_dll dmusic enable_dmusic clean
17831 wine_fn_config_test dlls/dmusic/tests dmusic_test
17832 wine_fn_config_dll dmusic32 enable_dmusic32
17833 wine_fn_config_dll dnsapi enable_dnsapi implib
17834 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17835 wine_fn_config_dll dplay enable_dplay
17836 wine_fn_config_dll dplayx enable_dplayx clean,implib
17837 wine_fn_config_test dlls/dplayx/tests dplayx_test
17838 wine_fn_config_dll dpnaddr enable_dpnaddr
17839 wine_fn_config_dll dpnet enable_dpnet clean,implib
17840 wine_fn_config_test dlls/dpnet/tests dpnet_test
17841 wine_fn_config_dll dpnhpast enable_dpnhpast
17842 wine_fn_config_dll dpnlobby enable_dpnlobby
17843 wine_fn_config_dll dpvoice enable_dpvoice clean
17844 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17845 wine_fn_config_dll dpwsockx enable_dpwsockx
17846 wine_fn_config_dll drmclien enable_drmclien
17847 wine_fn_config_dll dsound enable_dsound clean,implib
17848 wine_fn_config_test dlls/dsound/tests dsound_test
17849 wine_fn_config_dll dssenh enable_dssenh
17850 wine_fn_config_test dlls/dssenh/tests dssenh_test
17851 wine_fn_config_dll dswave enable_dswave clean
17852 wine_fn_config_test dlls/dswave/tests dswave_test
17853 wine_fn_config_dll dwmapi enable_dwmapi implib
17854 wine_fn_config_dll dwrite enable_dwrite implib
17855 wine_fn_config_test dlls/dwrite/tests dwrite_test
17856 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17857 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17858 wine_fn_config_lib dxerr8
17859 wine_fn_config_lib dxerr9
17860 wine_fn_config_dll dxgi enable_dxgi implib
17861 wine_fn_config_test dlls/dxgi/tests dxgi_test
17862 wine_fn_config_lib dxguid
17863 wine_fn_config_dll dxva2 enable_dxva2
17864 wine_fn_config_dll esent enable_esent
17865 wine_fn_config_dll evr enable_evr
17866 wine_fn_config_dll explorerframe enable_explorerframe clean
17867 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17868 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17869 wine_fn_config_dll faultrep enable_faultrep implib
17870 wine_fn_config_test dlls/faultrep/tests faultrep_test
17871 wine_fn_config_dll fltlib enable_fltlib
17872 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17873 wine_fn_config_dll fntcache enable_fntcache
17874 wine_fn_config_dll fontsub enable_fontsub
17875 wine_fn_config_dll fusion enable_fusion
17876 wine_fn_config_test dlls/fusion/tests fusion_test
17877 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17878 wine_fn_config_dll gameux enable_gameux clean
17879 wine_fn_config_test dlls/gameux/tests gameux_test
17880 wine_fn_config_dll gdi.exe16 enable_win16
17881 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17882 wine_fn_config_test dlls/gdi32/tests gdi32_test
17883 wine_fn_config_dll gdiplus enable_gdiplus implib
17884 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17885 wine_fn_config_dll glu32 enable_glu32 implib
17886 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17887 wine_fn_config_dll gpkcsp enable_gpkcsp
17888 wine_fn_config_dll hal enable_hal
17889 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17890 wine_fn_config_dll hid enable_hid implib
17891 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17892 wine_fn_config_dll hlink enable_hlink clean,implib
17893 wine_fn_config_test dlls/hlink/tests hlink_test
17894 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17895 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17896 wine_fn_config_dll httpapi enable_httpapi
17897 wine_fn_config_dll iccvid enable_iccvid clean
17898 wine_fn_config_dll icmp enable_icmp
17899 wine_fn_config_dll ieframe enable_ieframe clean,implib
17900 wine_fn_config_test dlls/ieframe/tests ieframe_test
17901 wine_fn_config_dll ifsmgr.vxd enable_win16
17902 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17903 wine_fn_config_dll imagehlp enable_imagehlp implib
17904 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17905 wine_fn_config_dll imm.dll16 enable_win16
17906 wine_fn_config_dll imm32 enable_imm32 implib
17907 wine_fn_config_test dlls/imm32/tests imm32_test
17908 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17909 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17910 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17911 wine_fn_config_dll inetmib1 enable_inetmib1
17912 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17913 wine_fn_config_dll infosoft enable_infosoft clean
17914 wine_fn_config_test dlls/infosoft/tests infosoft_test
17915 wine_fn_config_dll initpki enable_initpki
17916 wine_fn_config_dll inkobj enable_inkobj
17917 wine_fn_config_dll inseng enable_inseng clean
17918 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17919 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17920 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17921 wine_fn_config_dll itircl enable_itircl
17922 wine_fn_config_dll itss enable_itss clean
17923 wine_fn_config_test dlls/itss/tests itss_test
17924 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17925 wine_fn_config_dll jscript enable_jscript clean
17926 wine_fn_config_test dlls/jscript/tests jscript_test
17927 wine_fn_config_dll jsproxy enable_jsproxy implib
17928 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17929 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17930 wine_fn_config_test dlls/kernel32/tests kernel32_test
17931 wine_fn_config_dll kernelbase enable_kernelbase
17932 wine_fn_config_dll keyboard.drv16 enable_win16
17933 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17934 wine_fn_config_dll ksuser enable_ksuser
17935 wine_fn_config_dll ktmw32 enable_ktmw32
17936 wine_fn_config_dll loadperf enable_loadperf implib
17937 wine_fn_config_dll localspl enable_localspl clean
17938 wine_fn_config_test dlls/localspl/tests localspl_test
17939 wine_fn_config_dll localui enable_localui clean
17940 wine_fn_config_test dlls/localui/tests localui_test
17941 wine_fn_config_dll lz32 enable_lz32 implib
17942 wine_fn_config_test dlls/lz32/tests lz32_test
17943 wine_fn_config_dll lzexpand.dll16 enable_win16
17944 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17945 wine_fn_config_test dlls/mapi32/tests mapi32_test
17946 wine_fn_config_dll mapistub enable_mapistub
17947 wine_fn_config_dll mciavi32 enable_mciavi32
17948 wine_fn_config_dll mcicda enable_mcicda
17949 wine_fn_config_dll mciqtz32 enable_mciqtz32
17950 wine_fn_config_dll mciseq enable_mciseq
17951 wine_fn_config_dll mciwave enable_mciwave
17952 wine_fn_config_dll mf enable_mf
17953 wine_fn_config_dll mfplat enable_mfplat
17954 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17955 wine_fn_config_dll mgmtapi enable_mgmtapi
17956 wine_fn_config_dll midimap enable_midimap
17957 wine_fn_config_dll mlang enable_mlang clean,implib
17958 wine_fn_config_test dlls/mlang/tests mlang_test
17959 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17960 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17961 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17962 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17963 wine_fn_config_dll mmdevldr.vxd enable_win16
17964 wine_fn_config_dll mmsystem.dll16 enable_win16
17965 wine_fn_config_dll monodebg.vxd enable_win16
17966 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17967 wine_fn_config_dll mouse.drv16 enable_win16
17968 wine_fn_config_dll mpr enable_mpr clean,implib
17969 wine_fn_config_test dlls/mpr/tests mpr_test
17970 wine_fn_config_dll mprapi enable_mprapi implib
17971 wine_fn_config_dll msacm.dll16 enable_win16
17972 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17973 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17974 wine_fn_config_test dlls/msacm32/tests msacm32_test
17975 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17976 wine_fn_config_dll msasn1 enable_msasn1 implib
17977 wine_fn_config_dll mscat32 enable_mscat32
17978 wine_fn_config_dll mscms enable_mscms implib
17979 wine_fn_config_test dlls/mscms/tests mscms_test
17980 wine_fn_config_dll mscoree enable_mscoree clean
17981 wine_fn_config_test dlls/mscoree/tests mscoree_test
17982 wine_fn_config_dll msctf enable_msctf clean
17983 wine_fn_config_test dlls/msctf/tests msctf_test
17984 wine_fn_config_dll msctfp enable_msctfp clean
17985 wine_fn_config_dll msdaps enable_msdaps clean
17986 wine_fn_config_dll msdelta enable_msdelta
17987 wine_fn_config_dll msdmo enable_msdmo implib
17988 wine_fn_config_test dlls/msdmo/tests msdmo_test
17989 wine_fn_config_dll msdrm enable_msdrm
17990 wine_fn_config_dll msftedit enable_msftedit
17991 wine_fn_config_dll msg711.acm enable_msg711_acm
17992 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17993 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17994 wine_fn_config_dll mshtml enable_mshtml clean,implib
17995 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17996 wine_fn_config_dll msi enable_msi clean,implib
17997 wine_fn_config_test dlls/msi/tests msi_test
17998 wine_fn_config_dll msident enable_msident clean
17999 wine_fn_config_dll msimg32 enable_msimg32 implib
18000 wine_fn_config_dll msimsg enable_msimsg
18001 wine_fn_config_dll msimtf enable_msimtf clean
18002 wine_fn_config_dll msisip enable_msisip
18003 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18004 wine_fn_config_dll msls31 enable_msls31
18005 wine_fn_config_dll msnet32 enable_msnet32
18006 wine_fn_config_dll mspatcha enable_mspatcha implib
18007 wine_fn_config_dll msports enable_msports
18008 wine_fn_config_dll msrle32 enable_msrle32 clean
18009 wine_fn_config_test dlls/msrle32/tests msrle32_test
18010 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18011 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18012 wine_fn_config_dll mssign32 enable_mssign32
18013 wine_fn_config_dll mssip32 enable_mssip32
18014 wine_fn_config_dll mstask enable_mstask clean
18015 wine_fn_config_test dlls/mstask/tests mstask_test
18016 wine_fn_config_dll msvcirt enable_msvcirt
18017 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18018 wine_fn_config_dll msvcm80 enable_msvcm80
18019 wine_fn_config_dll msvcm90 enable_msvcm90
18020 wine_fn_config_dll msvcp100 enable_msvcp100
18021 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18022 wine_fn_config_dll msvcp110 enable_msvcp110
18023 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18024 wine_fn_config_dll msvcp120 enable_msvcp120
18025 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18026 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18027 wine_fn_config_dll msvcp140 enable_msvcp140
18028 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18029 wine_fn_config_dll msvcp60 enable_msvcp60
18030 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18031 wine_fn_config_dll msvcp70 enable_msvcp70
18032 wine_fn_config_dll msvcp71 enable_msvcp71
18033 wine_fn_config_dll msvcp80 enable_msvcp80
18034 wine_fn_config_dll msvcp90 enable_msvcp90
18035 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18036 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18037 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18038 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18039 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18040 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18041 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18042 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18043 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18044 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18045 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18046 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18047 wine_fn_config_dll msvcrt enable_msvcrt implib
18048 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18049 wine_fn_config_dll msvcrt20 enable_msvcrt20
18050 wine_fn_config_dll msvcrt40 enable_msvcrt40
18051 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18052 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18053 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18054 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18055 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18056 wine_fn_config_dll msvideo.dll16 enable_win16
18057 wine_fn_config_dll mswsock enable_mswsock implib
18058 wine_fn_config_dll msxml enable_msxml clean
18059 wine_fn_config_dll msxml2 enable_msxml2 clean
18060 wine_fn_config_dll msxml3 enable_msxml3 clean
18061 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18062 wine_fn_config_dll msxml4 enable_msxml4 clean
18063 wine_fn_config_dll msxml6 enable_msxml6 clean
18064 wine_fn_config_dll ncrypt enable_ncrypt
18065 wine_fn_config_dll nddeapi enable_nddeapi implib
18066 wine_fn_config_dll ndis.sys enable_ndis_sys
18067 wine_fn_config_dll netapi32 enable_netapi32 implib
18068 wine_fn_config_test dlls/netapi32/tests netapi32_test
18069 wine_fn_config_dll netcfgx enable_netcfgx clean
18070 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18071 wine_fn_config_dll netprofm enable_netprofm clean
18072 wine_fn_config_test dlls/netprofm/tests netprofm_test
18073 wine_fn_config_dll newdev enable_newdev implib
18074 wine_fn_config_dll normaliz enable_normaliz implib
18075 wine_fn_config_dll npmshtml enable_npmshtml
18076 wine_fn_config_dll npptools enable_npptools
18077 wine_fn_config_dll ntdll enable_ntdll implib
18078 wine_fn_config_test dlls/ntdll/tests ntdll_test
18079 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18080 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18081 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18082 wine_fn_config_dll ntprint enable_ntprint
18083 wine_fn_config_test dlls/ntprint/tests ntprint_test
18084 wine_fn_config_dll objsel enable_objsel clean
18085 wine_fn_config_dll odbc32 enable_odbc32 implib
18086 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18087 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18088 wine_fn_config_dll odbccu32 enable_odbccu32
18089 wine_fn_config_dll ole2.dll16 enable_win16
18090 wine_fn_config_dll ole2conv.dll16 enable_win16
18091 wine_fn_config_dll ole2disp.dll16 enable_win16
18092 wine_fn_config_dll ole2nls.dll16 enable_win16
18093 wine_fn_config_dll ole2prox.dll16 enable_win16
18094 wine_fn_config_dll ole2thk.dll16 enable_win16
18095 wine_fn_config_dll ole32 enable_ole32 clean,implib
18096 wine_fn_config_test dlls/ole32/tests ole32_test
18097 wine_fn_config_dll oleacc enable_oleacc clean,implib
18098 wine_fn_config_test dlls/oleacc/tests oleacc_test
18099 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18100 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18101 wine_fn_config_dll olecli.dll16 enable_win16
18102 wine_fn_config_dll olecli32 enable_olecli32 implib
18103 wine_fn_config_dll oledb32 enable_oledb32 clean
18104 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18105 wine_fn_config_dll oledlg enable_oledlg clean,implib
18106 wine_fn_config_test dlls/oledlg/tests oledlg_test
18107 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18108 wine_fn_config_dll olesvr.dll16 enable_win16
18109 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18110 wine_fn_config_dll olethk32 enable_olethk32
18111 wine_fn_config_dll openal32 enable_openal32
18112 wine_fn_config_dll opencl enable_opencl
18113 wine_fn_config_dll opengl32 enable_opengl32 implib
18114 wine_fn_config_test dlls/opengl32/tests opengl32_test
18115 wine_fn_config_dll packager enable_packager clean
18116 wine_fn_config_test dlls/packager/tests packager_test
18117 wine_fn_config_dll pdh enable_pdh implib
18118 wine_fn_config_test dlls/pdh/tests pdh_test
18119 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18120 wine_fn_config_dll pidgen enable_pidgen
18121 wine_fn_config_dll powrprof enable_powrprof implib
18122 wine_fn_config_dll printui enable_printui
18123 wine_fn_config_dll prntvpt enable_prntvpt
18124 wine_fn_config_dll propsys enable_propsys clean,implib
18125 wine_fn_config_test dlls/propsys/tests propsys_test
18126 wine_fn_config_dll psapi enable_psapi implib
18127 wine_fn_config_test dlls/psapi/tests psapi_test
18128 wine_fn_config_dll pstorec enable_pstorec clean
18129 wine_fn_config_dll qcap enable_qcap
18130 wine_fn_config_test dlls/qcap/tests qcap_test
18131 wine_fn_config_dll qedit enable_qedit clean
18132 wine_fn_config_test dlls/qedit/tests qedit_test
18133 wine_fn_config_dll qmgr enable_qmgr clean
18134 wine_fn_config_test dlls/qmgr/tests qmgr_test
18135 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18136 wine_fn_config_dll quartz enable_quartz clean,implib
18137 wine_fn_config_test dlls/quartz/tests quartz_test clean
18138 wine_fn_config_dll query enable_query
18139 wine_fn_config_dll rasapi16.dll16 enable_win16
18140 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18141 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18142 wine_fn_config_dll rasdlg enable_rasdlg implib
18143 wine_fn_config_dll regapi enable_regapi
18144 wine_fn_config_dll resutils enable_resutils implib
18145 wine_fn_config_dll riched20 enable_riched20 clean,implib
18146 wine_fn_config_test dlls/riched20/tests riched20_test
18147 wine_fn_config_dll riched32 enable_riched32
18148 wine_fn_config_test dlls/riched32/tests riched32_test
18149 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18150 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18151 wine_fn_config_dll rsabase enable_rsabase
18152 wine_fn_config_dll rsaenh enable_rsaenh implib
18153 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18154 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18155 wine_fn_config_dll rtutils enable_rtutils implib
18156 wine_fn_config_dll samlib enable_samlib
18157 wine_fn_config_dll sane.ds enable_sane_ds clean
18158 wine_fn_config_dll scarddlg enable_scarddlg
18159 wine_fn_config_dll sccbase enable_sccbase
18160 wine_fn_config_dll schannel enable_schannel
18161 wine_fn_config_test dlls/schannel/tests schannel_test
18162 wine_fn_config_dll schedsvc enable_schedsvc clean
18163 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18164 wine_fn_config_dll scrrun enable_scrrun clean
18165 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18166 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18167 wine_fn_config_dll secur32 enable_secur32 implib
18168 wine_fn_config_test dlls/secur32/tests secur32_test
18169 wine_fn_config_dll security enable_security
18170 wine_fn_config_dll sensapi enable_sensapi implib
18171 wine_fn_config_dll serialui enable_serialui clean
18172 wine_fn_config_test dlls/serialui/tests serialui_test
18173 wine_fn_config_dll setupapi enable_setupapi clean,implib
18174 wine_fn_config_test dlls/setupapi/tests setupapi_test
18175 wine_fn_config_dll setupx.dll16 enable_win16
18176 wine_fn_config_dll sfc enable_sfc implib
18177 wine_fn_config_dll sfc_os enable_sfc_os implib
18178 wine_fn_config_dll shdoclc enable_shdoclc clean
18179 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18180 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18181 wine_fn_config_dll shell.dll16 enable_win16
18182 wine_fn_config_dll shell32 enable_shell32 clean,implib
18183 wine_fn_config_test dlls/shell32/tests shell32_test
18184 wine_fn_config_dll shfolder enable_shfolder implib
18185 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18186 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18187 wine_fn_config_dll slbcsp enable_slbcsp
18188 wine_fn_config_dll slc enable_slc implib
18189 wine_fn_config_test dlls/slc/tests slc_test
18190 wine_fn_config_dll snmpapi enable_snmpapi implib
18191 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18192 wine_fn_config_dll softpub enable_softpub
18193 wine_fn_config_dll sound.drv16 enable_win16
18194 wine_fn_config_dll spoolss enable_spoolss implib
18195 wine_fn_config_test dlls/spoolss/tests spoolss_test
18196 wine_fn_config_dll sspicli enable_sspicli
18197 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18198 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18199 wine_fn_config_dll sti enable_sti clean,implib
18200 wine_fn_config_test dlls/sti/tests sti_test
18201 wine_fn_config_dll storage.dll16 enable_win16
18202 wine_fn_config_dll stress.dll16 enable_win16
18203 wine_fn_config_lib strmbase
18204 wine_fn_config_lib strmiids
18205 wine_fn_config_dll svrapi enable_svrapi
18206 wine_fn_config_dll sxs enable_sxs implib
18207 wine_fn_config_test dlls/sxs/tests sxs_test
18208 wine_fn_config_dll system.drv16 enable_win16
18209 wine_fn_config_dll t2embed enable_t2embed implib
18210 wine_fn_config_test dlls/t2embed/tests t2embed_test
18211 wine_fn_config_dll tapi32 enable_tapi32 implib
18212 wine_fn_config_dll taskschd enable_taskschd clean
18213 wine_fn_config_test dlls/taskschd/tests taskschd_test
18214 wine_fn_config_dll tdi.sys enable_tdi_sys
18215 wine_fn_config_dll toolhelp.dll16 enable_win16
18216 wine_fn_config_dll traffic enable_traffic
18217 wine_fn_config_dll twain.dll16 enable_win16
18218 wine_fn_config_dll twain_32 enable_twain_32
18219 wine_fn_config_test dlls/twain_32/tests twain_32_test
18220 wine_fn_config_dll typelib.dll16 enable_win16
18221 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18222 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18223 wine_fn_config_dll unicows enable_unicows implib
18224 wine_fn_config_dll updspapi enable_updspapi
18225 wine_fn_config_dll url enable_url implib
18226 wine_fn_config_dll urlmon enable_urlmon clean,implib
18227 wine_fn_config_test dlls/urlmon/tests urlmon_test
18228 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18229 wine_fn_config_dll user.exe16 enable_win16
18230 wine_fn_config_dll user32 enable_user32 clean,implib
18231 wine_fn_config_test dlls/user32/tests user32_test
18232 wine_fn_config_dll userenv enable_userenv implib
18233 wine_fn_config_test dlls/userenv/tests userenv_test
18234 wine_fn_config_dll usp10 enable_usp10 implib
18235 wine_fn_config_test dlls/usp10/tests usp10_test
18236 wine_fn_config_lib uuid
18237 wine_fn_config_dll uxtheme enable_uxtheme implib
18238 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18239 wine_fn_config_dll vbscript enable_vbscript clean
18240 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18241 wine_fn_config_dll vcomp enable_vcomp
18242 wine_fn_config_test dlls/vcomp/tests vcomp_test
18243 wine_fn_config_dll vcomp100 enable_vcomp100
18244 wine_fn_config_dll vcomp110 enable_vcomp110
18245 wine_fn_config_dll vcomp120 enable_vcomp120
18246 wine_fn_config_dll vcomp140 enable_vcomp140
18247 wine_fn_config_dll vcomp90 enable_vcomp90
18248 wine_fn_config_dll vcruntime140 enable_vcruntime140
18249 wine_fn_config_dll vdhcp.vxd enable_win16
18250 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18251 wine_fn_config_dll ver.dll16 enable_win16
18252 wine_fn_config_dll version enable_version implib
18253 wine_fn_config_test dlls/version/tests version_test
18254 wine_fn_config_dll vmm.vxd enable_win16
18255 wine_fn_config_dll vnbt.vxd enable_win16
18256 wine_fn_config_dll vnetbios.vxd enable_win16
18257 wine_fn_config_dll vssapi enable_vssapi
18258 wine_fn_config_dll vtdapi.vxd enable_win16
18259 wine_fn_config_dll vwin32.vxd enable_win16
18260 wine_fn_config_dll w32skrnl enable_win16
18261 wine_fn_config_dll w32sys.dll16 enable_win16
18262 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18263 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18264 wine_fn_config_dll wbemprox enable_wbemprox clean
18265 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18266 wine_fn_config_dll webservices enable_webservices implib
18267 wine_fn_config_test dlls/webservices/tests webservices_test
18268 wine_fn_config_dll wer enable_wer implib
18269 wine_fn_config_test dlls/wer/tests wer_test
18270 wine_fn_config_dll wevtapi enable_wevtapi
18271 wine_fn_config_dll wiaservc enable_wiaservc clean
18272 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18273 wine_fn_config_dll wimgapi enable_wimgapi
18274 wine_fn_config_dll win32s16.dll16 enable_win16
18275 wine_fn_config_dll win87em.dll16 enable_win16
18276 wine_fn_config_dll winaspi.dll16 enable_win16
18277 wine_fn_config_dll windebug.dll16 enable_win16
18278 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18279 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18280 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18281 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18282 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18283 wine_fn_config_dll winebus.sys enable_winebus_sys
18284 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18285 wine_fn_config_lib winecrt0
18286 wine_fn_config_dll wined3d enable_wined3d implib
18287 wine_fn_config_dll winegstreamer enable_winegstreamer
18288 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18289 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18290 wine_fn_config_dll winemapi enable_winemapi
18291 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18292 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18293 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18294 wine_fn_config_dll wineps16.drv16 enable_win16
18295 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18296 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18297 wine_fn_config_dll winex11.drv enable_winex11_drv
18298 wine_fn_config_dll wing.dll16 enable_win16
18299 wine_fn_config_dll wing32 enable_wing32
18300 wine_fn_config_dll winhttp enable_winhttp clean,implib
18301 wine_fn_config_test dlls/winhttp/tests winhttp_test
18302 wine_fn_config_dll wininet enable_wininet clean,implib
18303 wine_fn_config_test dlls/wininet/tests wininet_test
18304 wine_fn_config_dll winmm enable_winmm clean,implib
18305 wine_fn_config_test dlls/winmm/tests winmm_test
18306 wine_fn_config_dll winnls.dll16 enable_win16
18307 wine_fn_config_dll winnls32 enable_winnls32 implib
18308 wine_fn_config_dll winscard enable_winscard implib
18309 wine_fn_config_dll winsock.dll16 enable_win16
18310 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18311 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18312 wine_fn_config_dll winsta enable_winsta
18313 wine_fn_config_dll wintab.dll16 enable_win16
18314 wine_fn_config_dll wintab32 enable_wintab32 implib
18315 wine_fn_config_test dlls/wintab32/tests wintab32_test
18316 wine_fn_config_dll wintrust enable_wintrust implib
18317 wine_fn_config_test dlls/wintrust/tests wintrust_test
18318 wine_fn_config_dll wlanapi enable_wlanapi
18319 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18320 wine_fn_config_test dlls/wldap32/tests wldap32_test
18321 wine_fn_config_dll wmasf enable_wmasf
18322 wine_fn_config_dll wmi enable_wmi
18323 wine_fn_config_dll wmiutils enable_wmiutils clean
18324 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18325 wine_fn_config_dll wmp enable_wmp clean
18326 wine_fn_config_test dlls/wmp/tests wmp_test
18327 wine_fn_config_dll wmvcore enable_wmvcore
18328 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18329 wine_fn_config_dll wow32 enable_win16 implib
18330 wine_fn_config_dll wpc enable_wpc clean
18331 wine_fn_config_test dlls/wpc/tests wpc_test
18332 wine_fn_config_dll wpcap enable_wpcap
18333 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18334 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18335 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18336 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18337 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18338 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18339 wine_fn_config_dll wsock32 enable_wsock32 implib
18340 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18341 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18342 wine_fn_config_dll wuapi enable_wuapi clean
18343 wine_fn_config_dll wuaueng enable_wuaueng
18344 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18345 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18346 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18347 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18348 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18349 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18350 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18351 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18352 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18353 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18354 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18355 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18356 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18357 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18358 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18359 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18360 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18361 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18362 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18363 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18364 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18365 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18366 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18367 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18368 wine_fn_config_dll xinput1_1 enable_xinput1_1
18369 wine_fn_config_dll xinput1_2 enable_xinput1_2
18370 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18371 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18372 wine_fn_config_dll xinput1_4 enable_xinput1_4
18373 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18374 wine_fn_config_dll xmllite enable_xmllite implib
18375 wine_fn_config_test dlls/xmllite/tests xmllite_test
18376 wine_fn_config_dll xolehlp enable_xolehlp
18377 wine_fn_config_dll xpsprint enable_xpsprint
18378 wine_fn_config_dll xpssvcs enable_xpssvcs
18379 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18380 wine_fn_config_makefile include enable_include clean,install-dev
18381 wine_fn_config_makefile libs/port enable_libs_port
18382 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18383 wine_fn_config_makefile libs/wpp enable_libs_wpp
18384 wine_fn_config_makefile loader enable_loader clean,install-lib
18385 wine_fn_config_makefile po enable_po clean
18386 wine_fn_config_program arp enable_arp install
18387 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18388 wine_fn_config_program attrib enable_attrib clean,install
18389 wine_fn_config_program cabarc enable_cabarc install
18390 wine_fn_config_program cacls enable_cacls install
18391 wine_fn_config_program clock enable_clock clean,install
18392 wine_fn_config_program cmd enable_cmd clean,install
18393 wine_fn_config_test programs/cmd/tests cmd.exe_test
18394 wine_fn_config_program conhost enable_conhost install
18395 wine_fn_config_program control enable_control install
18396 wine_fn_config_program cscript enable_cscript clean,install
18397 wine_fn_config_program dpnsvr enable_dpnsvr install
18398 wine_fn_config_program dxdiag enable_dxdiag clean,install
18399 wine_fn_config_program eject enable_eject install
18400 wine_fn_config_program expand enable_expand install
18401 wine_fn_config_program explorer enable_explorer clean,install
18402 wine_fn_config_program extrac32 enable_extrac32 install
18403 wine_fn_config_program findstr enable_findstr install
18404 wine_fn_config_program fsutil enable_fsutil install
18405 wine_fn_config_program hh enable_hh install
18406 wine_fn_config_program hostname enable_hostname clean,install
18407 wine_fn_config_program icacls enable_icacls install
18408 wine_fn_config_program icinfo enable_icinfo install
18409 wine_fn_config_program iexplore enable_iexplore install
18410 wine_fn_config_program ipconfig enable_ipconfig clean,install
18411 wine_fn_config_program lodctr enable_lodctr install
18412 wine_fn_config_program mofcomp enable_mofcomp install
18413 wine_fn_config_program mshta enable_mshta install
18414 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18415 wine_fn_config_program msinfo32 enable_msinfo32 install
18416 wine_fn_config_program net enable_net clean,install
18417 wine_fn_config_program netsh enable_netsh install
18418 wine_fn_config_program netstat enable_netstat clean,install
18419 wine_fn_config_program ngen enable_ngen install
18420 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18421 wine_fn_config_program oleview enable_oleview clean,install
18422 wine_fn_config_program ping enable_ping install
18423 wine_fn_config_program plugplay enable_plugplay install
18424 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18425 wine_fn_config_program progman enable_progman clean,install
18426 wine_fn_config_program reg enable_reg clean,install
18427 wine_fn_config_test programs/reg/tests reg.exe_test
18428 wine_fn_config_program regasm enable_regasm install
18429 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18430 wine_fn_config_test programs/regedit/tests regedit.exe_test
18431 wine_fn_config_program regsvcs enable_regsvcs install
18432 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18433 wine_fn_config_program rpcss enable_rpcss clean,install
18434 wine_fn_config_program rundll.exe16 enable_win16 install
18435 wine_fn_config_program rundll32 enable_rundll32 install
18436 wine_fn_config_program sc enable_sc install
18437 wine_fn_config_program schtasks enable_schtasks install
18438 wine_fn_config_program sdbinst enable_sdbinst install
18439 wine_fn_config_program secedit enable_secedit install
18440 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18441 wine_fn_config_program services enable_services clean,install
18442 wine_fn_config_test programs/services/tests services.exe_test
18443 wine_fn_config_program shutdown enable_shutdown install
18444 wine_fn_config_program spoolsv enable_spoolsv install
18445 wine_fn_config_program start enable_start clean,install
18446 wine_fn_config_program svchost enable_svchost install
18447 wine_fn_config_program systeminfo enable_systeminfo install
18448 wine_fn_config_program taskkill enable_taskkill clean,install
18449 wine_fn_config_program tasklist enable_tasklist install
18450 wine_fn_config_program taskmgr enable_taskmgr clean,install
18451 wine_fn_config_program termsv enable_termsv install
18452 wine_fn_config_program uninstaller enable_uninstaller clean,install
18453 wine_fn_config_program unlodctr enable_unlodctr install
18454 wine_fn_config_program view enable_view clean,install
18455 wine_fn_config_program wevtutil enable_wevtutil install
18456 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18457 wine_fn_config_program winebrowser enable_winebrowser install
18458 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18459 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18460 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18461 wine_fn_config_program winedevice enable_winedevice install
18462 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18463 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18464 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18465 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18466 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18467 wine_fn_config_program winetest enable_winetest clean
18468 wine_fn_config_program winevdm enable_win16 install
18469 wine_fn_config_program winhelp.exe16 enable_win16 install
18470 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18471 wine_fn_config_program winoldap.mod16 enable_win16 install
18472 wine_fn_config_program winver enable_winver install
18473 wine_fn_config_program wmic enable_wmic clean,install
18474 wine_fn_config_program wmplayer enable_wmplayer install
18475 wine_fn_config_program wordpad enable_wordpad clean,install
18476 wine_fn_config_program write enable_write clean,install
18477 wine_fn_config_program wscript enable_wscript clean,install
18478 wine_fn_config_test programs/wscript/tests wscript.exe_test
18479 wine_fn_config_program wusa enable_wusa install
18480 wine_fn_config_program xcopy enable_xcopy clean,install
18481 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18482 wine_fn_config_makefile server enable_server clean,install-lib
18483 wine_fn_config_tool tools clean
18484 wine_fn_config_tool tools/sfnt2fon clean
18485 wine_fn_config_tool tools/widl clean,install-dev
18486 wine_fn_config_tool tools/winebuild clean,install-dev
18487 wine_fn_config_tool tools/winedump clean,install-dev
18488 wine_fn_config_tool tools/winegcc clean,install-dev
18489 wine_fn_config_tool tools/winemaker clean,install-dev
18490 wine_fn_config_tool tools/wmc clean,install-dev
18491 wine_fn_config_tool tools/wrc clean,install-dev
18494 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18495 wine_fn_append_file CONFIGURE_TARGETS "tags"
18496 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18497 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18498 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18499 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18500 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18501 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18503 if test "x$enable_tools" != xno
18504 then
18505 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18506 ac_config_commands="$ac_config_commands tools/makedep"
18510 ac_config_commands="$ac_config_commands Makefile"
18513 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18517 if test "x$enable_maintainer_mode" = xyes
18518 then
18519 wine_fn_append_rule "configure: configure.ac aclocal.m4
18520 autoconf --warnings=all
18521 include/config.h.in: include/stamp-h.in
18522 include/stamp-h.in: configure.ac aclocal.m4
18523 autoheader --warnings=all
18524 @echo timestamp > \$@"
18527 if test "x$enable_tools" != xno
18528 then
18529 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18530 @./config.status tools/makedep
18531 Makefile: tools/makedep$ac_exeext"
18532 else
18533 wine_fn_append_rule "\$(MAKEDEP):
18534 @echo \"You need to run make in $TOOLSDIR first\" && false"
18537 if test -n "$with_wine64"
18538 then
18539 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18540 fonts server:
18541 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18542 $with_wine64/loader/wine:
18543 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18544 $with_wine64/loader/wine-preloader:
18545 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18546 clean::
18547 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18548 else
18549 WINELOADER_INSTALL="wine.inf"
18551 wine_fn_append_rule "install install-lib::
18552 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18553 uninstall::
18554 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18555 case $host_os in
18556 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18557 *) wine_fn_append_rule "install install-lib::
18558 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18559 uninstall::
18560 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18561 esac
18564 $as_echo " done" >&6
18565 cat >confcache <<\_ACEOF
18566 # This file is a shell script that caches the results of configure
18567 # tests run on this system so they can be shared between configure
18568 # scripts and configure runs, see configure's option --config-cache.
18569 # It is not useful on other systems. If it contains results you don't
18570 # want to keep, you may remove or edit it.
18572 # config.status only pays attention to the cache file if you give it
18573 # the --recheck option to rerun configure.
18575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18577 # following values.
18579 _ACEOF
18581 # The following way of writing the cache mishandles newlines in values,
18582 # but we know of no workaround that is simple, portable, and efficient.
18583 # So, we kill variables containing newlines.
18584 # Ultrix sh set writes to stderr and can't be redirected directly,
18585 # and sets the high bit in the cache file unless we assign to the vars.
18587 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18588 eval ac_val=\$$ac_var
18589 case $ac_val in #(
18590 *${as_nl}*)
18591 case $ac_var in #(
18592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18594 esac
18595 case $ac_var in #(
18596 _ | IFS | as_nl) ;; #(
18597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18598 *) { eval $ac_var=; unset $ac_var;} ;;
18599 esac ;;
18600 esac
18601 done
18603 (set) 2>&1 |
18604 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18605 *${as_nl}ac_space=\ *)
18606 # `set' does not quote correctly, so add quotes: double-quote
18607 # substitution turns \\\\ into \\, and sed turns \\ into \.
18608 sed -n \
18609 "s/'/'\\\\''/g;
18610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18611 ;; #(
18613 # `set' quotes correctly as required by POSIX, so do not add quotes.
18614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18616 esac |
18617 sort
18619 sed '
18620 /^ac_cv_env_/b end
18621 t clear
18622 :clear
18623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18624 t end
18625 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18626 :end' >>confcache
18627 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18628 if test -w "$cache_file"; then
18629 if test "x$cache_file" != "x/dev/null"; then
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18631 $as_echo "$as_me: updating cache $cache_file" >&6;}
18632 if test ! -f "$cache_file" || test -h "$cache_file"; then
18633 cat confcache >"$cache_file"
18634 else
18635 case $cache_file in #(
18636 */* | ?:*)
18637 mv -f confcache "$cache_file"$$ &&
18638 mv -f "$cache_file"$$ "$cache_file" ;; #(
18640 mv -f confcache "$cache_file" ;;
18641 esac
18644 else
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18646 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18649 rm -f confcache
18651 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18652 # Let make expand exec_prefix.
18653 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18655 DEFS=-DHAVE_CONFIG_H
18657 ac_libobjs=
18658 ac_ltlibobjs=
18660 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18661 # 1. Remove the extension, and $U if already installed.
18662 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18663 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18664 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18665 # will be set to the directory where LIBOBJS objects are built.
18666 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18667 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18668 done
18669 LIBOBJS=$ac_libobjs
18671 LTLIBOBJS=$ac_ltlibobjs
18675 : "${CONFIG_STATUS=./config.status}"
18676 ac_write_fail=0
18677 ac_clean_files_save=$ac_clean_files
18678 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18680 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18681 as_write_fail=0
18682 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18683 #! $SHELL
18684 # Generated by $as_me.
18685 # Run this file to recreate the current configuration.
18686 # Compiler output produced by configure, useful for debugging
18687 # configure, is in config.log if it exists.
18689 debug=false
18690 ac_cs_recheck=false
18691 ac_cs_silent=false
18693 SHELL=\${CONFIG_SHELL-$SHELL}
18694 export SHELL
18695 _ASEOF
18696 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18697 ## -------------------- ##
18698 ## M4sh Initialization. ##
18699 ## -------------------- ##
18701 # Be more Bourne compatible
18702 DUALCASE=1; export DUALCASE # for MKS sh
18703 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18704 emulate sh
18705 NULLCMD=:
18706 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18707 # is contrary to our usage. Disable this feature.
18708 alias -g '${1+"$@"}'='"$@"'
18709 setopt NO_GLOB_SUBST
18710 else
18711 case `(set -o) 2>/dev/null` in #(
18712 *posix*) :
18713 set -o posix ;; #(
18714 *) :
18716 esac
18720 as_nl='
18722 export as_nl
18723 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18724 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18725 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18726 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18727 # Prefer a ksh shell builtin over an external printf program on Solaris,
18728 # but without wasting forks for bash or zsh.
18729 if test -z "$BASH_VERSION$ZSH_VERSION" \
18730 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18731 as_echo='print -r --'
18732 as_echo_n='print -rn --'
18733 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18734 as_echo='printf %s\n'
18735 as_echo_n='printf %s'
18736 else
18737 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18738 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18739 as_echo_n='/usr/ucb/echo -n'
18740 else
18741 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18742 as_echo_n_body='eval
18743 arg=$1;
18744 case $arg in #(
18745 *"$as_nl"*)
18746 expr "X$arg" : "X\\(.*\\)$as_nl";
18747 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18748 esac;
18749 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18751 export as_echo_n_body
18752 as_echo_n='sh -c $as_echo_n_body as_echo'
18754 export as_echo_body
18755 as_echo='sh -c $as_echo_body as_echo'
18758 # The user is always right.
18759 if test "${PATH_SEPARATOR+set}" != set; then
18760 PATH_SEPARATOR=:
18761 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18762 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18763 PATH_SEPARATOR=';'
18768 # IFS
18769 # We need space, tab and new line, in precisely that order. Quoting is
18770 # there to prevent editors from complaining about space-tab.
18771 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18772 # splitting by setting IFS to empty value.)
18773 IFS=" "" $as_nl"
18775 # Find who we are. Look in the path if we contain no directory separator.
18776 as_myself=
18777 case $0 in #((
18778 *[\\/]* ) as_myself=$0 ;;
18779 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18780 for as_dir in $PATH
18782 IFS=$as_save_IFS
18783 test -z "$as_dir" && as_dir=.
18784 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18785 done
18786 IFS=$as_save_IFS
18789 esac
18790 # We did not find ourselves, most probably we were run as `sh COMMAND'
18791 # in which case we are not to be found in the path.
18792 if test "x$as_myself" = x; then
18793 as_myself=$0
18795 if test ! -f "$as_myself"; then
18796 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18797 exit 1
18800 # Unset variables that we do not need and which cause bugs (e.g. in
18801 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18802 # suppresses any "Segmentation fault" message there. '((' could
18803 # trigger a bug in pdksh 5.2.14.
18804 for as_var in BASH_ENV ENV MAIL MAILPATH
18805 do eval test x\${$as_var+set} = xset \
18806 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18807 done
18808 PS1='$ '
18809 PS2='> '
18810 PS4='+ '
18812 # NLS nuisances.
18813 LC_ALL=C
18814 export LC_ALL
18815 LANGUAGE=C
18816 export LANGUAGE
18818 # CDPATH.
18819 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18822 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18823 # ----------------------------------------
18824 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18825 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18826 # script with STATUS, using 1 if that was 0.
18827 as_fn_error ()
18829 as_status=$1; test $as_status -eq 0 && as_status=1
18830 if test "$4"; then
18831 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18832 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18834 $as_echo "$as_me: error: $2" >&2
18835 as_fn_exit $as_status
18836 } # as_fn_error
18839 # as_fn_set_status STATUS
18840 # -----------------------
18841 # Set $? to STATUS, without forking.
18842 as_fn_set_status ()
18844 return $1
18845 } # as_fn_set_status
18847 # as_fn_exit STATUS
18848 # -----------------
18849 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18850 as_fn_exit ()
18852 set +e
18853 as_fn_set_status $1
18854 exit $1
18855 } # as_fn_exit
18857 # as_fn_unset VAR
18858 # ---------------
18859 # Portably unset VAR.
18860 as_fn_unset ()
18862 { eval $1=; unset $1;}
18864 as_unset=as_fn_unset
18865 # as_fn_append VAR VALUE
18866 # ----------------------
18867 # Append the text in VALUE to the end of the definition contained in VAR. Take
18868 # advantage of any shell optimizations that allow amortized linear growth over
18869 # repeated appends, instead of the typical quadratic growth present in naive
18870 # implementations.
18871 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18872 eval 'as_fn_append ()
18874 eval $1+=\$2
18876 else
18877 as_fn_append ()
18879 eval $1=\$$1\$2
18881 fi # as_fn_append
18883 # as_fn_arith ARG...
18884 # ------------------
18885 # Perform arithmetic evaluation on the ARGs, and store the result in the
18886 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18887 # must be portable across $(()) and expr.
18888 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18889 eval 'as_fn_arith ()
18891 as_val=$(( $* ))
18893 else
18894 as_fn_arith ()
18896 as_val=`expr "$@" || test $? -eq 1`
18898 fi # as_fn_arith
18901 if expr a : '\(a\)' >/dev/null 2>&1 &&
18902 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18903 as_expr=expr
18904 else
18905 as_expr=false
18908 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18909 as_basename=basename
18910 else
18911 as_basename=false
18914 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18915 as_dirname=dirname
18916 else
18917 as_dirname=false
18920 as_me=`$as_basename -- "$0" ||
18921 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18922 X"$0" : 'X\(//\)$' \| \
18923 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18924 $as_echo X/"$0" |
18925 sed '/^.*\/\([^/][^/]*\)\/*$/{
18926 s//\1/
18929 /^X\/\(\/\/\)$/{
18930 s//\1/
18933 /^X\/\(\/\).*/{
18934 s//\1/
18937 s/.*/./; q'`
18939 # Avoid depending upon Character Ranges.
18940 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18941 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18942 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18943 as_cr_digits='0123456789'
18944 as_cr_alnum=$as_cr_Letters$as_cr_digits
18946 ECHO_C= ECHO_N= ECHO_T=
18947 case `echo -n x` in #(((((
18948 -n*)
18949 case `echo 'xy\c'` in
18950 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18951 xy) ECHO_C='\c';;
18952 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18953 ECHO_T=' ';;
18954 esac;;
18956 ECHO_N='-n';;
18957 esac
18959 rm -f conf$$ conf$$.exe conf$$.file
18960 if test -d conf$$.dir; then
18961 rm -f conf$$.dir/conf$$.file
18962 else
18963 rm -f conf$$.dir
18964 mkdir conf$$.dir 2>/dev/null
18966 if (echo >conf$$.file) 2>/dev/null; then
18967 if ln -s conf$$.file conf$$ 2>/dev/null; then
18968 as_ln_s='ln -s'
18969 # ... but there are two gotchas:
18970 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18971 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18972 # In both cases, we have to default to `cp -pR'.
18973 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18974 as_ln_s='cp -pR'
18975 elif ln conf$$.file conf$$ 2>/dev/null; then
18976 as_ln_s=ln
18977 else
18978 as_ln_s='cp -pR'
18980 else
18981 as_ln_s='cp -pR'
18983 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18984 rmdir conf$$.dir 2>/dev/null
18987 # as_fn_mkdir_p
18988 # -------------
18989 # Create "$as_dir" as a directory, including parents if necessary.
18990 as_fn_mkdir_p ()
18993 case $as_dir in #(
18994 -*) as_dir=./$as_dir;;
18995 esac
18996 test -d "$as_dir" || eval $as_mkdir_p || {
18997 as_dirs=
18998 while :; do
18999 case $as_dir in #(
19000 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19001 *) as_qdir=$as_dir;;
19002 esac
19003 as_dirs="'$as_qdir' $as_dirs"
19004 as_dir=`$as_dirname -- "$as_dir" ||
19005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19006 X"$as_dir" : 'X\(//\)[^/]' \| \
19007 X"$as_dir" : 'X\(//\)$' \| \
19008 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19009 $as_echo X"$as_dir" |
19010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19011 s//\1/
19014 /^X\(\/\/\)[^/].*/{
19015 s//\1/
19018 /^X\(\/\/\)$/{
19019 s//\1/
19022 /^X\(\/\).*/{
19023 s//\1/
19026 s/.*/./; q'`
19027 test -d "$as_dir" && break
19028 done
19029 test -z "$as_dirs" || eval "mkdir $as_dirs"
19030 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19033 } # as_fn_mkdir_p
19034 if mkdir -p . 2>/dev/null; then
19035 as_mkdir_p='mkdir -p "$as_dir"'
19036 else
19037 test -d ./-p && rmdir ./-p
19038 as_mkdir_p=false
19042 # as_fn_executable_p FILE
19043 # -----------------------
19044 # Test if FILE is an executable regular file.
19045 as_fn_executable_p ()
19047 test -f "$1" && test -x "$1"
19048 } # as_fn_executable_p
19049 as_test_x='test -x'
19050 as_executable_p=as_fn_executable_p
19052 # Sed expression to map a string onto a valid CPP name.
19053 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19055 # Sed expression to map a string onto a valid variable name.
19056 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19059 exec 6>&1
19060 ## ----------------------------------- ##
19061 ## Main body of $CONFIG_STATUS script. ##
19062 ## ----------------------------------- ##
19063 _ASEOF
19064 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19067 # Save the log message, to keep $0 and so on meaningful, and to
19068 # report actual input values of CONFIG_FILES etc. instead of their
19069 # values after options handling.
19070 ac_log="
19071 This file was extended by Wine $as_me 1.9.18, which was
19072 generated by GNU Autoconf 2.69. Invocation command line was
19074 CONFIG_FILES = $CONFIG_FILES
19075 CONFIG_HEADERS = $CONFIG_HEADERS
19076 CONFIG_LINKS = $CONFIG_LINKS
19077 CONFIG_COMMANDS = $CONFIG_COMMANDS
19078 $ $0 $@
19080 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19083 _ACEOF
19085 case $ac_config_files in *"
19086 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19087 esac
19089 case $ac_config_headers in *"
19090 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19091 esac
19094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19095 # Files that config.status was made for.
19096 config_files="$ac_config_files"
19097 config_headers="$ac_config_headers"
19098 config_links="$ac_config_links"
19099 config_commands="$ac_config_commands"
19101 _ACEOF
19103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19104 ac_cs_usage="\
19105 \`$as_me' instantiates files and other configuration actions
19106 from templates according to the current configuration. Unless the files
19107 and actions are specified as TAGs, all are instantiated by default.
19109 Usage: $0 [OPTION]... [TAG]...
19111 -h, --help print this help, then exit
19112 -V, --version print version number and configuration settings, then exit
19113 --config print configuration, then exit
19114 -q, --quiet, --silent
19115 do not print progress messages
19116 -d, --debug don't remove temporary files
19117 --recheck update $as_me by reconfiguring in the same conditions
19118 --file=FILE[:TEMPLATE]
19119 instantiate the configuration file FILE
19120 --header=FILE[:TEMPLATE]
19121 instantiate the configuration header FILE
19123 Configuration files:
19124 $config_files
19126 Configuration headers:
19127 $config_headers
19129 Configuration links:
19130 $config_links
19132 Configuration commands:
19133 $config_commands
19135 Report bugs to <wine-devel@winehq.org>.
19136 Wine home page: <http://www.winehq.org>."
19138 _ACEOF
19139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19140 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19141 ac_cs_version="\\
19142 Wine config.status 1.9.18
19143 configured by $0, generated by GNU Autoconf 2.69,
19144 with options \\"\$ac_cs_config\\"
19146 Copyright (C) 2012 Free Software Foundation, Inc.
19147 This config.status script is free software; the Free Software Foundation
19148 gives unlimited permission to copy, distribute and modify it."
19150 ac_pwd='$ac_pwd'
19151 srcdir='$srcdir'
19152 test -n "\$AWK" || AWK=awk
19153 _ACEOF
19155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19156 # The default lists apply if the user does not specify any file.
19157 ac_need_defaults=:
19158 while test $# != 0
19160 case $1 in
19161 --*=?*)
19162 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19163 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19164 ac_shift=:
19166 --*=)
19167 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19168 ac_optarg=
19169 ac_shift=:
19172 ac_option=$1
19173 ac_optarg=$2
19174 ac_shift=shift
19176 esac
19178 case $ac_option in
19179 # Handling of the options.
19180 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19181 ac_cs_recheck=: ;;
19182 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19183 $as_echo "$ac_cs_version"; exit ;;
19184 --config | --confi | --conf | --con | --co | --c )
19185 $as_echo "$ac_cs_config"; exit ;;
19186 --debug | --debu | --deb | --de | --d | -d )
19187 debug=: ;;
19188 --file | --fil | --fi | --f )
19189 $ac_shift
19190 case $ac_optarg in
19191 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19192 '') as_fn_error $? "missing file argument" ;;
19193 esac
19194 as_fn_append CONFIG_FILES " '$ac_optarg'"
19195 ac_need_defaults=false;;
19196 --header | --heade | --head | --hea )
19197 $ac_shift
19198 case $ac_optarg in
19199 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19200 esac
19201 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19202 ac_need_defaults=false;;
19203 --he | --h)
19204 # Conflict between --help and --header
19205 as_fn_error $? "ambiguous option: \`$1'
19206 Try \`$0 --help' for more information.";;
19207 --help | --hel | -h )
19208 $as_echo "$ac_cs_usage"; exit ;;
19209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19210 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19211 ac_cs_silent=: ;;
19213 # This is an error.
19214 -*) as_fn_error $? "unrecognized option: \`$1'
19215 Try \`$0 --help' for more information." ;;
19217 *) as_fn_append ac_config_targets " $1"
19218 ac_need_defaults=false ;;
19220 esac
19221 shift
19222 done
19224 ac_configure_extra_args=
19226 if $ac_cs_silent; then
19227 exec 6>/dev/null
19228 ac_configure_extra_args="$ac_configure_extra_args --silent"
19231 _ACEOF
19232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19233 if \$ac_cs_recheck; then
19234 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19235 shift
19236 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19237 CONFIG_SHELL='$SHELL'
19238 export CONFIG_SHELL
19239 exec "\$@"
19242 _ACEOF
19243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19244 exec 5>>config.log
19246 echo
19247 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19248 ## Running $as_me. ##
19249 _ASBOX
19250 $as_echo "$ac_log"
19251 } >&5
19253 _ACEOF
19254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19256 # INIT-COMMANDS
19258 wine_fn_output_makedep ()
19260 as_dir=tools; as_fn_mkdir_p
19261 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19263 wine_fn_output_makefile ()
19265 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19266 `cat $wine_rules_file`
19267 _WINE_EOF
19268 as_fn_error $? "could not create Makefile" "$LINENO" 5
19271 _ACEOF
19273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19275 # Handling of arguments.
19276 for ac_config_target in $ac_config_targets
19278 case $ac_config_target in
19279 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19280 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19281 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19282 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19283 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19284 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19285 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19286 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19287 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19288 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19289 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19290 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19291 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19293 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19294 esac
19295 done
19298 # If the user did not use the arguments to specify the items to instantiate,
19299 # then the envvar interface is used. Set only those that are not.
19300 # We use the long form for the default assignment because of an extremely
19301 # bizarre bug on SunOS 4.1.3.
19302 if $ac_need_defaults; then
19303 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19304 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19305 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19306 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19309 # Have a temporary directory for convenience. Make it in the build tree
19310 # simply because there is no reason against having it here, and in addition,
19311 # creating and moving files from /tmp can sometimes cause problems.
19312 # Hook for its removal unless debugging.
19313 # Note that there is a small window in which the directory will not be cleaned:
19314 # after its creation but before its name has been assigned to `$tmp'.
19315 $debug ||
19317 tmp= ac_tmp=
19318 trap 'exit_status=$?
19319 : "${ac_tmp:=$tmp}"
19320 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19322 trap 'as_fn_exit 1' 1 2 13 15
19324 # Create a (secure) tmp directory for tmp files.
19327 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19328 test -d "$tmp"
19329 } ||
19331 tmp=./conf$$-$RANDOM
19332 (umask 077 && mkdir "$tmp")
19333 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19334 ac_tmp=$tmp
19336 # Set up the scripts for CONFIG_FILES section.
19337 # No need to generate them if there are no CONFIG_FILES.
19338 # This happens for instance with `./config.status config.h'.
19339 if test -n "$CONFIG_FILES"; then
19342 ac_cr=`echo X | tr X '\015'`
19343 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19344 # But we know of no other shell where ac_cr would be empty at this
19345 # point, so we can use a bashism as a fallback.
19346 if test "x$ac_cr" = x; then
19347 eval ac_cr=\$\'\\r\'
19349 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19350 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19351 ac_cs_awk_cr='\\r'
19352 else
19353 ac_cs_awk_cr=$ac_cr
19356 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19357 _ACEOF
19361 echo "cat >conf$$subs.awk <<_ACEOF" &&
19362 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19363 echo "_ACEOF"
19364 } >conf$$subs.sh ||
19365 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19366 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19367 ac_delim='%!_!# '
19368 for ac_last_try in false false false false false :; do
19369 . ./conf$$subs.sh ||
19370 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19372 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19373 if test $ac_delim_n = $ac_delim_num; then
19374 break
19375 elif $ac_last_try; then
19376 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19377 else
19378 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19380 done
19381 rm -f conf$$subs.sh
19383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19384 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19385 _ACEOF
19386 sed -n '
19388 s/^/S["/; s/!.*/"]=/
19391 s/^[^!]*!//
19392 :repl
19393 t repl
19394 s/'"$ac_delim"'$//
19395 t delim
19398 s/\(.\{148\}\)..*/\1/
19399 t more1
19400 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19403 b repl
19404 :more1
19405 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19408 s/.\{148\}//
19409 t nl
19410 :delim
19412 s/\(.\{148\}\)..*/\1/
19413 t more2
19414 s/["\\]/\\&/g; s/^/"/; s/$/"/
19417 :more2
19418 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19421 s/.\{148\}//
19422 t delim
19423 ' <conf$$subs.awk | sed '
19424 /^[^""]/{
19426 s/\n//
19428 ' >>$CONFIG_STATUS || ac_write_fail=1
19429 rm -f conf$$subs.awk
19430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19431 _ACAWK
19432 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19433 for (key in S) S_is_set[key] = 1
19434 FS = "\a"
19438 line = $ 0
19439 nfields = split(line, field, "@")
19440 substed = 0
19441 len = length(field[1])
19442 for (i = 2; i < nfields; i++) {
19443 key = field[i]
19444 keylen = length(key)
19445 if (S_is_set[key]) {
19446 value = S[key]
19447 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19448 len += length(value) + length(field[++i])
19449 substed = 1
19450 } else
19451 len += 1 + keylen
19454 print line
19457 _ACAWK
19458 _ACEOF
19459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19460 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19461 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19462 else
19464 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19465 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19466 _ACEOF
19468 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19469 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19470 # trailing colons and then remove the whole line if VPATH becomes empty
19471 # (actually we leave an empty line to preserve line numbers).
19472 if test "x$srcdir" = x.; then
19473 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19475 s///
19476 s/^/:/
19477 s/[ ]*$/:/
19478 s/:\$(srcdir):/:/g
19479 s/:\${srcdir}:/:/g
19480 s/:@srcdir@:/:/g
19481 s/^:*//
19482 s/:*$//
19484 s/\(=[ ]*\).*/\1/
19486 s/\n//
19487 s/^[^=]*=[ ]*$//
19491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19492 fi # test -n "$CONFIG_FILES"
19494 # Set up the scripts for CONFIG_HEADERS section.
19495 # No need to generate them if there are no CONFIG_HEADERS.
19496 # This happens for instance with `./config.status Makefile'.
19497 if test -n "$CONFIG_HEADERS"; then
19498 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19499 BEGIN {
19500 _ACEOF
19502 # Transform confdefs.h into an awk script `defines.awk', embedded as
19503 # here-document in config.status, that substitutes the proper values into
19504 # config.h.in to produce config.h.
19506 # Create a delimiter string that does not exist in confdefs.h, to ease
19507 # handling of long lines.
19508 ac_delim='%!_!# '
19509 for ac_last_try in false false :; do
19510 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19511 if test -z "$ac_tt"; then
19512 break
19513 elif $ac_last_try; then
19514 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19515 else
19516 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19518 done
19520 # For the awk script, D is an array of macro values keyed by name,
19521 # likewise P contains macro parameters if any. Preserve backslash
19522 # newline sequences.
19524 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19525 sed -n '
19526 s/.\{148\}/&'"$ac_delim"'/g
19527 t rset
19528 :rset
19529 s/^[ ]*#[ ]*define[ ][ ]*/ /
19530 t def
19532 :def
19533 s/\\$//
19534 t bsnl
19535 s/["\\]/\\&/g
19536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19537 D["\1"]=" \3"/p
19538 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19540 :bsnl
19541 s/["\\]/\\&/g
19542 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19543 D["\1"]=" \3\\\\\\n"\\/p
19544 t cont
19545 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19546 t cont
19548 :cont
19550 s/.\{148\}/&'"$ac_delim"'/g
19551 t clear
19552 :clear
19553 s/\\$//
19554 t bsnlc
19555 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19557 :bsnlc
19558 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19559 b cont
19560 ' <confdefs.h | sed '
19561 s/'"$ac_delim"'/"\\\
19562 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19565 for (key in D) D_is_set[key] = 1
19566 FS = "\a"
19568 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19569 line = \$ 0
19570 split(line, arg, " ")
19571 if (arg[1] == "#") {
19572 defundef = arg[2]
19573 mac1 = arg[3]
19574 } else {
19575 defundef = substr(arg[1], 2)
19576 mac1 = arg[2]
19578 split(mac1, mac2, "(") #)
19579 macro = mac2[1]
19580 prefix = substr(line, 1, index(line, defundef) - 1)
19581 if (D_is_set[macro]) {
19582 # Preserve the white space surrounding the "#".
19583 print prefix "define", macro P[macro] D[macro]
19584 next
19585 } else {
19586 # Replace #undef with comments. This is necessary, for example,
19587 # in the case of _POSIX_SOURCE, which is predefined and required
19588 # on some systems where configure will not decide to define it.
19589 if (defundef == "undef") {
19590 print "/*", prefix defundef, macro, "*/"
19591 next
19595 { print }
19596 _ACAWK
19597 _ACEOF
19598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19599 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19600 fi # test -n "$CONFIG_HEADERS"
19603 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19604 shift
19605 for ac_tag
19607 case $ac_tag in
19608 :[FHLC]) ac_mode=$ac_tag; continue;;
19609 esac
19610 case $ac_mode$ac_tag in
19611 :[FHL]*:*);;
19612 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19613 :[FH]-) ac_tag=-:-;;
19614 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19615 esac
19616 ac_save_IFS=$IFS
19617 IFS=:
19618 set x $ac_tag
19619 IFS=$ac_save_IFS
19620 shift
19621 ac_file=$1
19622 shift
19624 case $ac_mode in
19625 :L) ac_source=$1;;
19626 :[FH])
19627 ac_file_inputs=
19628 for ac_f
19630 case $ac_f in
19631 -) ac_f="$ac_tmp/stdin";;
19632 *) # Look for the file first in the build tree, then in the source tree
19633 # (if the path is not absolute). The absolute path cannot be DOS-style,
19634 # because $ac_f cannot contain `:'.
19635 test -f "$ac_f" ||
19636 case $ac_f in
19637 [\\/$]*) false;;
19638 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19639 esac ||
19640 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19641 esac
19642 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19643 as_fn_append ac_file_inputs " '$ac_f'"
19644 done
19646 # Let's still pretend it is `configure' which instantiates (i.e., don't
19647 # use $as_me), people would be surprised to read:
19648 # /* config.h. Generated by config.status. */
19649 configure_input='Generated from '`
19650 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19651 `' by configure.'
19652 if test x"$ac_file" != x-; then
19653 configure_input="$ac_file. $configure_input"
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19655 $as_echo "$as_me: creating $ac_file" >&6;}
19657 # Neutralize special characters interpreted by sed in replacement strings.
19658 case $configure_input in #(
19659 *\&* | *\|* | *\\* )
19660 ac_sed_conf_input=`$as_echo "$configure_input" |
19661 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19662 *) ac_sed_conf_input=$configure_input;;
19663 esac
19665 case $ac_tag in
19666 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19668 esac
19670 esac
19672 ac_dir=`$as_dirname -- "$ac_file" ||
19673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19674 X"$ac_file" : 'X\(//\)[^/]' \| \
19675 X"$ac_file" : 'X\(//\)$' \| \
19676 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19677 $as_echo X"$ac_file" |
19678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19679 s//\1/
19682 /^X\(\/\/\)[^/].*/{
19683 s//\1/
19686 /^X\(\/\/\)$/{
19687 s//\1/
19690 /^X\(\/\).*/{
19691 s//\1/
19694 s/.*/./; q'`
19695 as_dir="$ac_dir"; as_fn_mkdir_p
19696 ac_builddir=.
19698 case "$ac_dir" in
19699 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19701 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19702 # A ".." for each directory in $ac_dir_suffix.
19703 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19704 case $ac_top_builddir_sub in
19705 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19706 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19707 esac ;;
19708 esac
19709 ac_abs_top_builddir=$ac_pwd
19710 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19711 # for backward compatibility:
19712 ac_top_builddir=$ac_top_build_prefix
19714 case $srcdir in
19715 .) # We are building in place.
19716 ac_srcdir=.
19717 ac_top_srcdir=$ac_top_builddir_sub
19718 ac_abs_top_srcdir=$ac_pwd ;;
19719 [\\/]* | ?:[\\/]* ) # Absolute name.
19720 ac_srcdir=$srcdir$ac_dir_suffix;
19721 ac_top_srcdir=$srcdir
19722 ac_abs_top_srcdir=$srcdir ;;
19723 *) # Relative name.
19724 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19725 ac_top_srcdir=$ac_top_build_prefix$srcdir
19726 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19727 esac
19728 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19731 case $ac_mode in
19734 # CONFIG_FILE
19737 _ACEOF
19739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19740 # If the template does not know about datarootdir, expand it.
19741 # FIXME: This hack should be removed a few years after 2.60.
19742 ac_datarootdir_hack=; ac_datarootdir_seen=
19743 ac_sed_dataroot='
19744 /datarootdir/ {
19748 /@datadir@/p
19749 /@docdir@/p
19750 /@infodir@/p
19751 /@localedir@/p
19752 /@mandir@/p'
19753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19754 *datarootdir*) ac_datarootdir_seen=yes;;
19755 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19757 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19758 _ACEOF
19759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19760 ac_datarootdir_hack='
19761 s&@datadir@&$datadir&g
19762 s&@docdir@&$docdir&g
19763 s&@infodir@&$infodir&g
19764 s&@localedir@&$localedir&g
19765 s&@mandir@&$mandir&g
19766 s&\\\${datarootdir}&$datarootdir&g' ;;
19767 esac
19768 _ACEOF
19770 # Neutralize VPATH when `$srcdir' = `.'.
19771 # Shell code in configure.ac might set extrasub.
19772 # FIXME: do we really want to maintain this feature?
19773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19774 ac_sed_extra="$ac_vpsub
19775 $extrasub
19776 _ACEOF
19777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19780 s|@configure_input@|$ac_sed_conf_input|;t t
19781 s&@top_builddir@&$ac_top_builddir_sub&;t t
19782 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19783 s&@srcdir@&$ac_srcdir&;t t
19784 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19785 s&@top_srcdir@&$ac_top_srcdir&;t t
19786 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19787 s&@builddir@&$ac_builddir&;t t
19788 s&@abs_builddir@&$ac_abs_builddir&;t t
19789 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19790 $ac_datarootdir_hack
19792 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19793 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19796 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19798 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19800 which seems to be undefined. Please make sure it is defined" >&5
19801 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19802 which seems to be undefined. Please make sure it is defined" >&2;}
19804 rm -f "$ac_tmp/stdin"
19805 case $ac_file in
19806 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19807 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19808 esac \
19809 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19813 # CONFIG_HEADER
19815 if test x"$ac_file" != x-; then
19817 $as_echo "/* $configure_input */" \
19818 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19819 } >"$ac_tmp/config.h" \
19820 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19821 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19823 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19824 else
19825 rm -f "$ac_file"
19826 mv "$ac_tmp/config.h" "$ac_file" \
19827 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19829 else
19830 $as_echo "/* $configure_input */" \
19831 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19832 || as_fn_error $? "could not create -" "$LINENO" 5
19837 # CONFIG_LINK
19840 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19842 else
19843 # Prefer the file from the source tree if names are identical.
19844 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19845 ac_source=$srcdir/$ac_source
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19849 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19851 if test ! -r "$ac_source"; then
19852 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19854 rm -f "$ac_file"
19856 # Try a relative symlink, then a hard link, then a copy.
19857 case $ac_source in
19858 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19859 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19860 esac
19861 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19862 ln "$ac_source" "$ac_file" 2>/dev/null ||
19863 cp -p "$ac_source" "$ac_file" ||
19864 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19867 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19868 $as_echo "$as_me: executing $ac_file commands" >&6;}
19870 esac
19873 case $ac_file$ac_mode in
19874 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19875 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19876 "Makefile":C) wine_fn_output_makefile Makefile ;;
19878 esac
19879 done # for ac_tag
19882 as_fn_exit 0
19883 _ACEOF
19884 ac_clean_files=$ac_clean_files_save
19886 test $ac_write_fail = 0 ||
19887 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19890 # configure is writing to config.log, and then calls config.status.
19891 # config.status does its own redirection, appending to config.log.
19892 # Unfortunately, on DOS this fails, as config.log is still kept open
19893 # by configure, so config.status won't be able to write to it; its
19894 # output is simply discarded. So we exec the FD to /dev/null,
19895 # effectively closing config.log, so it can be properly (re)opened and
19896 # appended to by config.status. When coming back to configure, we
19897 # need to make the FD available again.
19898 if test "$no_create" != yes; then
19899 ac_cs_success=:
19900 ac_config_status_args=
19901 test "$silent" = yes &&
19902 ac_config_status_args="$ac_config_status_args --quiet"
19903 exec 5>/dev/null
19904 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19905 exec 5>>config.log
19906 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19907 # would make configure fail if this is the last instruction.
19908 $ac_cs_success || as_fn_exit 1
19910 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19912 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19916 if test "$no_create" = "yes"
19917 then
19918 exit 0
19921 ac_save_IFS="$IFS"
19922 if test "x$wine_notices" != x; then
19923 echo >&6
19924 IFS="|"
19925 for msg in $wine_notices; do
19926 IFS="$ac_save_IFS"
19927 if ${msg:+false} :; then :
19929 else
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19931 $as_echo "$as_me: $msg" >&6;}
19933 done
19935 IFS="|"
19936 for msg in $wine_warnings; do
19937 IFS="$ac_save_IFS"
19938 if ${msg:+false} :; then :
19940 else
19941 echo >&2
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19943 $as_echo "$as_me: WARNING: $msg" >&2;}
19945 done
19946 IFS="$ac_save_IFS"
19948 $as_echo "
19949 $as_me: Finished. Do '${ac_make}' to compile Wine.
19950 " >&6