kernel32: NtOpenFile returns STATUS_SUCCESS on success.
[wine.git] / configure
blobb8133ae736310a14d5c82c202b1c859041256ccd
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_atoms_l1_1_0
878 enable_api_ms_win_core_com_l1_1_0
879 enable_api_ms_win_core_com_l1_1_1
880 enable_api_ms_win_core_console_l1_1_0
881 enable_api_ms_win_core_console_l2_1_0
882 enable_api_ms_win_core_datetime_l1_1_0
883 enable_api_ms_win_core_datetime_l1_1_1
884 enable_api_ms_win_core_debug_l1_1_0
885 enable_api_ms_win_core_debug_l1_1_1
886 enable_api_ms_win_core_delayload_l1_1_1
887 enable_api_ms_win_core_errorhandling_l1_1_0
888 enable_api_ms_win_core_errorhandling_l1_1_1
889 enable_api_ms_win_core_errorhandling_l1_1_2
890 enable_api_ms_win_core_fibers_l1_1_0
891 enable_api_ms_win_core_fibers_l1_1_1
892 enable_api_ms_win_core_file_l1_1_0
893 enable_api_ms_win_core_file_l1_2_0
894 enable_api_ms_win_core_file_l1_2_1
895 enable_api_ms_win_core_file_l2_1_0
896 enable_api_ms_win_core_file_l2_1_1
897 enable_api_ms_win_core_handle_l1_1_0
898 enable_api_ms_win_core_heap_l1_1_0
899 enable_api_ms_win_core_heap_l1_2_0
900 enable_api_ms_win_core_heap_obsolete_l1_1_0
901 enable_api_ms_win_core_interlocked_l1_1_0
902 enable_api_ms_win_core_interlocked_l1_2_0
903 enable_api_ms_win_core_io_l1_1_1
904 enable_api_ms_win_core_job_l1_1_0
905 enable_api_ms_win_core_job_l2_1_0
906 enable_api_ms_win_core_kernel32_legacy_l1_1_0
907 enable_api_ms_win_core_kernel32_legacy_l1_1_1
908 enable_api_ms_win_core_libraryloader_l1_1_0
909 enable_api_ms_win_core_libraryloader_l1_1_1
910 enable_api_ms_win_core_libraryloader_l1_2_0
911 enable_api_ms_win_core_localization_l1_1_0
912 enable_api_ms_win_core_localization_l1_2_0
913 enable_api_ms_win_core_localization_l1_2_1
914 enable_api_ms_win_core_localization_obsolete_l1_1_0
915 enable_api_ms_win_core_localization_obsolete_l1_2_0
916 enable_api_ms_win_core_localregistry_l1_1_0
917 enable_api_ms_win_core_memory_l1_1_0
918 enable_api_ms_win_core_memory_l1_1_1
919 enable_api_ms_win_core_memory_l1_1_2
920 enable_api_ms_win_core_misc_l1_1_0
921 enable_api_ms_win_core_namedpipe_l1_1_0
922 enable_api_ms_win_core_namedpipe_l1_2_0
923 enable_api_ms_win_core_namespace_l1_1_0
924 enable_api_ms_win_core_normalization_l1_1_0
925 enable_api_ms_win_core_path_l1_1_0
926 enable_api_ms_win_core_privateprofile_l1_1_1
927 enable_api_ms_win_core_processenvironment_l1_1_0
928 enable_api_ms_win_core_processenvironment_l1_2_0
929 enable_api_ms_win_core_processthreads_l1_1_0
930 enable_api_ms_win_core_processthreads_l1_1_1
931 enable_api_ms_win_core_processthreads_l1_1_2
932 enable_api_ms_win_core_profile_l1_1_0
933 enable_api_ms_win_core_psapi_l1_1_0
934 enable_api_ms_win_core_registry_l1_1_0
935 enable_api_ms_win_core_registryuserspecific_l1_1_0
936 enable_api_ms_win_core_rtlsupport_l1_1_0
937 enable_api_ms_win_core_rtlsupport_l1_2_0
938 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
939 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
940 enable_api_ms_win_core_sidebyside_l1_1_0
941 enable_api_ms_win_core_string_l1_1_0
942 enable_api_ms_win_core_string_l2_1_0
943 enable_api_ms_win_core_string_obsolete_l1_1_0
944 enable_api_ms_win_core_stringansi_l1_1_0
945 enable_api_ms_win_core_synch_l1_1_0
946 enable_api_ms_win_core_synch_l1_2_0
947 enable_api_ms_win_core_sysinfo_l1_1_0
948 enable_api_ms_win_core_sysinfo_l1_2_0
949 enable_api_ms_win_core_sysinfo_l1_2_1
950 enable_api_ms_win_core_threadpool_l1_2_0
951 enable_api_ms_win_core_threadpool_legacy_l1_1_0
952 enable_api_ms_win_core_timezone_l1_1_0
953 enable_api_ms_win_core_toolhelp_l1_1_0
954 enable_api_ms_win_core_url_l1_1_0
955 enable_api_ms_win_core_util_l1_1_0
956 enable_api_ms_win_core_version_l1_1_0
957 enable_api_ms_win_core_versionansi_l1_1_0
958 enable_api_ms_win_core_winrt_error_l1_1_0
959 enable_api_ms_win_core_winrt_error_l1_1_1
960 enable_api_ms_win_core_winrt_l1_1_0
961 enable_api_ms_win_core_winrt_registration_l1_1_0
962 enable_api_ms_win_core_winrt_string_l1_1_0
963 enable_api_ms_win_core_wow64_l1_1_0
964 enable_api_ms_win_core_xstate_l2_1_0
965 enable_api_ms_win_crt_conio_l1_1_0
966 enable_api_ms_win_crt_convert_l1_1_0
967 enable_api_ms_win_crt_environment_l1_1_0
968 enable_api_ms_win_crt_filesystem_l1_1_0
969 enable_api_ms_win_crt_heap_l1_1_0
970 enable_api_ms_win_crt_locale_l1_1_0
971 enable_api_ms_win_crt_math_l1_1_0
972 enable_api_ms_win_crt_multibyte_l1_1_0
973 enable_api_ms_win_crt_private_l1_1_0
974 enable_api_ms_win_crt_process_l1_1_0
975 enable_api_ms_win_crt_runtime_l1_1_0
976 enable_api_ms_win_crt_stdio_l1_1_0
977 enable_api_ms_win_crt_string_l1_1_0
978 enable_api_ms_win_crt_time_l1_1_0
979 enable_api_ms_win_crt_utility_l1_1_0
980 enable_api_ms_win_downlevel_advapi32_l1_1_0
981 enable_api_ms_win_downlevel_advapi32_l2_1_0
982 enable_api_ms_win_downlevel_normaliz_l1_1_0
983 enable_api_ms_win_downlevel_ole32_l1_1_0
984 enable_api_ms_win_downlevel_shell32_l1_1_0
985 enable_api_ms_win_downlevel_shlwapi_l1_1_0
986 enable_api_ms_win_downlevel_shlwapi_l2_1_0
987 enable_api_ms_win_downlevel_user32_l1_1_0
988 enable_api_ms_win_downlevel_version_l1_1_0
989 enable_api_ms_win_eventing_classicprovider_l1_1_0
990 enable_api_ms_win_eventing_provider_l1_1_0
991 enable_api_ms_win_eventlog_legacy_l1_1_0
992 enable_api_ms_win_ntuser_dc_access_l1_1_0
993 enable_api_ms_win_security_base_l1_1_0
994 enable_api_ms_win_security_base_l1_2_0
995 enable_api_ms_win_security_lsalookup_l1_1_0
996 enable_api_ms_win_security_lsalookup_l1_1_1
997 enable_api_ms_win_security_sddl_l1_1_0
998 enable_api_ms_win_service_core_l1_1_1
999 enable_api_ms_win_service_management_l1_1_0
1000 enable_api_ms_win_service_winsvc_l1_2_0
1001 enable_api_ms_win_shell_shellfolders_l1_1_0
1002 enable_apphelp
1003 enable_appwiz_cpl
1004 enable_atl
1005 enable_atl100
1006 enable_atl110
1007 enable_atl80
1008 enable_atl90
1009 enable_authz
1010 enable_avicap32
1011 enable_avifil32
1012 enable_avrt
1013 enable_bcrypt
1014 enable_bluetoothapis
1015 enable_browseui
1016 enable_bthprops_cpl
1017 enable_cabinet
1018 enable_capi2032
1019 enable_cards
1020 enable_cfgmgr32
1021 enable_clusapi
1022 enable_combase
1023 enable_comcat
1024 enable_comctl32
1025 enable_comdlg32
1026 enable_compstui
1027 enable_comsvcs
1028 enable_concrt140
1029 enable_connect
1030 enable_credui
1031 enable_crtdll
1032 enable_crypt32
1033 enable_cryptdlg
1034 enable_cryptdll
1035 enable_cryptext
1036 enable_cryptnet
1037 enable_cryptui
1038 enable_ctapi32
1039 enable_ctl3d32
1040 enable_d2d1
1041 enable_d3d10
1042 enable_d3d10_1
1043 enable_d3d10core
1044 enable_d3d11
1045 enable_d3d8
1046 enable_d3d9
1047 enable_d3dcompiler_33
1048 enable_d3dcompiler_34
1049 enable_d3dcompiler_35
1050 enable_d3dcompiler_36
1051 enable_d3dcompiler_37
1052 enable_d3dcompiler_38
1053 enable_d3dcompiler_39
1054 enable_d3dcompiler_40
1055 enable_d3dcompiler_41
1056 enable_d3dcompiler_42
1057 enable_d3dcompiler_43
1058 enable_d3dcompiler_46
1059 enable_d3dcompiler_47
1060 enable_d3dim
1061 enable_d3drm
1062 enable_d3dx10_33
1063 enable_d3dx10_34
1064 enable_d3dx10_35
1065 enable_d3dx10_36
1066 enable_d3dx10_37
1067 enable_d3dx10_38
1068 enable_d3dx10_39
1069 enable_d3dx10_40
1070 enable_d3dx10_41
1071 enable_d3dx10_42
1072 enable_d3dx10_43
1073 enable_d3dx11_42
1074 enable_d3dx11_43
1075 enable_d3dx9_24
1076 enable_d3dx9_25
1077 enable_d3dx9_26
1078 enable_d3dx9_27
1079 enable_d3dx9_28
1080 enable_d3dx9_29
1081 enable_d3dx9_30
1082 enable_d3dx9_31
1083 enable_d3dx9_32
1084 enable_d3dx9_33
1085 enable_d3dx9_34
1086 enable_d3dx9_35
1087 enable_d3dx9_36
1088 enable_d3dx9_37
1089 enable_d3dx9_38
1090 enable_d3dx9_39
1091 enable_d3dx9_40
1092 enable_d3dx9_41
1093 enable_d3dx9_42
1094 enable_d3dx9_43
1095 enable_d3dxof
1096 enable_davclnt
1097 enable_dbgeng
1098 enable_dbghelp
1099 enable_dciman32
1100 enable_ddraw
1101 enable_ddrawex
1102 enable_devenum
1103 enable_dhcpcsvc
1104 enable_difxapi
1105 enable_dinput
1106 enable_dinput8
1107 enable_dispex
1108 enable_dmband
1109 enable_dmcompos
1110 enable_dmime
1111 enable_dmloader
1112 enable_dmscript
1113 enable_dmstyle
1114 enable_dmsynth
1115 enable_dmusic
1116 enable_dmusic32
1117 enable_dnsapi
1118 enable_dplay
1119 enable_dplayx
1120 enable_dpnaddr
1121 enable_dpnet
1122 enable_dpnhpast
1123 enable_dpnlobby
1124 enable_dpvoice
1125 enable_dpwsockx
1126 enable_drmclien
1127 enable_dsound
1128 enable_dssenh
1129 enable_dswave
1130 enable_dwmapi
1131 enable_dwrite
1132 enable_dxdiagn
1133 enable_dxgi
1134 enable_dxva2
1135 enable_esent
1136 enable_evr
1137 enable_explorerframe
1138 enable_ext_ms_win_gdi_devcaps_l1_1_0
1139 enable_faultrep
1140 enable_fltlib
1141 enable_fltmgr_sys
1142 enable_fntcache
1143 enable_fontsub
1144 enable_fusion
1145 enable_fwpuclnt
1146 enable_gameux
1147 enable_gdi32
1148 enable_gdiplus
1149 enable_glu32
1150 enable_gphoto2_ds
1151 enable_gpkcsp
1152 enable_hal
1153 enable_hhctrl_ocx
1154 enable_hid
1155 enable_hidclass_sys
1156 enable_hlink
1157 enable_hnetcfg
1158 enable_httpapi
1159 enable_iccvid
1160 enable_icmp
1161 enable_ieframe
1162 enable_imaadp32_acm
1163 enable_imagehlp
1164 enable_imm32
1165 enable_inetcomm
1166 enable_inetcpl_cpl
1167 enable_inetmib1
1168 enable_infosoft
1169 enable_initpki
1170 enable_inkobj
1171 enable_inseng
1172 enable_iphlpapi
1173 enable_irprops_cpl
1174 enable_itircl
1175 enable_itss
1176 enable_joy_cpl
1177 enable_jscript
1178 enable_jsproxy
1179 enable_kernel32
1180 enable_kernelbase
1181 enable_ksuser
1182 enable_ktmw32
1183 enable_loadperf
1184 enable_localspl
1185 enable_localui
1186 enable_lz32
1187 enable_mapi32
1188 enable_mapistub
1189 enable_mciavi32
1190 enable_mcicda
1191 enable_mciqtz32
1192 enable_mciseq
1193 enable_mciwave
1194 enable_mf
1195 enable_mfplat
1196 enable_mfreadwrite
1197 enable_mgmtapi
1198 enable_midimap
1199 enable_mlang
1200 enable_mmcndmgr
1201 enable_mmdevapi
1202 enable_mountmgr_sys
1203 enable_mpr
1204 enable_mprapi
1205 enable_msacm32_drv
1206 enable_msacm32
1207 enable_msadp32_acm
1208 enable_msasn1
1209 enable_mscat32
1210 enable_mscms
1211 enable_mscoree
1212 enable_msctf
1213 enable_msctfp
1214 enable_msdaps
1215 enable_msdelta
1216 enable_msdmo
1217 enable_msdrm
1218 enable_msftedit
1219 enable_msg711_acm
1220 enable_msgsm32_acm
1221 enable_mshtml_tlb
1222 enable_mshtml
1223 enable_msi
1224 enable_msident
1225 enable_msimg32
1226 enable_msimsg
1227 enable_msimtf
1228 enable_msisip
1229 enable_msisys_ocx
1230 enable_msls31
1231 enable_msnet32
1232 enable_mspatcha
1233 enable_msports
1234 enable_msrle32
1235 enable_msscript_ocx
1236 enable_mssign32
1237 enable_mssip32
1238 enable_mstask
1239 enable_msvcirt
1240 enable_msvcm80
1241 enable_msvcm90
1242 enable_msvcp100
1243 enable_msvcp110
1244 enable_msvcp120
1245 enable_msvcp120_app
1246 enable_msvcp140
1247 enable_msvcp60
1248 enable_msvcp70
1249 enable_msvcp71
1250 enable_msvcp80
1251 enable_msvcp90
1252 enable_msvcr100
1253 enable_msvcr110
1254 enable_msvcr120
1255 enable_msvcr120_app
1256 enable_msvcr70
1257 enable_msvcr71
1258 enable_msvcr80
1259 enable_msvcr90
1260 enable_msvcrt
1261 enable_msvcrt20
1262 enable_msvcrt40
1263 enable_msvcrtd
1264 enable_msvfw32
1265 enable_msvidc32
1266 enable_mswsock
1267 enable_msxml
1268 enable_msxml2
1269 enable_msxml3
1270 enable_msxml4
1271 enable_msxml6
1272 enable_ncrypt
1273 enable_nddeapi
1274 enable_ndis_sys
1275 enable_netapi32
1276 enable_netcfgx
1277 enable_netprofm
1278 enable_newdev
1279 enable_normaliz
1280 enable_npmshtml
1281 enable_npptools
1282 enable_ntdll
1283 enable_ntdsapi
1284 enable_ntoskrnl_exe
1285 enable_ntprint
1286 enable_objsel
1287 enable_odbc32
1288 enable_odbccp32
1289 enable_odbccu32
1290 enable_ole32
1291 enable_oleacc
1292 enable_oleaut32
1293 enable_olecli32
1294 enable_oledb32
1295 enable_oledlg
1296 enable_olepro32
1297 enable_olesvr32
1298 enable_olethk32
1299 enable_openal32
1300 enable_opencl
1301 enable_opengl32
1302 enable_packager
1303 enable_pdh
1304 enable_photometadatahandler
1305 enable_pidgen
1306 enable_powrprof
1307 enable_printui
1308 enable_prntvpt
1309 enable_propsys
1310 enable_psapi
1311 enable_pstorec
1312 enable_qcap
1313 enable_qedit
1314 enable_qmgr
1315 enable_qmgrprxy
1316 enable_quartz
1317 enable_query
1318 enable_rasapi32
1319 enable_rasdlg
1320 enable_regapi
1321 enable_resutils
1322 enable_riched20
1323 enable_riched32
1324 enable_rpcrt4
1325 enable_rsabase
1326 enable_rsaenh
1327 enable_rstrtmgr
1328 enable_rtutils
1329 enable_samlib
1330 enable_sane_ds
1331 enable_scarddlg
1332 enable_sccbase
1333 enable_schannel
1334 enable_schedsvc
1335 enable_scrrun
1336 enable_scsiport_sys
1337 enable_secur32
1338 enable_security
1339 enable_sensapi
1340 enable_serialui
1341 enable_setupapi
1342 enable_sfc
1343 enable_sfc_os
1344 enable_shdoclc
1345 enable_shdocvw
1346 enable_shell32
1347 enable_shfolder
1348 enable_shlwapi
1349 enable_slbcsp
1350 enable_slc
1351 enable_snmpapi
1352 enable_softpub
1353 enable_spoolss
1354 enable_sspicli
1355 enable_stdole2_tlb
1356 enable_stdole32_tlb
1357 enable_sti
1358 enable_svrapi
1359 enable_sxs
1360 enable_t2embed
1361 enable_tapi32
1362 enable_taskschd
1363 enable_tdi_sys
1364 enable_traffic
1365 enable_twain_32
1366 enable_ucrtbase
1367 enable_unicows
1368 enable_updspapi
1369 enable_url
1370 enable_urlmon
1371 enable_usbd_sys
1372 enable_user32
1373 enable_userenv
1374 enable_usp10
1375 enable_uxtheme
1376 enable_vbscript
1377 enable_vcomp
1378 enable_vcomp100
1379 enable_vcomp110
1380 enable_vcomp120
1381 enable_vcomp140
1382 enable_vcomp90
1383 enable_vcruntime140
1384 enable_vdmdbg
1385 enable_version
1386 enable_vssapi
1387 enable_wbemdisp
1388 enable_wbemprox
1389 enable_webservices
1390 enable_wer
1391 enable_wevtapi
1392 enable_wiaservc
1393 enable_wimgapi
1394 enable_windowscodecs
1395 enable_windowscodecsext
1396 enable_winealsa_drv
1397 enable_winebus_sys
1398 enable_winecoreaudio_drv
1399 enable_wined3d
1400 enable_winegstreamer
1401 enable_winejoystick_drv
1402 enable_winemac_drv
1403 enable_winemapi
1404 enable_winemp3_acm
1405 enable_wineoss_drv
1406 enable_wineps_drv
1407 enable_winepulse_drv
1408 enable_wineqtdecoder
1409 enable_winex11_drv
1410 enable_wing32
1411 enable_winhttp
1412 enable_wininet
1413 enable_winmm
1414 enable_winnls32
1415 enable_winscard
1416 enable_winspool_drv
1417 enable_winsta
1418 enable_wintab32
1419 enable_wintrust
1420 enable_wlanapi
1421 enable_wldap32
1422 enable_wmasf
1423 enable_wmi
1424 enable_wmiutils
1425 enable_wmp
1426 enable_wmvcore
1427 enable_wnaspi32
1428 enable_wpc
1429 enable_wpcap
1430 enable_ws2_32
1431 enable_wshom_ocx
1432 enable_wsnmp32
1433 enable_wsock32
1434 enable_wtsapi32
1435 enable_wuapi
1436 enable_wuaueng
1437 enable_x3daudio1_0
1438 enable_x3daudio1_1
1439 enable_x3daudio1_2
1440 enable_x3daudio1_3
1441 enable_x3daudio1_4
1442 enable_x3daudio1_5
1443 enable_x3daudio1_6
1444 enable_x3daudio1_7
1445 enable_xapofx1_1
1446 enable_xapofx1_2
1447 enable_xapofx1_3
1448 enable_xapofx1_4
1449 enable_xapofx1_5
1450 enable_xaudio2_0
1451 enable_xaudio2_1
1452 enable_xaudio2_2
1453 enable_xaudio2_3
1454 enable_xaudio2_4
1455 enable_xaudio2_5
1456 enable_xaudio2_6
1457 enable_xaudio2_7
1458 enable_xaudio2_8
1459 enable_xaudio2_9
1460 enable_xinput1_1
1461 enable_xinput1_2
1462 enable_xinput1_3
1463 enable_xinput1_4
1464 enable_xinput9_1_0
1465 enable_xmllite
1466 enable_xolehlp
1467 enable_xpsprint
1468 enable_xpssvcs
1469 enable_fonts
1470 enable_include
1471 enable_libs_port
1472 enable_libs_wine
1473 enable_libs_wpp
1474 enable_loader
1475 enable_po
1476 enable_arp
1477 enable_aspnet_regiis
1478 enable_attrib
1479 enable_cabarc
1480 enable_cacls
1481 enable_clock
1482 enable_cmd
1483 enable_conhost
1484 enable_control
1485 enable_cscript
1486 enable_dpnsvr
1487 enable_dxdiag
1488 enable_eject
1489 enable_expand
1490 enable_explorer
1491 enable_extrac32
1492 enable_findstr
1493 enable_fsutil
1494 enable_hh
1495 enable_hostname
1496 enable_icacls
1497 enable_icinfo
1498 enable_iexplore
1499 enable_ipconfig
1500 enable_lodctr
1501 enable_mofcomp
1502 enable_mshta
1503 enable_msiexec
1504 enable_msinfo32
1505 enable_net
1506 enable_netsh
1507 enable_netstat
1508 enable_ngen
1509 enable_notepad
1510 enable_oleview
1511 enable_ping
1512 enable_plugplay
1513 enable_presentationfontcache
1514 enable_progman
1515 enable_reg
1516 enable_regasm
1517 enable_regedit
1518 enable_regsvcs
1519 enable_regsvr32
1520 enable_rpcss
1521 enable_rundll32
1522 enable_sc
1523 enable_schtasks
1524 enable_sdbinst
1525 enable_secedit
1526 enable_servicemodelreg
1527 enable_services
1528 enable_shutdown
1529 enable_spoolsv
1530 enable_start
1531 enable_svchost
1532 enable_systeminfo
1533 enable_taskkill
1534 enable_tasklist
1535 enable_taskmgr
1536 enable_termsv
1537 enable_uninstaller
1538 enable_unlodctr
1539 enable_view
1540 enable_wevtutil
1541 enable_wineboot
1542 enable_winebrowser
1543 enable_winecfg
1544 enable_wineconsole
1545 enable_winedbg
1546 enable_winedevice
1547 enable_winefile
1548 enable_winemenubuilder
1549 enable_winemine
1550 enable_winemsibuilder
1551 enable_winepath
1552 enable_winetest
1553 enable_winhlp32
1554 enable_winver
1555 enable_wmic
1556 enable_wmplayer
1557 enable_wordpad
1558 enable_write
1559 enable_wscript
1560 enable_wusa
1561 enable_xcopy
1562 enable_server
1563 enable_tools
1565 ac_precious_vars='build_alias
1566 host_alias
1567 target_alias
1569 CFLAGS
1570 LDFLAGS
1571 LIBS
1572 CPPFLAGS
1574 CXXFLAGS
1577 XMKMF
1578 XML2_CFLAGS
1579 XML2_LIBS
1580 XSLT_CFLAGS
1581 XSLT_LIBS
1582 DBUS_CFLAGS
1583 DBUS_LIBS
1584 HAL_CFLAGS
1585 HAL_LIBS
1586 GNUTLS_CFLAGS
1587 GNUTLS_LIBS
1588 SANE_CFLAGS
1589 SANE_LIBS
1590 GPHOTO2_CFLAGS
1591 GPHOTO2_LIBS
1592 GPHOTO2_PORT_CFLAGS
1593 GPHOTO2_PORT_LIBS
1594 LCMS2_CFLAGS
1595 LCMS2_LIBS
1596 FREETYPE_CFLAGS
1597 FREETYPE_LIBS
1598 PULSE_CFLAGS
1599 PULSE_LIBS
1600 GSTREAMER_CFLAGS
1601 GSTREAMER_LIBS
1602 UDEV_CFLAGS
1603 UDEV_LIBS
1604 CAPI20_CFLAGS
1605 CAPI20_LIBS
1606 FONTCONFIG_CFLAGS
1607 FONTCONFIG_LIBS
1608 JPEG_CFLAGS
1609 JPEG_LIBS
1610 PNG_CFLAGS
1611 PNG_LIBS
1612 TIFF_CFLAGS
1613 TIFF_LIBS
1614 MPG123_CFLAGS
1615 MPG123_LIBS
1616 NETAPI_CFLAGS
1617 NETAPI_LIBS'
1620 # Initialize some variables set by options.
1621 ac_init_help=
1622 ac_init_version=false
1623 ac_unrecognized_opts=
1624 ac_unrecognized_sep=
1625 # The variables have the same names as the options, with
1626 # dashes changed to underlines.
1627 cache_file=/dev/null
1628 exec_prefix=NONE
1629 no_create=
1630 no_recursion=
1631 prefix=NONE
1632 program_prefix=NONE
1633 program_suffix=NONE
1634 program_transform_name=s,x,x,
1635 silent=
1636 site=
1637 srcdir=
1638 verbose=
1639 x_includes=NONE
1640 x_libraries=NONE
1642 # Installation directory options.
1643 # These are left unexpanded so users can "make install exec_prefix=/foo"
1644 # and all the variables that are supposed to be based on exec_prefix
1645 # by default will actually change.
1646 # Use braces instead of parens because sh, perl, etc. also accept them.
1647 # (The list follows the same order as the GNU Coding Standards.)
1648 bindir='${exec_prefix}/bin'
1649 sbindir='${exec_prefix}/sbin'
1650 libexecdir='${exec_prefix}/libexec'
1651 datarootdir='${prefix}/share'
1652 datadir='${datarootdir}'
1653 sysconfdir='${prefix}/etc'
1654 sharedstatedir='${prefix}/com'
1655 localstatedir='${prefix}/var'
1656 runstatedir='${localstatedir}/run'
1657 includedir='${prefix}/include'
1658 oldincludedir='/usr/include'
1659 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1660 infodir='${datarootdir}/info'
1661 htmldir='${docdir}'
1662 dvidir='${docdir}'
1663 pdfdir='${docdir}'
1664 psdir='${docdir}'
1665 libdir='${exec_prefix}/lib'
1666 localedir='${datarootdir}/locale'
1667 mandir='${datarootdir}/man'
1669 ac_prev=
1670 ac_dashdash=
1671 for ac_option
1673 # If the previous option needs an argument, assign it.
1674 if test -n "$ac_prev"; then
1675 eval $ac_prev=\$ac_option
1676 ac_prev=
1677 continue
1680 case $ac_option in
1681 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1682 *=) ac_optarg= ;;
1683 *) ac_optarg=yes ;;
1684 esac
1686 # Accept the important Cygnus configure options, so we can diagnose typos.
1688 case $ac_dashdash$ac_option in
1690 ac_dashdash=yes ;;
1692 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1693 ac_prev=bindir ;;
1694 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1695 bindir=$ac_optarg ;;
1697 -build | --build | --buil | --bui | --bu)
1698 ac_prev=build_alias ;;
1699 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1700 build_alias=$ac_optarg ;;
1702 -cache-file | --cache-file | --cache-fil | --cache-fi \
1703 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1704 ac_prev=cache_file ;;
1705 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1706 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1707 cache_file=$ac_optarg ;;
1709 --config-cache | -C)
1710 cache_file=config.cache ;;
1712 -datadir | --datadir | --datadi | --datad)
1713 ac_prev=datadir ;;
1714 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1715 datadir=$ac_optarg ;;
1717 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1718 | --dataroo | --dataro | --datar)
1719 ac_prev=datarootdir ;;
1720 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1721 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1722 datarootdir=$ac_optarg ;;
1724 -disable-* | --disable-*)
1725 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1726 # Reject names that are not valid shell variable names.
1727 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1728 as_fn_error $? "invalid feature name: $ac_useropt"
1729 ac_useropt_orig=$ac_useropt
1730 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1731 case $ac_user_opts in
1733 "enable_$ac_useropt"
1734 "*) ;;
1735 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1736 ac_unrecognized_sep=', ';;
1737 esac
1738 eval enable_$ac_useropt=no ;;
1740 -docdir | --docdir | --docdi | --doc | --do)
1741 ac_prev=docdir ;;
1742 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1743 docdir=$ac_optarg ;;
1745 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1746 ac_prev=dvidir ;;
1747 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1748 dvidir=$ac_optarg ;;
1750 -enable-* | --enable-*)
1751 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1754 as_fn_error $? "invalid feature name: $ac_useropt"
1755 ac_useropt_orig=$ac_useropt
1756 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1759 "enable_$ac_useropt"
1760 "*) ;;
1761 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1762 ac_unrecognized_sep=', ';;
1763 esac
1764 eval enable_$ac_useropt=\$ac_optarg ;;
1766 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1767 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1768 | --exec | --exe | --ex)
1769 ac_prev=exec_prefix ;;
1770 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1771 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1772 | --exec=* | --exe=* | --ex=*)
1773 exec_prefix=$ac_optarg ;;
1775 -gas | --gas | --ga | --g)
1776 # Obsolete; use --with-gas.
1777 with_gas=yes ;;
1779 -help | --help | --hel | --he | -h)
1780 ac_init_help=long ;;
1781 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1782 ac_init_help=recursive ;;
1783 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1784 ac_init_help=short ;;
1786 -host | --host | --hos | --ho)
1787 ac_prev=host_alias ;;
1788 -host=* | --host=* | --hos=* | --ho=*)
1789 host_alias=$ac_optarg ;;
1791 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1792 ac_prev=htmldir ;;
1793 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1794 | --ht=*)
1795 htmldir=$ac_optarg ;;
1797 -includedir | --includedir | --includedi | --included | --include \
1798 | --includ | --inclu | --incl | --inc)
1799 ac_prev=includedir ;;
1800 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1801 | --includ=* | --inclu=* | --incl=* | --inc=*)
1802 includedir=$ac_optarg ;;
1804 -infodir | --infodir | --infodi | --infod | --info | --inf)
1805 ac_prev=infodir ;;
1806 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1807 infodir=$ac_optarg ;;
1809 -libdir | --libdir | --libdi | --libd)
1810 ac_prev=libdir ;;
1811 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1812 libdir=$ac_optarg ;;
1814 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1815 | --libexe | --libex | --libe)
1816 ac_prev=libexecdir ;;
1817 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1818 | --libexe=* | --libex=* | --libe=*)
1819 libexecdir=$ac_optarg ;;
1821 -localedir | --localedir | --localedi | --localed | --locale)
1822 ac_prev=localedir ;;
1823 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1824 localedir=$ac_optarg ;;
1826 -localstatedir | --localstatedir | --localstatedi | --localstated \
1827 | --localstate | --localstat | --localsta | --localst | --locals)
1828 ac_prev=localstatedir ;;
1829 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1830 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1831 localstatedir=$ac_optarg ;;
1833 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1834 ac_prev=mandir ;;
1835 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1836 mandir=$ac_optarg ;;
1838 -nfp | --nfp | --nf)
1839 # Obsolete; use --without-fp.
1840 with_fp=no ;;
1842 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1843 | --no-cr | --no-c | -n)
1844 no_create=yes ;;
1846 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1847 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1848 no_recursion=yes ;;
1850 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1851 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1852 | --oldin | --oldi | --old | --ol | --o)
1853 ac_prev=oldincludedir ;;
1854 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1855 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1856 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1857 oldincludedir=$ac_optarg ;;
1859 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1860 ac_prev=prefix ;;
1861 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1862 prefix=$ac_optarg ;;
1864 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1865 | --program-pre | --program-pr | --program-p)
1866 ac_prev=program_prefix ;;
1867 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1868 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1869 program_prefix=$ac_optarg ;;
1871 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1872 | --program-suf | --program-su | --program-s)
1873 ac_prev=program_suffix ;;
1874 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1875 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1876 program_suffix=$ac_optarg ;;
1878 -program-transform-name | --program-transform-name \
1879 | --program-transform-nam | --program-transform-na \
1880 | --program-transform-n | --program-transform- \
1881 | --program-transform | --program-transfor \
1882 | --program-transfo | --program-transf \
1883 | --program-trans | --program-tran \
1884 | --progr-tra | --program-tr | --program-t)
1885 ac_prev=program_transform_name ;;
1886 -program-transform-name=* | --program-transform-name=* \
1887 | --program-transform-nam=* | --program-transform-na=* \
1888 | --program-transform-n=* | --program-transform-=* \
1889 | --program-transform=* | --program-transfor=* \
1890 | --program-transfo=* | --program-transf=* \
1891 | --program-trans=* | --program-tran=* \
1892 | --progr-tra=* | --program-tr=* | --program-t=*)
1893 program_transform_name=$ac_optarg ;;
1895 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1896 ac_prev=pdfdir ;;
1897 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1898 pdfdir=$ac_optarg ;;
1900 -psdir | --psdir | --psdi | --psd | --ps)
1901 ac_prev=psdir ;;
1902 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1903 psdir=$ac_optarg ;;
1905 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1906 | -silent | --silent | --silen | --sile | --sil)
1907 silent=yes ;;
1909 -runstatedir | --runstatedir | --runstatedi | --runstated \
1910 | --runstate | --runstat | --runsta | --runst | --runs \
1911 | --run | --ru | --r)
1912 ac_prev=runstatedir ;;
1913 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1914 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1915 | --run=* | --ru=* | --r=*)
1916 runstatedir=$ac_optarg ;;
1918 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1919 ac_prev=sbindir ;;
1920 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1921 | --sbi=* | --sb=*)
1922 sbindir=$ac_optarg ;;
1924 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1925 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1926 | --sharedst | --shareds | --shared | --share | --shar \
1927 | --sha | --sh)
1928 ac_prev=sharedstatedir ;;
1929 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1930 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1931 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1932 | --sha=* | --sh=*)
1933 sharedstatedir=$ac_optarg ;;
1935 -site | --site | --sit)
1936 ac_prev=site ;;
1937 -site=* | --site=* | --sit=*)
1938 site=$ac_optarg ;;
1940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1941 ac_prev=srcdir ;;
1942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1943 srcdir=$ac_optarg ;;
1945 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1946 | --syscon | --sysco | --sysc | --sys | --sy)
1947 ac_prev=sysconfdir ;;
1948 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1949 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1950 sysconfdir=$ac_optarg ;;
1952 -target | --target | --targe | --targ | --tar | --ta | --t)
1953 ac_prev=target_alias ;;
1954 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1955 target_alias=$ac_optarg ;;
1957 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1958 verbose=yes ;;
1960 -version | --version | --versio | --versi | --vers | -V)
1961 ac_init_version=: ;;
1963 -with-* | --with-*)
1964 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1965 # Reject names that are not valid shell variable names.
1966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1967 as_fn_error $? "invalid package name: $ac_useropt"
1968 ac_useropt_orig=$ac_useropt
1969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1970 case $ac_user_opts in
1972 "with_$ac_useropt"
1973 "*) ;;
1974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1975 ac_unrecognized_sep=', ';;
1976 esac
1977 eval with_$ac_useropt=\$ac_optarg ;;
1979 -without-* | --without-*)
1980 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1981 # Reject names that are not valid shell variable names.
1982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1983 as_fn_error $? "invalid package name: $ac_useropt"
1984 ac_useropt_orig=$ac_useropt
1985 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1986 case $ac_user_opts in
1988 "with_$ac_useropt"
1989 "*) ;;
1990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1991 ac_unrecognized_sep=', ';;
1992 esac
1993 eval with_$ac_useropt=no ;;
1995 --x)
1996 # Obsolete; use --with-x.
1997 with_x=yes ;;
1999 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2000 | --x-incl | --x-inc | --x-in | --x-i)
2001 ac_prev=x_includes ;;
2002 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2003 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2004 x_includes=$ac_optarg ;;
2006 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2007 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2008 ac_prev=x_libraries ;;
2009 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2010 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2011 x_libraries=$ac_optarg ;;
2013 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2014 Try \`$0 --help' for more information"
2017 *=*)
2018 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2019 # Reject names that are not valid shell variable names.
2020 case $ac_envvar in #(
2021 '' | [0-9]* | *[!_$as_cr_alnum]* )
2022 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2023 esac
2024 eval $ac_envvar=\$ac_optarg
2025 export $ac_envvar ;;
2028 # FIXME: should be removed in autoconf 3.0.
2029 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2030 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2031 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2032 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2035 esac
2036 done
2038 if test -n "$ac_prev"; then
2039 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2040 as_fn_error $? "missing argument to $ac_option"
2043 if test -n "$ac_unrecognized_opts"; then
2044 case $enable_option_checking in
2045 no) ;;
2046 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2047 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2048 esac
2051 # Check all directory arguments for consistency.
2052 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2053 datadir sysconfdir sharedstatedir localstatedir includedir \
2054 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2055 libdir localedir mandir runstatedir
2057 eval ac_val=\$$ac_var
2058 # Remove trailing slashes.
2059 case $ac_val in
2060 */ )
2061 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2062 eval $ac_var=\$ac_val;;
2063 esac
2064 # Be sure to have absolute directory names.
2065 case $ac_val in
2066 [\\/$]* | ?:[\\/]* ) continue;;
2067 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2068 esac
2069 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2070 done
2072 # There might be people who depend on the old broken behavior: `$host'
2073 # used to hold the argument of --host etc.
2074 # FIXME: To remove some day.
2075 build=$build_alias
2076 host=$host_alias
2077 target=$target_alias
2079 # FIXME: To remove some day.
2080 if test "x$host_alias" != x; then
2081 if test "x$build_alias" = x; then
2082 cross_compiling=maybe
2083 elif test "x$build_alias" != "x$host_alias"; then
2084 cross_compiling=yes
2088 ac_tool_prefix=
2089 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2091 test "$silent" = yes && exec 6>/dev/null
2094 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2095 ac_ls_di=`ls -di .` &&
2096 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2097 as_fn_error $? "working directory cannot be determined"
2098 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2099 as_fn_error $? "pwd does not report name of working directory"
2102 # Find the source files, if location was not specified.
2103 if test -z "$srcdir"; then
2104 ac_srcdir_defaulted=yes
2105 # Try the directory containing this script, then the parent directory.
2106 ac_confdir=`$as_dirname -- "$as_myself" ||
2107 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2108 X"$as_myself" : 'X\(//\)[^/]' \| \
2109 X"$as_myself" : 'X\(//\)$' \| \
2110 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2111 $as_echo X"$as_myself" |
2112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2113 s//\1/
2116 /^X\(\/\/\)[^/].*/{
2117 s//\1/
2120 /^X\(\/\/\)$/{
2121 s//\1/
2124 /^X\(\/\).*/{
2125 s//\1/
2128 s/.*/./; q'`
2129 srcdir=$ac_confdir
2130 if test ! -r "$srcdir/$ac_unique_file"; then
2131 srcdir=..
2133 else
2134 ac_srcdir_defaulted=no
2136 if test ! -r "$srcdir/$ac_unique_file"; then
2137 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2138 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2140 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2141 ac_abs_confdir=`(
2142 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2143 pwd)`
2144 # When building in place, set srcdir=.
2145 if test "$ac_abs_confdir" = "$ac_pwd"; then
2146 srcdir=.
2148 # Remove unnecessary trailing slashes from srcdir.
2149 # Double slashes in file names in object file debugging info
2150 # mess up M-x gdb in Emacs.
2151 case $srcdir in
2152 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2153 esac
2154 for ac_var in $ac_precious_vars; do
2155 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2156 eval ac_env_${ac_var}_value=\$${ac_var}
2157 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2158 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2159 done
2162 # Report the --help message.
2164 if test "$ac_init_help" = "long"; then
2165 # Omit some internal or obsolete options to make the list less imposing.
2166 # This message is too long to be a string in the A/UX 3.1 sh.
2167 cat <<_ACEOF
2168 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2170 Usage: $0 [OPTION]... [VAR=VALUE]...
2172 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2173 VAR=VALUE. See below for descriptions of some of the useful variables.
2175 Defaults for the options are specified in brackets.
2177 Configuration:
2178 -h, --help display this help and exit
2179 --help=short display options specific to this package
2180 --help=recursive display the short help of all the included packages
2181 -V, --version display version information and exit
2182 -q, --quiet, --silent do not print \`checking ...' messages
2183 --cache-file=FILE cache test results in FILE [disabled]
2184 -C, --config-cache alias for \`--cache-file=config.cache'
2185 -n, --no-create do not create output files
2186 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2188 Installation directories:
2189 --prefix=PREFIX install architecture-independent files in PREFIX
2190 [$ac_default_prefix]
2191 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2192 [PREFIX]
2194 By default, \`make install' will install all the files in
2195 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2196 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2197 for instance \`--prefix=\$HOME'.
2199 For better control, use the options below.
2201 Fine tuning of the installation directories:
2202 --bindir=DIR user executables [EPREFIX/bin]
2203 --sbindir=DIR system admin executables [EPREFIX/sbin]
2204 --libexecdir=DIR program executables [EPREFIX/libexec]
2205 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2206 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2207 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2208 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2209 --libdir=DIR object code libraries [EPREFIX/lib]
2210 --includedir=DIR C header files [PREFIX/include]
2211 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2212 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2213 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2214 --infodir=DIR info documentation [DATAROOTDIR/info]
2215 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2216 --mandir=DIR man documentation [DATAROOTDIR/man]
2217 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2218 --htmldir=DIR html documentation [DOCDIR]
2219 --dvidir=DIR dvi documentation [DOCDIR]
2220 --pdfdir=DIR pdf documentation [DOCDIR]
2221 --psdir=DIR ps documentation [DOCDIR]
2222 _ACEOF
2224 cat <<\_ACEOF
2226 X features:
2227 --x-includes=DIR X include files are in DIR
2228 --x-libraries=DIR X library files are in DIR
2230 System types:
2231 --build=BUILD configure for building on BUILD [guessed]
2232 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2233 _ACEOF
2236 if test -n "$ac_init_help"; then
2237 case $ac_init_help in
2238 short | recursive ) echo "Configuration of Wine 1.9.18:";;
2239 esac
2240 cat <<\_ACEOF
2242 Optional Features:
2243 --disable-option-checking ignore unrecognized --enable/--with options
2244 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2245 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2246 --disable-win16 do not include Win16 support
2247 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2248 binaries)
2249 --disable-tests do not build the regression tests
2250 --enable-maintainer-mode
2251 enable maintainer-specific build rules
2252 --disable-largefile omit support for large files
2254 Optional Packages:
2255 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2256 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2257 --without-alsa do not use the Alsa sound support
2258 --without-capi do not use CAPI (ISDN support)
2259 --without-cms do not use CMS (color management support)
2260 --without-coreaudio do not use the CoreAudio sound support
2261 --without-cups do not use CUPS
2262 --without-curses do not use (n)curses
2263 --without-dbus do not use DBus (dynamic device support)
2264 --without-fontconfig do not use fontconfig
2265 --without-freetype do not use the FreeType library
2266 --without-gettext do not use gettext
2267 --with-gettextpo use the GetTextPO library to rebuild po files
2268 --without-gphoto do not use gphoto (Digital Camera support)
2269 --without-glu do not use the GLU library
2270 --without-gnutls do not use GnuTLS (schannel support)
2271 --without-gsm do not use libgsm (GSM 06.10 codec support)
2272 --without-gstreamer do not use GStreamer (codecs support)
2273 --without-hal do not use HAL (dynamic device support)
2274 --without-jpeg do not use JPEG
2275 --without-ldap do not use LDAP
2276 --without-mpg123 do not use the mpg123 library
2277 --without-netapi do not use the Samba NetAPI library
2278 --without-openal do not use OpenAL
2279 --without-opencl do not use OpenCL
2280 --without-opengl do not use OpenGL
2281 --without-osmesa do not use the OSMesa library
2282 --without-oss do not use the OSS sound support
2283 --without-pcap do not use the Packet Capture library
2284 --without-png do not use PNG
2285 --without-pthread do not use the pthread library
2286 --without-pulse do not use PulseAudio sound support
2287 --without-sane do not use SANE (scanner support)
2288 --without-tiff do not use TIFF
2289 --without-udev do not use udev (plug and play support)
2290 --without-v4l do not use v4l1 (v4l support)
2291 --without-xcomposite do not use the Xcomposite extension
2292 --without-xcursor do not use the Xcursor extension
2293 --without-xinerama do not use Xinerama (multi-monitor support)
2294 --without-xinput do not use the Xinput extension
2295 --without-xinput2 do not use the Xinput 2 extension
2296 --without-xml do not use XML
2297 --without-xrandr do not use Xrandr (resolution changes)
2298 --without-xrender do not use the Xrender extension
2299 --without-xshape do not use the Xshape extension
2300 --without-xshm do not use XShm (shared memory extension)
2301 --without-xslt do not use XSLT
2302 --without-xxf86vm do not use XFree video mode extension
2303 --without-zlib do not use Zlib (data compression)
2304 --with-wine-tools=DIR use Wine tools from directory DIR
2305 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2306 --with-x use the X Window System
2308 Some influential environment variables:
2309 CC C compiler command
2310 CFLAGS C compiler flags
2311 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2312 nonstandard directory <lib dir>
2313 LIBS libraries to pass to the linker, e.g. -l<library>
2314 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2315 you have headers in a nonstandard directory <include dir>
2316 CXX C++ compiler command
2317 CXXFLAGS C++ compiler flags
2318 CPP C preprocessor
2319 XMKMF Path to xmkmf, Makefile generator for X Window System
2320 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2321 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2322 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2323 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2324 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2325 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2326 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2327 HAL_LIBS Linker flags for hal, overriding pkg-config
2328 GNUTLS_CFLAGS
2329 C compiler flags for gnutls, overriding pkg-config
2330 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2331 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2332 SANE_LIBS Linker flags for libsane, overriding pkg-config
2333 GPHOTO2_CFLAGS
2334 C compiler flags for libgphoto2, overriding pkg-config
2335 GPHOTO2_LIBS
2336 Linker flags for libgphoto2, overriding pkg-config
2337 GPHOTO2_PORT_CFLAGS
2338 C compiler flags for libgphoto2_port, overriding pkg-config
2339 GPHOTO2_PORT_LIBS
2340 Linker flags for libgphoto2_port, overriding pkg-config
2341 LCMS2_CFLAGS
2342 C compiler flags for lcms2, overriding pkg-config
2343 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2344 FREETYPE_CFLAGS
2345 C compiler flags for freetype2, overriding pkg-config
2346 FREETYPE_LIBS
2347 Linker flags for freetype2, overriding pkg-config
2348 PULSE_CFLAGS
2349 C compiler flags for libpulse, overriding pkg-config
2350 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2351 GSTREAMER_CFLAGS
2352 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2353 gstreamer-audio-1.0, overriding pkg-config
2354 GSTREAMER_LIBS
2355 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2356 gstreamer-audio-1.0, overriding pkg-config
2357 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2358 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2359 CAPI20_CFLAGS
2360 C compiler flags for capi20, overriding pkg-config
2361 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2362 FONTCONFIG_CFLAGS
2363 C compiler flags for fontconfig, overriding pkg-config
2364 FONTCONFIG_LIBS
2365 Linker flags for fontconfig, overriding pkg-config
2366 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2367 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2368 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2369 PNG_LIBS Linker flags for libpng, overriding pkg-config
2370 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2371 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2372 MPG123_CFLAGS
2373 C compiler flags for libmpg123, overriding pkg-config
2374 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2375 NETAPI_CFLAGS
2376 C compiler flags for netapi, overriding pkg-config
2377 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2379 Use these variables to override the choices made by `configure' or to help
2380 it to find libraries and programs with nonstandard names/locations.
2382 Report bugs to <wine-devel@winehq.org>.
2383 Wine home page: <http://www.winehq.org>.
2384 _ACEOF
2385 ac_status=$?
2388 if test "$ac_init_help" = "recursive"; then
2389 # If there are subdirs, report their specific --help.
2390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2391 test -d "$ac_dir" ||
2392 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2393 continue
2394 ac_builddir=.
2396 case "$ac_dir" in
2397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2399 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2400 # A ".." for each directory in $ac_dir_suffix.
2401 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2402 case $ac_top_builddir_sub in
2403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2405 esac ;;
2406 esac
2407 ac_abs_top_builddir=$ac_pwd
2408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2409 # for backward compatibility:
2410 ac_top_builddir=$ac_top_build_prefix
2412 case $srcdir in
2413 .) # We are building in place.
2414 ac_srcdir=.
2415 ac_top_srcdir=$ac_top_builddir_sub
2416 ac_abs_top_srcdir=$ac_pwd ;;
2417 [\\/]* | ?:[\\/]* ) # Absolute name.
2418 ac_srcdir=$srcdir$ac_dir_suffix;
2419 ac_top_srcdir=$srcdir
2420 ac_abs_top_srcdir=$srcdir ;;
2421 *) # Relative name.
2422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2423 ac_top_srcdir=$ac_top_build_prefix$srcdir
2424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2425 esac
2426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2428 cd "$ac_dir" || { ac_status=$?; continue; }
2429 # Check for guested configure.
2430 if test -f "$ac_srcdir/configure.gnu"; then
2431 echo &&
2432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2433 elif test -f "$ac_srcdir/configure"; then
2434 echo &&
2435 $SHELL "$ac_srcdir/configure" --help=recursive
2436 else
2437 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2438 fi || ac_status=$?
2439 cd "$ac_pwd" || { ac_status=$?; break; }
2440 done
2443 test -n "$ac_init_help" && exit $ac_status
2444 if $ac_init_version; then
2445 cat <<\_ACEOF
2446 Wine configure 1.9.18
2447 generated by GNU Autoconf 2.69
2449 Copyright (C) 2012 Free Software Foundation, Inc.
2450 This configure script is free software; the Free Software Foundation
2451 gives unlimited permission to copy, distribute and modify it.
2452 _ACEOF
2453 exit
2456 ## ------------------------ ##
2457 ## Autoconf initialization. ##
2458 ## ------------------------ ##
2460 # ac_fn_c_try_compile LINENO
2461 # --------------------------
2462 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2463 ac_fn_c_try_compile ()
2465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2466 rm -f conftest.$ac_objext
2467 if { { ac_try="$ac_compile"
2468 case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471 esac
2472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2473 $as_echo "$ac_try_echo"; } >&5
2474 (eval "$ac_compile") 2>conftest.err
2475 ac_status=$?
2476 if test -s conftest.err; then
2477 grep -v '^ *+' conftest.err >conftest.er1
2478 cat conftest.er1 >&5
2479 mv -f conftest.er1 conftest.err
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; } && {
2483 test -z "$ac_c_werror_flag" ||
2484 test ! -s conftest.err
2485 } && test -s conftest.$ac_objext; then :
2486 ac_retval=0
2487 else
2488 $as_echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.$ac_ext >&5
2491 ac_retval=1
2493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2494 as_fn_set_status $ac_retval
2496 } # ac_fn_c_try_compile
2498 # ac_fn_cxx_try_compile LINENO
2499 # ----------------------------
2500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2501 ac_fn_cxx_try_compile ()
2503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2504 rm -f conftest.$ac_objext
2505 if { { ac_try="$ac_compile"
2506 case "(($ac_try" in
2507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2508 *) ac_try_echo=$ac_try;;
2509 esac
2510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2511 $as_echo "$ac_try_echo"; } >&5
2512 (eval "$ac_compile") 2>conftest.err
2513 ac_status=$?
2514 if test -s conftest.err; then
2515 grep -v '^ *+' conftest.err >conftest.er1
2516 cat conftest.er1 >&5
2517 mv -f conftest.er1 conftest.err
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; } && {
2521 test -z "$ac_cxx_werror_flag" ||
2522 test ! -s conftest.err
2523 } && test -s conftest.$ac_objext; then :
2524 ac_retval=0
2525 else
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2529 ac_retval=1
2531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2532 as_fn_set_status $ac_retval
2534 } # ac_fn_cxx_try_compile
2536 # ac_fn_c_try_link LINENO
2537 # -----------------------
2538 # Try to link conftest.$ac_ext, and return whether this succeeded.
2539 ac_fn_c_try_link ()
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2542 rm -f conftest.$ac_objext conftest$ac_exeext
2543 if { { ac_try="$ac_link"
2544 case "(($ac_try" in
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2547 esac
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_link") 2>conftest.err
2551 ac_status=$?
2552 if test -s conftest.err; then
2553 grep -v '^ *+' conftest.err >conftest.er1
2554 cat conftest.er1 >&5
2555 mv -f conftest.er1 conftest.err
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; } && {
2559 test -z "$ac_c_werror_flag" ||
2560 test ! -s conftest.err
2561 } && test -s conftest$ac_exeext && {
2562 test "$cross_compiling" = yes ||
2563 test -x conftest$ac_exeext
2564 }; then :
2565 ac_retval=0
2566 else
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2570 ac_retval=1
2572 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2573 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2574 # interfere with the next link command; also delete a directory that is
2575 # left behind by Apple's compiler. We do this before executing the actions.
2576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2578 as_fn_set_status $ac_retval
2580 } # ac_fn_c_try_link
2582 # ac_fn_c_try_cpp LINENO
2583 # ----------------------
2584 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2585 ac_fn_c_try_cpp ()
2587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2588 if { { ac_try="$ac_cpp conftest.$ac_ext"
2589 case "(($ac_try" in
2590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2591 *) ac_try_echo=$ac_try;;
2592 esac
2593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2594 $as_echo "$ac_try_echo"; } >&5
2595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2596 ac_status=$?
2597 if test -s conftest.err; then
2598 grep -v '^ *+' conftest.err >conftest.er1
2599 cat conftest.er1 >&5
2600 mv -f conftest.er1 conftest.err
2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2603 test $ac_status = 0; } > conftest.i && {
2604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2605 test ! -s conftest.err
2606 }; then :
2607 ac_retval=0
2608 else
2609 $as_echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2612 ac_retval=1
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615 as_fn_set_status $ac_retval
2617 } # ac_fn_c_try_cpp
2619 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2620 # -------------------------------------------------------
2621 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2622 # the include files in INCLUDES and setting the cache variable VAR
2623 # accordingly.
2624 ac_fn_c_check_header_mongrel ()
2626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2627 if eval \${$3+:} false; then :
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2629 $as_echo_n "checking for $2... " >&6; }
2630 if eval \${$3+:} false; then :
2631 $as_echo_n "(cached) " >&6
2633 eval ac_res=\$$3
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2635 $as_echo "$ac_res" >&6; }
2636 else
2637 # Is the header compilable?
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2639 $as_echo_n "checking $2 usability... " >&6; }
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2643 #include <$2>
2644 _ACEOF
2645 if ac_fn_c_try_compile "$LINENO"; then :
2646 ac_header_compiler=yes
2647 else
2648 ac_header_compiler=no
2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2652 $as_echo "$ac_header_compiler" >&6; }
2654 # Is the header present?
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2656 $as_echo_n "checking $2 presence... " >&6; }
2657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2659 #include <$2>
2660 _ACEOF
2661 if ac_fn_c_try_cpp "$LINENO"; then :
2662 ac_header_preproc=yes
2663 else
2664 ac_header_preproc=no
2666 rm -f conftest.err conftest.i conftest.$ac_ext
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2668 $as_echo "$ac_header_preproc" >&6; }
2670 # So? What about this header?
2671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2672 yes:no: )
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2674 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2678 no:yes:* )
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2680 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2682 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2684 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2686 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2689 ( $as_echo "## ------------------------------------ ##
2690 ## Report this to wine-devel@winehq.org ##
2691 ## ------------------------------------ ##"
2692 ) | sed "s/^/$as_me: WARNING: /" >&2
2694 esac
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2696 $as_echo_n "checking for $2... " >&6; }
2697 if eval \${$3+:} false; then :
2698 $as_echo_n "(cached) " >&6
2699 else
2700 eval "$3=\$ac_header_compiler"
2702 eval ac_res=\$$3
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2704 $as_echo "$ac_res" >&6; }
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 } # ac_fn_c_check_header_mongrel
2710 # ac_fn_c_try_run LINENO
2711 # ----------------------
2712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2713 # that executables *can* be run.
2714 ac_fn_c_try_run ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 if { { ac_try="$ac_link"
2718 case "(($ac_try" in
2719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2720 *) ac_try_echo=$ac_try;;
2721 esac
2722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2723 $as_echo "$ac_try_echo"; } >&5
2724 (eval "$ac_link") 2>&5
2725 ac_status=$?
2726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2727 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2728 { { case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 $as_echo "$ac_try_echo"; } >&5
2734 (eval "$ac_try") 2>&5
2735 ac_status=$?
2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; }; }; then :
2738 ac_retval=0
2739 else
2740 $as_echo "$as_me: program exited with status $ac_status" >&5
2741 $as_echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 ac_retval=$ac_status
2746 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 as_fn_set_status $ac_retval
2750 } # ac_fn_c_try_run
2752 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2753 # -------------------------------------------------------
2754 # Tests whether HEADER exists and can be compiled using the include files in
2755 # INCLUDES, setting the cache variable VAR accordingly.
2756 ac_fn_c_check_header_compile ()
2758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2760 $as_echo_n "checking for $2... " >&6; }
2761 if eval \${$3+:} false; then :
2762 $as_echo_n "(cached) " >&6
2763 else
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2767 #include <$2>
2768 _ACEOF
2769 if ac_fn_c_try_compile "$LINENO"; then :
2770 eval "$3=yes"
2771 else
2772 eval "$3=no"
2774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2776 eval ac_res=\$$3
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2778 $as_echo "$ac_res" >&6; }
2779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 } # ac_fn_c_check_header_compile
2783 # ac_fn_c_check_func LINENO FUNC VAR
2784 # ----------------------------------
2785 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2786 ac_fn_c_check_func ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2790 $as_echo_n "checking for $2... " >&6; }
2791 if eval \${$3+:} false; then :
2792 $as_echo_n "(cached) " >&6
2793 else
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2796 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2798 #define $2 innocuous_$2
2800 /* System header to define __stub macros and hopefully few prototypes,
2801 which can conflict with char $2 (); below.
2802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2803 <limits.h> exists even on freestanding compilers. */
2805 #ifdef __STDC__
2806 # include <limits.h>
2807 #else
2808 # include <assert.h>
2809 #endif
2811 #undef $2
2813 /* Override any GCC internal prototype to avoid an error.
2814 Use char because int might match the return type of a GCC
2815 builtin and then its argument prototype would still apply. */
2816 #ifdef __cplusplus
2817 extern "C"
2818 #endif
2819 char $2 ();
2820 /* The GNU C library defines this for functions which it implements
2821 to always fail with ENOSYS. Some functions are actually named
2822 something starting with __ and the normal name is an alias. */
2823 #if defined __stub_$2 || defined __stub___$2
2824 choke me
2825 #endif
2828 main ()
2830 return $2 ();
2832 return 0;
2834 _ACEOF
2835 if ac_fn_c_try_link "$LINENO"; then :
2836 eval "$3=yes"
2837 else
2838 eval "$3=no"
2840 rm -f core conftest.err conftest.$ac_objext \
2841 conftest$ac_exeext conftest.$ac_ext
2843 eval ac_res=\$$3
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 $as_echo "$ac_res" >&6; }
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 } # ac_fn_c_check_func
2850 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2851 # ----------------------------------------------------
2852 # Tries to find if the field MEMBER exists in type AGGR, after including
2853 # INCLUDES, setting cache variable VAR accordingly.
2854 ac_fn_c_check_member ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2858 $as_echo_n "checking for $2.$3... " >&6; }
2859 if eval \${$4+:} false; then :
2860 $as_echo_n "(cached) " >&6
2861 else
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2866 main ()
2868 static $2 ac_aggr;
2869 if (ac_aggr.$3)
2870 return 0;
2872 return 0;
2874 _ACEOF
2875 if ac_fn_c_try_compile "$LINENO"; then :
2876 eval "$4=yes"
2877 else
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2882 main ()
2884 static $2 ac_aggr;
2885 if (sizeof ac_aggr.$3)
2886 return 0;
2888 return 0;
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 eval "$4=yes"
2893 else
2894 eval "$4=no"
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900 eval ac_res=\$$4
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2902 $as_echo "$ac_res" >&6; }
2903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2905 } # ac_fn_c_check_member
2907 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2908 # -------------------------------------------
2909 # Tests whether TYPE exists after having included INCLUDES, setting cache
2910 # variable VAR accordingly.
2911 ac_fn_c_check_type ()
2913 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2915 $as_echo_n "checking for $2... " >&6; }
2916 if eval \${$3+:} false; then :
2917 $as_echo_n "(cached) " >&6
2918 else
2919 eval "$3=no"
2920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2921 /* end confdefs.h. */
2924 main ()
2926 if (sizeof ($2))
2927 return 0;
2929 return 0;
2931 _ACEOF
2932 if ac_fn_c_try_compile "$LINENO"; then :
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2937 main ()
2939 if (sizeof (($2)))
2940 return 0;
2942 return 0;
2944 _ACEOF
2945 if ac_fn_c_try_compile "$LINENO"; then :
2947 else
2948 eval "$3=yes"
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 eval ac_res=\$$3
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2956 $as_echo "$ac_res" >&6; }
2957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2959 } # ac_fn_c_check_type
2960 cat >config.log <<_ACEOF
2961 This file contains any messages produced by compilers while
2962 running configure, to aid debugging if configure makes a mistake.
2964 It was created by Wine $as_me 1.9.18, which was
2965 generated by GNU Autoconf 2.69. Invocation command line was
2967 $ $0 $@
2969 _ACEOF
2970 exec 5>>config.log
2972 cat <<_ASUNAME
2973 ## --------- ##
2974 ## Platform. ##
2975 ## --------- ##
2977 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2978 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2979 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2980 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2981 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2983 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2984 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2986 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2987 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2988 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2989 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2990 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2991 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2992 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2994 _ASUNAME
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997 for as_dir in $PATH
2999 IFS=$as_save_IFS
3000 test -z "$as_dir" && as_dir=.
3001 $as_echo "PATH: $as_dir"
3002 done
3003 IFS=$as_save_IFS
3005 } >&5
3007 cat >&5 <<_ACEOF
3010 ## ----------- ##
3011 ## Core tests. ##
3012 ## ----------- ##
3014 _ACEOF
3017 # Keep a trace of the command line.
3018 # Strip out --no-create and --no-recursion so they do not pile up.
3019 # Strip out --silent because we don't want to record it for future runs.
3020 # Also quote any args containing shell meta-characters.
3021 # Make two passes to allow for proper duplicate-argument suppression.
3022 ac_configure_args=
3023 ac_configure_args0=
3024 ac_configure_args1=
3025 ac_must_keep_next=false
3026 for ac_pass in 1 2
3028 for ac_arg
3030 case $ac_arg in
3031 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3033 | -silent | --silent | --silen | --sile | --sil)
3034 continue ;;
3035 *\'*)
3036 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3037 esac
3038 case $ac_pass in
3039 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3041 as_fn_append ac_configure_args1 " '$ac_arg'"
3042 if test $ac_must_keep_next = true; then
3043 ac_must_keep_next=false # Got value, back to normal.
3044 else
3045 case $ac_arg in
3046 *=* | --config-cache | -C | -disable-* | --disable-* \
3047 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3048 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3049 | -with-* | --with-* | -without-* | --without-* | --x)
3050 case "$ac_configure_args0 " in
3051 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3052 esac
3054 -* ) ac_must_keep_next=true ;;
3055 esac
3057 as_fn_append ac_configure_args " '$ac_arg'"
3059 esac
3060 done
3061 done
3062 { ac_configure_args0=; unset ac_configure_args0;}
3063 { ac_configure_args1=; unset ac_configure_args1;}
3065 # When interrupted or exit'd, cleanup temporary files, and complete
3066 # config.log. We remove comments because anyway the quotes in there
3067 # would cause problems or look ugly.
3068 # WARNING: Use '\'' to represent an apostrophe within the trap.
3069 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3070 trap 'exit_status=$?
3071 # Save into config.log some information that might help in debugging.
3073 echo
3075 $as_echo "## ---------------- ##
3076 ## Cache variables. ##
3077 ## ---------------- ##"
3078 echo
3079 # The following way of writing the cache mishandles newlines in values,
3081 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3082 eval ac_val=\$$ac_var
3083 case $ac_val in #(
3084 *${as_nl}*)
3085 case $ac_var in #(
3086 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3087 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3088 esac
3089 case $ac_var in #(
3090 _ | IFS | as_nl) ;; #(
3091 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3092 *) { eval $ac_var=; unset $ac_var;} ;;
3093 esac ;;
3094 esac
3095 done
3096 (set) 2>&1 |
3097 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3098 *${as_nl}ac_space=\ *)
3099 sed -n \
3100 "s/'\''/'\''\\\\'\'''\''/g;
3101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3102 ;; #(
3104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3106 esac |
3107 sort
3109 echo
3111 $as_echo "## ----------------- ##
3112 ## Output variables. ##
3113 ## ----------------- ##"
3114 echo
3115 for ac_var in $ac_subst_vars
3117 eval ac_val=\$$ac_var
3118 case $ac_val in
3119 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3120 esac
3121 $as_echo "$ac_var='\''$ac_val'\''"
3122 done | sort
3123 echo
3125 if test -n "$ac_subst_files"; then
3126 $as_echo "## ------------------- ##
3127 ## File substitutions. ##
3128 ## ------------------- ##"
3129 echo
3130 for ac_var in $ac_subst_files
3132 eval ac_val=\$$ac_var
3133 case $ac_val in
3134 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3135 esac
3136 $as_echo "$ac_var='\''$ac_val'\''"
3137 done | sort
3138 echo
3141 if test -s confdefs.h; then
3142 $as_echo "## ----------- ##
3143 ## confdefs.h. ##
3144 ## ----------- ##"
3145 echo
3146 cat confdefs.h
3147 echo
3149 test "$ac_signal" != 0 &&
3150 $as_echo "$as_me: caught signal $ac_signal"
3151 $as_echo "$as_me: exit $exit_status"
3152 } >&5
3153 rm -f core *.core core.conftest.* &&
3154 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3155 exit $exit_status
3157 for ac_signal in 1 2 13 15; do
3158 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3159 done
3160 ac_signal=0
3162 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3163 rm -f -r conftest* confdefs.h
3165 $as_echo "/* confdefs.h */" > confdefs.h
3167 # Predefined preprocessor variables.
3169 cat >>confdefs.h <<_ACEOF
3170 #define PACKAGE_NAME "$PACKAGE_NAME"
3171 _ACEOF
3173 cat >>confdefs.h <<_ACEOF
3174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3175 _ACEOF
3177 cat >>confdefs.h <<_ACEOF
3178 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3179 _ACEOF
3181 cat >>confdefs.h <<_ACEOF
3182 #define PACKAGE_STRING "$PACKAGE_STRING"
3183 _ACEOF
3185 cat >>confdefs.h <<_ACEOF
3186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3187 _ACEOF
3189 cat >>confdefs.h <<_ACEOF
3190 #define PACKAGE_URL "$PACKAGE_URL"
3191 _ACEOF
3194 # Let the site file select an alternate cache file if it wants to.
3195 # Prefer an explicitly selected file to automatically selected ones.
3196 ac_site_file1=NONE
3197 ac_site_file2=NONE
3198 if test -n "$CONFIG_SITE"; then
3199 # We do not want a PATH search for config.site.
3200 case $CONFIG_SITE in #((
3201 -*) ac_site_file1=./$CONFIG_SITE;;
3202 */*) ac_site_file1=$CONFIG_SITE;;
3203 *) ac_site_file1=./$CONFIG_SITE;;
3204 esac
3205 elif test "x$prefix" != xNONE; then
3206 ac_site_file1=$prefix/share/config.site
3207 ac_site_file2=$prefix/etc/config.site
3208 else
3209 ac_site_file1=$ac_default_prefix/share/config.site
3210 ac_site_file2=$ac_default_prefix/etc/config.site
3212 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3214 test "x$ac_site_file" = xNONE && continue
3215 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3217 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3218 sed 's/^/| /' "$ac_site_file" >&5
3219 . "$ac_site_file" \
3220 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 as_fn_error $? "failed to load site script $ac_site_file
3223 See \`config.log' for more details" "$LINENO" 5; }
3225 done
3227 if test -r "$cache_file"; then
3228 # Some versions of bash will fail to source /dev/null (special files
3229 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3230 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3232 $as_echo "$as_me: loading cache $cache_file" >&6;}
3233 case $cache_file in
3234 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3235 *) . "./$cache_file";;
3236 esac
3238 else
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3240 $as_echo "$as_me: creating cache $cache_file" >&6;}
3241 >$cache_file
3244 # Check that the precious variables saved in the cache have kept the same
3245 # value.
3246 ac_cache_corrupted=false
3247 for ac_var in $ac_precious_vars; do
3248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3249 eval ac_new_set=\$ac_env_${ac_var}_set
3250 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3251 eval ac_new_val=\$ac_env_${ac_var}_value
3252 case $ac_old_set,$ac_new_set in
3253 set,)
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3255 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3256 ac_cache_corrupted=: ;;
3257 ,set)
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3259 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3260 ac_cache_corrupted=: ;;
3261 ,);;
3263 if test "x$ac_old_val" != "x$ac_new_val"; then
3264 # differences in whitespace do not lead to failure.
3265 ac_old_val_w=`echo x $ac_old_val`
3266 ac_new_val_w=`echo x $ac_new_val`
3267 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3269 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3270 ac_cache_corrupted=:
3271 else
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3273 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3274 eval $ac_var=\$ac_old_val
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3277 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3279 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3280 fi;;
3281 esac
3282 # Pass precious variables to config.status.
3283 if test "$ac_new_set" = set; then
3284 case $ac_new_val in
3285 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3286 *) ac_arg=$ac_var=$ac_new_val ;;
3287 esac
3288 case " $ac_configure_args " in
3289 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3290 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3291 esac
3293 done
3294 if $ac_cache_corrupted; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3298 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3299 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3301 ## -------------------- ##
3302 ## Main body of script. ##
3303 ## -------------------- ##
3305 ac_ext=c
3306 ac_cpp='$CPP $CPPFLAGS'
3307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3313 ac_config_headers="$ac_config_headers include/config.h"
3315 ac_aux_dir=
3316 for ac_dir in tools "$srcdir"/tools; do
3317 if test -f "$ac_dir/install-sh"; then
3318 ac_aux_dir=$ac_dir
3319 ac_install_sh="$ac_aux_dir/install-sh -c"
3320 break
3321 elif test -f "$ac_dir/install.sh"; then
3322 ac_aux_dir=$ac_dir
3323 ac_install_sh="$ac_aux_dir/install.sh -c"
3324 break
3325 elif test -f "$ac_dir/shtool"; then
3326 ac_aux_dir=$ac_dir
3327 ac_install_sh="$ac_aux_dir/shtool install -c"
3328 break
3330 done
3331 if test -z "$ac_aux_dir"; then
3332 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3335 # These three variables are undocumented and unsupported,
3336 # and are intended to be withdrawn in a future Autoconf release.
3337 # They can cause serious problems if a builder's source tree is in a directory
3338 # whose full name contains unusual characters.
3339 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3340 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3341 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3345 libwine_version="1.0"
3349 # Check whether --enable-win16 was given.
3350 if test "${enable_win16+set}" = set; then :
3351 enableval=$enable_win16;
3354 # Check whether --enable-win64 was given.
3355 if test "${enable_win64+set}" = set; then :
3356 enableval=$enable_win64;
3359 # Check whether --enable-tests was given.
3360 if test "${enable_tests+set}" = set; then :
3361 enableval=$enable_tests;
3364 # Check whether --enable-maintainer-mode was given.
3365 if test "${enable_maintainer_mode+set}" = set; then :
3366 enableval=$enable_maintainer_mode;
3371 # Check whether --with-alsa was given.
3372 if test "${with_alsa+set}" = set; then :
3373 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3377 # Check whether --with-capi was given.
3378 if test "${with_capi+set}" = set; then :
3379 withval=$with_capi;
3383 # Check whether --with-cms was given.
3384 if test "${with_cms+set}" = set; then :
3385 withval=$with_cms;
3389 # Check whether --with-coreaudio was given.
3390 if test "${with_coreaudio+set}" = set; then :
3391 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3395 # Check whether --with-cups was given.
3396 if test "${with_cups+set}" = set; then :
3397 withval=$with_cups;
3401 # Check whether --with-curses was given.
3402 if test "${with_curses+set}" = set; then :
3403 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3407 # Check whether --with-dbus was given.
3408 if test "${with_dbus+set}" = set; then :
3409 withval=$with_dbus;
3413 # Check whether --with-fontconfig was given.
3414 if test "${with_fontconfig+set}" = set; then :
3415 withval=$with_fontconfig;
3419 # Check whether --with-freetype was given.
3420 if test "${with_freetype+set}" = set; then :
3421 withval=$with_freetype;
3425 # Check whether --with-gettext was given.
3426 if test "${with_gettext+set}" = set; then :
3427 withval=$with_gettext;
3431 # Check whether --with-gettextpo was given.
3432 if test "${with_gettextpo+set}" = set; then :
3433 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3437 # Check whether --with-gphoto was given.
3438 if test "${with_gphoto+set}" = set; then :
3439 withval=$with_gphoto;
3443 # Check whether --with-glu was given.
3444 if test "${with_glu+set}" = set; then :
3445 withval=$with_glu;
3449 # Check whether --with-gnutls was given.
3450 if test "${with_gnutls+set}" = set; then :
3451 withval=$with_gnutls;
3455 # Check whether --with-gsm was given.
3456 if test "${with_gsm+set}" = set; then :
3457 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3461 # Check whether --with-gstreamer was given.
3462 if test "${with_gstreamer+set}" = set; then :
3463 withval=$with_gstreamer;
3467 # Check whether --with-hal was given.
3468 if test "${with_hal+set}" = set; then :
3469 withval=$with_hal;
3473 # Check whether --with-jpeg was given.
3474 if test "${with_jpeg+set}" = set; then :
3475 withval=$with_jpeg;
3479 # Check whether --with-ldap was given.
3480 if test "${with_ldap+set}" = set; then :
3481 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3485 # Check whether --with-mpg123 was given.
3486 if test "${with_mpg123+set}" = set; then :
3487 withval=$with_mpg123;
3491 # Check whether --with-netapi was given.
3492 if test "${with_netapi+set}" = set; then :
3493 withval=$with_netapi;
3497 # Check whether --with-openal was given.
3498 if test "${with_openal+set}" = set; then :
3499 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3503 # Check whether --with-opencl was given.
3504 if test "${with_opencl+set}" = set; then :
3505 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3509 # Check whether --with-opengl was given.
3510 if test "${with_opengl+set}" = set; then :
3511 withval=$with_opengl;
3515 # Check whether --with-osmesa was given.
3516 if test "${with_osmesa+set}" = set; then :
3517 withval=$with_osmesa;
3521 # Check whether --with-oss was given.
3522 if test "${with_oss+set}" = set; then :
3523 withval=$with_oss;
3527 # Check whether --with-pcap was given.
3528 if test "${with_pcap+set}" = set; then :
3529 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3533 # Check whether --with-png was given.
3534 if test "${with_png+set}" = set; then :
3535 withval=$with_png;
3539 # Check whether --with-pthread was given.
3540 if test "${with_pthread+set}" = set; then :
3541 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3545 # Check whether --with-pulse was given.
3546 if test "${with_pulse+set}" = set; then :
3547 withval=$with_pulse;
3551 # Check whether --with-sane was given.
3552 if test "${with_sane+set}" = set; then :
3553 withval=$with_sane;
3557 # Check whether --with-tiff was given.
3558 if test "${with_tiff+set}" = set; then :
3559 withval=$with_tiff;
3563 # Check whether --with-udev was given.
3564 if test "${with_udev+set}" = set; then :
3565 withval=$with_udev;
3569 # Check whether --with-v4l was given.
3570 if test "${with_v4l+set}" = set; then :
3571 withval=$with_v4l;
3575 # Check whether --with-xcomposite was given.
3576 if test "${with_xcomposite+set}" = set; then :
3577 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3581 # Check whether --with-xcursor was given.
3582 if test "${with_xcursor+set}" = set; then :
3583 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3587 # Check whether --with-xinerama was given.
3588 if test "${with_xinerama+set}" = set; then :
3589 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3593 # Check whether --with-xinput was given.
3594 if test "${with_xinput+set}" = set; then :
3595 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3599 # Check whether --with-xinput2 was given.
3600 if test "${with_xinput2+set}" = set; then :
3601 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3605 # Check whether --with-xml was given.
3606 if test "${with_xml+set}" = set; then :
3607 withval=$with_xml;
3611 # Check whether --with-xrandr was given.
3612 if test "${with_xrandr+set}" = set; then :
3613 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3617 # Check whether --with-xrender was given.
3618 if test "${with_xrender+set}" = set; then :
3619 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3623 # Check whether --with-xshape was given.
3624 if test "${with_xshape+set}" = set; then :
3625 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3629 # Check whether --with-xshm was given.
3630 if test "${with_xshm+set}" = set; then :
3631 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3635 # Check whether --with-xslt was given.
3636 if test "${with_xslt+set}" = set; then :
3637 withval=$with_xslt;
3641 # Check whether --with-xxf86vm was given.
3642 if test "${with_xxf86vm+set}" = set; then :
3643 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
3647 # Check whether --with-zlib was given.
3648 if test "${with_zlib+set}" = set; then :
3649 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3654 # Check whether --with-wine-tools was given.
3655 if test "${with_wine_tools+set}" = set; then :
3656 withval=$with_wine_tools;
3660 # Check whether --with-wine64 was given.
3661 if test "${with_wine64+set}" = set; then :
3662 withval=$with_wine64;
3666 # Make sure we can run config.sub.
3667 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3668 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3671 $as_echo_n "checking build system type... " >&6; }
3672 if ${ac_cv_build+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 ac_build_alias=$build_alias
3676 test "x$ac_build_alias" = x &&
3677 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3678 test "x$ac_build_alias" = x &&
3679 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3680 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3681 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3685 $as_echo "$ac_cv_build" >&6; }
3686 case $ac_cv_build in
3687 *-*-*) ;;
3688 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3689 esac
3690 build=$ac_cv_build
3691 ac_save_IFS=$IFS; IFS='-'
3692 set x $ac_cv_build
3693 shift
3694 build_cpu=$1
3695 build_vendor=$2
3696 shift; shift
3697 # Remember, the first character of IFS is used to create $*,
3698 # except with old shells:
3699 build_os=$*
3700 IFS=$ac_save_IFS
3701 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3705 $as_echo_n "checking host system type... " >&6; }
3706 if ${ac_cv_host+:} false; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test "x$host_alias" = x; then
3710 ac_cv_host=$ac_cv_build
3711 else
3712 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3713 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3718 $as_echo "$ac_cv_host" >&6; }
3719 case $ac_cv_host in
3720 *-*-*) ;;
3721 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3722 esac
3723 host=$ac_cv_host
3724 ac_save_IFS=$IFS; IFS='-'
3725 set x $ac_cv_host
3726 shift
3727 host_cpu=$1
3728 host_vendor=$2
3729 shift; shift
3730 # Remember, the first character of IFS is used to create $*,
3731 # except with old shells:
3732 host_os=$*
3733 IFS=$ac_save_IFS
3734 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3738 case "$srcdir" in
3739 .) ;;
3740 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3741 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3742 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3743 fi ;;
3744 esac
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3748 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3749 set x ${MAKE-make}
3750 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3751 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 cat >conftest.make <<\_ACEOF
3755 SHELL = /bin/sh
3756 all:
3757 @echo '@@@%%%=$(MAKE)=@@@%%%'
3758 _ACEOF
3759 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3760 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3761 *@@@%%%=?*=@@@%%%*)
3762 eval ac_cv_prog_make_${ac_make}_set=yes;;
3764 eval ac_cv_prog_make_${ac_make}_set=no;;
3765 esac
3766 rm -f conftest.make
3768 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3770 $as_echo "yes" >&6; }
3771 SET_MAKE=
3772 else
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3775 SET_MAKE="MAKE=${MAKE-make}"
3778 ac_ext=c
3779 ac_cpp='$CPP $CPPFLAGS'
3780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3783 if test -n "$ac_tool_prefix"; then
3784 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3785 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_CC+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if test -n "$CC"; then
3792 ac_cv_prog_CC="$CC" # Let the user override the test.
3793 else
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in $PATH
3797 IFS=$as_save_IFS
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 break 2
3805 done
3806 done
3807 IFS=$as_save_IFS
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$ac_cv_prog_CC"; then
3823 ac_ct_CC=$CC
3824 # Extract the first word of "gcc", so it can be a program name with args.
3825 set dummy gcc; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$ac_ct_CC"; then
3832 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_ac_ct_CC="gcc"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3847 IFS=$as_save_IFS
3851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3852 if test -n "$ac_ct_CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3854 $as_echo "$ac_ct_CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3860 if test "x$ac_ct_CC" = x; then
3861 CC=""
3862 else
3863 case $cross_compiling:$ac_tool_warned in
3864 yes:)
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3867 ac_tool_warned=yes ;;
3868 esac
3869 CC=$ac_ct_CC
3871 else
3872 CC="$ac_cv_prog_CC"
3875 if test -z "$CC"; then
3876 if test -n "$ac_tool_prefix"; then
3877 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3878 set dummy ${ac_tool_prefix}cc; ac_word=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if ${ac_cv_prog_CC+:} false; then :
3882 $as_echo_n "(cached) " >&6
3883 else
3884 if test -n "$CC"; then
3885 ac_cv_prog_CC="$CC" # Let the user override the test.
3886 else
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 ac_cv_prog_CC="${ac_tool_prefix}cc"
3895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 break 2
3898 done
3899 done
3900 IFS=$as_save_IFS
3904 CC=$ac_cv_prog_CC
3905 if test -n "$CC"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3907 $as_echo "$CC" >&6; }
3908 else
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3910 $as_echo "no" >&6; }
3916 if test -z "$CC"; then
3917 # Extract the first word of "cc", so it can be a program name with args.
3918 set dummy cc; ac_word=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_CC+:} false; then :
3922 $as_echo_n "(cached) " >&6
3923 else
3924 if test -n "$CC"; then
3925 ac_cv_prog_CC="$CC" # Let the user override the test.
3926 else
3927 ac_prog_rejected=no
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 for as_dir in $PATH
3931 IFS=$as_save_IFS
3932 test -z "$as_dir" && as_dir=.
3933 for ac_exec_ext in '' $ac_executable_extensions; do
3934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3935 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3936 ac_prog_rejected=yes
3937 continue
3939 ac_cv_prog_CC="cc"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 break 2
3943 done
3944 done
3945 IFS=$as_save_IFS
3947 if test $ac_prog_rejected = yes; then
3948 # We found a bogon in the path, so make sure we never use it.
3949 set dummy $ac_cv_prog_CC
3950 shift
3951 if test $# != 0; then
3952 # We chose a different compiler from the bogus one.
3953 # However, it has the same basename, so the bogon will be chosen
3954 # first if we set CC to just the basename; use the full file name.
3955 shift
3956 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3961 CC=$ac_cv_prog_CC
3962 if test -n "$CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3964 $as_echo "$CC" >&6; }
3965 else
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3972 if test -z "$CC"; then
3973 if test -n "$ac_tool_prefix"; then
3974 for ac_prog in cl.exe
3976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3979 $as_echo_n "checking for $ac_word... " >&6; }
3980 if ${ac_cv_prog_CC+:} false; then :
3981 $as_echo_n "(cached) " >&6
3982 else
3983 if test -n "$CC"; then
3984 ac_cv_prog_CC="$CC" # Let the user override the test.
3985 else
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 for as_dir in $PATH
3989 IFS=$as_save_IFS
3990 test -z "$as_dir" && as_dir=.
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3995 break 2
3997 done
3998 done
3999 IFS=$as_save_IFS
4003 CC=$ac_cv_prog_CC
4004 if test -n "$CC"; then
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4006 $as_echo "$CC" >&6; }
4007 else
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 $as_echo "no" >&6; }
4013 test -n "$CC" && break
4014 done
4016 if test -z "$CC"; then
4017 ac_ct_CC=$CC
4018 for ac_prog in cl.exe
4020 # Extract the first word of "$ac_prog", so it can be a program name with args.
4021 set dummy $ac_prog; ac_word=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4025 $as_echo_n "(cached) " >&6
4026 else
4027 if test -n "$ac_ct_CC"; then
4028 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4029 else
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4033 IFS=$as_save_IFS
4034 test -z "$as_dir" && as_dir=.
4035 for ac_exec_ext in '' $ac_executable_extensions; do
4036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_ac_ct_CC="$ac_prog"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 break 2
4041 done
4042 done
4043 IFS=$as_save_IFS
4047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4048 if test -n "$ac_ct_CC"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4050 $as_echo "$ac_ct_CC" >&6; }
4051 else
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4057 test -n "$ac_ct_CC" && break
4058 done
4060 if test "x$ac_ct_CC" = x; then
4061 CC=""
4062 else
4063 case $cross_compiling:$ac_tool_warned in
4064 yes:)
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4067 ac_tool_warned=yes ;;
4068 esac
4069 CC=$ac_ct_CC
4076 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error $? "no acceptable C compiler found in \$PATH
4079 See \`config.log' for more details" "$LINENO" 5; }
4081 # Provide some information about the compiler.
4082 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4083 set X $ac_compile
4084 ac_compiler=$2
4085 for ac_option in --version -v -V -qversion; do
4086 { { ac_try="$ac_compiler $ac_option >&5"
4087 case "(($ac_try" in
4088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089 *) ac_try_echo=$ac_try;;
4090 esac
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4094 ac_status=$?
4095 if test -s conftest.err; then
4096 sed '10a\
4097 ... rest of stderr output deleted ...
4098 10q' conftest.err >conftest.er1
4099 cat conftest.er1 >&5
4101 rm -f conftest.er1 conftest.err
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }
4104 done
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4110 main ()
4114 return 0;
4116 _ACEOF
4117 ac_clean_files_save=$ac_clean_files
4118 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4119 # Try to create an executable without -o first, disregard a.out.
4120 # It will help us diagnose broken compilers, and finding out an intuition
4121 # of exeext.
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4123 $as_echo_n "checking whether the C compiler works... " >&6; }
4124 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4126 # The possible output files:
4127 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4129 ac_rmfiles=
4130 for ac_file in $ac_files
4132 case $ac_file in
4133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4134 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4135 esac
4136 done
4137 rm -f $ac_rmfiles
4139 if { { ac_try="$ac_link_default"
4140 case "(($ac_try" in
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4143 esac
4144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4145 $as_echo "$ac_try_echo"; } >&5
4146 (eval "$ac_link_default") 2>&5
4147 ac_status=$?
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }; then :
4150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4153 # so that the user can short-circuit this test for compilers unknown to
4154 # Autoconf.
4155 for ac_file in $ac_files ''
4157 test -f "$ac_file" || continue
4158 case $ac_file in
4159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4161 [ab].out )
4162 # We found the default executable, but exeext='' is most
4163 # certainly right.
4164 break;;
4165 *.* )
4166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4167 then :; else
4168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4170 # We set ac_cv_exeext here because the later test for it is not
4171 # safe: cross compilers may not add the suffix if given an `-o'
4172 # argument, so we may need to know it at that point already.
4173 # Even if this section looks crufty: it has the advantage of
4174 # actually working.
4175 break;;
4177 break;;
4178 esac
4179 done
4180 test "$ac_cv_exeext" = no && ac_cv_exeext=
4182 else
4183 ac_file=''
4185 if test -z "$ac_file"; then :
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4188 $as_echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4193 as_fn_error 77 "C compiler cannot create executables
4194 See \`config.log' for more details" "$LINENO" 5; }
4195 else
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4197 $as_echo "yes" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4200 $as_echo_n "checking for C compiler default output file name... " >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4202 $as_echo "$ac_file" >&6; }
4203 ac_exeext=$ac_cv_exeext
4205 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4206 ac_clean_files=$ac_clean_files_save
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4208 $as_echo_n "checking for suffix of executables... " >&6; }
4209 if { { ac_try="$ac_link"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_link") 2>&5
4217 ac_status=$?
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; then :
4220 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4221 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4222 # work properly (i.e., refer to `conftest.exe'), while it won't with
4223 # `rm'.
4224 for ac_file in conftest.exe conftest conftest.*; do
4225 test -f "$ac_file" || continue
4226 case $ac_file in
4227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4228 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4229 break;;
4230 * ) break;;
4231 esac
4232 done
4233 else
4234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4237 See \`config.log' for more details" "$LINENO" 5; }
4239 rm -f conftest conftest$ac_cv_exeext
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4241 $as_echo "$ac_cv_exeext" >&6; }
4243 rm -f conftest.$ac_ext
4244 EXEEXT=$ac_cv_exeext
4245 ac_exeext=$EXEEXT
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4248 #include <stdio.h>
4250 main ()
4252 FILE *f = fopen ("conftest.out", "w");
4253 return ferror (f) || fclose (f) != 0;
4256 return 0;
4258 _ACEOF
4259 ac_clean_files="$ac_clean_files conftest.out"
4260 # Check that the compiler produces executables we can run. If not, either
4261 # the compiler is broken, or we cross compile.
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4263 $as_echo_n "checking whether we are cross compiling... " >&6; }
4264 if test "$cross_compiling" != yes; then
4265 { { ac_try="$ac_link"
4266 case "(($ac_try" in
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4269 esac
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_link") 2>&5
4273 ac_status=$?
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }
4276 if { ac_try='./conftest$ac_cv_exeext'
4277 { { case "(($ac_try" in
4278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279 *) ac_try_echo=$ac_try;;
4280 esac
4281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4282 $as_echo "$ac_try_echo"; } >&5
4283 (eval "$ac_try") 2>&5
4284 ac_status=$?
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4286 test $ac_status = 0; }; }; then
4287 cross_compiling=no
4288 else
4289 if test "$cross_compiling" = maybe; then
4290 cross_compiling=yes
4291 else
4292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294 as_fn_error $? "cannot run C compiled programs.
4295 If you meant to cross compile, use \`--host'.
4296 See \`config.log' for more details" "$LINENO" 5; }
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4301 $as_echo "$cross_compiling" >&6; }
4303 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4304 ac_clean_files=$ac_clean_files_save
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4306 $as_echo_n "checking for suffix of object files... " >&6; }
4307 if ${ac_cv_objext+:} false; then :
4308 $as_echo_n "(cached) " >&6
4309 else
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4314 main ()
4318 return 0;
4320 _ACEOF
4321 rm -f conftest.o conftest.obj
4322 if { { ac_try="$ac_compile"
4323 case "(($ac_try" in
4324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4325 *) ac_try_echo=$ac_try;;
4326 esac
4327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4328 $as_echo "$ac_try_echo"; } >&5
4329 (eval "$ac_compile") 2>&5
4330 ac_status=$?
4331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4332 test $ac_status = 0; }; then :
4333 for ac_file in conftest.o conftest.obj conftest.*; do
4334 test -f "$ac_file" || continue;
4335 case $ac_file in
4336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4337 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4338 break;;
4339 esac
4340 done
4341 else
4342 $as_echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.$ac_ext >&5
4345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4347 as_fn_error $? "cannot compute suffix of object files: cannot compile
4348 See \`config.log' for more details" "$LINENO" 5; }
4350 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4353 $as_echo "$ac_cv_objext" >&6; }
4354 OBJEXT=$ac_cv_objext
4355 ac_objext=$OBJEXT
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4357 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4358 if ${ac_cv_c_compiler_gnu+:} false; then :
4359 $as_echo_n "(cached) " >&6
4360 else
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4365 main ()
4367 #ifndef __GNUC__
4368 choke me
4369 #endif
4372 return 0;
4374 _ACEOF
4375 if ac_fn_c_try_compile "$LINENO"; then :
4376 ac_compiler_gnu=yes
4377 else
4378 ac_compiler_gnu=no
4380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4385 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4386 if test $ac_compiler_gnu = yes; then
4387 GCC=yes
4388 else
4389 GCC=
4391 ac_test_CFLAGS=${CFLAGS+set}
4392 ac_save_CFLAGS=$CFLAGS
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4394 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4395 if ${ac_cv_prog_cc_g+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 ac_save_c_werror_flag=$ac_c_werror_flag
4399 ac_c_werror_flag=yes
4400 ac_cv_prog_cc_g=no
4401 CFLAGS="-g"
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4406 main ()
4410 return 0;
4412 _ACEOF
4413 if ac_fn_c_try_compile "$LINENO"; then :
4414 ac_cv_prog_cc_g=yes
4415 else
4416 CFLAGS=""
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4421 main ()
4425 return 0;
4427 _ACEOF
4428 if ac_fn_c_try_compile "$LINENO"; then :
4430 else
4431 ac_c_werror_flag=$ac_save_c_werror_flag
4432 CFLAGS="-g"
4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434 /* end confdefs.h. */
4437 main ()
4441 return 0;
4443 _ACEOF
4444 if ac_fn_c_try_compile "$LINENO"; then :
4445 ac_cv_prog_cc_g=yes
4447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 ac_c_werror_flag=$ac_save_c_werror_flag
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4455 $as_echo "$ac_cv_prog_cc_g" >&6; }
4456 if test "$ac_test_CFLAGS" = set; then
4457 CFLAGS=$ac_save_CFLAGS
4458 elif test $ac_cv_prog_cc_g = yes; then
4459 if test "$GCC" = yes; then
4460 CFLAGS="-g -O2"
4461 else
4462 CFLAGS="-g"
4464 else
4465 if test "$GCC" = yes; then
4466 CFLAGS="-O2"
4467 else
4468 CFLAGS=
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4472 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4473 if ${ac_cv_prog_cc_c89+:} false; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 ac_cv_prog_cc_c89=no
4477 ac_save_CC=$CC
4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4480 #include <stdarg.h>
4481 #include <stdio.h>
4482 struct stat;
4483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4484 struct buf { int x; };
4485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4486 static char *e (p, i)
4487 char **p;
4488 int i;
4490 return p[i];
4492 static char *f (char * (*g) (char **, int), char **p, ...)
4494 char *s;
4495 va_list v;
4496 va_start (v,p);
4497 s = g (p, va_arg (v,int));
4498 va_end (v);
4499 return s;
4502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4503 function prototypes and stuff, but not '\xHH' hex character constants.
4504 These don't provoke an error unfortunately, instead are silently treated
4505 as 'x'. The following induces an error, until -std is added to get
4506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4507 array size at least. It's necessary to write '\x00'==0 to get something
4508 that's true only with -std. */
4509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4512 inside strings and character constants. */
4513 #define FOO(x) 'x'
4514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4516 int test (int i, double x);
4517 struct s1 {int (*f) (int a);};
4518 struct s2 {int (*f) (double a);};
4519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4520 int argc;
4521 char **argv;
4523 main ()
4525 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4527 return 0;
4529 _ACEOF
4530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4531 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4533 CC="$ac_save_CC $ac_arg"
4534 if ac_fn_c_try_compile "$LINENO"; then :
4535 ac_cv_prog_cc_c89=$ac_arg
4537 rm -f core conftest.err conftest.$ac_objext
4538 test "x$ac_cv_prog_cc_c89" != "xno" && break
4539 done
4540 rm -f conftest.$ac_ext
4541 CC=$ac_save_CC
4544 # AC_CACHE_VAL
4545 case "x$ac_cv_prog_cc_c89" in
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4548 $as_echo "none needed" >&6; } ;;
4549 xno)
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4551 $as_echo "unsupported" >&6; } ;;
4553 CC="$CC $ac_cv_prog_cc_c89"
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4556 esac
4557 if test "x$ac_cv_prog_cc_c89" != xno; then :
4561 ac_ext=c
4562 ac_cpp='$CPP $CPPFLAGS'
4563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4567 ac_ext=cpp
4568 ac_cpp='$CXXCPP $CPPFLAGS'
4569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4572 if test -z "$CXX"; then
4573 if test -n "$CCC"; then
4574 CXX=$CCC
4575 else
4576 if test -n "$ac_tool_prefix"; then
4577 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4579 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4580 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4582 $as_echo_n "checking for $ac_word... " >&6; }
4583 if ${ac_cv_prog_CXX+:} false; then :
4584 $as_echo_n "(cached) " >&6
4585 else
4586 if test -n "$CXX"; then
4587 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4588 else
4589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 for as_dir in $PATH
4592 IFS=$as_save_IFS
4593 test -z "$as_dir" && as_dir=.
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4596 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 break 2
4600 done
4601 done
4602 IFS=$as_save_IFS
4606 CXX=$ac_cv_prog_CXX
4607 if test -n "$CXX"; then
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4609 $as_echo "$CXX" >&6; }
4610 else
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4612 $as_echo "no" >&6; }
4616 test -n "$CXX" && break
4617 done
4619 if test -z "$CXX"; then
4620 ac_ct_CXX=$CXX
4621 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4623 # Extract the first word of "$ac_prog", so it can be a program name with args.
4624 set dummy $ac_prog; ac_word=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4628 $as_echo_n "(cached) " >&6
4629 else
4630 if test -n "$ac_ct_CXX"; then
4631 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4632 else
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 for as_dir in $PATH
4636 IFS=$as_save_IFS
4637 test -z "$as_dir" && as_dir=.
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4640 ac_cv_prog_ac_ct_CXX="$ac_prog"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 break 2
4644 done
4645 done
4646 IFS=$as_save_IFS
4650 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4651 if test -n "$ac_ct_CXX"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4653 $as_echo "$ac_ct_CXX" >&6; }
4654 else
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4660 test -n "$ac_ct_CXX" && break
4661 done
4663 if test "x$ac_ct_CXX" = x; then
4664 CXX="g++"
4665 else
4666 case $cross_compiling:$ac_tool_warned in
4667 yes:)
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4670 ac_tool_warned=yes ;;
4671 esac
4672 CXX=$ac_ct_CXX
4678 # Provide some information about the compiler.
4679 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4680 set X $ac_compile
4681 ac_compiler=$2
4682 for ac_option in --version -v -V -qversion; do
4683 { { ac_try="$ac_compiler $ac_option >&5"
4684 case "(($ac_try" in
4685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4686 *) ac_try_echo=$ac_try;;
4687 esac
4688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4689 $as_echo "$ac_try_echo"; } >&5
4690 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4691 ac_status=$?
4692 if test -s conftest.err; then
4693 sed '10a\
4694 ... rest of stderr output deleted ...
4695 10q' conftest.err >conftest.er1
4696 cat conftest.er1 >&5
4698 rm -f conftest.er1 conftest.err
4699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4700 test $ac_status = 0; }
4701 done
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4704 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4705 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4712 main ()
4714 #ifndef __GNUC__
4715 choke me
4716 #endif
4719 return 0;
4721 _ACEOF
4722 if ac_fn_cxx_try_compile "$LINENO"; then :
4723 ac_compiler_gnu=yes
4724 else
4725 ac_compiler_gnu=no
4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4728 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4732 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4733 if test $ac_compiler_gnu = yes; then
4734 GXX=yes
4735 else
4736 GXX=
4738 ac_test_CXXFLAGS=${CXXFLAGS+set}
4739 ac_save_CXXFLAGS=$CXXFLAGS
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4741 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4742 if ${ac_cv_prog_cxx_g+:} false; then :
4743 $as_echo_n "(cached) " >&6
4744 else
4745 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4746 ac_cxx_werror_flag=yes
4747 ac_cv_prog_cxx_g=no
4748 CXXFLAGS="-g"
4749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h. */
4753 main ()
4757 return 0;
4759 _ACEOF
4760 if ac_fn_cxx_try_compile "$LINENO"; then :
4761 ac_cv_prog_cxx_g=yes
4762 else
4763 CXXFLAGS=""
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 main ()
4772 return 0;
4774 _ACEOF
4775 if ac_fn_cxx_try_compile "$LINENO"; then :
4777 else
4778 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4779 CXXFLAGS="-g"
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4784 main ()
4788 return 0;
4790 _ACEOF
4791 if ac_fn_cxx_try_compile "$LINENO"; then :
4792 ac_cv_prog_cxx_g=yes
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4799 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4802 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4803 if test "$ac_test_CXXFLAGS" = set; then
4804 CXXFLAGS=$ac_save_CXXFLAGS
4805 elif test $ac_cv_prog_cxx_g = yes; then
4806 if test "$GXX" = yes; then
4807 CXXFLAGS="-g -O2"
4808 else
4809 CXXFLAGS="-g"
4811 else
4812 if test "$GXX" = yes; then
4813 CXXFLAGS="-O2"
4814 else
4815 CXXFLAGS=
4818 ac_ext=c
4819 ac_cpp='$CPP $CPPFLAGS'
4820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4824 if test -n "$ac_tool_prefix"; then
4825 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4826 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_CPPBIN+:} false; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 if test -n "$CPPBIN"; then
4833 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4838 IFS=$as_save_IFS
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4852 CPPBIN=$ac_cv_prog_CPPBIN
4853 if test -n "$CPPBIN"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4855 $as_echo "$CPPBIN" >&6; }
4856 else
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4863 if test -z "$ac_cv_prog_CPPBIN"; then
4864 ac_ct_CPPBIN=$CPPBIN
4865 # Extract the first word of "cpp", so it can be a program name with args.
4866 set dummy cpp; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4870 $as_echo_n "(cached) " >&6
4871 else
4872 if test -n "$ac_ct_CPPBIN"; then
4873 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4878 IFS=$as_save_IFS
4879 test -z "$as_dir" && as_dir=.
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_CPPBIN="cpp"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 break 2
4886 done
4887 done
4888 IFS=$as_save_IFS
4892 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4893 if test -n "$ac_ct_CPPBIN"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4895 $as_echo "$ac_ct_CPPBIN" >&6; }
4896 else
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4901 if test "x$ac_ct_CPPBIN" = x; then
4902 CPPBIN="cpp"
4903 else
4904 case $cross_compiling:$ac_tool_warned in
4905 yes:)
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4908 ac_tool_warned=yes ;;
4909 esac
4910 CPPBIN=$ac_ct_CPPBIN
4912 else
4913 CPPBIN="$ac_cv_prog_CPPBIN"
4917 cat >>confdefs.h <<_ACEOF
4918 #define EXEEXT "$ac_exeext"
4919 _ACEOF
4921 if test -n "$ac_tool_prefix"; then
4922 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4923 set dummy ${ac_tool_prefix}ld; ac_word=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if ${ac_cv_prog_LD+:} false; then :
4927 $as_echo_n "(cached) " >&6
4928 else
4929 if test -n "$LD"; then
4930 ac_cv_prog_LD="$LD" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4935 IFS=$as_save_IFS
4936 test -z "$as_dir" && as_dir=.
4937 for ac_exec_ext in '' $ac_executable_extensions; do
4938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4939 ac_cv_prog_LD="${ac_tool_prefix}ld"
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 break 2
4943 done
4944 done
4945 IFS=$as_save_IFS
4949 LD=$ac_cv_prog_LD
4950 if test -n "$LD"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4952 $as_echo "$LD" >&6; }
4953 else
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4960 if test -z "$ac_cv_prog_LD"; then
4961 ac_ct_LD=$LD
4962 # Extract the first word of "ld", so it can be a program name with args.
4963 set dummy ld; ac_word=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4967 $as_echo_n "(cached) " >&6
4968 else
4969 if test -n "$ac_ct_LD"; then
4970 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4971 else
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in $PATH
4975 IFS=$as_save_IFS
4976 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4979 ac_cv_prog_ac_ct_LD="ld"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4981 break 2
4983 done
4984 done
4985 IFS=$as_save_IFS
4989 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4990 if test -n "$ac_ct_LD"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4992 $as_echo "$ac_ct_LD" >&6; }
4993 else
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4998 if test "x$ac_ct_LD" = x; then
4999 LD=""
5000 else
5001 case $cross_compiling:$ac_tool_warned in
5002 yes:)
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5005 ac_tool_warned=yes ;;
5006 esac
5007 LD=$ac_ct_LD
5009 else
5010 LD="$ac_cv_prog_LD"
5014 case $host in
5015 *-darwin*)
5016 with_fontconfig=${with_fontconfig:-no}
5018 *-mingw32*|*-cygwin*)
5019 enable_win16=${enable_win16:-no}
5020 CFLAGS="$CFLAGS -D_WIN32"
5022 esac
5024 case $host in
5025 x86_64*|amd64*)
5026 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5027 then
5028 CC="$CC -m32"
5029 CXX="$CXX -m32"
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5031 $as_echo_n "checking whether $CC works... " >&6; }
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5037 main ()
5041 return 0;
5043 _ACEOF
5044 if ac_fn_c_try_link "$LINENO"; then :
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046 $as_echo "yes" >&6; }
5047 else
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5050 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5052 rm -f core conftest.err conftest.$ac_objext \
5053 conftest$ac_exeext conftest.$ac_ext
5054 host_cpu="i386"
5055 notice_platform="32-bit "
5056 TARGETFLAGS="-m32"
5058 enable_win16=${enable_win16:-yes}
5059 else
5060 if test "x${GCC}" = "xyes"
5061 then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5063 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5066 #include <stdarg.h>
5068 main ()
5070 void func(__builtin_ms_va_list *args);
5072 return 0;
5074 _ACEOF
5075 if ac_fn_c_try_compile "$LINENO"; then :
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5077 $as_echo "yes" >&6; }
5078 else
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5081 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085 CC="$CC -m64"
5086 CXX="$CXX -m64"
5087 host_cpu="x86_64"
5088 notice_platform="64-bit "
5089 TARGETFLAGS="-m64"
5093 arm*)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5095 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 int ac_test(int i) { return i; }
5100 main ()
5102 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5104 return 0;
5106 _ACEOF
5107 if ac_fn_c_try_link "$LINENO"; then :
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5109 $as_echo "yes" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5113 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5115 rm -f core conftest.err conftest.$ac_objext \
5116 conftest$ac_exeext conftest.$ac_ext
5117 CFLAGS="$CFLAGS -marm"
5118 TARGETFLAGS="-marm"
5121 i[3456789]86*)
5122 enable_win16=${enable_win16:-yes}
5124 esac
5126 enable_win16=${enable_win16:-no}
5127 enable_win64=${enable_win64:-no}
5129 enable_winetest=${enable_winetest:-$enable_tests}
5131 if test -n "$with_wine64"
5132 then
5133 if test "x$enable_win64" = "xyes"
5134 then
5135 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5136 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5138 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5139 You should create a separate build directory and run configure from there." "$LINENO" 5
5140 enable_fonts=${enable_fonts:-no}
5141 enable_server=${enable_server:-no}
5142 elif test "x$enable_win64" = "xyes"
5143 then
5144 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5148 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5149 if ${wine_cv_toolsdir+:} false; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 wine_cv_toolsdir="$with_wine_tools"
5153 if test -z "$with_wine_tools"; then
5154 if test "$cross_compiling" = "yes"; then
5155 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5156 elif test -n "$with_wine64"; then
5157 wine_cv_toolsdir="$with_wine64"
5160 if test -z "$wine_cv_toolsdir"; then
5161 wine_makedep=tools/makedep
5162 wine_cv_toolsdir="\$(top_builddir)"
5163 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5164 wine_makedep=$wine_cv_toolsdir/tools/makedep
5165 case "$wine_cv_toolsdir" in
5166 /*) ;;
5167 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5168 esac
5169 enable_tools=${enable_tools:-no}
5170 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5171 else
5172 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5176 $as_echo "$wine_cv_toolsdir" >&6; }
5177 TOOLSDIR=$wine_cv_toolsdir
5179 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5180 then
5181 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5185 for ac_prog in flex
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy $ac_prog; ac_word=$2
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5190 $as_echo_n "checking for $ac_word... " >&6; }
5191 if ${ac_cv_prog_FLEX+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 if test -n "$FLEX"; then
5195 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5196 else
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 for as_dir in $PATH
5200 IFS=$as_save_IFS
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_FLEX="$ac_prog"
5205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 break 2
5208 done
5209 done
5210 IFS=$as_save_IFS
5214 FLEX=$ac_cv_prog_FLEX
5215 if test -n "$FLEX"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5217 $as_echo "$FLEX" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5220 $as_echo "no" >&6; }
5224 test -n "$FLEX" && break
5225 done
5226 test -n "$FLEX" || FLEX="none"
5228 if test "$FLEX" = "none"
5229 then
5230 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5233 $as_echo_n "checking whether flex is recent enough... " >&6; }
5234 cat >conftest.l <<EOF
5235 %top{
5236 #include "prediluvian.h"
5240 if $FLEX -t conftest.l >/dev/null 2>&5
5241 then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5243 $as_echo "yes" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5247 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5250 for ac_prog in bison
5252 # Extract the first word of "$ac_prog", so it can be a program name with args.
5253 set dummy $ac_prog; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_BISON+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 if test -n "$BISON"; then
5260 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_BISON="$ac_prog"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5275 IFS=$as_save_IFS
5279 BISON=$ac_cv_prog_BISON
5280 if test -n "$BISON"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5282 $as_echo "$BISON" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5289 test -n "$BISON" && break
5290 done
5291 test -n "$BISON" || BISON="none"
5293 if test "$BISON" = "none"
5294 then
5295 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5298 if test -n "$ac_tool_prefix"; then
5299 for ac_prog in ar gar
5301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_AR+:} false; then :
5306 $as_echo_n "(cached) " >&6
5307 else
5308 if test -n "$AR"; then
5309 ac_cv_prog_AR="$AR" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 break 2
5322 done
5323 done
5324 IFS=$as_save_IFS
5328 AR=$ac_cv_prog_AR
5329 if test -n "$AR"; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5331 $as_echo "$AR" >&6; }
5332 else
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5338 test -n "$AR" && break
5339 done
5341 if test -z "$AR"; then
5342 ac_ct_AR=$AR
5343 for ac_prog in ar gar
5345 # Extract the first word of "$ac_prog", so it can be a program name with args.
5346 set dummy $ac_prog; ac_word=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5350 $as_echo_n "(cached) " >&6
5351 else
5352 if test -n "$ac_ct_AR"; then
5353 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_AR="$ac_prog"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5368 IFS=$as_save_IFS
5372 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5373 if test -n "$ac_ct_AR"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5375 $as_echo "$ac_ct_AR" >&6; }
5376 else
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5382 test -n "$ac_ct_AR" && break
5383 done
5385 if test "x$ac_ct_AR" = x; then
5386 AR="ar"
5387 else
5388 case $cross_compiling:$ac_tool_warned in
5389 yes:)
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5392 ac_tool_warned=yes ;;
5393 esac
5394 AR=$ac_ct_AR
5398 if test -n "$ac_tool_prefix"; then
5399 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5400 set dummy ${ac_tool_prefix}strip; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_prog_STRIP+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 if test -n "$STRIP"; then
5407 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5408 else
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 for as_dir in $PATH
5412 IFS=$as_save_IFS
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 break 2
5420 done
5421 done
5422 IFS=$as_save_IFS
5426 STRIP=$ac_cv_prog_STRIP
5427 if test -n "$STRIP"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5429 $as_echo "$STRIP" >&6; }
5430 else
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5437 if test -z "$ac_cv_prog_STRIP"; then
5438 ac_ct_STRIP=$STRIP
5439 # Extract the first word of "strip", so it can be a program name with args.
5440 set dummy strip; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442 $as_echo_n "checking for $ac_word... " >&6; }
5443 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5444 $as_echo_n "(cached) " >&6
5445 else
5446 if test -n "$ac_ct_STRIP"; then
5447 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5448 else
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 for as_dir in $PATH
5452 IFS=$as_save_IFS
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_prog_ac_ct_STRIP="strip"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 break 2
5460 done
5461 done
5462 IFS=$as_save_IFS
5466 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5467 if test -n "$ac_ct_STRIP"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5469 $as_echo "$ac_ct_STRIP" >&6; }
5470 else
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5475 if test "x$ac_ct_STRIP" = x; then
5476 STRIP="strip"
5477 else
5478 case $cross_compiling:$ac_tool_warned in
5479 yes:)
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5482 ac_tool_warned=yes ;;
5483 esac
5484 STRIP=$ac_ct_STRIP
5486 else
5487 STRIP="$ac_cv_prog_STRIP"
5490 ARFLAGS=rc
5492 if test -n "$ac_tool_prefix"; then
5493 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5494 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if ${ac_cv_prog_RANLIB+:} false; then :
5498 $as_echo_n "(cached) " >&6
5499 else
5500 if test -n "$RANLIB"; then
5501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5510 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5514 done
5515 done
5516 IFS=$as_save_IFS
5520 RANLIB=$ac_cv_prog_RANLIB
5521 if test -n "$RANLIB"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5523 $as_echo "$RANLIB" >&6; }
5524 else
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5531 if test -z "$ac_cv_prog_RANLIB"; then
5532 ac_ct_RANLIB=$RANLIB
5533 # Extract the first word of "ranlib", so it can be a program name with args.
5534 set dummy ranlib; ac_word=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5538 $as_echo_n "(cached) " >&6
5539 else
5540 if test -n "$ac_ct_RANLIB"; then
5541 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5542 else
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 for as_dir in $PATH
5546 IFS=$as_save_IFS
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5550 ac_cv_prog_ac_ct_RANLIB="ranlib"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 IFS=$as_save_IFS
5560 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5561 if test -n "$ac_ct_RANLIB"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5563 $as_echo "$ac_ct_RANLIB" >&6; }
5564 else
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5569 if test "x$ac_ct_RANLIB" = x; then
5570 RANLIB=":"
5571 else
5572 case $cross_compiling:$ac_tool_warned in
5573 yes:)
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5576 ac_tool_warned=yes ;;
5577 esac
5578 RANLIB=$ac_ct_RANLIB
5580 else
5581 RANLIB="$ac_cv_prog_RANLIB"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5585 $as_echo_n "checking whether ln -s works... " >&6; }
5586 LN_S=$as_ln_s
5587 if test "$LN_S" = "ln -s"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5589 $as_echo "yes" >&6; }
5590 else
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5592 $as_echo "no, using $LN_S" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5596 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5597 if ${ac_cv_path_GREP+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -z "$GREP"; then
5601 ac_path_GREP_found=false
5602 # Loop through the user's path and test for each of PROGNAME-LIST
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_prog in grep ggrep; do
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5611 as_fn_executable_p "$ac_path_GREP" || continue
5612 # Check for GNU ac_path_GREP and select it if it is found.
5613 # Check for GNU $ac_path_GREP
5614 case `"$ac_path_GREP" --version 2>&1` in
5615 *GNU*)
5616 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5618 ac_count=0
5619 $as_echo_n 0123456789 >"conftest.in"
5620 while :
5622 cat "conftest.in" "conftest.in" >"conftest.tmp"
5623 mv "conftest.tmp" "conftest.in"
5624 cp "conftest.in" "conftest.nl"
5625 $as_echo 'GREP' >> "conftest.nl"
5626 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5627 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5628 as_fn_arith $ac_count + 1 && ac_count=$as_val
5629 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5630 # Best one so far, save it but keep looking for a better one
5631 ac_cv_path_GREP="$ac_path_GREP"
5632 ac_path_GREP_max=$ac_count
5634 # 10*(2^10) chars as input seems more than enough
5635 test $ac_count -gt 10 && break
5636 done
5637 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5638 esac
5640 $ac_path_GREP_found && break 3
5641 done
5642 done
5643 done
5644 IFS=$as_save_IFS
5645 if test -z "$ac_cv_path_GREP"; then
5646 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5648 else
5649 ac_cv_path_GREP=$GREP
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5654 $as_echo "$ac_cv_path_GREP" >&6; }
5655 GREP="$ac_cv_path_GREP"
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5659 $as_echo_n "checking for egrep... " >&6; }
5660 if ${ac_cv_path_EGREP+:} false; then :
5661 $as_echo_n "(cached) " >&6
5662 else
5663 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5664 then ac_cv_path_EGREP="$GREP -E"
5665 else
5666 if test -z "$EGREP"; then
5667 ac_path_EGREP_found=false
5668 # Loop through the user's path and test for each of PROGNAME-LIST
5669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5672 IFS=$as_save_IFS
5673 test -z "$as_dir" && as_dir=.
5674 for ac_prog in egrep; do
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5677 as_fn_executable_p "$ac_path_EGREP" || continue
5678 # Check for GNU ac_path_EGREP and select it if it is found.
5679 # Check for GNU $ac_path_EGREP
5680 case `"$ac_path_EGREP" --version 2>&1` in
5681 *GNU*)
5682 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5684 ac_count=0
5685 $as_echo_n 0123456789 >"conftest.in"
5686 while :
5688 cat "conftest.in" "conftest.in" >"conftest.tmp"
5689 mv "conftest.tmp" "conftest.in"
5690 cp "conftest.in" "conftest.nl"
5691 $as_echo 'EGREP' >> "conftest.nl"
5692 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5693 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5694 as_fn_arith $ac_count + 1 && ac_count=$as_val
5695 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5696 # Best one so far, save it but keep looking for a better one
5697 ac_cv_path_EGREP="$ac_path_EGREP"
5698 ac_path_EGREP_max=$ac_count
5700 # 10*(2^10) chars as input seems more than enough
5701 test $ac_count -gt 10 && break
5702 done
5703 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5704 esac
5706 $ac_path_EGREP_found && break 3
5707 done
5708 done
5709 done
5710 IFS=$as_save_IFS
5711 if test -z "$ac_cv_path_EGREP"; then
5712 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5714 else
5715 ac_cv_path_EGREP=$EGREP
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5721 $as_echo "$ac_cv_path_EGREP" >&6; }
5722 EGREP="$ac_cv_path_EGREP"
5725 # Extract the first word of "ldconfig", so it can be a program name with args.
5726 set dummy ldconfig; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_path_LDCONFIG+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 case $LDCONFIG in
5733 [\\/]* | ?:[\\/]*)
5734 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in /sbin /usr/sbin $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5752 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5754 esac
5756 LDCONFIG=$ac_cv_path_LDCONFIG
5757 if test -n "$LDCONFIG"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5759 $as_echo "$LDCONFIG" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 for ac_prog in msgfmt
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if ${ac_cv_prog_MSGFMT+:} false; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$MSGFMT"; then
5776 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_MSGFMT="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5789 done
5790 done
5791 IFS=$as_save_IFS
5795 MSGFMT=$ac_cv_prog_MSGFMT
5796 if test -n "$MSGFMT"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5798 $as_echo "$MSGFMT" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5805 test -n "$MSGFMT" && break
5806 done
5807 test -n "$MSGFMT" || MSGFMT="false"
5809 if ${ac_tool_prefix+:} false; then :
5810 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5811 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 if test -n "$PKG_CONFIG"; then
5818 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5831 done
5832 done
5833 IFS=$as_save_IFS
5837 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5838 if test -n "$PKG_CONFIG"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5840 $as_echo "$PKG_CONFIG" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5848 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5849 if test "x$cross_compiling" = xyes; then :
5851 else
5852 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5853 # Extract the first word of "pkg-config", so it can be a program name with args.
5854 set dummy pkg-config; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$PKG_CONFIG"; then
5861 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_PKG_CONFIG="pkg-config"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5881 if test -n "$PKG_CONFIG"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5883 $as_echo "$PKG_CONFIG" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5891 else
5892 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5895 if test "x$enable_maintainer_mode" != "xyes"
5896 then
5897 FONTFORGE=""
5898 RSVG=""
5899 CONVERT=""
5900 ICOTOOL=""
5901 else
5902 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5903 for ac_prog in fontforge
5905 # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy $ac_prog; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_FONTFORGE+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$FONTFORGE"; then
5913 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_FONTFORGE="$ac_prog"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 FONTFORGE=$ac_cv_prog_FONTFORGE
5933 if test -n "$FONTFORGE"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5935 $as_echo "$FONTFORGE" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5942 test -n "$FONTFORGE" && break
5943 done
5944 test -n "$FONTFORGE" || FONTFORGE="false"
5946 for ac_prog in rsvg-convert rsvg
5948 # Extract the first word of "$ac_prog", so it can be a program name with args.
5949 set dummy $ac_prog; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if ${ac_cv_prog_RSVG+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 if test -n "$RSVG"; then
5956 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5957 else
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH
5961 IFS=$as_save_IFS
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5965 ac_cv_prog_RSVG="$ac_prog"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5967 break 2
5969 done
5970 done
5971 IFS=$as_save_IFS
5975 RSVG=$ac_cv_prog_RSVG
5976 if test -n "$RSVG"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5978 $as_echo "$RSVG" >&6; }
5979 else
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5985 test -n "$RSVG" && break
5986 done
5987 test -n "$RSVG" || RSVG="false"
5989 for ac_prog in convert
5991 # Extract the first word of "$ac_prog", so it can be a program name with args.
5992 set dummy $ac_prog; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_CONVERT+:} false; then :
5996 $as_echo_n "(cached) " >&6
5997 else
5998 if test -n "$CONVERT"; then
5999 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6004 IFS=$as_save_IFS
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6008 ac_cv_prog_CONVERT="$ac_prog"
6009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 break 2
6012 done
6013 done
6014 IFS=$as_save_IFS
6018 CONVERT=$ac_cv_prog_CONVERT
6019 if test -n "$CONVERT"; then
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6021 $as_echo "$CONVERT" >&6; }
6022 else
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6028 test -n "$CONVERT" && break
6029 done
6030 test -n "$CONVERT" || CONVERT="false"
6032 for ac_prog in icotool
6034 # Extract the first word of "$ac_prog", so it can be a program name with args.
6035 set dummy $ac_prog; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_ICOTOOL+:} false; then :
6039 $as_echo_n "(cached) " >&6
6040 else
6041 if test -n "$ICOTOOL"; then
6042 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6047 IFS=$as_save_IFS
6048 test -z "$as_dir" && as_dir=.
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6051 ac_cv_prog_ICOTOOL="$ac_prog"
6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 break 2
6055 done
6056 done
6057 IFS=$as_save_IFS
6061 ICOTOOL=$ac_cv_prog_ICOTOOL
6062 if test -n "$ICOTOOL"; then
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6064 $as_echo "$ICOTOOL" >&6; }
6065 else
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6071 test -n "$ICOTOOL" && break
6072 done
6073 test -n "$ICOTOOL" || ICOTOOL="false"
6075 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6076 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6078 if test "$CONVERT" = false
6079 then
6080 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6081 else
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6083 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6084 convert_version=`convert --version | head -n1`
6085 if test "x$convert_version" != "x"
6086 then
6087 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6088 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6089 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6090 then
6091 CONVERT=false
6094 if test "$CONVERT" = false
6095 then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6097 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6098 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6101 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6105 if test "$ICOTOOL" = false
6106 then
6107 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6110 $as_echo_n "checking for recent enough icotool... " >&6; }
6111 icotool_version=`icotool --version | head -n1`
6112 if test "x$icotool_version" != "x"
6113 then
6114 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6115 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6116 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6117 then
6118 ICOTOOL=false
6119 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6122 if test "$ICOTOOL" = false
6123 then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6125 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6126 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6129 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6133 with_gettext=yes
6134 with_gettextpo=yes
6135 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6138 test "x$with_gettext" != xno || MSGFMT=false
6139 if test "$MSGFMT" != "false"
6140 then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6142 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6143 cat >conftest.po <<EOF
6144 # comment
6145 msgctxt "ctxt"
6146 msgid "id"
6147 msgstr "str"
6149 if $MSGFMT -o /dev/null conftest.po 2>&5
6150 then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6152 $as_echo "yes" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6156 MSGFMT=false
6159 if test "$MSGFMT" = false; then :
6160 case "x$with_gettext" in
6161 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6162 xno) ;;
6163 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6164 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6165 esac
6166 enable_po=${enable_po:-no}
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6171 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6172 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6173 $as_echo_n "(cached) " >&6
6174 else
6175 ac_check_lib_save_LIBS=$LIBS
6176 LIBS="-li386 $LIBS"
6177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6180 /* Override any GCC internal prototype to avoid an error.
6181 Use char because int might match the return type of a GCC
6182 builtin and then its argument prototype would still apply. */
6183 #ifdef __cplusplus
6184 extern "C"
6185 #endif
6186 char i386_set_ldt ();
6188 main ()
6190 return i386_set_ldt ();
6192 return 0;
6194 _ACEOF
6195 if ac_fn_c_try_link "$LINENO"; then :
6196 ac_cv_lib_i386_i386_set_ldt=yes
6197 else
6198 ac_cv_lib_i386_i386_set_ldt=no
6200 rm -f core conftest.err conftest.$ac_objext \
6201 conftest$ac_exeext conftest.$ac_ext
6202 LIBS=$ac_check_lib_save_LIBS
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6205 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6206 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6207 cat >>confdefs.h <<_ACEOF
6208 #define HAVE_LIBI386 1
6209 _ACEOF
6211 LIBS="-li386 $LIBS"
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6216 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6217 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6218 $as_echo_n "(cached) " >&6
6219 else
6220 ac_check_lib_save_LIBS=$LIBS
6221 LIBS="-lossaudio $LIBS"
6222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6223 /* end confdefs.h. */
6225 /* Override any GCC internal prototype to avoid an error.
6226 Use char because int might match the return type of a GCC
6227 builtin and then its argument prototype would still apply. */
6228 #ifdef __cplusplus
6229 extern "C"
6230 #endif
6231 char _oss_ioctl ();
6233 main ()
6235 return _oss_ioctl ();
6237 return 0;
6239 _ACEOF
6240 if ac_fn_c_try_link "$LINENO"; then :
6241 ac_cv_lib_ossaudio__oss_ioctl=yes
6242 else
6243 ac_cv_lib_ossaudio__oss_ioctl=no
6245 rm -f core conftest.err conftest.$ac_objext \
6246 conftest$ac_exeext conftest.$ac_ext
6247 LIBS=$ac_check_lib_save_LIBS
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6250 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6251 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6252 cat >>confdefs.h <<_ACEOF
6253 #define HAVE_LIBOSSAUDIO 1
6254 _ACEOF
6256 LIBS="-lossaudio $LIBS"
6261 OPENGL_LIBS=""
6265 # Check whether --enable-largefile was given.
6266 if test "${enable_largefile+set}" = set; then :
6267 enableval=$enable_largefile;
6270 if test "$enable_largefile" != no; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6273 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6274 if ${ac_cv_sys_largefile_CC+:} false; then :
6275 $as_echo_n "(cached) " >&6
6276 else
6277 ac_cv_sys_largefile_CC=no
6278 if test "$GCC" != yes; then
6279 ac_save_CC=$CC
6280 while :; do
6281 # IRIX 6.2 and later do not support large files by default,
6282 # so use the C compiler's -n32 option if that helps.
6283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6284 /* end confdefs.h. */
6285 #include <sys/types.h>
6286 /* Check that off_t can represent 2**63 - 1 correctly.
6287 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6288 since some C++ compilers masquerading as C compilers
6289 incorrectly reject 9223372036854775807. */
6290 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6291 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6292 && LARGE_OFF_T % 2147483647 == 1)
6293 ? 1 : -1];
6295 main ()
6299 return 0;
6301 _ACEOF
6302 if ac_fn_c_try_compile "$LINENO"; then :
6303 break
6305 rm -f core conftest.err conftest.$ac_objext
6306 CC="$CC -n32"
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 ac_cv_sys_largefile_CC=' -n32'; break
6310 rm -f core conftest.err conftest.$ac_objext
6311 break
6312 done
6313 CC=$ac_save_CC
6314 rm -f conftest.$ac_ext
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6318 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6319 if test "$ac_cv_sys_largefile_CC" != no; then
6320 CC=$CC$ac_cv_sys_largefile_CC
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6324 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6325 if ${ac_cv_sys_file_offset_bits+:} false; then :
6326 $as_echo_n "(cached) " >&6
6327 else
6328 while :; do
6329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6330 /* end confdefs.h. */
6331 #include <sys/types.h>
6332 /* Check that off_t can represent 2**63 - 1 correctly.
6333 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6334 since some C++ compilers masquerading as C compilers
6335 incorrectly reject 9223372036854775807. */
6336 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6337 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6338 && LARGE_OFF_T % 2147483647 == 1)
6339 ? 1 : -1];
6341 main ()
6345 return 0;
6347 _ACEOF
6348 if ac_fn_c_try_compile "$LINENO"; then :
6349 ac_cv_sys_file_offset_bits=no; break
6351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6353 /* end confdefs.h. */
6354 #define _FILE_OFFSET_BITS 64
6355 #include <sys/types.h>
6356 /* Check that off_t can represent 2**63 - 1 correctly.
6357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6358 since some C++ compilers masquerading as C compilers
6359 incorrectly reject 9223372036854775807. */
6360 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6362 && LARGE_OFF_T % 2147483647 == 1)
6363 ? 1 : -1];
6365 main ()
6369 return 0;
6371 _ACEOF
6372 if ac_fn_c_try_compile "$LINENO"; then :
6373 ac_cv_sys_file_offset_bits=64; break
6375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6376 ac_cv_sys_file_offset_bits=unknown
6377 break
6378 done
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6381 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6382 case $ac_cv_sys_file_offset_bits in #(
6383 no | unknown) ;;
6385 cat >>confdefs.h <<_ACEOF
6386 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6387 _ACEOF
6389 esac
6390 rm -rf conftest*
6391 if test $ac_cv_sys_file_offset_bits = unknown; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6393 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6394 if ${ac_cv_sys_large_files+:} false; then :
6395 $as_echo_n "(cached) " >&6
6396 else
6397 while :; do
6398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <sys/types.h>
6401 /* Check that off_t can represent 2**63 - 1 correctly.
6402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6403 since some C++ compilers masquerading as C compilers
6404 incorrectly reject 9223372036854775807. */
6405 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6407 && LARGE_OFF_T % 2147483647 == 1)
6408 ? 1 : -1];
6410 main ()
6414 return 0;
6416 _ACEOF
6417 if ac_fn_c_try_compile "$LINENO"; then :
6418 ac_cv_sys_large_files=no; break
6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6422 /* end confdefs.h. */
6423 #define _LARGE_FILES 1
6424 #include <sys/types.h>
6425 /* Check that off_t can represent 2**63 - 1 correctly.
6426 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6427 since some C++ compilers masquerading as C compilers
6428 incorrectly reject 9223372036854775807. */
6429 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6430 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6431 && LARGE_OFF_T % 2147483647 == 1)
6432 ? 1 : -1];
6434 main ()
6438 return 0;
6440 _ACEOF
6441 if ac_fn_c_try_compile "$LINENO"; then :
6442 ac_cv_sys_large_files=1; break
6444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6445 ac_cv_sys_large_files=unknown
6446 break
6447 done
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6450 $as_echo "$ac_cv_sys_large_files" >&6; }
6451 case $ac_cv_sys_large_files in #(
6452 no | unknown) ;;
6454 cat >>confdefs.h <<_ACEOF
6455 #define _LARGE_FILES $ac_cv_sys_large_files
6456 _ACEOF
6458 esac
6459 rm -rf conftest*
6466 ac_ext=c
6467 ac_cpp='$CPP $CPPFLAGS'
6468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6472 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6473 # On Suns, sometimes $CPP names a directory.
6474 if test -n "$CPP" && test -d "$CPP"; then
6475 CPP=
6477 if test -z "$CPP"; then
6478 if ${ac_cv_prog_CPP+:} false; then :
6479 $as_echo_n "(cached) " >&6
6480 else
6481 # Double quotes because CPP needs to be expanded
6482 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6484 ac_preproc_ok=false
6485 for ac_c_preproc_warn_flag in '' yes
6487 # Use a header file that comes with gcc, so configuring glibc
6488 # with a fresh cross-compiler works.
6489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6490 # <limits.h> exists even on freestanding compilers.
6491 # On the NeXT, cc -E runs the code through the compiler's parser,
6492 # not just through cpp. "Syntax error" is here to catch this case.
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6495 #ifdef __STDC__
6496 # include <limits.h>
6497 #else
6498 # include <assert.h>
6499 #endif
6500 Syntax error
6501 _ACEOF
6502 if ac_fn_c_try_cpp "$LINENO"; then :
6504 else
6505 # Broken: fails on valid input.
6506 continue
6508 rm -f conftest.err conftest.i conftest.$ac_ext
6510 # OK, works on sane cases. Now check whether nonexistent headers
6511 # can be detected and how.
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #include <ac_nonexistent.h>
6515 _ACEOF
6516 if ac_fn_c_try_cpp "$LINENO"; then :
6517 # Broken: success on invalid input.
6518 continue
6519 else
6520 # Passes both tests.
6521 ac_preproc_ok=:
6522 break
6524 rm -f conftest.err conftest.i conftest.$ac_ext
6526 done
6527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6528 rm -f conftest.i conftest.err conftest.$ac_ext
6529 if $ac_preproc_ok; then :
6530 break
6533 done
6534 ac_cv_prog_CPP=$CPP
6537 CPP=$ac_cv_prog_CPP
6538 else
6539 ac_cv_prog_CPP=$CPP
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6542 $as_echo "$CPP" >&6; }
6543 ac_preproc_ok=false
6544 for ac_c_preproc_warn_flag in '' yes
6546 # Use a header file that comes with gcc, so configuring glibc
6547 # with a fresh cross-compiler works.
6548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6549 # <limits.h> exists even on freestanding compilers.
6550 # On the NeXT, cc -E runs the code through the compiler's parser,
6551 # not just through cpp. "Syntax error" is here to catch this case.
6552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6553 /* end confdefs.h. */
6554 #ifdef __STDC__
6555 # include <limits.h>
6556 #else
6557 # include <assert.h>
6558 #endif
6559 Syntax error
6560 _ACEOF
6561 if ac_fn_c_try_cpp "$LINENO"; then :
6563 else
6564 # Broken: fails on valid input.
6565 continue
6567 rm -f conftest.err conftest.i conftest.$ac_ext
6569 # OK, works on sane cases. Now check whether nonexistent headers
6570 # can be detected and how.
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #include <ac_nonexistent.h>
6574 _ACEOF
6575 if ac_fn_c_try_cpp "$LINENO"; then :
6576 # Broken: success on invalid input.
6577 continue
6578 else
6579 # Passes both tests.
6580 ac_preproc_ok=:
6581 break
6583 rm -f conftest.err conftest.i conftest.$ac_ext
6585 done
6586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6587 rm -f conftest.i conftest.err conftest.$ac_ext
6588 if $ac_preproc_ok; then :
6590 else
6591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6593 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6594 See \`config.log' for more details" "$LINENO" 5; }
6597 ac_ext=c
6598 ac_cpp='$CPP $CPPFLAGS'
6599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6605 $as_echo_n "checking for ANSI C header files... " >&6; }
6606 if ${ac_cv_header_stdc+:} false; then :
6607 $as_echo_n "(cached) " >&6
6608 else
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #include <stdlib.h>
6612 #include <stdarg.h>
6613 #include <string.h>
6614 #include <float.h>
6617 main ()
6621 return 0;
6623 _ACEOF
6624 if ac_fn_c_try_compile "$LINENO"; then :
6625 ac_cv_header_stdc=yes
6626 else
6627 ac_cv_header_stdc=no
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6631 if test $ac_cv_header_stdc = yes; then
6632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6635 #include <string.h>
6637 _ACEOF
6638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6639 $EGREP "memchr" >/dev/null 2>&1; then :
6641 else
6642 ac_cv_header_stdc=no
6644 rm -f conftest*
6648 if test $ac_cv_header_stdc = yes; then
6649 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6651 /* end confdefs.h. */
6652 #include <stdlib.h>
6654 _ACEOF
6655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6656 $EGREP "free" >/dev/null 2>&1; then :
6658 else
6659 ac_cv_header_stdc=no
6661 rm -f conftest*
6665 if test $ac_cv_header_stdc = yes; then
6666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6667 if test "$cross_compiling" = yes; then :
6669 else
6670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6671 /* end confdefs.h. */
6672 #include <ctype.h>
6673 #include <stdlib.h>
6674 #if ((' ' & 0x0FF) == 0x020)
6675 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6676 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6677 #else
6678 # define ISLOWER(c) \
6679 (('a' <= (c) && (c) <= 'i') \
6680 || ('j' <= (c) && (c) <= 'r') \
6681 || ('s' <= (c) && (c) <= 'z'))
6682 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6683 #endif
6685 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6687 main ()
6689 int i;
6690 for (i = 0; i < 256; i++)
6691 if (XOR (islower (i), ISLOWER (i))
6692 || toupper (i) != TOUPPER (i))
6693 return 2;
6694 return 0;
6696 _ACEOF
6697 if ac_fn_c_try_run "$LINENO"; then :
6699 else
6700 ac_cv_header_stdc=no
6702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6703 conftest.$ac_objext conftest.beam conftest.$ac_ext
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6709 $as_echo "$ac_cv_header_stdc" >&6; }
6710 if test $ac_cv_header_stdc = yes; then
6712 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6716 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6717 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6718 inttypes.h stdint.h unistd.h
6719 do :
6720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6721 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6724 cat >>confdefs.h <<_ACEOF
6725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6726 _ACEOF
6730 done
6733 for ac_header in \
6734 AL/al.h \
6735 ApplicationServices/ApplicationServices.h \
6736 AudioToolbox/AudioConverter.h \
6737 AudioUnit/AudioUnit.h \
6738 AudioUnit/AudioComponent.h \
6739 CL/cl.h \
6740 Carbon/Carbon.h \
6741 CommonCrypto/CommonDigest.h \
6742 CoreAudio/CoreAudio.h \
6743 CoreServices/CoreServices.h \
6744 DiskArbitration/DiskArbitration.h \
6745 IOKit/IOKitLib.h \
6746 IOKit/hid/IOHIDLib.h \
6747 OpenAL/al.h \
6748 OpenCL/opencl.h \
6749 QuickTime/ImageCompression.h \
6750 Security/Security.h \
6751 alias.h \
6752 alsa/asoundlib.h \
6753 arpa/inet.h \
6754 arpa/nameser.h \
6755 asm/types.h \
6756 asm/user.h \
6757 curses.h \
6758 direct.h \
6759 dirent.h \
6760 dlfcn.h \
6761 elf.h \
6762 float.h \
6763 fnmatch.h \
6764 getopt.h \
6765 gettext-po.h \
6766 grp.h \
6767 gsm.h \
6768 gsm/gsm.h \
6769 ieeefp.h \
6770 inet/mib2.h \
6771 io.h \
6772 kstat.h \
6773 lber.h \
6774 ldap.h \
6775 libproc.h \
6776 link.h \
6777 linux/cdrom.h \
6778 linux/compiler.h \
6779 linux/filter.h \
6780 linux/hdreg.h \
6781 linux/input.h \
6782 linux/ioctl.h \
6783 linux/joystick.h \
6784 linux/major.h \
6785 linux/param.h \
6786 linux/serial.h \
6787 linux/types.h \
6788 linux/ucdrom.h \
6789 lwp.h \
6790 mach-o/nlist.h \
6791 mach-o/loader.h \
6792 mach/mach.h \
6793 mach/machine.h \
6794 machine/cpu.h \
6795 machine/limits.h \
6796 machine/sysarch.h \
6797 mntent.h \
6798 ncurses.h \
6799 netdb.h \
6800 netinet/in.h \
6801 netinet/in_systm.h \
6802 netinet/tcp.h \
6803 netinet/tcp_fsm.h \
6804 pcap/pcap.h \
6805 poll.h \
6806 port.h \
6807 process.h \
6808 pthread.h \
6809 pwd.h \
6810 sched.h \
6811 scsi/scsi.h \
6812 scsi/scsi_ioctl.h \
6813 scsi/sg.h \
6814 stdbool.h \
6815 stdint.h \
6816 stropts.h \
6817 sys/asoundlib.h \
6818 sys/attr.h \
6819 sys/cdio.h \
6820 sys/elf32.h \
6821 sys/epoll.h \
6822 sys/event.h \
6823 sys/exec_elf.h \
6824 sys/filio.h \
6825 sys/inotify.h \
6826 sys/ioctl.h \
6827 sys/ipc.h \
6828 sys/limits.h \
6829 sys/link.h \
6830 sys/mman.h \
6831 sys/modem.h \
6832 sys/msg.h \
6833 sys/mtio.h \
6834 sys/param.h \
6835 sys/poll.h \
6836 sys/prctl.h \
6837 sys/protosw.h \
6838 sys/ptrace.h \
6839 sys/queue.h \
6840 sys/resource.h \
6841 sys/scsiio.h \
6842 sys/shm.h \
6843 sys/signal.h \
6844 sys/socket.h \
6845 sys/socketvar.h \
6846 sys/sockio.h \
6847 sys/statvfs.h \
6848 sys/strtio.h \
6849 sys/syscall.h \
6850 sys/sysinfo.h \
6851 sys/tihdr.h \
6852 sys/time.h \
6853 sys/timeout.h \
6854 sys/times.h \
6855 sys/uio.h \
6856 sys/user.h \
6857 sys/utsname.h \
6858 sys/vm86.h \
6859 sys/vnode.h \
6860 sys/wait.h \
6861 syscall.h \
6862 termios.h \
6863 unistd.h \
6864 utime.h \
6865 valgrind/memcheck.h \
6866 valgrind/valgrind.h \
6867 zlib.h
6869 do :
6870 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6871 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6873 cat >>confdefs.h <<_ACEOF
6874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6875 _ACEOF
6879 done
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6882 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6883 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6884 $as_echo_n "(cached) " >&6
6885 else
6886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 #include <sys/types.h>
6890 main ()
6892 return makedev(0, 0);
6894 return 0;
6896 _ACEOF
6897 if ac_fn_c_try_link "$LINENO"; then :
6898 ac_cv_header_sys_types_h_makedev=yes
6899 else
6900 ac_cv_header_sys_types_h_makedev=no
6902 rm -f core conftest.err conftest.$ac_objext \
6903 conftest$ac_exeext conftest.$ac_ext
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6907 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6909 if test $ac_cv_header_sys_types_h_makedev = no; then
6910 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6911 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6913 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6919 if test $ac_cv_header_sys_mkdev_h = no; then
6920 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6921 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6923 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6932 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6933 if ${ac_cv_header_stat_broken+:} false; then :
6934 $as_echo_n "(cached) " >&6
6935 else
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 #include <sys/types.h>
6939 #include <sys/stat.h>
6941 #if defined S_ISBLK && defined S_IFDIR
6942 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6943 #endif
6945 #if defined S_ISBLK && defined S_IFCHR
6946 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6947 #endif
6949 #if defined S_ISLNK && defined S_IFREG
6950 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6951 #endif
6953 #if defined S_ISSOCK && defined S_IFREG
6954 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6955 #endif
6957 _ACEOF
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 ac_cv_header_stat_broken=no
6960 else
6961 ac_cv_header_stat_broken=yes
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6966 $as_echo "$ac_cv_header_stat_broken" >&6; }
6967 if test $ac_cv_header_stat_broken = yes; then
6969 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6975 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6976 do :
6977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6978 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6979 #ifdef HAVE_SYS_PARAM_H
6980 # include <sys/param.h>
6981 #endif
6983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6984 cat >>confdefs.h <<_ACEOF
6985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6986 _ACEOF
6990 done
6993 for ac_header in \
6994 netinet/ip.h \
6995 net/if.h \
6996 net/if_arp.h \
6997 net/if_dl.h \
6998 net/if_types.h \
6999 net/route.h \
7000 netinet/if_ether.h \
7001 netinet/if_inarp.h \
7002 netinet/in_pcb.h \
7003 netinet/ip_icmp.h \
7004 netinet/ip_var.h \
7005 netinet/udp.h \
7006 netipx/ipx.h \
7007 sys/un.h \
7009 do :
7010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7011 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7012 #ifdef HAVE_SYS_SOCKET_H
7013 # include <sys/socket.h>
7014 #endif
7015 #ifdef HAVE_SYS_SOCKETVAR_H
7016 # include <sys/socketvar.h>
7017 #endif
7018 #ifdef HAVE_NET_ROUTE_H
7019 # include <net/route.h>
7020 #endif
7021 #ifdef HAVE_NETINET_IN_H
7022 # include <netinet/in.h>
7023 #endif
7024 #ifdef HAVE_NETINET_IN_SYSTM_H
7025 # include <netinet/in_systm.h>
7026 #endif
7027 #ifdef HAVE_NET_IF_H
7028 # include <net/if.h>
7029 #endif
7030 #ifdef HAVE_NETINET_IP_H
7031 # include <netinet/ip.h>
7032 #endif
7034 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7035 cat >>confdefs.h <<_ACEOF
7036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7037 _ACEOF
7041 done
7044 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7045 do :
7046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7048 #ifdef HAVE_ALIAS_H
7049 # include <alias.h>
7050 #endif
7051 #ifdef HAVE_SYS_SOCKET_H
7052 # include <sys/socket.h>
7053 #endif
7054 #ifdef HAVE_SYS_SOCKETVAR_H
7055 # include <sys/socketvar.h>
7056 #endif
7057 #ifdef HAVE_SYS_TIMEOUT_H
7058 # include <sys/timeout.h>
7059 #endif
7060 #ifdef HAVE_NETINET_IN_H
7061 # include <netinet/in.h>
7062 #endif
7063 #ifdef HAVE_NETINET_IN_SYSTM_H
7064 # include <netinet/in_systm.h>
7065 #endif
7066 #ifdef HAVE_NETINET_IP_H
7067 # include <netinet/ip.h>
7068 #endif
7069 #ifdef HAVE_NETINET_IP_VAR_H
7070 # include <netinet/ip_var.h>
7071 #endif
7072 #ifdef HAVE_NETINET_IP_ICMP_H
7073 # include <netinet/ip_icmp.h>
7074 #endif
7075 #ifdef HAVE_NETINET_UDP_H
7076 # include <netinet/udp.h>
7077 #endif
7078 #ifdef HAVE_NETINET_TCP_H
7079 # include <netinet/tcp.h>
7080 #endif
7081 #ifdef HAVE_NETINET_TCP_TIMER_H
7082 #include <netinet/tcp_timer.h>
7083 #endif
7085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7086 cat >>confdefs.h <<_ACEOF
7087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7088 _ACEOF
7092 done
7095 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7096 do :
7097 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7098 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7099 #ifdef HAVE_ASM_TYPES_H
7100 # include <asm/types.h>
7101 #endif
7102 #ifdef HAVE_SYS_SOCKET_H
7103 # include <sys/socket.h>
7104 #endif
7105 #ifdef HAVE_LINUX_TYPES_H
7106 # include <linux/types.h>
7107 #endif
7109 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7110 cat >>confdefs.h <<_ACEOF
7111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7112 _ACEOF
7116 done
7119 for ac_header in mach-o/dyld_images.h
7120 do :
7121 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7122 # include <stdbool.h>
7123 #endif
7124 #ifdef HAVE_STDINT_H
7125 # include <stdint.h>
7126 #endif
7128 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7129 cat >>confdefs.h <<_ACEOF
7130 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7131 _ACEOF
7135 done
7138 for ac_header in resolv.h
7139 do :
7140 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7141 #ifdef HAVE_SYS_SOCKET_H
7142 # include <sys/socket.h>
7143 #endif
7144 #ifdef HAVE_NETINET_IN_H
7145 # include <netinet/in.h>
7146 #endif
7147 #ifdef HAVE_ARPA_NAMESER_H
7148 # include <arpa/nameser.h>
7149 #endif
7151 if test "x$ac_cv_header_resolv_h" = xyes; then :
7152 cat >>confdefs.h <<_ACEOF
7153 #define HAVE_RESOLV_H 1
7154 _ACEOF
7158 done
7161 for ac_header in ifaddrs.h
7162 do :
7163 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7165 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7166 cat >>confdefs.h <<_ACEOF
7167 #define HAVE_IFADDRS_H 1
7168 _ACEOF
7172 done
7175 for ac_header in sys/ucontext.h
7176 do :
7177 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7179 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_SYS_UCONTEXT_H 1
7182 _ACEOF
7186 done
7189 for ac_header in sys/thr.h
7190 do :
7191 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7192 #ifdef HAVE_SYS_UCONTEXT_H
7193 #include <sys/ucontext.h>
7194 #endif
7196 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_SYS_THR_H 1
7199 _ACEOF
7203 done
7206 for ac_header in pthread_np.h
7207 do :
7208 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7209 #include <pthread.h>
7210 #endif
7212 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7213 cat >>confdefs.h <<_ACEOF
7214 #define HAVE_PTHREAD_NP_H 1
7215 _ACEOF
7219 done
7222 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7223 do :
7224 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7225 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7226 #include <sys/time.h>
7227 #endif
7228 #include <sys/types.h>
7229 #ifdef HAVE_ASM_TYPES_H
7230 #include <asm/types.h>
7231 #endif
7233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7234 cat >>confdefs.h <<_ACEOF
7235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 _ACEOF
7240 done
7243 for ac_header in libprocstat.h
7244 do :
7245 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7246 #include <sys/param.h>
7247 #endif
7248 #ifdef HAVE_SYS_QUEUE_H
7249 #include <sys/queue.h>
7250 #endif
7251 #ifdef HAVE_SYS_SOCKET_H
7252 #include <sys/socket.h>
7253 #endif
7255 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7256 cat >>confdefs.h <<_ACEOF
7257 #define HAVE_LIBPROCSTAT_H 1
7258 _ACEOF
7262 done
7266 dlldir="\${libdir}/wine"
7268 DLLFLAGS="-D_REENTRANT"
7270 LDRPATH_INSTALL=""
7272 LDRPATH_LOCAL=""
7274 LDEXECFLAGS=""
7276 LIBEXT="so"
7277 DLLEXT=".so"
7278 IMPLIBEXT="def"
7279 # Extract the first word of "ldd", so it can be a program name with args.
7280 set dummy ldd; ac_word=$2
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282 $as_echo_n "checking for $ac_word... " >&6; }
7283 if ${ac_cv_path_LDD+:} false; then :
7284 $as_echo_n "(cached) " >&6
7285 else
7286 case $LDD in
7287 [\\/]* | ?:[\\/]*)
7288 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 as_dummy="/sbin:/usr/sbin:$PATH"
7293 for as_dir in $as_dummy
7295 IFS=$as_save_IFS
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7307 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7309 esac
7311 LDD=$ac_cv_path_LDD
7312 if test -n "$LDD"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7314 $as_echo "$LDD" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}otool; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_OTOOL+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$OTOOL"; then
7330 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 OTOOL=$ac_cv_prog_OTOOL
7350 if test -n "$OTOOL"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7352 $as_echo "$OTOOL" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_OTOOL"; then
7361 ac_ct_OTOOL=$OTOOL
7362 # Extract the first word of "otool", so it can be a program name with args.
7363 set dummy otool; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7367 $as_echo_n "(cached) " >&6
7368 else
7369 if test -n "$ac_ct_OTOOL"; then
7370 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7375 IFS=$as_save_IFS
7376 test -z "$as_dir" && as_dir=.
7377 for ac_exec_ext in '' $ac_executable_extensions; do
7378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_OTOOL="otool"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 break 2
7383 done
7384 done
7385 IFS=$as_save_IFS
7389 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7390 if test -n "$ac_ct_OTOOL"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7392 $as_echo "$ac_ct_OTOOL" >&6; }
7393 else
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_OTOOL" = x; then
7399 OTOOL="otool"
7400 else
7401 case $cross_compiling:$ac_tool_warned in
7402 yes:)
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7406 esac
7407 OTOOL=$ac_ct_OTOOL
7409 else
7410 OTOOL="$ac_cv_prog_OTOOL"
7413 if test -n "$ac_tool_prefix"; then
7414 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7415 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_READELF+:} false; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 if test -n "$READELF"; then
7422 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 break 2
7435 done
7436 done
7437 IFS=$as_save_IFS
7441 READELF=$ac_cv_prog_READELF
7442 if test -n "$READELF"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7444 $as_echo "$READELF" >&6; }
7445 else
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7452 if test -z "$ac_cv_prog_READELF"; then
7453 ac_ct_READELF=$READELF
7454 # Extract the first word of "readelf", so it can be a program name with args.
7455 set dummy readelf; ac_word=$2
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7457 $as_echo_n "checking for $ac_word... " >&6; }
7458 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7459 $as_echo_n "(cached) " >&6
7460 else
7461 if test -n "$ac_ct_READELF"; then
7462 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7463 else
7464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7465 for as_dir in $PATH
7467 IFS=$as_save_IFS
7468 test -z "$as_dir" && as_dir=.
7469 for ac_exec_ext in '' $ac_executable_extensions; do
7470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7471 ac_cv_prog_ac_ct_READELF="readelf"
7472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 break 2
7475 done
7476 done
7477 IFS=$as_save_IFS
7481 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7482 if test -n "$ac_ct_READELF"; then
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7484 $as_echo "$ac_ct_READELF" >&6; }
7485 else
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7487 $as_echo "no" >&6; }
7490 if test "x$ac_ct_READELF" = x; then
7491 READELF="true"
7492 else
7493 case $cross_compiling:$ac_tool_warned in
7494 yes:)
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7497 ac_tool_warned=yes ;;
7498 esac
7499 READELF=$ac_ct_READELF
7501 else
7502 READELF="$ac_cv_prog_READELF"
7505 wine_rules_file=conf$$rules.make
7506 rm -f $wine_rules_file
7507 SUBDIRS=""
7509 DISABLED_SUBDIRS=""
7511 CONFIGURE_TARGETS=""
7513 ALL_TEST_RESOURCES=""
7516 wine_fn_append_file ()
7518 as_fn_append $1 " \\$as_nl $2"
7521 wine_fn_append_rule ()
7523 $as_echo "$1" >>$wine_rules_file
7526 wine_fn_has_flag ()
7528 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7531 wine_fn_all_rules ()
7533 wine_fn_append_file SUBDIRS $ac_dir
7534 wine_fn_append_rule \
7535 "all: $ac_dir
7536 .PHONY: $ac_dir
7537 $ac_dir: dummy
7538 @cd $ac_dir && \$(MAKE)"
7541 wine_fn_install_rules ()
7543 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7545 wine_fn_append_rule \
7546 ".PHONY: $ac_dir/install $ac_dir/uninstall
7547 $ac_dir/install:: $ac_dir
7548 @cd $ac_dir && \$(MAKE) install
7549 $ac_dir/uninstall::
7550 @cd $ac_dir && \$(MAKE) uninstall
7551 install:: $ac_dir/install
7552 __uninstall__: $ac_dir/uninstall"
7554 if wine_fn_has_flag install-lib
7555 then
7556 wine_fn_append_rule \
7557 ".PHONY: $ac_dir/install-lib
7558 $ac_dir/install-lib:: $ac_dir
7559 @cd $ac_dir && \$(MAKE) install-lib
7560 install-lib:: $ac_dir/install-lib"
7563 if wine_fn_has_flag install-dev
7564 then
7565 wine_fn_append_rule \
7566 ".PHONY: $ac_dir/install-dev
7567 $ac_dir/install-dev:: $ac_dir
7568 @cd $ac_dir && \$(MAKE) install-dev
7569 install-dev:: $ac_dir/install-dev"
7573 wine_fn_clean_rules ()
7575 ac_clean=$@
7577 if wine_fn_has_flag clean
7578 then
7579 wine_fn_append_rule \
7580 "$ac_dir/clean: dummy
7581 @cd $ac_dir && \$(MAKE) clean"
7582 else
7583 wine_fn_append_rule \
7584 "$ac_dir/clean: dummy
7585 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7587 wine_fn_append_rule \
7588 "__clean__: $ac_dir/clean
7589 .PHONY: $ac_dir/clean"
7592 wine_fn_disabled_rules ()
7594 ac_clean=$@
7596 wine_fn_append_file SUBDIRS $ac_dir
7597 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7598 wine_fn_append_rule \
7599 "__clean__: $ac_dir/clean
7600 .PHONY: $ac_dir/clean
7601 $ac_dir/clean: dummy
7602 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7605 wine_fn_config_makefile ()
7607 ac_dir=$1
7608 ac_enable=$2
7609 ac_flags=$3
7611 case $ac_dir in
7612 fonts|server) test -z "$with_wine64" || return ;;
7613 esac
7614 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7615 wine_fn_disabled_rules; return
7617 wine_fn_all_rules
7618 wine_fn_install_rules
7619 wine_fn_clean_rules
7622 wine_fn_config_lib ()
7624 ac_name=$1
7625 ac_flags=$2
7626 ac_dir=dlls/$ac_name
7627 ac_deps="include"
7629 if test "x$enable_tools" = xno; then :
7631 else
7632 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7634 wine_fn_all_rules
7635 wine_fn_clean_rules
7637 wine_fn_append_rule \
7638 ".PHONY: $ac_dir/install $ac_dir/uninstall
7639 $ac_dir/install:: $ac_dir
7640 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7641 $ac_dir/uninstall::
7642 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7643 install install-dev:: $ac_dir/install
7644 __uninstall__: $ac_dir/uninstall
7645 __builddeps__: $ac_dir
7646 $ac_dir: $ac_deps"
7649 wine_fn_config_dll ()
7651 ac_name=$1
7652 ac_dir=dlls/$ac_name
7653 ac_enable=$2
7654 ac_flags=$3
7655 ac_implib=${4:-$ac_name}
7656 ac_file=$ac_dir/lib$ac_implib
7657 ac_dll=$ac_name
7658 ac_deps="include"
7659 ac_implibflags=""
7661 if test "x$enable_tools" = xno; then :
7663 else
7664 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7666 case $ac_name in
7667 *16) ac_implibflags=" -m16" ;;
7668 *.*) ;;
7669 *) ac_dll=$ac_dll.dll ;;
7670 esac
7672 ac_clean=
7673 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7674 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7676 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7677 if test "$ac_enable" != enable_win16
7678 then
7679 wine_fn_clean_rules $ac_clean
7680 wine_fn_append_file SUBDIRS $ac_dir
7681 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7682 else
7683 wine_fn_disabled_rules $ac_clean
7684 return
7686 else
7687 wine_fn_all_rules
7688 wine_fn_clean_rules $ac_clean
7689 wine_fn_append_rule \
7690 "$ac_dir: __builddeps__
7691 manpages htmlpages sgmlpages xmlpages::
7692 @cd $ac_dir && \$(MAKE) \$@
7693 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7694 install install-lib:: $ac_dir/install-lib
7695 __uninstall__: $ac_dir/uninstall"
7696 if test -n "$DLLEXT"
7697 then
7698 wine_fn_append_rule \
7699 "$ac_dir/install-lib:: $ac_dir
7700 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7701 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7702 $ac_dir/uninstall::
7703 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7704 else
7705 wine_fn_append_rule \
7706 "$ac_dir/install-lib:: $ac_dir
7707 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7708 $ac_dir/uninstall::
7709 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7713 if wine_fn_has_flag staticimplib
7714 then
7715 wine_fn_append_rule \
7716 "__builddeps__: $ac_file.a
7717 $ac_file.a $ac_file.cross.a: $ac_deps
7718 $ac_file.a: dummy
7719 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7720 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7721 $ac_dir/install-dev:: $ac_file.a
7722 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7723 $ac_dir/uninstall::
7724 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7725 install install-dev:: $ac_dir/install-dev
7726 __uninstall__: $ac_dir/uninstall"
7728 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7729 then
7730 wine_fn_append_rule \
7731 "__builddeps__: $ac_file.cross.a
7732 $ac_file.cross.a: dummy
7733 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7736 elif wine_fn_has_flag implib
7737 then
7738 wine_fn_append_rule \
7739 "__builddeps__: $ac_file.$IMPLIBEXT
7740 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7741 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7742 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7743 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7744 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7745 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7746 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7747 $ac_dir/uninstall::
7748 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7749 install install-dev:: $ac_dir/install-dev
7750 __uninstall__: $ac_dir/uninstall"
7751 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7752 then
7753 wine_fn_append_rule \
7754 "__builddeps__: $ac_file.cross.a
7755 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7756 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7761 wine_fn_config_program ()
7763 ac_name=$1
7764 ac_dir=programs/$ac_name
7765 ac_enable=$2
7766 ac_flags=$3
7767 ac_program=$ac_name
7769 case $ac_name in
7770 *.*) ;;
7771 *) ac_program=$ac_program.exe ;;
7772 esac
7774 ac_clean=
7775 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7776 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7778 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7779 wine_fn_disabled_rules $ac_clean; return
7782 wine_fn_all_rules
7783 wine_fn_clean_rules $ac_clean
7784 wine_fn_append_rule "$ac_dir: __builddeps__"
7786 wine_fn_has_flag install || return
7787 wine_fn_append_rule \
7788 ".PHONY: $ac_dir/install $ac_dir/uninstall
7789 install install-lib:: $ac_dir/install
7790 __uninstall__: $ac_dir/uninstall"
7792 if test -n "$DLLEXT"
7793 then
7794 wine_fn_append_rule \
7795 "$ac_dir/install:: $ac_dir
7796 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7797 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7798 $ac_dir/uninstall::
7799 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7801 if test -z "$with_wine64" && wine_fn_has_flag installbin
7802 then
7803 wine_fn_append_rule \
7804 "$ac_dir/install:: __tooldeps__
7805 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7806 $ac_dir/uninstall::
7807 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7809 else
7810 wine_fn_append_rule \
7811 "$ac_dir/install:: $ac_dir
7812 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7813 $ac_dir/uninstall::
7814 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7817 if test -z "$with_wine64" && wine_fn_has_flag manpage
7818 then
7819 wine_fn_append_rule \
7820 "$ac_dir/install:: $ac_dir
7821 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7822 $ac_dir/uninstall::
7823 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7827 wine_fn_config_test ()
7829 ac_dir=$1
7830 ac_name=$2
7831 ac_flags=$3
7833 ac_clean=
7834 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7835 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7837 if test "x$enable_tests" = xno; then :
7838 wine_fn_disabled_rules $ac_clean; return
7841 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7842 wine_fn_all_rules
7843 wine_fn_clean_rules $ac_clean
7845 wine_fn_append_rule \
7846 "$ac_dir: __builddeps__
7847 programs/winetest: $ac_dir
7848 check test: $ac_dir/test
7849 .PHONY: $ac_dir/test
7850 $ac_dir/test: dummy
7851 @cd $ac_dir && \$(MAKE) test
7852 testclean::
7853 \$(RM) $ac_dir/*.ok"
7855 if test -n "$CROSSTARGET"
7856 then
7857 wine_fn_append_rule \
7858 "crosstest: $ac_dir/crosstest
7859 .PHONY: $ac_dir/crosstest
7860 $ac_dir/crosstest: __builddeps__ dummy
7861 @cd $ac_dir && \$(MAKE) crosstest"
7865 wine_fn_config_tool ()
7867 ac_dir=$1
7868 ac_flags=$2
7869 if test "x$enable_tools" = xno; then :
7870 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7873 wine_fn_all_rules
7874 wine_fn_install_rules
7875 wine_fn_clean_rules
7877 wine_fn_append_rule "__tooldeps__: $ac_dir"
7878 wine_fn_append_rule "$ac_dir: libs/port"
7879 case $ac_dir in
7880 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7881 esac
7884 wine_fn_config_symlink ()
7886 ac_linkdir=
7887 if test "x$1" = "x-d"
7888 then
7889 ac_linkdir=$2
7890 shift; shift
7892 ac_links=$@
7893 wine_fn_append_rule \
7894 "$ac_links:
7895 @./config.status \$@"
7896 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7897 test -n "$ac_linkdir" || return
7898 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7901 wine_binary="wine"
7902 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7903 WINELOADER_PROGRAMS="$wine_binary"
7905 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7907 case $host_os in
7908 cygwin*|mingw32*)
7909 if test -n "$ac_tool_prefix"; then
7910 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7911 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_prog_DLLTOOL+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 if test -n "$DLLTOOL"; then
7918 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7919 else
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 for as_dir in $PATH
7923 IFS=$as_save_IFS
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 break 2
7931 done
7932 done
7933 IFS=$as_save_IFS
7937 DLLTOOL=$ac_cv_prog_DLLTOOL
7938 if test -n "$DLLTOOL"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7940 $as_echo "$DLLTOOL" >&6; }
7941 else
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7948 if test -z "$ac_cv_prog_DLLTOOL"; then
7949 ac_ct_DLLTOOL=$DLLTOOL
7950 # Extract the first word of "dlltool", so it can be a program name with args.
7951 set dummy dlltool; ac_word=$2
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7953 $as_echo_n "checking for $ac_word... " >&6; }
7954 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 if test -n "$ac_ct_DLLTOOL"; then
7958 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7959 else
7960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 for as_dir in $PATH
7963 IFS=$as_save_IFS
7964 test -z "$as_dir" && as_dir=.
7965 for ac_exec_ext in '' $ac_executable_extensions; do
7966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7967 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7969 break 2
7971 done
7972 done
7973 IFS=$as_save_IFS
7977 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7978 if test -n "$ac_ct_DLLTOOL"; then
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7980 $as_echo "$ac_ct_DLLTOOL" >&6; }
7981 else
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7983 $as_echo "no" >&6; }
7986 if test "x$ac_ct_DLLTOOL" = x; then
7987 DLLTOOL="false"
7988 else
7989 case $cross_compiling:$ac_tool_warned in
7990 yes:)
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7993 ac_tool_warned=yes ;;
7994 esac
7995 DLLTOOL=$ac_ct_DLLTOOL
7997 else
7998 DLLTOOL="$ac_cv_prog_DLLTOOL"
8001 LIBEXT="dll"
8002 DLLEXT=""
8003 IMPLIBEXT="a"
8004 enable_iphlpapi=${enable_iphlpapi:-no}
8005 enable_kernel32=${enable_kernel32:-no}
8006 enable_msvcrt=${enable_msvcrt:-no}
8007 enable_ntdll=${enable_ntdll:-no}
8008 enable_ws2_32=${enable_ws2_32:-no}
8009 enable_loader=${enable_loader:-no}
8010 enable_server=${enable_server:-no}
8011 with_x=${with_x:-no}
8012 with_pthread=${with_pthread:-no}
8014 crtlibs=""
8015 case $host_os in
8016 mingw32*)
8017 crtlibs="-lmsvcrt"
8018 SOCKET_LIBS="-lws2_32"
8020 esac
8022 LIBWINE_SHAREDLIB="libwine.dll"
8024 LIBWINE_IMPORTLIB="libwine.a"
8026 LIBWINE_INSTALL_LIB="libwine.dll"
8028 LIBWINE_INSTALL_DEV="libwine.a"
8030 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8032 LIBWINE_DEPENDS="wine.def"
8036 darwin*|macosx*)
8037 for ac_header in libunwind.h
8038 do :
8039 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8041 cat >>confdefs.h <<_ACEOF
8042 #define HAVE_LIBUNWIND_H 1
8043 _ACEOF
8047 done
8049 LIBEXT="dylib"
8050 DLLFLAGS="$DLLFLAGS -fPIC"
8051 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8052 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8053 COREFOUNDATION_LIBS="-framework CoreFoundation"
8055 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8057 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8059 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8061 CORESERVICES_LIBS="-framework CoreServices"
8063 APPKIT_LIBS="-framework AppKit"
8065 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8067 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8068 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8069 $as_echo_n "(cached) " >&6
8070 else
8071 ac_wine_try_cflags_saved=$CFLAGS
8072 CFLAGS="$CFLAGS -Wl,-no_pie"
8073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 /* end confdefs.h. */
8075 int main(int argc, char **argv) { return 0; }
8076 _ACEOF
8077 if ac_fn_c_try_link "$LINENO"; then :
8078 ac_cv_cflags__Wl__no_pie=yes
8079 else
8080 ac_cv_cflags__Wl__no_pie=no
8082 rm -f core conftest.err conftest.$ac_objext \
8083 conftest$ac_exeext conftest.$ac_ext
8084 CFLAGS=$ac_wine_try_cflags_saved
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8087 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8088 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8089 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8091 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8092 then
8093 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8096 if test "$ac_cv_header_Security_Security_h" = "yes"
8097 then
8098 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8100 ac_save_LIBS="$LIBS"
8101 LIBS="$LIBS $SECURITY_LIBS"
8102 for ac_func in SSLCopyPeerCertificates
8103 do :
8104 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8105 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8106 cat >>confdefs.h <<_ACEOF
8107 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8108 _ACEOF
8111 done
8113 LIBS="$ac_save_LIBS"
8114 with_gnutls=${with_gnutls:-no}
8116 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8117 then
8118 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8119 then
8120 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8122 else
8123 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8126 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8127 ac_save_LIBS="$LIBS"
8128 LIBS="$LIBS $COREAUDIO_LIBS"
8129 for ac_func in AUGraphAddNode
8130 do :
8131 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8132 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8133 cat >>confdefs.h <<_ACEOF
8134 #define HAVE_AUGRAPHADDNODE 1
8135 _ACEOF
8138 done
8140 LIBS="$ac_save_LIBS"
8142 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8143 then
8144 OPENAL_LIBS="-framework OpenAL"
8147 cat >>confdefs.h <<_ACEOF
8148 #define HAVE_OPENAL 1
8149 _ACEOF
8151 ac_cv_lib_openal=yes
8153 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8154 then
8155 OPENCL_LIBS="-framework OpenCL"
8157 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8159 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8160 then
8161 ac_save_LIBS="$LIBS"
8162 LIBS="$LIBS $IOKIT_LIBS"
8163 for ac_func in IOHIDManagerCreate
8164 do :
8165 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8166 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8167 cat >>confdefs.h <<_ACEOF
8168 #define HAVE_IOHIDMANAGERCREATE 1
8169 _ACEOF
8172 done
8174 LIBS="$ac_save_LIBS"
8176 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8177 then
8178 ac_save_LIBS="$LIBS"
8179 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8181 $as_echo_n "checking for the QuickTime framework... " >&6; }
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 #include <QuickTime/ImageCompression.h>
8186 main ()
8188 CodecManagerVersion(NULL);
8190 return 0;
8192 _ACEOF
8193 if ac_fn_c_try_link "$LINENO"; then :
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8195 $as_echo "yes" >&6; }
8196 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8198 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8199 else
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201 $as_echo "no" >&6; }
8202 ac_cv_header_QuickTime_ImageCompression_h=no
8204 rm -f core conftest.err conftest.$ac_objext \
8205 conftest$ac_exeext conftest.$ac_ext
8206 LIBS="$ac_save_LIBS"
8208 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8209 then
8210 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8212 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8213 then
8214 CARBON_LIBS="-framework Carbon"
8218 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8219 then
8220 ac_save_LIBS="$LIBS"
8221 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8222 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8223 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8224 enable_winemac_drv=${enable_winemac_drv:-yes}
8227 LIBS="$ac_save_LIBS"
8230 if test "x$enable_win16" = "xyes"
8231 then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8233 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8234 if test "$cross_compiling" = yes; then :
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8236 $as_echo "cross-compiling, assuming yes" >&6; }
8237 else
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8240 asm(".text\n"
8241 "bad:\tnop;nop\n"
8242 "good:\tnop;nop\n\t"
8243 ".globl _testfunc\n"
8244 "_testfunc:\tcallw good");
8245 extern void testfunc();
8247 main ()
8249 unsigned short *p = (unsigned short *)testfunc;
8250 return p[0] != 0xe866 || p[1] != 0xfffa
8252 return 0;
8254 _ACEOF
8255 if ac_fn_c_try_run "$LINENO"; then :
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8257 $as_echo "yes" >&6; }
8258 else
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8261 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
8263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8264 conftest.$ac_objext conftest.beam conftest.$ac_ext
8269 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8271 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8273 LIBWINE_INSTALL_DEV="libwine.dylib"
8275 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8277 WINELOADER_DEPENDS="wine_info.plist"
8281 linux-android*)
8282 DLLFLAGS="$DLLFLAGS -fPIC"
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8284 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8285 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 ac_wine_try_cflags_saved=$CFLAGS
8289 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8292 int main(int argc, char **argv) { return 0; }
8293 _ACEOF
8294 if ac_fn_c_try_link "$LINENO"; then :
8295 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8296 else
8297 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8299 rm -f core conftest.err conftest.$ac_objext \
8300 conftest$ac_exeext conftest.$ac_ext
8301 CFLAGS=$ac_wine_try_cflags_saved
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8304 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8305 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8306 LDEXECFLAGS="-Wl,--export-dynamic"
8308 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8310 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8311 if eval \${$as_ac_var+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 ac_wine_try_cflags_saved=$CFLAGS
8315 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 eval "$as_ac_var=yes"
8322 else
8323 eval "$as_ac_var=no"
8325 rm -f core conftest.err conftest.$ac_objext \
8326 conftest$ac_exeext conftest.$ac_ext
8327 CFLAGS=$ac_wine_try_cflags_saved
8329 eval ac_res=\$$as_ac_var
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8331 $as_echo "$ac_res" >&6; }
8332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8333 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8334 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8335 else
8336 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8338 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8339 if eval \${$as_ac_var+:} false; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 ac_wine_try_cflags_saved=$CFLAGS
8343 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8346 int main(int argc, char **argv) { return 0; }
8347 _ACEOF
8348 if ac_fn_c_try_link "$LINENO"; then :
8349 eval "$as_ac_var=yes"
8350 else
8351 eval "$as_ac_var=no"
8353 rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355 CFLAGS=$ac_wine_try_cflags_saved
8357 eval ac_res=\$$as_ac_var
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8359 $as_echo "$ac_res" >&6; }
8360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8361 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8362 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8367 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8368 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8369 $as_echo_n "(cached) " >&6
8370 else
8371 ac_wine_try_cflags_saved=$CFLAGS
8372 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 int main(int argc, char **argv) { return 0; }
8376 _ACEOF
8377 if ac_fn_c_try_link "$LINENO"; then :
8378 ac_cv_cflags__Wl___enable_new_dtags=yes
8379 else
8380 ac_cv_cflags__Wl___enable_new_dtags=no
8382 rm -f core conftest.err conftest.$ac_objext \
8383 conftest$ac_exeext conftest.$ac_ext
8384 CFLAGS=$ac_wine_try_cflags_saved
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8387 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8388 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8389 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8392 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8393 if ${ac_cv_cflags__Wl__pie+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_wine_try_cflags_saved=$CFLAGS
8397 CFLAGS="$CFLAGS -Wl,-pie"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int main(int argc, char **argv) { return 0; }
8401 _ACEOF
8402 if ac_fn_c_try_link "$LINENO"; then :
8403 ac_cv_cflags__Wl__pie=yes
8404 else
8405 ac_cv_cflags__Wl__pie=no
8407 rm -f core conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 CFLAGS=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8412 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8413 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8414 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8417 LIBWINE_SHAREDLIB="libwine.so"
8419 LIBWINE_INSTALL_LIB="libwine.so"
8421 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8426 DLLFLAGS="$DLLFLAGS -fPIC"
8427 LDEXECFLAGS=""
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8429 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8430 if ${ac_cv_c_dll_gnuelf+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 ac_wine_try_cflags_saved=$CFLAGS
8434 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 void myfunc() {}
8438 _ACEOF
8439 if ac_fn_c_try_link "$LINENO"; then :
8440 ac_cv_c_dll_gnuelf="yes"
8441 else
8442 ac_cv_c_dll_gnuelf="no"
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 CFLAGS=$ac_wine_try_cflags_saved
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8449 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8450 if test "$ac_cv_c_dll_gnuelf" = "yes"
8451 then
8452 LIBWINE_LDFLAGS="-shared"
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8454 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8455 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8456 $as_echo_n "(cached) " >&6
8457 else
8458 ac_wine_try_cflags_saved=$CFLAGS
8459 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8461 /* end confdefs.h. */
8462 int main(int argc, char **argv) { return 0; }
8463 _ACEOF
8464 if ac_fn_c_try_link "$LINENO"; then :
8465 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8466 else
8467 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8469 rm -f core conftest.err conftest.$ac_objext \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8474 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8475 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8476 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8477 else
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8479 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8480 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8491 else
8492 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8499 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8500 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8501 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8505 echo '{ global: *; };' >conftest.map
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8507 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8508 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8509 $as_echo_n "(cached) " >&6
8510 else
8511 ac_wine_try_cflags_saved=$CFLAGS
8512 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515 int main(int argc, char **argv) { return 0; }
8516 _ACEOF
8517 if ac_fn_c_try_link "$LINENO"; then :
8518 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8519 else
8520 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8522 rm -f core conftest.err conftest.$ac_objext \
8523 conftest$ac_exeext conftest.$ac_ext
8524 CFLAGS=$ac_wine_try_cflags_saved
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8527 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8528 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8529 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8531 rm -f conftest.map
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8534 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8535 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8536 $as_echo_n "(cached) " >&6
8537 else
8538 ac_wine_try_cflags_saved=$CFLAGS
8539 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 int main(int argc, char **argv) { return 0; }
8543 _ACEOF
8544 if ac_fn_c_try_link "$LINENO"; then :
8545 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8546 else
8547 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8549 rm -f core conftest.err conftest.$ac_objext \
8550 conftest$ac_exeext conftest.$ac_ext
8551 CFLAGS=$ac_wine_try_cflags_saved
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8554 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8555 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8556 LDEXECFLAGS="-Wl,--export-dynamic"
8559 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8562 if eval \${$as_ac_var+:} false; then :
8563 $as_echo_n "(cached) " >&6
8564 else
8565 ac_wine_try_cflags_saved=$CFLAGS
8566 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 int main(int argc, char **argv) { return 0; }
8570 _ACEOF
8571 if ac_fn_c_try_link "$LINENO"; then :
8572 eval "$as_ac_var=yes"
8573 else
8574 eval "$as_ac_var=no"
8576 rm -f core conftest.err conftest.$ac_objext \
8577 conftest$ac_exeext conftest.$ac_ext
8578 CFLAGS=$ac_wine_try_cflags_saved
8580 eval ac_res=\$$as_ac_var
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8582 $as_echo "$ac_res" >&6; }
8583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8584 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8585 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8586 else
8587 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8589 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8590 if eval \${$as_ac_var+:} false; then :
8591 $as_echo_n "(cached) " >&6
8592 else
8593 ac_wine_try_cflags_saved=$CFLAGS
8594 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8597 int main(int argc, char **argv) { return 0; }
8598 _ACEOF
8599 if ac_fn_c_try_link "$LINENO"; then :
8600 eval "$as_ac_var=yes"
8601 else
8602 eval "$as_ac_var=no"
8604 rm -f core conftest.err conftest.$ac_objext \
8605 conftest$ac_exeext conftest.$ac_ext
8606 CFLAGS=$ac_wine_try_cflags_saved
8608 eval ac_res=\$$as_ac_var
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8610 $as_echo "$ac_res" >&6; }
8611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8612 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8613 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8618 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8619 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 ac_wine_try_cflags_saved=$CFLAGS
8623 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 ac_cv_cflags__Wl___enable_new_dtags=yes
8630 else
8631 ac_cv_cflags__Wl___enable_new_dtags=no
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8638 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8639 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8640 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8643 case $host_cpu in
8644 *i[3456789]86* | x86_64)
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8646 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8647 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 int main(int argc, char **argv) { return 0; }
8655 _ACEOF
8656 if ac_fn_c_try_link "$LINENO"; then :
8657 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8658 else
8659 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8661 rm -f core conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8666 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8667 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8668 case $host_os in
8669 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8670 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8671 esac
8672 else
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8674 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8675 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 ac_wine_try_cflags_saved=$CFLAGS
8679 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8682 int main(int argc, char **argv) { return 0; }
8683 _ACEOF
8684 if ac_fn_c_try_link "$LINENO"; then :
8685 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8686 else
8687 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8689 rm -f core conftest.err conftest.$ac_objext \
8690 conftest$ac_exeext conftest.$ac_ext
8691 CFLAGS=$ac_wine_try_cflags_saved
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8694 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8695 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8696 case $host_os in
8697 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8698 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8699 esac
8701 # Extract the first word of "prelink", so it can be a program name with args.
8702 set dummy prelink; ac_word=$2
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8704 $as_echo_n "checking for $ac_word... " >&6; }
8705 if ${ac_cv_path_PRELINK+:} false; then :
8706 $as_echo_n "(cached) " >&6
8707 else
8708 case $PRELINK in
8709 [\\/]* | ?:[\\/]*)
8710 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8714 for as_dir in /sbin /usr/sbin $PATH
8716 IFS=$as_save_IFS
8717 test -z "$as_dir" && as_dir=.
8718 for ac_exec_ext in '' $ac_executable_extensions; do
8719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8720 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8722 break 2
8724 done
8725 done
8726 IFS=$as_save_IFS
8728 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8730 esac
8732 PRELINK=$ac_cv_path_PRELINK
8733 if test -n "$PRELINK"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8735 $as_echo "$PRELINK" >&6; }
8736 else
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738 $as_echo "no" >&6; }
8742 if test "x$PRELINK" = xfalse
8743 then
8744 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8748 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8749 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 int main(int argc, char **argv) { return 0; }
8757 _ACEOF
8758 if ac_fn_c_try_link "$LINENO"; then :
8759 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8760 else
8761 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8763 rm -f core conftest.err conftest.$ac_objext \
8764 conftest$ac_exeext conftest.$ac_ext
8765 CFLAGS=$ac_wine_try_cflags_saved
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8768 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8769 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8770 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8773 esac
8775 else
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8777 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8778 if ${ac_cv_c_dll_unixware+:} false; then :
8779 $as_echo_n "(cached) " >&6
8780 else
8781 ac_wine_try_cflags_saved=$CFLAGS
8782 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8785 void myfunc() {}
8786 _ACEOF
8787 if ac_fn_c_try_link "$LINENO"; then :
8788 ac_cv_c_dll_unixware="yes"
8789 else
8790 ac_cv_c_dll_unixware="no"
8792 rm -f core conftest.err conftest.$ac_objext \
8793 conftest$ac_exeext conftest.$ac_ext
8794 CFLAGS=$ac_wine_try_cflags_saved
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8797 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8798 if test "$ac_cv_c_dll_unixware" = "yes"
8799 then
8800 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8803 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8805 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8807 LIBWINE_INSTALL_DEV="libwine.so"
8809 LIBWINE_DEPENDS="wine.map"
8812 esac
8814 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8815 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8816 enable_winemac_drv=${enable_winemac_drv:-no}
8817 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8819 CROSSTARGET=""
8821 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8822 then
8823 case "$host_cpu" in
8824 arm*)
8825 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8826 i[3456789]86*)
8827 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
8828 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8829 mingw32-gcc" ;;
8830 x86_64)
8831 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
8832 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8834 ac_prefix_list="" ;;
8835 esac
8836 for ac_prog in $ac_prefix_list
8838 # Extract the first word of "$ac_prog", so it can be a program name with args.
8839 set dummy $ac_prog; ac_word=$2
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841 $as_echo_n "checking for $ac_word... " >&6; }
8842 if ${ac_cv_prog_CROSSCC+:} false; then :
8843 $as_echo_n "(cached) " >&6
8844 else
8845 if test -n "$CROSSCC"; then
8846 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8847 else
8848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 for as_dir in $PATH
8851 IFS=$as_save_IFS
8852 test -z "$as_dir" && as_dir=.
8853 for ac_exec_ext in '' $ac_executable_extensions; do
8854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8855 ac_cv_prog_CROSSCC="$ac_prog"
8856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8857 break 2
8859 done
8860 done
8861 IFS=$as_save_IFS
8865 CROSSCC=$ac_cv_prog_CROSSCC
8866 if test -n "$CROSSCC"; then
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8868 $as_echo "$CROSSCC" >&6; }
8869 else
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 $as_echo "no" >&6; }
8875 test -n "$CROSSCC" && break
8876 done
8877 test -n "$CROSSCC" || CROSSCC="false"
8879 if test "$CROSSCC" != "false"
8880 then
8881 ac_save_CC="$CC"
8882 CC="$CROSSCC"
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8884 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8886 /* end confdefs.h. */
8889 main ()
8893 return 0;
8895 _ACEOF
8896 if ac_fn_c_try_compile "$LINENO"; then :
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8898 $as_echo "yes" >&6; }
8899 set x $CROSSCC
8900 shift
8901 while test $# -ge 1
8903 case "$1" in
8904 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8905 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8906 esac
8907 shift
8908 done
8909 else
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8914 CC="$ac_save_CC"
8919 if test "$ac_cv_header_pthread_h" = "yes"
8920 then
8921 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8922 if test "x$ac_cv_func_pthread_create" = xyes; then :
8924 else
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8926 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8927 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 ac_check_lib_save_LIBS=$LIBS
8931 LIBS="-lpthread $LIBS"
8932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8938 #ifdef __cplusplus
8939 extern "C"
8940 #endif
8941 char pthread_create ();
8943 main ()
8945 return pthread_create ();
8947 return 0;
8949 _ACEOF
8950 if ac_fn_c_try_link "$LINENO"; then :
8951 ac_cv_lib_pthread_pthread_create=yes
8952 else
8953 ac_cv_lib_pthread_pthread_create=no
8955 rm -f core conftest.err conftest.$ac_objext \
8956 conftest$ac_exeext conftest.$ac_ext
8957 LIBS=$ac_check_lib_save_LIBS
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8960 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8961 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8962 PTHREAD_LIBS="-lpthread"
8969 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8970 case "x$with_pthread" in
8971 xno) ;;
8972 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8973 Wine cannot support threads without libpthread.
8974 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8975 esac
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8981 $as_echo_n "checking for X... " >&6; }
8984 # Check whether --with-x was given.
8985 if test "${with_x+set}" = set; then :
8986 withval=$with_x;
8989 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8990 if test "x$with_x" = xno; then
8991 # The user explicitly disabled X.
8992 have_x=disabled
8993 else
8994 case $x_includes,$x_libraries in #(
8995 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8996 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8997 $as_echo_n "(cached) " >&6
8998 else
8999 # One or both of the vars are not set, and there is no cached value.
9000 ac_x_includes=no ac_x_libraries=no
9001 rm -f -r conftest.dir
9002 if mkdir conftest.dir; then
9003 cd conftest.dir
9004 cat >Imakefile <<'_ACEOF'
9005 incroot:
9006 @echo incroot='${INCROOT}'
9007 usrlibdir:
9008 @echo usrlibdir='${USRLIBDIR}'
9009 libdir:
9010 @echo libdir='${LIBDIR}'
9011 _ACEOF
9012 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9013 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9014 for ac_var in incroot usrlibdir libdir; do
9015 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9016 done
9017 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9018 for ac_extension in a so sl dylib la dll; do
9019 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9020 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9021 ac_im_usrlibdir=$ac_im_libdir; break
9023 done
9024 # Screen out bogus values from the imake configuration. They are
9025 # bogus both because they are the default anyway, and because
9026 # using them would break gcc on systems where it needs fixed includes.
9027 case $ac_im_incroot in
9028 /usr/include) ac_x_includes= ;;
9029 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9030 esac
9031 case $ac_im_usrlibdir in
9032 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9033 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9034 esac
9036 cd ..
9037 rm -f -r conftest.dir
9040 # Standard set of common directories for X headers.
9041 # Check X11 before X11Rn because it is often a symlink to the current release.
9042 ac_x_header_dirs='
9043 /usr/X11/include
9044 /usr/X11R7/include
9045 /usr/X11R6/include
9046 /usr/X11R5/include
9047 /usr/X11R4/include
9049 /usr/include/X11
9050 /usr/include/X11R7
9051 /usr/include/X11R6
9052 /usr/include/X11R5
9053 /usr/include/X11R4
9055 /usr/local/X11/include
9056 /usr/local/X11R7/include
9057 /usr/local/X11R6/include
9058 /usr/local/X11R5/include
9059 /usr/local/X11R4/include
9061 /usr/local/include/X11
9062 /usr/local/include/X11R7
9063 /usr/local/include/X11R6
9064 /usr/local/include/X11R5
9065 /usr/local/include/X11R4
9067 /usr/X386/include
9068 /usr/x386/include
9069 /usr/XFree86/include/X11
9071 /usr/include
9072 /usr/local/include
9073 /usr/unsupported/include
9074 /usr/athena/include
9075 /usr/local/x11r5/include
9076 /usr/lpp/Xamples/include
9078 /usr/openwin/include
9079 /usr/openwin/share/include'
9081 if test "$ac_x_includes" = no; then
9082 # Guess where to find include files, by looking for Xlib.h.
9083 # First, try using that file with no special directory specified.
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 #include <X11/Xlib.h>
9087 _ACEOF
9088 if ac_fn_c_try_cpp "$LINENO"; then :
9089 # We can compile using X headers with no special include directory.
9090 ac_x_includes=
9091 else
9092 for ac_dir in $ac_x_header_dirs; do
9093 if test -r "$ac_dir/X11/Xlib.h"; then
9094 ac_x_includes=$ac_dir
9095 break
9097 done
9099 rm -f conftest.err conftest.i conftest.$ac_ext
9100 fi # $ac_x_includes = no
9102 if test "$ac_x_libraries" = no; then
9103 # Check for the libraries.
9104 # See if we find them without any special options.
9105 # Don't add to $LIBS permanently.
9106 ac_save_LIBS=$LIBS
9107 LIBS="-lX11 $LIBS"
9108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9109 /* end confdefs.h. */
9110 #include <X11/Xlib.h>
9112 main ()
9114 XrmInitialize ()
9116 return 0;
9118 _ACEOF
9119 if ac_fn_c_try_link "$LINENO"; then :
9120 LIBS=$ac_save_LIBS
9121 # We can link X programs with no special library path.
9122 ac_x_libraries=
9123 else
9124 LIBS=$ac_save_LIBS
9125 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9127 # Don't even attempt the hair of trying to link an X program!
9128 for ac_extension in a so sl dylib la dll; do
9129 if test -r "$ac_dir/libX11.$ac_extension"; then
9130 ac_x_libraries=$ac_dir
9131 break 2
9133 done
9134 done
9136 rm -f core conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 fi # $ac_x_libraries = no
9140 case $ac_x_includes,$ac_x_libraries in #(
9141 no,* | *,no | *\'*)
9142 # Didn't find X, or a directory has "'" in its name.
9143 ac_cv_have_x="have_x=no";; #(
9145 # Record where we found X for the cache.
9146 ac_cv_have_x="have_x=yes\
9147 ac_x_includes='$ac_x_includes'\
9148 ac_x_libraries='$ac_x_libraries'"
9149 esac
9151 ;; #(
9152 *) have_x=yes;;
9153 esac
9154 eval "$ac_cv_have_x"
9155 fi # $with_x != no
9157 if test "$have_x" != yes; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9159 $as_echo "$have_x" >&6; }
9160 no_x=yes
9161 else
9162 # If each of the values was on the command line, it overrides each guess.
9163 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9164 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9165 # Update the cache value to reflect the command line values.
9166 ac_cv_have_x="have_x=yes\
9167 ac_x_includes='$x_includes'\
9168 ac_x_libraries='$x_libraries'"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9170 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9173 if test "$no_x" = yes; then
9174 # Not all programs may use this symbol, but it does not hurt to define it.
9176 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9178 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9179 else
9180 if test -n "$x_includes"; then
9181 X_CFLAGS="$X_CFLAGS -I$x_includes"
9184 # It would also be nice to do this for all -L options, not just this one.
9185 if test -n "$x_libraries"; then
9186 X_LIBS="$X_LIBS -L$x_libraries"
9187 # For Solaris; some versions of Sun CC require a space after -R and
9188 # others require no space. Words are not sufficient . . . .
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9190 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9191 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9192 ac_xsave_c_werror_flag=$ac_c_werror_flag
9193 ac_c_werror_flag=yes
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9198 main ()
9202 return 0;
9204 _ACEOF
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9207 $as_echo "no" >&6; }
9208 X_LIBS="$X_LIBS -R$x_libraries"
9209 else
9210 LIBS="$ac_xsave_LIBS -R $x_libraries"
9211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9215 main ()
9219 return 0;
9221 _ACEOF
9222 if ac_fn_c_try_link "$LINENO"; then :
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9224 $as_echo "yes" >&6; }
9225 X_LIBS="$X_LIBS -R $x_libraries"
9226 else
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9228 $as_echo "neither works" >&6; }
9230 rm -f core conftest.err conftest.$ac_objext \
9231 conftest$ac_exeext conftest.$ac_ext
9233 rm -f core conftest.err conftest.$ac_objext \
9234 conftest$ac_exeext conftest.$ac_ext
9235 ac_c_werror_flag=$ac_xsave_c_werror_flag
9236 LIBS=$ac_xsave_LIBS
9239 # Check for system-dependent libraries X programs must link with.
9240 # Do this before checking for the system-independent R6 libraries
9241 # (-lICE), since we may need -lsocket or whatever for X linking.
9243 if test "$ISC" = yes; then
9244 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9245 else
9246 # Martyn Johnson says this is needed for Ultrix, if the X
9247 # libraries were built with DECnet support. And Karl Berry says
9248 # the Alpha needs dnet_stub (dnet does not exist).
9249 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9251 /* end confdefs.h. */
9253 /* Override any GCC internal prototype to avoid an error.
9254 Use char because int might match the return type of a GCC
9255 builtin and then its argument prototype would still apply. */
9256 #ifdef __cplusplus
9257 extern "C"
9258 #endif
9259 char XOpenDisplay ();
9261 main ()
9263 return XOpenDisplay ();
9265 return 0;
9267 _ACEOF
9268 if ac_fn_c_try_link "$LINENO"; then :
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9272 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9273 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9274 $as_echo_n "(cached) " >&6
9275 else
9276 ac_check_lib_save_LIBS=$LIBS
9277 LIBS="-ldnet $LIBS"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9284 #ifdef __cplusplus
9285 extern "C"
9286 #endif
9287 char dnet_ntoa ();
9289 main ()
9291 return dnet_ntoa ();
9293 return 0;
9295 _ACEOF
9296 if ac_fn_c_try_link "$LINENO"; then :
9297 ac_cv_lib_dnet_dnet_ntoa=yes
9298 else
9299 ac_cv_lib_dnet_dnet_ntoa=no
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9303 LIBS=$ac_check_lib_save_LIBS
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9306 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9307 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9308 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9311 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9313 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9314 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9315 $as_echo_n "(cached) " >&6
9316 else
9317 ac_check_lib_save_LIBS=$LIBS
9318 LIBS="-ldnet_stub $LIBS"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9325 #ifdef __cplusplus
9326 extern "C"
9327 #endif
9328 char dnet_ntoa ();
9330 main ()
9332 return dnet_ntoa ();
9334 return 0;
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9339 else
9340 ac_cv_lib_dnet_stub_dnet_ntoa=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 LIBS=$ac_check_lib_save_LIBS
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9347 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9348 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9349 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 LIBS="$ac_xsave_LIBS"
9358 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9359 # to get the SysV transport functions.
9360 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9361 # needs -lnsl.
9362 # The nsl library prevents programs from opening the X display
9363 # on Irix 5.2, according to T.E. Dickey.
9364 # The functions gethostbyname, getservbyname, and inet_addr are
9365 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9366 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9367 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9371 if test $ac_cv_func_gethostbyname = no; then
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9373 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9374 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_check_lib_save_LIBS=$LIBS
9378 LIBS="-lnsl $LIBS"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9385 #ifdef __cplusplus
9386 extern "C"
9387 #endif
9388 char gethostbyname ();
9390 main ()
9392 return gethostbyname ();
9394 return 0;
9396 _ACEOF
9397 if ac_fn_c_try_link "$LINENO"; then :
9398 ac_cv_lib_nsl_gethostbyname=yes
9399 else
9400 ac_cv_lib_nsl_gethostbyname=no
9402 rm -f core conftest.err conftest.$ac_objext \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS=$ac_check_lib_save_LIBS
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9407 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9408 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9409 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9412 if test $ac_cv_lib_nsl_gethostbyname = no; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9414 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9415 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_check_lib_save_LIBS=$LIBS
9419 LIBS="-lbsd $LIBS"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9426 #ifdef __cplusplus
9427 extern "C"
9428 #endif
9429 char gethostbyname ();
9431 main ()
9433 return gethostbyname ();
9435 return 0;
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_lib_bsd_gethostbyname=yes
9440 else
9441 ac_cv_lib_bsd_gethostbyname=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9448 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9449 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9457 # socket/setsockopt and other routines are undefined under SCO ODT
9458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9459 # on later versions), says Simon Leinen: it contains gethostby*
9460 # variants that don't use the name server (or something). -lsocket
9461 # must be given before -lnsl if both are needed. We assume that
9462 # if connect needs -lnsl, so does gethostbyname.
9463 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9464 if test "x$ac_cv_func_connect" = xyes; then :
9468 if test $ac_cv_func_connect = no; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9470 $as_echo_n "checking for connect in -lsocket... " >&6; }
9471 if ${ac_cv_lib_socket_connect+:} false; then :
9472 $as_echo_n "(cached) " >&6
9473 else
9474 ac_check_lib_save_LIBS=$LIBS
9475 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9482 #ifdef __cplusplus
9483 extern "C"
9484 #endif
9485 char connect ();
9487 main ()
9489 return connect ();
9491 return 0;
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 ac_cv_lib_socket_connect=yes
9496 else
9497 ac_cv_lib_socket_connect=no
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 LIBS=$ac_check_lib_save_LIBS
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9504 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9505 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9506 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9511 # Guillermo Gomez says -lposix is necessary on A/UX.
9512 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9513 if test "x$ac_cv_func_remove" = xyes; then :
9517 if test $ac_cv_func_remove = no; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9519 $as_echo_n "checking for remove in -lposix... " >&6; }
9520 if ${ac_cv_lib_posix_remove+:} false; then :
9521 $as_echo_n "(cached) " >&6
9522 else
9523 ac_check_lib_save_LIBS=$LIBS
9524 LIBS="-lposix $LIBS"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9531 #ifdef __cplusplus
9532 extern "C"
9533 #endif
9534 char remove ();
9536 main ()
9538 return remove ();
9540 return 0;
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_lib_posix_remove=yes
9545 else
9546 ac_cv_lib_posix_remove=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 LIBS=$ac_check_lib_save_LIBS
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9553 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9554 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9555 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9560 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9561 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9562 if test "x$ac_cv_func_shmat" = xyes; then :
9566 if test $ac_cv_func_shmat = no; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9568 $as_echo_n "checking for shmat in -lipc... " >&6; }
9569 if ${ac_cv_lib_ipc_shmat+:} false; then :
9570 $as_echo_n "(cached) " >&6
9571 else
9572 ac_check_lib_save_LIBS=$LIBS
9573 LIBS="-lipc $LIBS"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9577 /* Override any GCC internal prototype to avoid an error.
9578 Use char because int might match the return type of a GCC
9579 builtin and then its argument prototype would still apply. */
9580 #ifdef __cplusplus
9581 extern "C"
9582 #endif
9583 char shmat ();
9585 main ()
9587 return shmat ();
9589 return 0;
9591 _ACEOF
9592 if ac_fn_c_try_link "$LINENO"; then :
9593 ac_cv_lib_ipc_shmat=yes
9594 else
9595 ac_cv_lib_ipc_shmat=no
9597 rm -f core conftest.err conftest.$ac_objext \
9598 conftest$ac_exeext conftest.$ac_ext
9599 LIBS=$ac_check_lib_save_LIBS
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9602 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9603 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9604 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9610 # Check for libraries that X11R6 Xt/Xaw programs need.
9611 ac_save_LDFLAGS=$LDFLAGS
9612 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9613 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9614 # check for ICE first), but we must link in the order -lSM -lICE or
9615 # we get undefined symbols. So assume we have SM if we have ICE.
9616 # These have to be linked with before -lX11, unlike the other
9617 # libraries we check for below, so use a different variable.
9618 # John Interrante, Karl Berry
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9620 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9621 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9622 $as_echo_n "(cached) " >&6
9623 else
9624 ac_check_lib_save_LIBS=$LIBS
9625 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9632 #ifdef __cplusplus
9633 extern "C"
9634 #endif
9635 char IceConnectionNumber ();
9637 main ()
9639 return IceConnectionNumber ();
9641 return 0;
9643 _ACEOF
9644 if ac_fn_c_try_link "$LINENO"; then :
9645 ac_cv_lib_ICE_IceConnectionNumber=yes
9646 else
9647 ac_cv_lib_ICE_IceConnectionNumber=no
9649 rm -f core conftest.err conftest.$ac_objext \
9650 conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_lib_save_LIBS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9654 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9655 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9656 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9659 LDFLAGS=$ac_save_LDFLAGS
9664 if test "$have_x" = "yes"
9665 then
9666 ac_save_CPPFLAGS="$CPPFLAGS"
9667 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9670 $as_echo_n "checking for -lX11... " >&6; }
9671 if ${ac_cv_lib_soname_X11+:} false; then :
9672 $as_echo_n "(cached) " >&6
9673 else
9674 ac_check_soname_save_LIBS=$LIBS
9675 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9682 #ifdef __cplusplus
9683 extern "C"
9684 #endif
9685 char XCreateWindow ();
9687 main ()
9689 return XCreateWindow ();
9691 return 0;
9693 _ACEOF
9694 if ac_fn_c_try_link "$LINENO"; then :
9695 case "$LIBEXT" in
9696 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9697 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'` ;;
9698 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9699 if ${ac_cv_lib_soname_X11:+false} :; then :
9700 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9701 fi ;;
9702 esac
9704 rm -f core conftest.err conftest.$ac_objext \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_soname_save_LIBS
9708 if ${ac_cv_lib_soname_X11:+false} :; then :
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9710 $as_echo "not found" >&6; }
9712 else
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9714 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9716 cat >>confdefs.h <<_ACEOF
9717 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9718 _ACEOF
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9723 $as_echo_n "checking for -lXext... " >&6; }
9724 if ${ac_cv_lib_soname_Xext+:} false; then :
9725 $as_echo_n "(cached) " >&6
9726 else
9727 ac_check_soname_save_LIBS=$LIBS
9728 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9735 #ifdef __cplusplus
9736 extern "C"
9737 #endif
9738 char XextCreateExtension ();
9740 main ()
9742 return XextCreateExtension ();
9744 return 0;
9746 _ACEOF
9747 if ac_fn_c_try_link "$LINENO"; then :
9748 case "$LIBEXT" in
9749 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9750 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'` ;;
9751 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9752 if ${ac_cv_lib_soname_Xext:+false} :; then :
9753 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9754 fi ;;
9755 esac
9757 rm -f core conftest.err conftest.$ac_objext \
9758 conftest$ac_exeext conftest.$ac_ext
9759 LIBS=$ac_check_soname_save_LIBS
9761 if ${ac_cv_lib_soname_Xext:+false} :; then :
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9763 $as_echo "not found" >&6; }
9765 else
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9767 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9769 cat >>confdefs.h <<_ACEOF
9770 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9771 _ACEOF
9773 X_LIBS="$X_LIBS -lXext"
9775 X_LIBS="$X_LIBS -lX11"
9777 for ac_header in X11/Xlib.h \
9778 X11/XKBlib.h \
9779 X11/Xutil.h \
9780 X11/Xcursor/Xcursor.h \
9781 X11/extensions/shape.h \
9782 X11/extensions/XInput.h \
9783 X11/extensions/XInput2.h \
9784 X11/extensions/XShm.h \
9785 X11/extensions/Xcomposite.h \
9786 X11/extensions/Xinerama.h \
9787 X11/extensions/Xrandr.h \
9788 X11/extensions/Xrender.h \
9789 X11/extensions/xf86vmode.h \
9790 X11/extensions/xf86vmproto.h
9791 do :
9792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9793 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9794 # include <X11/Xlib.h>
9795 #endif
9796 #ifdef HAVE_X11_XUTIL_H
9797 # include <X11/Xutil.h>
9798 #endif
9800 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9801 cat >>confdefs.h <<_ACEOF
9802 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9803 _ACEOF
9807 done
9810 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9811 then
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9813 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9814 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 ac_check_lib_save_LIBS=$LIBS
9818 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9822 /* Override any GCC internal prototype to avoid an error.
9823 Use char because int might match the return type of a GCC
9824 builtin and then its argument prototype would still apply. */
9825 #ifdef __cplusplus
9826 extern "C"
9827 #endif
9828 char XkbQueryExtension ();
9830 main ()
9832 return XkbQueryExtension ();
9834 return 0;
9836 _ACEOF
9837 if ac_fn_c_try_link "$LINENO"; then :
9838 ac_cv_lib_X11_XkbQueryExtension=yes
9839 else
9840 ac_cv_lib_X11_XkbQueryExtension=no
9842 rm -f core conftest.err conftest.$ac_objext \
9843 conftest$ac_exeext conftest.$ac_ext
9844 LIBS=$ac_check_lib_save_LIBS
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9847 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9848 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9850 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9856 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9857 then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9859 $as_echo_n "checking for -lXcursor... " >&6; }
9860 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9861 $as_echo_n "(cached) " >&6
9862 else
9863 ac_check_soname_save_LIBS=$LIBS
9864 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9866 /* end confdefs.h. */
9868 /* Override any GCC internal prototype to avoid an error.
9869 Use char because int might match the return type of a GCC
9870 builtin and then its argument prototype would still apply. */
9871 #ifdef __cplusplus
9872 extern "C"
9873 #endif
9874 char XcursorImageLoadCursor ();
9876 main ()
9878 return XcursorImageLoadCursor ();
9880 return 0;
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 case "$LIBEXT" in
9885 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9886 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'` ;;
9887 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9888 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9889 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9890 fi ;;
9891 esac
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_soname_save_LIBS
9897 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9899 $as_echo "not found" >&6; }
9901 else
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9903 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9905 cat >>confdefs.h <<_ACEOF
9906 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9907 _ACEOF
9912 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9913 case "x$with_xcursor" in
9914 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9915 xno) ;;
9916 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9917 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9918 esac
9922 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9923 then
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9925 $as_echo_n "checking for -lXi... " >&6; }
9926 if ${ac_cv_lib_soname_Xi+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_check_soname_save_LIBS=$LIBS
9930 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9937 #ifdef __cplusplus
9938 extern "C"
9939 #endif
9940 char XOpenDevice ();
9942 main ()
9944 return XOpenDevice ();
9946 return 0;
9948 _ACEOF
9949 if ac_fn_c_try_link "$LINENO"; then :
9950 case "$LIBEXT" in
9951 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9952 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'` ;;
9953 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9954 if ${ac_cv_lib_soname_Xi:+false} :; then :
9955 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9956 fi ;;
9957 esac
9959 rm -f core conftest.err conftest.$ac_objext \
9960 conftest$ac_exeext conftest.$ac_ext
9961 LIBS=$ac_check_soname_save_LIBS
9963 if ${ac_cv_lib_soname_Xi:+false} :; then :
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9965 $as_echo "not found" >&6; }
9967 else
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9969 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9971 cat >>confdefs.h <<_ACEOF
9972 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9973 _ACEOF
9978 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9979 case "x$with_xinput" in
9980 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9981 xno) ;;
9982 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9983 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9984 esac
9988 if test "x$ac_cv_lib_soname_Xi" != x
9989 then
9990 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9991 case "x$with_xinput2" in
9992 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9993 xno) ;;
9994 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9995 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9996 esac
10001 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10002 then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10004 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10005 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_check_lib_save_LIBS=$LIBS
10009 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10013 /* Override any GCC internal prototype to avoid an error.
10014 Use char because int might match the return type of a GCC
10015 builtin and then its argument prototype would still apply. */
10016 #ifdef __cplusplus
10017 extern "C"
10018 #endif
10019 char XShmQueryExtension ();
10021 main ()
10023 return XShmQueryExtension ();
10025 return 0;
10027 _ACEOF
10028 if ac_fn_c_try_link "$LINENO"; then :
10029 ac_cv_lib_Xext_XShmQueryExtension=yes
10030 else
10031 ac_cv_lib_Xext_XShmQueryExtension=no
10033 rm -f core conftest.err conftest.$ac_objext \
10034 conftest$ac_exeext conftest.$ac_ext
10035 LIBS=$ac_check_lib_save_LIBS
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10038 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10039 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10041 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10046 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10047 case "x$with_xshm" in
10048 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10049 xno) ;;
10050 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10051 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10052 esac
10056 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10057 then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10059 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10060 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_check_lib_save_LIBS=$LIBS
10064 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10068 /* Override any GCC internal prototype to avoid an error.
10069 Use char because int might match the return type of a GCC
10070 builtin and then its argument prototype would still apply. */
10071 #ifdef __cplusplus
10072 extern "C"
10073 #endif
10074 char XShapeQueryExtension ();
10076 main ()
10078 return XShapeQueryExtension ();
10080 return 0;
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 ac_cv_lib_Xext_XShapeQueryExtension=yes
10085 else
10086 ac_cv_lib_Xext_XShapeQueryExtension=no
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 LIBS=$ac_check_lib_save_LIBS
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10093 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10094 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10096 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10101 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10102 case "x$with_xshape" in
10103 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10104 xno) ;;
10105 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10106 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10107 esac
10111 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10112 then
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10114 $as_echo_n "checking for -lXxf86vm... " >&6; }
10115 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_check_soname_save_LIBS=$LIBS
10119 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10123 /* Override any GCC internal prototype to avoid an error.
10124 Use char because int might match the return type of a GCC
10125 builtin and then its argument prototype would still apply. */
10126 #ifdef __cplusplus
10127 extern "C"
10128 #endif
10129 char XF86VidModeQueryExtension ();
10131 main ()
10133 return XF86VidModeQueryExtension ();
10135 return 0;
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"; then :
10139 case "$LIBEXT" in
10140 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10141 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'` ;;
10142 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10143 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10144 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10145 fi ;;
10146 esac
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_soname_save_LIBS
10152 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10154 $as_echo "not found" >&6; }
10156 else
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10158 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10160 cat >>confdefs.h <<_ACEOF
10161 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10162 _ACEOF
10167 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10168 case "x$with_xxf86vm" in
10169 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10170 xno) ;;
10171 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10172 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10173 esac
10177 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10178 then
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10180 $as_echo_n "checking for -lXrender... " >&6; }
10181 if ${ac_cv_lib_soname_Xrender+:} false; then :
10182 $as_echo_n "(cached) " >&6
10183 else
10184 ac_check_soname_save_LIBS=$LIBS
10185 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10192 #ifdef __cplusplus
10193 extern "C"
10194 #endif
10195 char XRenderQueryExtension ();
10197 main ()
10199 return XRenderQueryExtension ();
10201 return 0;
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"; then :
10205 case "$LIBEXT" in
10206 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10207 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'` ;;
10208 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10209 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10210 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10211 fi ;;
10212 esac
10214 rm -f core conftest.err conftest.$ac_objext \
10215 conftest$ac_exeext conftest.$ac_ext
10216 LIBS=$ac_check_soname_save_LIBS
10218 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10220 $as_echo "not found" >&6; }
10222 else
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10224 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10226 cat >>confdefs.h <<_ACEOF
10227 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10228 _ACEOF
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10231 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10232 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_lib_save_LIBS=$LIBS
10236 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char XRenderSetPictureTransform ();
10248 main ()
10250 return XRenderSetPictureTransform ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10257 else
10258 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 LIBS=$ac_check_lib_save_LIBS
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10265 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10266 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10268 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10273 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10274 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10275 $as_echo_n "(cached) " >&6
10276 else
10277 ac_check_lib_save_LIBS=$LIBS
10278 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10280 /* end confdefs.h. */
10282 /* Override any GCC internal prototype to avoid an error.
10283 Use char because int might match the return type of a GCC
10284 builtin and then its argument prototype would still apply. */
10285 #ifdef __cplusplus
10286 extern "C"
10287 #endif
10288 char XRenderCreateLinearGradient ();
10290 main ()
10292 return XRenderCreateLinearGradient ();
10294 return 0;
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10299 else
10300 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 LIBS=$ac_check_lib_save_LIBS
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10307 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10308 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10310 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10317 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10318 case "x$with_xrender" in
10319 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10320 xno) ;;
10321 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10322 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10323 esac
10327 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10328 then
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10331 #include <X11/Xlib.h>
10332 #include <X11/extensions/Xrandr.h>
10334 main ()
10336 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10338 return 0;
10340 _ACEOF
10341 if ac_fn_c_try_compile "$LINENO"; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10343 $as_echo_n "checking for -lXrandr... " >&6; }
10344 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10345 $as_echo_n "(cached) " >&6
10346 else
10347 ac_check_soname_save_LIBS=$LIBS
10348 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10350 /* end confdefs.h. */
10352 /* Override any GCC internal prototype to avoid an error.
10353 Use char because int might match the return type of a GCC
10354 builtin and then its argument prototype would still apply. */
10355 #ifdef __cplusplus
10356 extern "C"
10357 #endif
10358 char XRRQueryExtension ();
10360 main ()
10362 return XRRQueryExtension ();
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_link "$LINENO"; then :
10368 case "$LIBEXT" in
10369 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10370 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'` ;;
10371 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10372 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10373 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10374 fi ;;
10375 esac
10377 rm -f core conftest.err conftest.$ac_objext \
10378 conftest$ac_exeext conftest.$ac_ext
10379 LIBS=$ac_check_soname_save_LIBS
10381 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10383 $as_echo "not found" >&6; }
10385 else
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10387 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10389 cat >>confdefs.h <<_ACEOF
10390 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10391 _ACEOF
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 #include <X11/Xlib.h>
10396 #include <X11/extensions/Xrandr.h>
10398 main ()
10400 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10402 return 0;
10404 _ACEOF
10405 if ac_fn_c_try_compile "$LINENO"; then :
10407 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10415 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10416 case "x$with_xrandr" in
10417 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10418 xno) ;;
10419 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10420 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10421 esac
10425 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10426 then
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 #include <X11/Xlib.h>
10430 #include <X11/extensions/Xinerama.h>
10432 main ()
10434 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10436 return 0;
10438 _ACEOF
10439 if ac_fn_c_try_compile "$LINENO"; then :
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10441 $as_echo_n "checking for -lXinerama... " >&6; }
10442 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10443 $as_echo_n "(cached) " >&6
10444 else
10445 ac_check_soname_save_LIBS=$LIBS
10446 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10450 /* Override any GCC internal prototype to avoid an error.
10451 Use char because int might match the return type of a GCC
10452 builtin and then its argument prototype would still apply. */
10453 #ifdef __cplusplus
10454 extern "C"
10455 #endif
10456 char XineramaQueryScreens ();
10458 main ()
10460 return XineramaQueryScreens ();
10462 return 0;
10464 _ACEOF
10465 if ac_fn_c_try_link "$LINENO"; then :
10466 case "$LIBEXT" in
10467 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10468 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'` ;;
10469 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10470 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10471 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10472 fi ;;
10473 esac
10475 rm -f core conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_soname_save_LIBS
10479 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10481 $as_echo "not found" >&6; }
10483 else
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10485 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10487 cat >>confdefs.h <<_ACEOF
10488 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10489 _ACEOF
10494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10496 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10497 case "x$with_xinerama" in
10498 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10499 xno) ;;
10500 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10501 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10502 esac
10506 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10507 then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10509 $as_echo_n "checking for -lXcomposite... " >&6; }
10510 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10511 $as_echo_n "(cached) " >&6
10512 else
10513 ac_check_soname_save_LIBS=$LIBS
10514 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10518 /* Override any GCC internal prototype to avoid an error.
10519 Use char because int might match the return type of a GCC
10520 builtin and then its argument prototype would still apply. */
10521 #ifdef __cplusplus
10522 extern "C"
10523 #endif
10524 char XCompositeRedirectWindow ();
10526 main ()
10528 return XCompositeRedirectWindow ();
10530 return 0;
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534 case "$LIBEXT" in
10535 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10536 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'` ;;
10537 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10538 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10539 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10540 fi ;;
10541 esac
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_soname_save_LIBS
10547 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10549 $as_echo "not found" >&6; }
10551 else
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10553 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10555 cat >>confdefs.h <<_ACEOF
10556 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10557 _ACEOF
10562 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10563 case "x$with_xcomposite" in
10564 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10565 xno) ;;
10566 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10567 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10568 esac
10572 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10573 #include <X11/Xlib.h>
10574 #endif
10576 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10578 cat >>confdefs.h <<_ACEOF
10579 #define HAVE_XICCALLBACK_CALLBACK 1
10580 _ACEOF
10584 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10585 #include <X11/Xlib.h>
10586 #endif
10588 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10590 cat >>confdefs.h <<_ACEOF
10591 #define HAVE_XEVENT_XCOOKIE 1
10592 _ACEOF
10599 opengl_msg=""
10600 if test "x$with_opengl" != "xno"
10601 then
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10603 $as_echo_n "checking for -lGL... " >&6; }
10604 if ${ac_cv_lib_soname_GL+:} false; then :
10605 $as_echo_n "(cached) " >&6
10606 else
10607 ac_check_soname_save_LIBS=$LIBS
10608 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10610 /* end confdefs.h. */
10612 /* Override any GCC internal prototype to avoid an error.
10613 Use char because int might match the return type of a GCC
10614 builtin and then its argument prototype would still apply. */
10615 #ifdef __cplusplus
10616 extern "C"
10617 #endif
10618 char glXCreateContext ();
10620 main ()
10622 return glXCreateContext ();
10624 return 0;
10626 _ACEOF
10627 if ac_fn_c_try_link "$LINENO"; then :
10628 case "$LIBEXT" in
10629 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10630 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'` ;;
10631 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10632 if ${ac_cv_lib_soname_GL:+false} :; then :
10633 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10634 fi ;;
10635 esac
10637 rm -f core conftest.err conftest.$ac_objext \
10638 conftest$ac_exeext conftest.$ac_ext
10639 LIBS=$ac_check_soname_save_LIBS
10641 if ${ac_cv_lib_soname_GL:+false} :; then :
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10643 $as_echo "not found" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10645 $as_echo_n "checking for -lGL... " >&6; }
10646 if ${ac_cv_lib_soname_GL+:} false; then :
10647 $as_echo_n "(cached) " >&6
10648 else
10649 ac_check_soname_save_LIBS=$LIBS
10650 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"
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10657 #ifdef __cplusplus
10658 extern "C"
10659 #endif
10660 char glXCreateContext ();
10662 main ()
10664 return glXCreateContext ();
10666 return 0;
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 case "$LIBEXT" in
10671 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10672 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'` ;;
10673 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10674 if ${ac_cv_lib_soname_GL:+false} :; then :
10675 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10676 fi ;;
10677 esac
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 LIBS=$ac_check_soname_save_LIBS
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10685 $as_echo "not found" >&6; }
10686 if test -f /usr/X11R6/lib/libGL.a
10687 then
10688 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10689 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10690 else
10691 opengl_msg="No OpenGL library found on this system."
10693 else
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10695 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10697 cat >>confdefs.h <<_ACEOF
10698 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10699 _ACEOF
10701 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"
10703 else
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10705 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10707 cat >>confdefs.h <<_ACEOF
10708 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10709 _ACEOF
10711 OPENGL_LIBS="-lGL"
10713 if test "x$with_glu" != "xno"
10714 then
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10716 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10717 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 ac_check_lib_save_LIBS=$LIBS
10721 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char gluLookAt ();
10733 main ()
10735 return gluLookAt ();
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 ac_cv_lib_GLU_gluLookAt=yes
10742 else
10743 ac_cv_lib_GLU_gluLookAt=no
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_lib_save_LIBS
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10750 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10751 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10755 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10756 case "x$with_glu" in
10757 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10758 xno) ;;
10759 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10760 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10761 esac
10766 if test "x$with_osmesa" != "xno"
10767 then
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10769 $as_echo_n "checking for -lOSMesa... " >&6; }
10770 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10771 $as_echo_n "(cached) " >&6
10772 else
10773 ac_check_soname_save_LIBS=$LIBS
10774 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10778 /* Override any GCC internal prototype to avoid an error.
10779 Use char because int might match the return type of a GCC
10780 builtin and then its argument prototype would still apply. */
10781 #ifdef __cplusplus
10782 extern "C"
10783 #endif
10784 char glAccum ();
10786 main ()
10788 return glAccum ();
10790 return 0;
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"; then :
10794 case "$LIBEXT" in
10795 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10796 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'` ;;
10797 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10798 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10799 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10800 fi ;;
10801 esac
10803 rm -f core conftest.err conftest.$ac_objext \
10804 conftest$ac_exeext conftest.$ac_ext
10805 LIBS=$ac_check_soname_save_LIBS
10807 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10809 $as_echo "not found" >&6; }
10811 else
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10813 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10815 cat >>confdefs.h <<_ACEOF
10816 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10817 _ACEOF
10821 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10822 case "x$with_osmesa" in
10823 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10824 xno) ;;
10825 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10826 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10827 esac
10832 if test -n "$opengl_msg"; then :
10833 case "x$with_opengl" in
10834 x) as_fn_append wine_warnings "|$opengl_msg
10835 OpenGL and Direct3D won't be supported." ;;
10836 xno) ;;
10837 *) as_fn_error $? "$opengl_msg
10838 OpenGL and Direct3D won't be supported.
10839 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10840 esac
10844 CPPFLAGS="$ac_save_CPPFLAGS"
10845 else
10846 X_CFLAGS=""
10847 X_LIBS=""
10849 if test "x$X_LIBS" = "x"; then :
10850 case "x$with_x" in
10851 xno) ;;
10852 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10853 without X support, which probably isn't what you want. You will need
10854 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10855 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10856 esac
10857 enable_winex11_drv=${enable_winex11_drv:-no}
10860 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10862 if test "$ac_cv_header_CL_cl_h" = "yes"
10863 then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10865 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10866 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10867 $as_echo_n "(cached) " >&6
10868 else
10869 ac_check_lib_save_LIBS=$LIBS
10870 LIBS="-lOpenCL $LIBS"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10877 #ifdef __cplusplus
10878 extern "C"
10879 #endif
10880 char clGetPlatformInfo ();
10882 main ()
10884 return clGetPlatformInfo ();
10886 return 0;
10888 _ACEOF
10889 if ac_fn_c_try_link "$LINENO"; then :
10890 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10891 else
10892 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_lib_save_LIBS
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10899 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10900 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10901 OPENCL_LIBS="-lOpenCL"
10906 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10907 case "x$with_opencl" in
10908 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10909 xno) ;;
10910 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10911 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10912 esac
10913 enable_opencl=${enable_opencl:-no}
10916 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10917 then
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10919 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10920 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10921 $as_echo_n "(cached) " >&6
10922 else
10923 ac_check_lib_save_LIBS=$LIBS
10924 LIBS="-lpcap $LIBS"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10928 /* Override any GCC internal prototype to avoid an error.
10929 Use char because int might match the return type of a GCC
10930 builtin and then its argument prototype would still apply. */
10931 #ifdef __cplusplus
10932 extern "C"
10933 #endif
10934 char pcap_create ();
10936 main ()
10938 return pcap_create ();
10940 return 0;
10942 _ACEOF
10943 if ac_fn_c_try_link "$LINENO"; then :
10944 ac_cv_lib_pcap_pcap_create=yes
10945 else
10946 ac_cv_lib_pcap_pcap_create=no
10948 rm -f core conftest.err conftest.$ac_objext \
10949 conftest$ac_exeext conftest.$ac_ext
10950 LIBS=$ac_check_lib_save_LIBS
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10953 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10954 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10955 PCAP_LIBS="-lpcap"
10960 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10961 case "x$with_pcap" in
10962 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10963 xno) ;;
10964 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10965 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10966 esac
10967 enable_wpcap=${enable_wpcap:-no}
10971 if test "x$with_xml" != "xno"
10972 then
10973 if ${XML2_CFLAGS:+false} :; then :
10974 if ${PKG_CONFIG+:} false; then :
10975 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10978 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10979 if ${XML2_LIBS:+false} :; then :
10980 if ${PKG_CONFIG+:} false; then :
10981 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10984 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10985 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10986 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10987 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10988 ac_save_CPPFLAGS=$CPPFLAGS
10989 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10990 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10991 do :
10992 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10993 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10995 cat >>confdefs.h <<_ACEOF
10996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10997 _ACEOF
11001 done
11003 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"
11004 then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11006 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11007 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11008 $as_echo_n "(cached) " >&6
11009 else
11010 ac_check_lib_save_LIBS=$LIBS
11011 LIBS="-lxml2 $XML2_LIBS $LIBS"
11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11013 /* end confdefs.h. */
11015 /* Override any GCC internal prototype to avoid an error.
11016 Use char because int might match the return type of a GCC
11017 builtin and then its argument prototype would still apply. */
11018 #ifdef __cplusplus
11019 extern "C"
11020 #endif
11021 char xmlParseMemory ();
11023 main ()
11025 return xmlParseMemory ();
11027 return 0;
11029 _ACEOF
11030 if ac_fn_c_try_link "$LINENO"; then :
11031 ac_cv_lib_xml2_xmlParseMemory=yes
11032 else
11033 ac_cv_lib_xml2_xmlParseMemory=no
11035 rm -f core conftest.err conftest.$ac_objext \
11036 conftest$ac_exeext conftest.$ac_ext
11037 LIBS=$ac_check_lib_save_LIBS
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11040 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11041 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11043 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11045 else
11046 XML2_LIBS=""
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11050 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11051 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11052 $as_echo_n "(cached) " >&6
11053 else
11054 ac_check_lib_save_LIBS=$LIBS
11055 LIBS="-lxml2 $XML2_LIBS $LIBS"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11062 #ifdef __cplusplus
11063 extern "C"
11064 #endif
11065 char xmlReadMemory ();
11067 main ()
11069 return xmlReadMemory ();
11071 return 0;
11073 _ACEOF
11074 if ac_fn_c_try_link "$LINENO"; then :
11075 ac_cv_lib_xml2_xmlReadMemory=yes
11076 else
11077 ac_cv_lib_xml2_xmlReadMemory=no
11079 rm -f core conftest.err conftest.$ac_objext \
11080 conftest$ac_exeext conftest.$ac_ext
11081 LIBS=$ac_check_lib_save_LIBS
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11084 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11085 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11087 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11092 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11093 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11094 $as_echo_n "(cached) " >&6
11095 else
11096 ac_check_lib_save_LIBS=$LIBS
11097 LIBS="-lxml2 $XML2_LIBS $LIBS"
11098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11101 /* Override any GCC internal prototype to avoid an error.
11102 Use char because int might match the return type of a GCC
11103 builtin and then its argument prototype would still apply. */
11104 #ifdef __cplusplus
11105 extern "C"
11106 #endif
11107 char xmlNewDocPI ();
11109 main ()
11111 return xmlNewDocPI ();
11113 return 0;
11115 _ACEOF
11116 if ac_fn_c_try_link "$LINENO"; then :
11117 ac_cv_lib_xml2_xmlNewDocPI=yes
11118 else
11119 ac_cv_lib_xml2_xmlNewDocPI=no
11121 rm -f core conftest.err conftest.$ac_objext \
11122 conftest$ac_exeext conftest.$ac_ext
11123 LIBS=$ac_check_lib_save_LIBS
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11126 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11127 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11129 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11134 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11135 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11136 $as_echo_n "(cached) " >&6
11137 else
11138 ac_check_lib_save_LIBS=$LIBS
11139 LIBS="-lxml2 $XML2_LIBS $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char xmlSchemaSetParserStructuredErrors ();
11151 main ()
11153 return xmlSchemaSetParserStructuredErrors ();
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11160 else
11161 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11163 rm -f core conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11168 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11169 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11171 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11176 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11177 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11178 $as_echo_n "(cached) " >&6
11179 else
11180 ac_check_lib_save_LIBS=$LIBS
11181 LIBS="-lxml2 $XML2_LIBS $LIBS"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char xmlSchemaSetValidStructuredErrors ();
11193 main ()
11195 return xmlSchemaSetValidStructuredErrors ();
11197 return 0;
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"; then :
11201 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11202 else
11203 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11210 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11211 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11213 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11218 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11219 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lxml2 $XML2_LIBS $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char xmlFirstElementChild ();
11235 main ()
11237 return xmlFirstElementChild ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_xml2_xmlFirstElementChild=yes
11244 else
11245 ac_cv_lib_xml2_xmlFirstElementChild=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11252 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11253 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11255 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11259 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11261 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11263 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11267 else
11268 XML2_CFLAGS=""
11269 XML2_LIBS=""
11271 CPPFLAGS=$ac_save_CPPFLAGS
11272 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11273 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11276 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11277 case "x$with_xml" in
11278 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11279 xno) ;;
11280 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11281 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11282 esac
11286 if test "x$with_xslt" != "xno"
11287 then
11288 if ${XSLT_CFLAGS:+false} :; then :
11289 if ${PKG_CONFIG+:} false; then :
11290 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11293 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11294 if ${XSLT_LIBS:+false} :; then :
11295 if ${PKG_CONFIG+:} false; then :
11296 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11299 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11300 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11301 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11303 ac_save_CPPFLAGS=$CPPFLAGS
11304 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11305 for ac_header in libxslt/pattern.h libxslt/transform.h
11306 do :
11307 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11308 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11309 # include <libxslt/pattern.h>
11310 #endif
11312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11313 cat >>confdefs.h <<_ACEOF
11314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11315 _ACEOF
11319 done
11321 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11322 then
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11324 $as_echo_n "checking for -lxslt... " >&6; }
11325 if ${ac_cv_lib_soname_xslt+:} false; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_soname_save_LIBS=$LIBS
11329 LIBS="-lxslt $XSLT_LIBS $LIBS"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
11339 char xsltCompilePattern ();
11341 main ()
11343 return xsltCompilePattern ();
11345 return 0;
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 case "$LIBEXT" in
11350 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11351 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'` ;;
11352 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11353 if ${ac_cv_lib_soname_xslt:+false} :; then :
11354 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11355 fi ;;
11356 esac
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_soname_save_LIBS
11362 if ${ac_cv_lib_soname_xslt:+false} :; then :
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11364 $as_echo "not found" >&6; }
11366 else
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11368 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11370 cat >>confdefs.h <<_ACEOF
11371 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11372 _ACEOF
11376 else
11377 XSLT_CFLAGS=""
11379 CPPFLAGS=$ac_save_CPPFLAGS
11380 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11381 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11384 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11385 case "x$with_xslt" in
11386 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11387 xno) ;;
11388 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11389 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11390 esac
11394 if test "x$with_dbus" != "xno"
11395 then
11396 if ${DBUS_CFLAGS:+false} :; then :
11397 if ${PKG_CONFIG+:} false; then :
11398 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11402 if ${DBUS_LIBS:+false} :; then :
11403 if ${PKG_CONFIG+:} false; then :
11404 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11409 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11410 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11411 ac_save_CPPFLAGS=$CPPFLAGS
11412 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11413 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11414 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11416 $as_echo_n "checking for -ldbus-1... " >&6; }
11417 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11418 $as_echo_n "(cached) " >&6
11419 else
11420 ac_check_soname_save_LIBS=$LIBS
11421 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11428 #ifdef __cplusplus
11429 extern "C"
11430 #endif
11431 char dbus_connection_close ();
11433 main ()
11435 return dbus_connection_close ();
11437 return 0;
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"; then :
11441 case "$LIBEXT" in
11442 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11443 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'` ;;
11444 *) 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'`
11445 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11446 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11447 fi ;;
11448 esac
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_soname_save_LIBS
11454 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11456 $as_echo "not found" >&6; }
11457 DBUS_CFLAGS=""
11458 else
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11460 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11462 cat >>confdefs.h <<_ACEOF
11463 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11464 _ACEOF
11468 else
11469 DBUS_CFLAGS=""
11473 CPPFLAGS=$ac_save_CPPFLAGS
11474 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11475 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11478 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11479 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11480 case "x$with_dbus" in
11481 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11482 xno) ;;
11483 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11484 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11485 esac
11489 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11490 then
11491 if ${HAL_CFLAGS:+false} :; then :
11492 if ${PKG_CONFIG+:} false; then :
11493 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11497 if ${HAL_LIBS:+false} :; then :
11498 if ${PKG_CONFIG+:} false; then :
11499 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11503 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11504 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11505 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11506 ac_save_CPPFLAGS=$CPPFLAGS
11507 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11508 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11509 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11511 $as_echo_n "checking for -lhal... " >&6; }
11512 if ${ac_cv_lib_soname_hal+:} false; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_soname_save_LIBS=$LIBS
11516 LIBS="-lhal $HAL_LIBS $LIBS"
11517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11518 /* end confdefs.h. */
11520 /* Override any GCC internal prototype to avoid an error.
11521 Use char because int might match the return type of a GCC
11522 builtin and then its argument prototype would still apply. */
11523 #ifdef __cplusplus
11524 extern "C"
11525 #endif
11526 char libhal_ctx_new ();
11528 main ()
11530 return libhal_ctx_new ();
11532 return 0;
11534 _ACEOF
11535 if ac_fn_c_try_link "$LINENO"; then :
11536 case "$LIBEXT" in
11537 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11538 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'` ;;
11539 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11540 if ${ac_cv_lib_soname_hal:+false} :; then :
11541 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11542 fi ;;
11543 esac
11545 rm -f core conftest.err conftest.$ac_objext \
11546 conftest$ac_exeext conftest.$ac_ext
11547 LIBS=$ac_check_soname_save_LIBS
11549 if ${ac_cv_lib_soname_hal:+false} :; then :
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11551 $as_echo "not found" >&6; }
11552 HAL_CFLAGS=""
11553 else
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11555 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11557 cat >>confdefs.h <<_ACEOF
11558 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11559 _ACEOF
11563 else
11564 HAL_CFLAGS=""
11568 CPPFLAGS=$ac_save_CPPFLAGS
11569 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11570 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11572 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11573 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11574 case "x$with_hal" in
11575 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11576 xno) ;;
11577 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11578 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11579 esac
11584 if test "x$with_gnutls" != "xno"
11585 then
11586 if ${GNUTLS_CFLAGS:+false} :; then :
11587 if ${PKG_CONFIG+:} false; then :
11588 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11592 if ${GNUTLS_LIBS:+false} :; then :
11593 if ${PKG_CONFIG+:} false; then :
11594 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11599 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11600 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11601 ac_save_CPPFLAGS=$CPPFLAGS
11602 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11603 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11604 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11607 #include <gnutls/gnutls.h>
11608 #include <gnutls/crypto.h>
11610 main ()
11612 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11614 return 0;
11616 _ACEOF
11617 if ac_fn_c_try_compile "$LINENO"; then :
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11619 $as_echo_n "checking for -lgnutls... " >&6; }
11620 if ${ac_cv_lib_soname_gnutls+:} false; then :
11621 $as_echo_n "(cached) " >&6
11622 else
11623 ac_check_soname_save_LIBS=$LIBS
11624 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11631 #ifdef __cplusplus
11632 extern "C"
11633 #endif
11634 char gnutls_global_init ();
11636 main ()
11638 return gnutls_global_init ();
11640 return 0;
11642 _ACEOF
11643 if ac_fn_c_try_link "$LINENO"; then :
11644 case "$LIBEXT" in
11645 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11646 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'` ;;
11647 *) 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'`
11648 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11649 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'`
11650 fi ;;
11651 esac
11653 rm -f core conftest.err conftest.$ac_objext \
11654 conftest$ac_exeext conftest.$ac_ext
11655 LIBS=$ac_check_soname_save_LIBS
11657 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11659 $as_echo "not found" >&6; }
11660 GNUTLS_CFLAGS=""
11661 else
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11663 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11665 cat >>confdefs.h <<_ACEOF
11666 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11667 _ACEOF
11671 ac_wine_check_funcs_save_LIBS="$LIBS"
11672 LIBS="$LIBS $GNUTLS_LIBS"
11673 for ac_func in gnutls_hash
11674 do :
11675 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11676 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11677 cat >>confdefs.h <<_ACEOF
11678 #define HAVE_GNUTLS_HASH 1
11679 _ACEOF
11681 else
11682 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11684 done
11686 LIBS="$ac_wine_check_funcs_save_LIBS"
11688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11689 else
11690 GNUTLS_CFLAGS=""
11694 CPPFLAGS=$ac_save_CPPFLAGS
11695 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11696 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11699 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11700 case "x$with_gnutls" in
11701 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11702 xno) ;;
11703 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11704 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11705 esac
11709 CURSES_LIBS=""
11710 if test "$ac_cv_header_ncurses_h" = "yes"
11711 then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11713 $as_echo_n "checking for -lncurses... " >&6; }
11714 if ${ac_cv_lib_soname_ncurses+:} false; then :
11715 $as_echo_n "(cached) " >&6
11716 else
11717 ac_check_soname_save_LIBS=$LIBS
11718 LIBS="-lncurses $LIBS"
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h. */
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char waddch ();
11730 main ()
11732 return waddch ();
11734 return 0;
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738 case "$LIBEXT" in
11739 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11740 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'` ;;
11741 *) 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'`
11742 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11743 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11744 fi ;;
11745 esac
11747 rm -f core conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749 LIBS=$ac_check_soname_save_LIBS
11751 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11753 $as_echo "not found" >&6; }
11755 else
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11757 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11759 cat >>confdefs.h <<_ACEOF
11760 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11761 _ACEOF
11763 CURSES_LIBS="-lncurses"
11765 elif test "$ac_cv_header_curses_h" = "yes"
11766 then
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11768 $as_echo_n "checking for -lcurses... " >&6; }
11769 if ${ac_cv_lib_soname_curses+:} false; then :
11770 $as_echo_n "(cached) " >&6
11771 else
11772 ac_check_soname_save_LIBS=$LIBS
11773 LIBS="-lcurses $LIBS"
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11780 #ifdef __cplusplus
11781 extern "C"
11782 #endif
11783 char waddch ();
11785 main ()
11787 return waddch ();
11789 return 0;
11791 _ACEOF
11792 if ac_fn_c_try_link "$LINENO"; then :
11793 case "$LIBEXT" in
11794 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11795 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'` ;;
11796 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11797 if ${ac_cv_lib_soname_curses:+false} :; then :
11798 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11799 fi ;;
11800 esac
11802 rm -f core conftest.err conftest.$ac_objext \
11803 conftest$ac_exeext conftest.$ac_ext
11804 LIBS=$ac_check_soname_save_LIBS
11806 if ${ac_cv_lib_soname_curses:+false} :; then :
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11808 $as_echo "not found" >&6; }
11810 else
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11812 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11814 cat >>confdefs.h <<_ACEOF
11815 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11816 _ACEOF
11818 CURSES_LIBS="-lcurses"
11821 ac_save_LIBS="$LIBS"
11822 LIBS="$LIBS $CURSES_LIBS"
11823 for ac_func in mousemask
11824 do :
11825 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11826 if test "x$ac_cv_func_mousemask" = xyes; then :
11827 cat >>confdefs.h <<_ACEOF
11828 #define HAVE_MOUSEMASK 1
11829 _ACEOF
11832 done
11834 LIBS="$ac_save_LIBS"
11835 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11836 case "x$with_curses" in
11837 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11838 xno) ;;
11839 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11840 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11841 esac
11845 if test "x$with_sane" != "xno"
11846 then
11847 if ${SANE_CFLAGS:+false} :; then :
11848 if ${PKG_CONFIG+:} false; then :
11849 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11852 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11853 if ${SANE_LIBS:+false} :; then :
11854 if ${PKG_CONFIG+:} false; then :
11855 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11858 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11860 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11861 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11862 ac_save_CPPFLAGS=$CPPFLAGS
11863 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11864 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11865 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11867 $as_echo_n "checking for -lsane... " >&6; }
11868 if ${ac_cv_lib_soname_sane+:} false; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 ac_check_soname_save_LIBS=$LIBS
11872 LIBS="-lsane $SANE_LIBS $LIBS"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11879 #ifdef __cplusplus
11880 extern "C"
11881 #endif
11882 char sane_init ();
11884 main ()
11886 return sane_init ();
11888 return 0;
11890 _ACEOF
11891 if ac_fn_c_try_link "$LINENO"; then :
11892 case "$LIBEXT" in
11893 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11894 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'` ;;
11895 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11896 if ${ac_cv_lib_soname_sane:+false} :; then :
11897 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11898 fi ;;
11899 esac
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_soname_save_LIBS
11905 if ${ac_cv_lib_soname_sane:+false} :; then :
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11907 $as_echo "not found" >&6; }
11908 SANE_CFLAGS=""
11909 else
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11911 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11913 cat >>confdefs.h <<_ACEOF
11914 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11915 _ACEOF
11919 else
11920 SANE_CFLAGS=""
11924 CPPFLAGS=$ac_save_CPPFLAGS
11925 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11926 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11929 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11930 case "x$with_sane" in
11931 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11932 xno) ;;
11933 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11934 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11935 esac
11939 if test "x$with_v4l" != "xno"
11940 then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11942 $as_echo_n "checking for -lv4l1... " >&6; }
11943 if ${ac_cv_lib_soname_v4l1+:} false; then :
11944 $as_echo_n "(cached) " >&6
11945 else
11946 ac_check_soname_save_LIBS=$LIBS
11947 LIBS="-lv4l1 $LIBS"
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11951 /* Override any GCC internal prototype to avoid an error.
11952 Use char because int might match the return type of a GCC
11953 builtin and then its argument prototype would still apply. */
11954 #ifdef __cplusplus
11955 extern "C"
11956 #endif
11957 char v4l1_open ();
11959 main ()
11961 return v4l1_open ();
11963 return 0;
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 case "$LIBEXT" in
11968 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11969 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'` ;;
11970 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11971 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11972 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11973 fi ;;
11974 esac
11976 rm -f core conftest.err conftest.$ac_objext \
11977 conftest$ac_exeext conftest.$ac_ext
11978 LIBS=$ac_check_soname_save_LIBS
11980 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11982 $as_echo "not found" >&6; }
11984 else
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11986 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11988 cat >>confdefs.h <<_ACEOF
11989 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11990 _ACEOF
11995 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11996 case "x$with_v4l" in
11997 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11998 xno) ;;
11999 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12000 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12001 esac
12005 if test "x$with_gphoto" != "xno"
12006 then
12007 if ${GPHOTO2_CFLAGS:+false} :; then :
12008 if ${PKG_CONFIG+:} false; then :
12009 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12012 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12013 if ${GPHOTO2_LIBS:+false} :; then :
12014 if ${PKG_CONFIG+:} false; then :
12015 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12018 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12019 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12020 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12021 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12022 ac_save_CPPFLAGS=$CPPFLAGS
12023 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12024 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12025 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12027 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12028 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12029 $as_echo_n "(cached) " >&6
12030 else
12031 ac_check_lib_save_LIBS=$LIBS
12032 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12036 /* Override any GCC internal prototype to avoid an error.
12037 Use char because int might match the return type of a GCC
12038 builtin and then its argument prototype would still apply. */
12039 #ifdef __cplusplus
12040 extern "C"
12041 #endif
12042 char gp_camera_new ();
12044 main ()
12046 return gp_camera_new ();
12048 return 0;
12050 _ACEOF
12051 if ac_fn_c_try_link "$LINENO"; then :
12052 ac_cv_lib_gphoto2_gp_camera_new=yes
12053 else
12054 ac_cv_lib_gphoto2_gp_camera_new=no
12056 rm -f core conftest.err conftest.$ac_objext \
12057 conftest$ac_exeext conftest.$ac_ext
12058 LIBS=$ac_check_lib_save_LIBS
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12061 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12062 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12064 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12066 else
12067 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12070 else
12071 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12075 CPPFLAGS=$ac_save_CPPFLAGS
12076 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12077 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12079 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12080 if ${PKG_CONFIG+:} false; then :
12081 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12084 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12085 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12086 if ${PKG_CONFIG+:} false; then :
12087 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12090 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12091 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12092 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12093 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12094 ac_save_CPPFLAGS=$CPPFLAGS
12095 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12096 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12097 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12099 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12100 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12101 $as_echo_n "(cached) " >&6
12102 else
12103 ac_check_lib_save_LIBS=$LIBS
12104 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106 /* end confdefs.h. */
12108 /* Override any GCC internal prototype to avoid an error.
12109 Use char because int might match the return type of a GCC
12110 builtin and then its argument prototype would still apply. */
12111 #ifdef __cplusplus
12112 extern "C"
12113 #endif
12114 char gp_port_info_list_new ();
12116 main ()
12118 return gp_port_info_list_new ();
12120 return 0;
12122 _ACEOF
12123 if ac_fn_c_try_link "$LINENO"; then :
12124 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12125 else
12126 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12128 rm -f core conftest.err conftest.$ac_objext \
12129 conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12133 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12134 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12136 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12138 else
12139 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12142 else
12143 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12147 CPPFLAGS=$ac_save_CPPFLAGS
12148 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12149 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12152 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12153 case "x$with_gphoto" in
12154 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12155 xno) ;;
12156 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12157 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12158 esac
12161 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12162 case "x$with_gphoto" in
12163 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12164 xno) ;;
12165 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12166 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12167 esac
12172 if test "$ac_cv_header_resolv_h" = "yes"
12173 then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12175 $as_echo_n "checking for resolver library... " >&6; }
12176 if ${ac_cv_have_resolv+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_save_LIBS="$LIBS"
12180 for lib in '' -lresolv
12182 LIBS="$lib $ac_save_LIBS"
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12185 #ifdef HAVE_NETINET_IN_H
12186 #include <netinet/in.h>
12187 #endif
12188 #include <resolv.h>
12190 main ()
12192 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12194 return 0;
12196 _ACEOF
12197 if ac_fn_c_try_link "$LINENO"; then :
12198 ac_cv_have_resolv=${lib:-"none required"}
12199 else
12200 ac_cv_have_resolv="not found"
12202 rm -f core conftest.err conftest.$ac_objext \
12203 conftest$ac_exeext conftest.$ac_ext
12204 test "x$ac_cv_have_resolv" = "xnot found" || break
12205 done
12206 LIBS="$ac_save_LIBS"
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12209 $as_echo "$ac_cv_have_resolv" >&6; }
12211 case "$ac_cv_have_resolv" in
12212 "not found") ;;
12213 "none required")
12215 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12218 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12220 RESOLV_LIBS=$ac_cv_have_resolv
12222 esac
12225 if test "x$with_cms" != "xno"
12226 then
12227 if ${LCMS2_CFLAGS:+false} :; then :
12228 if ${PKG_CONFIG+:} false; then :
12229 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12233 if ${LCMS2_LIBS:+false} :; then :
12234 if ${PKG_CONFIG+:} false; then :
12235 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12239 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12240 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12241 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12242 ac_save_CPPFLAGS=$CPPFLAGS
12243 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12244 for ac_header in lcms2.h
12245 do :
12246 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12247 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12248 cat >>confdefs.h <<_ACEOF
12249 #define HAVE_LCMS2_H 1
12250 _ACEOF
12254 done
12256 if test "$ac_cv_header_lcms2_h" = "yes"
12257 then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12259 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12260 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_check_lib_save_LIBS=$LIBS
12264 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12266 /* end confdefs.h. */
12268 /* Override any GCC internal prototype to avoid an error.
12269 Use char because int might match the return type of a GCC
12270 builtin and then its argument prototype would still apply. */
12271 #ifdef __cplusplus
12272 extern "C"
12273 #endif
12274 char cmsOpenProfileFromFile ();
12276 main ()
12278 return cmsOpenProfileFromFile ();
12280 return 0;
12282 _ACEOF
12283 if ac_fn_c_try_link "$LINENO"; then :
12284 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12285 else
12286 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12288 rm -f core conftest.err conftest.$ac_objext \
12289 conftest$ac_exeext conftest.$ac_ext
12290 LIBS=$ac_check_lib_save_LIBS
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12293 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12294 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12296 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12298 else
12299 LCMS2_LIBS=""
12302 else
12303 LCMS2_CFLAGS=""
12304 LCMS2_LIBS=""
12306 CPPFLAGS=$ac_save_CPPFLAGS
12307 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12308 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12311 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12312 case "x$with_cms" in
12313 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12314 xno) ;;
12315 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12316 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12317 esac
12321 if test "x$with_freetype" != "xno"
12322 then
12323 if ${FREETYPE_CFLAGS:+false} :; then :
12324 if ${PKG_CONFIG+:} false; then :
12325 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12328 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12329 if ${FREETYPE_LIBS:+false} :; then :
12330 if ${PKG_CONFIG+:} false; then :
12331 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12334 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12335 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12336 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12337 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12338 ac_save_CPPFLAGS=$CPPFLAGS
12339 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12340 for ac_header in ft2build.h
12341 do :
12342 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12343 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12344 cat >>confdefs.h <<_ACEOF
12345 #define HAVE_FT2BUILD_H 1
12346 _ACEOF
12350 done
12352 if test "$ac_cv_header_ft2build_h" = "yes"
12353 then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12355 $as_echo_n "checking for -lfreetype... " >&6; }
12356 if ${ac_cv_lib_soname_freetype+:} false; then :
12357 $as_echo_n "(cached) " >&6
12358 else
12359 ac_check_soname_save_LIBS=$LIBS
12360 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 #ifdef __cplusplus
12368 extern "C"
12369 #endif
12370 char FT_Init_FreeType ();
12372 main ()
12374 return FT_Init_FreeType ();
12376 return 0;
12378 _ACEOF
12379 if ac_fn_c_try_link "$LINENO"; then :
12380 case "$LIBEXT" in
12381 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12382 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'` ;;
12383 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12384 if ${ac_cv_lib_soname_freetype:+false} :; then :
12385 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12386 fi ;;
12387 esac
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 LIBS=$ac_check_soname_save_LIBS
12393 if ${ac_cv_lib_soname_freetype:+false} :; then :
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12395 $as_echo "not found" >&6; }
12396 FREETYPE_LIBS=""
12397 else
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12399 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12401 cat >>confdefs.h <<_ACEOF
12402 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12403 _ACEOF
12406 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12408 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12409 #include FT_MODULE_H
12411 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12413 cat >>confdefs.h <<_ACEOF
12414 #define HAVE_FT_TRUETYPEENGINETYPE 1
12415 _ACEOF
12421 else
12422 FREETYPE_CFLAGS=""
12423 FREETYPE_LIBS=""
12425 CPPFLAGS=$ac_save_CPPFLAGS
12426 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12427 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12430 if test "x$ac_cv_lib_soname_freetype" = x; then :
12431 case "x$with_freetype" in
12432 xno) ;;
12433 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12434 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12435 esac
12436 enable_fonts=${enable_fonts:-no}
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12440 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12441 if ${ac_cv_c_ppdev+:} false; then :
12442 $as_echo_n "(cached) " >&6
12443 else
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446 #ifdef HAVE_SYS_IOCTL_H
12447 # include <sys/ioctl.h>
12448 #endif
12449 #include <linux/ppdev.h>
12451 main ()
12453 ioctl (1,PPCLAIM,0)
12455 return 0;
12457 _ACEOF
12458 if ac_fn_c_try_compile "$LINENO"; then :
12459 ac_cv_c_ppdev="yes"
12460 else
12461 ac_cv_c_ppdev="no"
12463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12466 $as_echo "$ac_cv_c_ppdev" >&6; }
12467 if test "$ac_cv_c_ppdev" = "yes"
12468 then
12470 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12474 ac_wine_check_funcs_save_LIBS="$LIBS"
12475 LIBS="$LIBS $PTHREAD_LIBS"
12476 for ac_func in \
12477 pthread_attr_get_np \
12478 pthread_getattr_np \
12479 pthread_getthreadid_np \
12480 pthread_get_stackaddr_np \
12481 pthread_get_stacksize_np
12482 do :
12483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12485 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12486 cat >>confdefs.h <<_ACEOF
12487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12488 _ACEOF
12491 done
12493 LIBS="$ac_wine_check_funcs_save_LIBS"
12495 if test "$ac_cv_header_zlib_h" = "yes"
12496 then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12498 $as_echo_n "checking for inflate in -lz... " >&6; }
12499 if ${ac_cv_lib_z_inflate+:} false; then :
12500 $as_echo_n "(cached) " >&6
12501 else
12502 ac_check_lib_save_LIBS=$LIBS
12503 LIBS="-lz $LIBS"
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12510 #ifdef __cplusplus
12511 extern "C"
12512 #endif
12513 char inflate ();
12515 main ()
12517 return inflate ();
12519 return 0;
12521 _ACEOF
12522 if ac_fn_c_try_link "$LINENO"; then :
12523 ac_cv_lib_z_inflate=yes
12524 else
12525 ac_cv_lib_z_inflate=no
12527 rm -f core conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12529 LIBS=$ac_check_lib_save_LIBS
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12532 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12533 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12535 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12537 Z_LIBS="-lz"
12542 if test "x$Z_LIBS" = "x"; then :
12543 case "x$with_zlib" in
12544 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12545 xno) ;;
12546 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12547 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12548 esac
12552 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12553 then
12554 if test "$ac_cv_header_gettext_po_h" = "yes"
12555 then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12557 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12558 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12559 $as_echo_n "(cached) " >&6
12560 else
12561 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-lgettextpo $LIBS"
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12569 #ifdef __cplusplus
12570 extern "C"
12571 #endif
12572 char po_message_msgctxt ();
12574 main ()
12576 return po_message_msgctxt ();
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_link "$LINENO"; then :
12582 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12583 else
12584 ac_cv_lib_gettextpo_po_message_msgctxt=no
12586 rm -f core conftest.err conftest.$ac_objext \
12587 conftest$ac_exeext conftest.$ac_ext
12588 LIBS=$ac_check_lib_save_LIBS
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12591 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12592 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12594 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12596 GETTEXTPO_LIBS="-lgettextpo"
12601 if test "x$GETTEXTPO_LIBS" = "x"; then :
12602 case "x$with_gettextpo" in
12603 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12604 xno) ;;
12605 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12606 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12607 esac
12610 if test "$srcdir" != .; then :
12611 case "x$with_gettextpo" in
12612 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12613 xno) ;;
12614 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12615 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12616 esac
12621 if test "x$with_pulse" != "xno";
12622 then
12623 if ${PULSE_CFLAGS:+false} :; then :
12624 if ${PKG_CONFIG+:} false; then :
12625 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12629 if ${PULSE_LIBS:+false} :; then :
12630 if ${PKG_CONFIG+:} false; then :
12631 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12636 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12637 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12638 ac_save_CPPFLAGS=$CPPFLAGS
12639 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12640 for ac_header in pulse/pulseaudio.h
12641 do :
12642 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12643 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12644 cat >>confdefs.h <<_ACEOF
12645 #define HAVE_PULSE_PULSEAUDIO_H 1
12646 _ACEOF
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12648 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12649 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12650 $as_echo_n "(cached) " >&6
12651 else
12652 ac_check_lib_save_LIBS=$LIBS
12653 LIBS="-lpulse $PULSE_LIBS $LIBS"
12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655 /* end confdefs.h. */
12657 /* Override any GCC internal prototype to avoid an error.
12658 Use char because int might match the return type of a GCC
12659 builtin and then its argument prototype would still apply. */
12660 #ifdef __cplusplus
12661 extern "C"
12662 #endif
12663 char pa_stream_is_corked ();
12665 main ()
12667 return pa_stream_is_corked ();
12669 return 0;
12671 _ACEOF
12672 if ac_fn_c_try_link "$LINENO"; then :
12673 ac_cv_lib_pulse_pa_stream_is_corked=yes
12674 else
12675 ac_cv_lib_pulse_pa_stream_is_corked=no
12677 rm -f core conftest.err conftest.$ac_objext \
12678 conftest$ac_exeext conftest.$ac_ext
12679 LIBS=$ac_check_lib_save_LIBS
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12682 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12683 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12685 else
12686 PULSE_LIBS=""
12689 else
12690 PULSE_LIBS=""
12693 done
12695 CPPFLAGS=$ac_save_CPPFLAGS
12696 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12697 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12700 if test -z "$PULSE_LIBS"; then :
12701 case "x$with_pulse" in
12702 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12703 xno) ;;
12704 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12705 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12706 esac
12707 enable_winepulse_drv=${enable_winepulse_drv:-no}
12710 if test "x$with_gstreamer" != "xno"
12711 then
12712 if ${GSTREAMER_CFLAGS:+false} :; then :
12713 if ${PKG_CONFIG+:} false; then :
12714 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12718 if ${GSTREAMER_LIBS:+false} :; then :
12719 if ${PKG_CONFIG+:} false; then :
12720 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12725 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12726 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12727 ac_save_CPPFLAGS=$CPPFLAGS
12728 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12729 ac_gst_incl=""
12730 for i in $GSTREAMER_CFLAGS
12732 case "$i" in
12733 -I*) ac_gst_incl="$ac_gst_incl $i";;
12734 esac
12735 done
12736 GSTREAMER_CFLAGS=$ac_gst_incl
12737 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12738 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12739 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12741 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12744 #include <gst/gst.h>
12746 main ()
12748 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12750 return 0;
12752 _ACEOF
12753 if ac_fn_c_try_compile "$LINENO"; then :
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12755 $as_echo "yes" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12757 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12758 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12759 $as_echo_n "(cached) " >&6
12760 else
12761 ac_check_lib_save_LIBS=$LIBS
12762 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12766 /* Override any GCC internal prototype to avoid an error.
12767 Use char because int might match the return type of a GCC
12768 builtin and then its argument prototype would still apply. */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char gst_pad_new ();
12774 main ()
12776 return gst_pad_new ();
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"; then :
12782 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12783 else
12784 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12786 rm -f core conftest.err conftest.$ac_objext \
12787 conftest$ac_exeext conftest.$ac_ext
12788 LIBS=$ac_check_lib_save_LIBS
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12791 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12792 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12796 else
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12798 $as_echo "no" >&6; }
12799 ac_glib2_broken=yes
12800 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12806 CPPFLAGS=$ac_save_CPPFLAGS
12807 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12808 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12811 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 :
12812 case "x$with_gstreamer" in
12813 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12814 xno) ;;
12815 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12816 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12817 esac
12820 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12822 ALSA_LIBS=""
12824 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12825 then
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12827 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12828 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12829 $as_echo_n "(cached) " >&6
12830 else
12831 ac_check_lib_save_LIBS=$LIBS
12832 LIBS="-lasound $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12834 /* end confdefs.h. */
12836 /* Override any GCC internal prototype to avoid an error.
12837 Use char because int might match the return type of a GCC
12838 builtin and then its argument prototype would still apply. */
12839 #ifdef __cplusplus
12840 extern "C"
12841 #endif
12842 char snd_pcm_hw_params_get_access_mask ();
12844 main ()
12846 return snd_pcm_hw_params_get_access_mask ();
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_link "$LINENO"; then :
12852 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12853 else
12854 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12856 rm -f core conftest.err conftest.$ac_objext \
12857 conftest$ac_exeext conftest.$ac_ext
12858 LIBS=$ac_check_lib_save_LIBS
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12861 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12862 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12865 #ifdef HAVE_ALSA_ASOUNDLIB_H
12866 #include <alsa/asoundlib.h>
12867 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12868 #include <sys/asoundlib.h>
12869 #endif
12871 main ()
12873 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_compile "$LINENO"; then :
12879 ALSA_LIBS="-lasound"
12881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12885 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12887 if test "x$with_oss" != xno
12888 then
12889 ac_save_CPPFLAGS="$CPPFLAGS"
12890 if test -f /etc/oss.conf
12891 then
12892 . /etc/oss.conf
12894 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12895 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12896 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12897 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12898 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12900 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12902 cat >>confdefs.h <<_ACEOF
12903 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12904 _ACEOF
12906 OSS4_CFLAGS="$ac_oss_incl"
12913 CPPFLAGS="$ac_save_CPPFLAGS"
12915 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12916 case "x$with_oss" in
12917 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12918 xno) ;;
12919 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12920 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12921 esac
12922 enable_wineoss_drv=${enable_wineoss_drv:-no}
12925 if test "x$with_udev" != "xno"
12926 then
12927 if ${UDEV_CFLAGS:+false} :; then :
12928 if ${PKG_CONFIG+:} false; then :
12929 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12933 if ${UDEV_LIBS:+false} :; then :
12934 if ${PKG_CONFIG+:} false; then :
12935 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12940 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12941 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12942 ac_save_CPPFLAGS=$CPPFLAGS
12943 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12944 for ac_header in libudev.h
12945 do :
12946 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12947 if test "x$ac_cv_header_libudev_h" = xyes; then :
12948 cat >>confdefs.h <<_ACEOF
12949 #define HAVE_LIBUDEV_H 1
12950 _ACEOF
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12952 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12953 if ${ac_cv_lib_udev_udev_new+:} false; then :
12954 $as_echo_n "(cached) " >&6
12955 else
12956 ac_check_lib_save_LIBS=$LIBS
12957 LIBS="-ludev $UDEV_LIBS $LIBS"
12958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959 /* end confdefs.h. */
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12964 #ifdef __cplusplus
12965 extern "C"
12966 #endif
12967 char udev_new ();
12969 main ()
12971 return udev_new ();
12973 return 0;
12975 _ACEOF
12976 if ac_fn_c_try_link "$LINENO"; then :
12977 ac_cv_lib_udev_udev_new=yes
12978 else
12979 ac_cv_lib_udev_udev_new=no
12981 rm -f core conftest.err conftest.$ac_objext \
12982 conftest$ac_exeext conftest.$ac_ext
12983 LIBS=$ac_check_lib_save_LIBS
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12986 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12987 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
12989 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
12991 else
12992 UDEV_LIBS=""
12995 else
12996 UDEV_LIBS=""
12999 done
13001 CPPFLAGS=$ac_save_CPPFLAGS
13002 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13003 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13006 if test "x$UDEV_LIBS" = "x"; then :
13007 case "x$with_udev" in
13008 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13009 xno) ;;
13010 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13011 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13012 esac
13016 if test "x$with_capi" != "xno"
13017 then
13018 if ${CAPI20_CFLAGS:+false} :; then :
13019 if ${PKG_CONFIG+:} false; then :
13020 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13024 if ${CAPI20_LIBS:+false} :; then :
13025 if ${PKG_CONFIG+:} false; then :
13026 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13031 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13032 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13033 ac_save_CPPFLAGS=$CPPFLAGS
13034 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13035 for ac_header in capi20.h linux/capi.h
13036 do :
13037 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13038 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13040 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13041 cat >>confdefs.h <<_ACEOF
13042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13043 _ACEOF
13047 done
13049 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13050 then
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13052 $as_echo_n "checking for -lcapi20... " >&6; }
13053 if ${ac_cv_lib_soname_capi20+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_check_soname_save_LIBS=$LIBS
13057 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char capi20_register ();
13069 main ()
13071 return capi20_register ();
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_link "$LINENO"; then :
13077 case "$LIBEXT" in
13078 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13079 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'` ;;
13080 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13081 if ${ac_cv_lib_soname_capi20:+false} :; then :
13082 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13083 fi ;;
13084 esac
13086 rm -f core conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088 LIBS=$ac_check_soname_save_LIBS
13090 if ${ac_cv_lib_soname_capi20:+false} :; then :
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13092 $as_echo "not found" >&6; }
13094 else
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13096 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13098 cat >>confdefs.h <<_ACEOF
13099 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13100 _ACEOF
13105 CPPFLAGS=$ac_save_CPPFLAGS
13106 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13107 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13110 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13111 case "x$with_capi" in
13112 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13113 xno) ;;
13114 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13115 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13116 esac
13120 CUPS_CFLAGS=""
13122 if test "x$with_cups" != "xno"
13123 then
13124 ac_save_CPPFLAGS="$CPPFLAGS"
13125 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13126 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13127 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13128 for ac_header in cups/cups.h
13129 do :
13130 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13131 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13132 cat >>confdefs.h <<_ACEOF
13133 #define HAVE_CUPS_CUPS_H 1
13134 _ACEOF
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13136 $as_echo_n "checking for -lcups... " >&6; }
13137 if ${ac_cv_lib_soname_cups+:} false; then :
13138 $as_echo_n "(cached) " >&6
13139 else
13140 ac_check_soname_save_LIBS=$LIBS
13141 LIBS="-lcups $ac_cups_libs $LIBS"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 /* Override any GCC internal prototype to avoid an error.
13146 Use char because int might match the return type of a GCC
13147 builtin and then its argument prototype would still apply. */
13148 #ifdef __cplusplus
13149 extern "C"
13150 #endif
13151 char cupsGetDefault ();
13153 main ()
13155 return cupsGetDefault ();
13157 return 0;
13159 _ACEOF
13160 if ac_fn_c_try_link "$LINENO"; then :
13161 case "$LIBEXT" in
13162 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13163 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'` ;;
13164 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13165 if ${ac_cv_lib_soname_cups:+false} :; then :
13166 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13167 fi ;;
13168 esac
13170 rm -f core conftest.err conftest.$ac_objext \
13171 conftest$ac_exeext conftest.$ac_ext
13172 LIBS=$ac_check_soname_save_LIBS
13174 if ${ac_cv_lib_soname_cups:+false} :; then :
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13176 $as_echo "not found" >&6; }
13178 else
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13180 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13182 cat >>confdefs.h <<_ACEOF
13183 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13184 _ACEOF
13186 CUPS_CFLAGS="$ac_cups_cflags"
13188 for ac_header in cups/ppd.h
13189 do :
13190 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13191 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13192 cat >>confdefs.h <<_ACEOF
13193 #define HAVE_CUPS_PPD_H 1
13194 _ACEOF
13198 done
13202 done
13204 CPPFLAGS="$ac_save_CPPFLAGS"
13206 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13207 case "x$with_cups" in
13208 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13209 xno) ;;
13210 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13211 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13212 esac
13216 if test "x$with_fontconfig" != "xno"
13217 then
13218 if ${FONTCONFIG_CFLAGS:+false} :; then :
13219 if ${PKG_CONFIG+:} false; then :
13220 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13223 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13224 if ${FONTCONFIG_LIBS:+false} :; then :
13225 if ${PKG_CONFIG+:} false; then :
13226 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13229 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13231 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13232 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13233 ac_save_CPPFLAGS=$CPPFLAGS
13234 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13235 for ac_header in fontconfig/fontconfig.h
13236 do :
13237 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13238 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13239 cat >>confdefs.h <<_ACEOF
13240 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13241 _ACEOF
13245 done
13247 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13248 then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13250 $as_echo_n "checking for -lfontconfig... " >&6; }
13251 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_soname_save_LIBS=$LIBS
13255 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char FcInit ();
13267 main ()
13269 return FcInit ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 case "$LIBEXT" in
13276 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13279 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13280 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 fi ;;
13282 esac
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13291 FONTCONFIG_CFLAGS=""
13292 else
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13294 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13296 cat >>confdefs.h <<_ACEOF
13297 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13298 _ACEOF
13302 else
13303 FONTCONFIG_CFLAGS=""
13305 CPPFLAGS=$ac_save_CPPFLAGS
13306 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13307 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13310 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13311 case "x$with_fontconfig" in
13312 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13313 xno) ;;
13314 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13315 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13316 esac
13320 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13321 then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13323 $as_echo_n "checking for -lgsm... " >&6; }
13324 if ${ac_cv_lib_soname_gsm+:} false; then :
13325 $as_echo_n "(cached) " >&6
13326 else
13327 ac_check_soname_save_LIBS=$LIBS
13328 LIBS="-lgsm $LIBS"
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 /* Override any GCC internal prototype to avoid an error.
13333 Use char because int might match the return type of a GCC
13334 builtin and then its argument prototype would still apply. */
13335 #ifdef __cplusplus
13336 extern "C"
13337 #endif
13338 char gsm_create ();
13340 main ()
13342 return gsm_create ();
13344 return 0;
13346 _ACEOF
13347 if ac_fn_c_try_link "$LINENO"; then :
13348 case "$LIBEXT" in
13349 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13350 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'` ;;
13351 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13352 if ${ac_cv_lib_soname_gsm:+false} :; then :
13353 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13354 fi ;;
13355 esac
13357 rm -f core conftest.err conftest.$ac_objext \
13358 conftest$ac_exeext conftest.$ac_ext
13359 LIBS=$ac_check_soname_save_LIBS
13361 if ${ac_cv_lib_soname_gsm:+false} :; then :
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13363 $as_echo "not found" >&6; }
13365 else
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13367 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13369 cat >>confdefs.h <<_ACEOF
13370 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13371 _ACEOF
13376 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13377 case "x$with_gsm" in
13378 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13379 xno) ;;
13380 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13381 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13382 esac
13386 if test "x$with_jpeg" != "xno"
13387 then
13388 if ${JPEG_CFLAGS:+false} :; then :
13389 if ${PKG_CONFIG+:} false; then :
13390 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13394 if ${JPEG_LIBS:+false} :; then :
13395 if ${PKG_CONFIG+:} false; then :
13396 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13401 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13402 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13403 ac_save_CPPFLAGS=$CPPFLAGS
13404 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13405 for ac_header in jpeglib.h
13406 do :
13407 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13408 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13409 cat >>confdefs.h <<_ACEOF
13410 #define HAVE_JPEGLIB_H 1
13411 _ACEOF
13415 done
13417 if test "$ac_cv_header_jpeglib_h" = "yes"
13418 then
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13420 $as_echo_n "checking for -ljpeg... " >&6; }
13421 if ${ac_cv_lib_soname_jpeg+:} false; then :
13422 $as_echo_n "(cached) " >&6
13423 else
13424 ac_check_soname_save_LIBS=$LIBS
13425 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13432 #ifdef __cplusplus
13433 extern "C"
13434 #endif
13435 char jpeg_start_decompress ();
13437 main ()
13439 return jpeg_start_decompress ();
13441 return 0;
13443 _ACEOF
13444 if ac_fn_c_try_link "$LINENO"; then :
13445 case "$LIBEXT" in
13446 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13447 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'` ;;
13448 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13449 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13450 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13451 fi ;;
13452 esac
13454 rm -f core conftest.err conftest.$ac_objext \
13455 conftest$ac_exeext conftest.$ac_ext
13456 LIBS=$ac_check_soname_save_LIBS
13458 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13460 $as_echo "not found" >&6; }
13461 JPEG_CFLAGS=""
13462 else
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13464 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13466 cat >>confdefs.h <<_ACEOF
13467 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13468 _ACEOF
13472 else
13473 JPEG_CFLAGS=""
13475 CPPFLAGS=$ac_save_CPPFLAGS
13476 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13477 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13480 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13481 case "x$with_jpeg" in
13482 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13483 xno) ;;
13484 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13485 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13486 esac
13490 if test "x$with_png" != "xno"
13491 then
13492 if ${PNG_CFLAGS:+false} :; then :
13493 if ${PKG_CONFIG+:} false; then :
13494 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13497 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13498 if ${PNG_LIBS:+false} :; then :
13499 if ${PKG_CONFIG+:} false; then :
13500 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13503 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13505 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13506 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13507 ac_save_CPPFLAGS=$CPPFLAGS
13508 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13509 for ac_header in png.h
13510 do :
13511 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13512 if test "x$ac_cv_header_png_h" = xyes; then :
13513 cat >>confdefs.h <<_ACEOF
13514 #define HAVE_PNG_H 1
13515 _ACEOF
13519 done
13521 if test "$ac_cv_header_png_h" = "yes"
13522 then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13524 $as_echo_n "checking for -lpng... " >&6; }
13525 if ${ac_cv_lib_soname_png+:} false; then :
13526 $as_echo_n "(cached) " >&6
13527 else
13528 ac_check_soname_save_LIBS=$LIBS
13529 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13536 #ifdef __cplusplus
13537 extern "C"
13538 #endif
13539 char png_create_read_struct ();
13541 main ()
13543 return png_create_read_struct ();
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 case "$LIBEXT" in
13550 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13551 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'` ;;
13552 *) 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'`
13553 if ${ac_cv_lib_soname_png:+false} :; then :
13554 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13555 fi ;;
13556 esac
13558 rm -f core conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 LIBS=$ac_check_soname_save_LIBS
13562 if ${ac_cv_lib_soname_png:+false} :; then :
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13564 $as_echo "not found" >&6; }
13565 PNG_CFLAGS=""
13566 else
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13568 $as_echo "$ac_cv_lib_soname_png" >&6; }
13570 cat >>confdefs.h <<_ACEOF
13571 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13572 _ACEOF
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 #include <png.h>
13578 main ()
13580 typeof(png_set_expand_gray_1_2_4_to_8) *p
13582 return 0;
13584 _ACEOF
13585 if ac_fn_c_try_compile "$LINENO"; then :
13587 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13592 else
13593 PNG_CFLAGS=""
13595 CPPFLAGS=$ac_save_CPPFLAGS
13596 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13597 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13600 if test "x$ac_cv_lib_soname_png" = "x"; then :
13601 case "x$with_png" in
13602 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13603 xno) ;;
13604 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13605 This is an error since --with-png was requested." "$LINENO" 5 ;;
13606 esac
13610 if test "x$with_tiff" != "xno"
13611 then
13612 if ${TIFF_CFLAGS:+false} :; then :
13613 if ${PKG_CONFIG+:} false; then :
13614 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13618 if ${TIFF_LIBS:+false} :; then :
13619 if ${PKG_CONFIG+:} false; then :
13620 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13625 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13627 ac_save_CPPFLAGS=$CPPFLAGS
13628 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13629 for ac_header in tiffio.h
13630 do :
13631 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13632 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13633 cat >>confdefs.h <<_ACEOF
13634 #define HAVE_TIFFIO_H 1
13635 _ACEOF
13639 done
13641 if test "$ac_cv_header_tiffio_h" = "yes"
13642 then
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13644 $as_echo_n "checking for -ltiff... " >&6; }
13645 if ${ac_cv_lib_soname_tiff+:} false; then :
13646 $as_echo_n "(cached) " >&6
13647 else
13648 ac_check_soname_save_LIBS=$LIBS
13649 LIBS="-ltiff $TIFF_LIBS $LIBS"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13656 #ifdef __cplusplus
13657 extern "C"
13658 #endif
13659 char TIFFClientOpen ();
13661 main ()
13663 return TIFFClientOpen ();
13665 return 0;
13667 _ACEOF
13668 if ac_fn_c_try_link "$LINENO"; then :
13669 case "$LIBEXT" in
13670 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13671 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'` ;;
13672 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13673 if ${ac_cv_lib_soname_tiff:+false} :; then :
13674 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13675 fi ;;
13676 esac
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 LIBS=$ac_check_soname_save_LIBS
13682 if ${ac_cv_lib_soname_tiff:+false} :; then :
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13684 $as_echo "not found" >&6; }
13686 else
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13688 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13690 cat >>confdefs.h <<_ACEOF
13691 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13692 _ACEOF
13697 CPPFLAGS=$ac_save_CPPFLAGS
13698 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13699 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13702 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13703 case "x$with_tiff" in
13704 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13705 xno) ;;
13706 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13707 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13708 esac
13712 if test "x$with_mpg123" != "xno"
13713 then
13714 if ${MPG123_CFLAGS:+false} :; then :
13715 if ${PKG_CONFIG+:} false; then :
13716 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13720 if ${MPG123_LIBS:+false} :; then :
13721 if ${PKG_CONFIG+:} false; then :
13722 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13726 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13727 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13728 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13729 ac_save_CPPFLAGS=$CPPFLAGS
13730 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13731 for ac_header in mpg123.h
13732 do :
13733 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13734 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13735 cat >>confdefs.h <<_ACEOF
13736 #define HAVE_MPG123_H 1
13737 _ACEOF
13741 done
13743 if test "$ac_cv_header_mpg123_h" = "yes"
13744 then
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13746 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13747 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13748 $as_echo_n "(cached) " >&6
13749 else
13750 ac_check_lib_save_LIBS=$LIBS
13751 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13755 /* Override any GCC internal prototype to avoid an error.
13756 Use char because int might match the return type of a GCC
13757 builtin and then its argument prototype would still apply. */
13758 #ifdef __cplusplus
13759 extern "C"
13760 #endif
13761 char mpg123_feed ();
13763 main ()
13765 return mpg123_feed ();
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"; then :
13771 ac_cv_lib_mpg123_mpg123_feed=yes
13772 else
13773 ac_cv_lib_mpg123_mpg123_feed=no
13775 rm -f core conftest.err conftest.$ac_objext \
13776 conftest$ac_exeext conftest.$ac_ext
13777 LIBS=$ac_check_lib_save_LIBS
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13780 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13781 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13783 else
13784 MPG123_LIBS=""
13787 else
13788 MPG123_CFLAGS=""
13789 MPG123_LIBS=""
13791 CPPFLAGS=$ac_save_CPPFLAGS
13792 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13793 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13796 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13797 case "x$with_mpg123" in
13798 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13799 xno) ;;
13800 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13801 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13802 esac
13803 enable_winemp3_acm=${enable_winemp3_acm:-no}
13806 if test "$ac_cv_header_AL_al_h" = "yes"
13807 then
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13809 $as_echo_n "checking for -lopenal... " >&6; }
13810 if ${ac_cv_lib_soname_openal+:} false; then :
13811 $as_echo_n "(cached) " >&6
13812 else
13813 ac_check_soname_save_LIBS=$LIBS
13814 LIBS="-lopenal $LIBS"
13815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816 /* end confdefs.h. */
13818 /* Override any GCC internal prototype to avoid an error.
13819 Use char because int might match the return type of a GCC
13820 builtin and then its argument prototype would still apply. */
13821 #ifdef __cplusplus
13822 extern "C"
13823 #endif
13824 char alGetSource3i ();
13826 main ()
13828 return alGetSource3i ();
13830 return 0;
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"; then :
13834 case "$LIBEXT" in
13835 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13836 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'` ;;
13837 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13838 if ${ac_cv_lib_soname_openal:+false} :; then :
13839 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13840 fi ;;
13841 esac
13843 rm -f core conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 LIBS=$ac_check_soname_save_LIBS
13847 if ${ac_cv_lib_soname_openal:+false} :; then :
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13849 $as_echo "not found" >&6; }
13851 else
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13853 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13855 cat >>confdefs.h <<_ACEOF
13856 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13857 _ACEOF
13859 OPENAL_LIBS="-lopenal"
13861 ac_cv_lib_openal=yes
13863 cat >>confdefs.h <<_ACEOF
13864 #define HAVE_OPENAL 1
13865 _ACEOF
13869 if test "x$ac_cv_lib_openal" != xyes; then :
13870 case "x$with_openal" in
13871 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13872 xno) ;;
13873 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13874 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13875 esac
13876 enable_openal32=${enable_openal32:-no}
13879 if test "x$ac_cv_lib_openal" = xyes
13880 then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13882 $as_echo_n "checking for openal-soft... " >&6; }
13883 if ${ac_cv_have_openalsoft+:} false; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 #include <AL/al.h>
13889 #include <AL/alc.h>
13890 #include <AL/alext.h>
13891 LPALCRENDERSAMPLESSOFT x;
13893 main ()
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_compile "$LINENO"; then :
13901 ac_cv_have_openalsoft=yes
13902 else
13903 ac_cv_have_openalsoft=no
13905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13908 $as_echo "$ac_cv_have_openalsoft" >&6; }
13910 if test "x$ac_cv_have_openalsoft" != xyes
13911 then
13912 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13913 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13914 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13915 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13916 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13917 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13918 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13919 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13920 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13921 enable_xapofx1_1=${enable_xapofx1_1:-no}
13922 enable_xapofx1_2=${enable_xapofx1_2:-no}
13923 enable_xapofx1_3=${enable_xapofx1_3:-no}
13924 enable_xapofx1_4=${enable_xapofx1_4:-no}
13925 enable_xapofx1_5=${enable_xapofx1_5:-no}
13926 enable_xaudio2_0=${enable_xaudio2_0:-no}
13927 enable_xaudio2_1=${enable_xaudio2_1:-no}
13928 enable_xaudio2_2=${enable_xaudio2_2:-no}
13929 enable_xaudio2_3=${enable_xaudio2_3:-no}
13930 enable_xaudio2_4=${enable_xaudio2_4:-no}
13931 enable_xaudio2_5=${enable_xaudio2_5:-no}
13932 enable_xaudio2_6=${enable_xaudio2_6:-no}
13933 enable_xaudio2_7=${enable_xaudio2_7:-no}
13934 enable_xaudio2_8=${enable_xaudio2_8:-no}
13935 enable_xaudio2_9=${enable_xaudio2_9:-no}
13938 if test "$ac_cv_header_kstat_h" = "yes"
13939 then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13941 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13942 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 ac_check_lib_save_LIBS=$LIBS
13946 LIBS="-lkstat $LIBS"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 /* Override any GCC internal prototype to avoid an error.
13951 Use char because int might match the return type of a GCC
13952 builtin and then its argument prototype would still apply. */
13953 #ifdef __cplusplus
13954 extern "C"
13955 #endif
13956 char kstat_open ();
13958 main ()
13960 return kstat_open ();
13962 return 0;
13964 _ACEOF
13965 if ac_fn_c_try_link "$LINENO"; then :
13966 ac_cv_lib_kstat_kstat_open=yes
13967 else
13968 ac_cv_lib_kstat_kstat_open=no
13970 rm -f core conftest.err conftest.$ac_objext \
13971 conftest$ac_exeext conftest.$ac_ext
13972 LIBS=$ac_check_lib_save_LIBS
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13975 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13976 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13978 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13980 KSTAT_LIBS="-lkstat"
13986 if test "$ac_cv_header_libprocstat_h" = "yes"
13987 then
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13989 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13990 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13991 $as_echo_n "(cached) " >&6
13992 else
13993 ac_check_lib_save_LIBS=$LIBS
13994 LIBS="-lprocstat $LIBS"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13998 /* Override any GCC internal prototype to avoid an error.
13999 Use char because int might match the return type of a GCC
14000 builtin and then its argument prototype would still apply. */
14001 #ifdef __cplusplus
14002 extern "C"
14003 #endif
14004 char procstat_open_sysctl ();
14006 main ()
14008 return procstat_open_sysctl ();
14010 return 0;
14012 _ACEOF
14013 if ac_fn_c_try_link "$LINENO"; then :
14014 ac_cv_lib_procstat_procstat_open_sysctl=yes
14015 else
14016 ac_cv_lib_procstat_procstat_open_sysctl=no
14018 rm -f core conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14020 LIBS=$ac_check_lib_save_LIBS
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14023 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14024 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14026 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14028 PROCSTAT_LIBS="-lprocstat"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14035 $as_echo_n "checking for -lodbc... " >&6; }
14036 if ${ac_cv_lib_soname_odbc+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_check_soname_save_LIBS=$LIBS
14040 LIBS="-lodbc $LIBS"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14044 /* Override any GCC internal prototype to avoid an error.
14045 Use char because int might match the return type of a GCC
14046 builtin and then its argument prototype would still apply. */
14047 #ifdef __cplusplus
14048 extern "C"
14049 #endif
14050 char SQLConnect ();
14052 main ()
14054 return SQLConnect ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"; then :
14060 case "$LIBEXT" in
14061 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14062 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'` ;;
14063 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14064 if ${ac_cv_lib_soname_odbc:+false} :; then :
14065 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14066 fi ;;
14067 esac
14069 rm -f core conftest.err conftest.$ac_objext \
14070 conftest$ac_exeext conftest.$ac_ext
14071 LIBS=$ac_check_soname_save_LIBS
14073 if ${ac_cv_lib_soname_odbc:+false} :; then :
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14075 $as_echo "not found" >&6; }
14076 cat >>confdefs.h <<_ACEOF
14077 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14078 _ACEOF
14080 else
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14082 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14084 cat >>confdefs.h <<_ACEOF
14085 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14086 _ACEOF
14091 if test "x$with_netapi" != "xno"
14092 then
14093 if ${NETAPI_CFLAGS:+false} :; then :
14094 if ${PKG_CONFIG+:} false; then :
14095 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14099 if ${NETAPI_LIBS:+false} :; then :
14100 if ${PKG_CONFIG+:} false; then :
14101 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14106 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14107 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14108 ac_save_CPPFLAGS=$CPPFLAGS
14109 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14111 $as_echo_n "checking for -lnetapi... " >&6; }
14112 if ${ac_cv_lib_soname_netapi+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 ac_check_soname_save_LIBS=$LIBS
14116 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14120 /* Override any GCC internal prototype to avoid an error.
14121 Use char because int might match the return type of a GCC
14122 builtin and then its argument prototype would still apply. */
14123 #ifdef __cplusplus
14124 extern "C"
14125 #endif
14126 char libnetapi_init ();
14128 main ()
14130 return libnetapi_init ();
14132 return 0;
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"; then :
14136 case "$LIBEXT" in
14137 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14138 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'` ;;
14139 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14140 if ${ac_cv_lib_soname_netapi:+false} :; then :
14141 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14142 fi ;;
14143 esac
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14147 LIBS=$ac_check_soname_save_LIBS
14149 if ${ac_cv_lib_soname_netapi:+false} :; then :
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14151 $as_echo "not found" >&6; }
14152 cat >>confdefs.h <<_ACEOF
14153 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14154 _ACEOF
14156 else
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14158 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14160 cat >>confdefs.h <<_ACEOF
14161 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14162 _ACEOF
14166 CPPFLAGS=$ac_save_CPPFLAGS
14167 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14168 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14172 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14173 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14174 then
14175 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14179 EXTRACFLAGS=""
14181 if test "x${GCC}" = "xyes"
14182 then
14183 EXTRACFLAGS="-Wall -pipe"
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14186 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14187 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 if test "$cross_compiling" = yes; then :
14191 ac_cv_c_gcc_strength_bug="no"
14192 else
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 int L[4] = {0,1,2,3};
14197 main ()
14199 static int Array[3];
14200 unsigned int B = 3;
14201 int i;
14202 for(i=0; i<B; i++) Array[i] = i - 3;
14203 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14204 L[i] = 4;
14205 return (Array[1] != -2 || L[2] != 3)
14207 return 0;
14209 _ACEOF
14210 if ac_fn_c_try_run "$LINENO"; then :
14211 ac_cv_c_gcc_strength_bug="no"
14212 else
14213 ac_cv_c_gcc_strength_bug="yes"
14215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14216 conftest.$ac_objext conftest.beam conftest.$ac_ext
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14221 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14222 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14223 then
14224 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14228 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14229 if ${ac_cv_cflags__fno_builtin+:} false; then :
14230 $as_echo_n "(cached) " >&6
14231 else
14232 ac_wine_try_cflags_saved=$CFLAGS
14233 CFLAGS="$CFLAGS -fno-builtin"
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 int main(int argc, char **argv) { return 0; }
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239 ac_cv_cflags__fno_builtin=yes
14240 else
14241 ac_cv_cflags__fno_builtin=no
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14245 CFLAGS=$ac_wine_try_cflags_saved
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14248 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14249 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14250 BUILTINFLAG="-fno-builtin"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14254 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14255 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_wine_try_cflags_saved=$CFLAGS
14259 CFLAGS="$CFLAGS -fno-strict-aliasing"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14263 _ACEOF
14264 if ac_fn_c_try_link "$LINENO"; then :
14265 ac_cv_cflags__fno_strict_aliasing=yes
14266 else
14267 ac_cv_cflags__fno_strict_aliasing=no
14269 rm -f core conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14271 CFLAGS=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14274 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14275 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14276 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14279 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14280 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_wine_try_cflags_saved=$CFLAGS
14284 CFLAGS="$CFLAGS -fexcess-precision=standard"
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_cflags__fexcess_precision_standard=yes
14291 else
14292 ac_cv_cflags__fexcess_precision_standard=no
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 CFLAGS=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14299 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14300 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14301 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14304 saved_CFLAGS=$CFLAGS
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14306 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14307 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14308 $as_echo_n "(cached) " >&6
14309 else
14310 ac_wine_try_cflags_saved=$CFLAGS
14311 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int main(int argc, char **argv) { return 0; }
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_cflags__Werror_unknown_warning_option=yes
14318 else
14319 ac_cv_cflags__Werror_unknown_warning_option=no
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14323 CFLAGS=$ac_wine_try_cflags_saved
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14326 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14327 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14328 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14331 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14332 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14333 $as_echo_n "(cached) " >&6
14334 else
14335 ac_wine_try_cflags_saved=$CFLAGS
14336 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 int main(int argc, char **argv) { return 0; }
14340 _ACEOF
14341 if ac_fn_c_try_link "$LINENO"; then :
14342 ac_cv_cflags__Wdeclaration_after_statement=yes
14343 else
14344 ac_cv_cflags__Wdeclaration_after_statement=no
14346 rm -f core conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14348 CFLAGS=$ac_wine_try_cflags_saved
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14351 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14352 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14353 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14356 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14357 if ${ac_cv_cflags__Wempty_body+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 ac_wine_try_cflags_saved=$CFLAGS
14361 CFLAGS="$CFLAGS -Wempty-body"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 int main(int argc, char **argv) { return 0; }
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 ac_cv_cflags__Wempty_body=yes
14368 else
14369 ac_cv_cflags__Wempty_body=no
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 CFLAGS=$ac_wine_try_cflags_saved
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14376 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14377 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14378 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14381 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14382 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 ac_wine_try_cflags_saved=$CFLAGS
14386 CFLAGS="$CFLAGS -Wignored-qualifiers"
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_cflags__Wignored_qualifiers=yes
14393 else
14394 ac_cv_cflags__Wignored_qualifiers=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 CFLAGS=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14401 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14402 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14403 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14406 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14407 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 ac_wine_try_cflags_saved=$CFLAGS
14411 CFLAGS="$CFLAGS -Wshift-overflow=2"
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 int main(int argc, char **argv) { return 0; }
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 ac_cv_cflags__Wshift_overflow_2=yes
14418 else
14419 ac_cv_cflags__Wshift_overflow_2=no
14421 rm -f core conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14423 CFLAGS=$ac_wine_try_cflags_saved
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14426 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14427 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14428 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14431 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14432 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14433 $as_echo_n "(cached) " >&6
14434 else
14435 ac_wine_try_cflags_saved=$CFLAGS
14436 CFLAGS="$CFLAGS -Wstrict-prototypes"
14437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14439 int main(int argc, char **argv) { return 0; }
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442 ac_cv_cflags__Wstrict_prototypes=yes
14443 else
14444 ac_cv_cflags__Wstrict_prototypes=no
14446 rm -f core conftest.err conftest.$ac_objext \
14447 conftest$ac_exeext conftest.$ac_ext
14448 CFLAGS=$ac_wine_try_cflags_saved
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14451 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14452 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14453 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14456 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14457 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 ac_wine_try_cflags_saved=$CFLAGS
14461 CFLAGS="$CFLAGS -Wtype-limits"
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14464 int main(int argc, char **argv) { return 0; }
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 ac_cv_cflags__Wtype_limits=yes
14468 else
14469 ac_cv_cflags__Wtype_limits=no
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 CFLAGS=$ac_wine_try_cflags_saved
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14476 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14477 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14478 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14481 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14482 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14483 $as_echo_n "(cached) " >&6
14484 else
14485 ac_wine_try_cflags_saved=$CFLAGS
14486 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 int main(int argc, char **argv) { return 0; }
14490 _ACEOF
14491 if ac_fn_c_try_link "$LINENO"; then :
14492 ac_cv_cflags__Wunused_but_set_parameter=yes
14493 else
14494 ac_cv_cflags__Wunused_but_set_parameter=no
14496 rm -f core conftest.err conftest.$ac_objext \
14497 conftest$ac_exeext conftest.$ac_ext
14498 CFLAGS=$ac_wine_try_cflags_saved
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14501 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14502 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14503 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14506 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14507 if ${ac_cv_cflags__Wvla+:} false; then :
14508 $as_echo_n "(cached) " >&6
14509 else
14510 ac_wine_try_cflags_saved=$CFLAGS
14511 CFLAGS="$CFLAGS -Wvla"
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 int main(int argc, char **argv) { return 0; }
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_cflags__Wvla=yes
14518 else
14519 ac_cv_cflags__Wvla=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 CFLAGS=$ac_wine_try_cflags_saved
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14526 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14527 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14528 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14531 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14532 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 ac_wine_try_cflags_saved=$CFLAGS
14536 CFLAGS="$CFLAGS -Wwrite-strings"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 ac_cv_cflags__Wwrite_strings=yes
14543 else
14544 ac_cv_cflags__Wwrite_strings=no
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14548 CFLAGS=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14551 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14552 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14553 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14557 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14558 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -Wpointer-arith"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__Wpointer_arith=yes
14569 else
14570 ac_cv_cflags__Wpointer_arith=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14577 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14578 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14579 saved_string_h_CFLAGS=$CFLAGS
14580 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14582 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14583 if ${ac_cv_c_string_h_warnings+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 #include <string.h>
14590 main ()
14594 return 0;
14596 _ACEOF
14597 if ac_fn_c_try_compile "$LINENO"; then :
14598 ac_cv_c_string_h_warnings=no
14599 else
14600 ac_cv_c_string_h_warnings=yes
14602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14605 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14606 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14607 CFLAGS=$saved_string_h_CFLAGS
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14611 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14612 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14613 $as_echo_n "(cached) " >&6
14614 else
14615 ac_wine_try_cflags_saved=$CFLAGS
14616 CFLAGS="$CFLAGS -Wlogical-op"
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 int main(int argc, char **argv) { return 0; }
14620 _ACEOF
14621 if ac_fn_c_try_link "$LINENO"; then :
14622 ac_cv_cflags__Wlogical_op=yes
14623 else
14624 ac_cv_cflags__Wlogical_op=no
14626 rm -f core conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628 CFLAGS=$ac_wine_try_cflags_saved
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14631 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14632 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14633 saved_string_h_CFLAGS=$CFLAGS
14634 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14636 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14637 if ${ac_cv_c_logicalop_noisy+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 #include <string.h>
14643 char*f(const char *h,char n) {return strchr(h,n);}
14645 main ()
14649 return 0;
14651 _ACEOF
14652 if ac_fn_c_try_compile "$LINENO"; then :
14653 ac_cv_c_logicalop_noisy=no
14654 else
14655 ac_cv_c_logicalop_noisy=yes
14657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14660 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14661 CFLAGS=$saved_string_h_CFLAGS
14662 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14665 CFLAGS=$saved_CFLAGS
14667 for ac_flag in $CFLAGS; do
14668 case $ac_flag in
14669 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14670 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14671 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14672 $as_echo_n "(cached) " >&6
14673 else
14674 ac_wine_try_cflags_saved=$CFLAGS
14675 CFLAGS="$CFLAGS -gdwarf-2"
14676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14677 /* end confdefs.h. */
14678 int main(int argc, char **argv) { return 0; }
14679 _ACEOF
14680 if ac_fn_c_try_link "$LINENO"; then :
14681 ac_cv_cflags__gdwarf_2=yes
14682 else
14683 ac_cv_cflags__gdwarf_2=no
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 CFLAGS=$ac_wine_try_cflags_saved
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14690 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14691 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14692 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14695 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14696 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_wine_try_cflags_saved=$CFLAGS
14700 CFLAGS="$CFLAGS -gstrict-dwarf"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_cflags__gstrict_dwarf=yes
14707 else
14708 ac_cv_cflags__gstrict_dwarf=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 CFLAGS=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14715 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14716 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14717 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14718 fi ;;
14719 esac
14720 done
14722 case $host_cpu in
14723 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14724 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14725 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14726 $as_echo_n "(cached) " >&6
14727 else
14728 ac_wine_try_cflags_saved=$CFLAGS
14729 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14732 int main(int argc, char **argv) { return 0; }
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_cflags__fno_omit_frame_pointer=yes
14736 else
14737 ac_cv_cflags__fno_omit_frame_pointer=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 CFLAGS=$ac_wine_try_cflags_saved
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14744 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14745 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14746 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14747 fi ;;
14748 esac
14750 case $host in
14751 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14752 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14753 if ${ac_cv_cflags__Wno_format+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 ac_wine_try_cflags_saved=$CFLAGS
14757 CFLAGS="$CFLAGS -Wno-format"
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 int main(int argc, char **argv) { return 0; }
14761 _ACEOF
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_cflags__Wno_format=yes
14764 else
14765 ac_cv_cflags__Wno_format=no
14767 rm -f core conftest.err conftest.$ac_objext \
14768 conftest$ac_exeext conftest.$ac_ext
14769 CFLAGS=$ac_wine_try_cflags_saved
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14772 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14773 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14774 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14775 fi ;;
14776 esac
14778 if test "x$enable_maintainer_mode" = "xyes"
14779 then
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14781 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14782 if ${ac_cv_cflags__Werror+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_wine_try_cflags_saved=$CFLAGS
14786 CFLAGS="$CFLAGS -Werror"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_cflags__Werror=yes
14793 else
14794 ac_cv_cflags__Werror=no
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14798 CFLAGS=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14801 $as_echo "$ac_cv_cflags__Werror" >&6; }
14802 if test "x$ac_cv_cflags__Werror" = xyes; then :
14803 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14807 saved_CFLAGS="$CFLAGS"
14808 CFLAGS="$CFLAGS -Werror"
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14810 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14811 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14812 $as_echo_n "(cached) " >&6
14813 else
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14818 main ()
14822 return 0;
14824 _ACEOF
14825 if ac_fn_c_try_compile "$LINENO"; then :
14826 ac_cv_have_ms_hook_prologue="yes"
14827 else
14828 ac_cv_have_ms_hook_prologue="no"
14830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14833 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14834 CFLAGS="$saved_CFLAGS"
14835 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14836 then
14838 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14840 else
14841 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14848 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14849 if ${ac_cv_c_fortify_enabled+:} false; then :
14850 $as_echo_n "(cached) " >&6
14851 else
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14854 #include <string.h>
14856 main ()
14858 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14859 #error Fortify enabled
14860 #endif
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_compile "$LINENO"; then :
14866 ac_cv_c_fortify_enabled=no
14867 else
14868 ac_cv_c_fortify_enabled=yes
14870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14873 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14874 if test "$ac_cv_c_fortify_enabled" = yes
14875 then
14876 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14881 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14882 if ${ac_cv_c_extern_prefix+:} false; then :
14883 $as_echo_n "(cached) " >&6
14884 else
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14887 extern int ac_test;
14889 main ()
14891 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"; then :
14897 ac_cv_c_extern_prefix="yes"
14898 else
14899 ac_cv_c_extern_prefix="no"
14901 rm -f core conftest.err conftest.$ac_objext \
14902 conftest$ac_exeext conftest.$ac_ext
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14905 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14907 case $host_cpu in
14908 *i[3456789]86*)
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14910 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14911 if ${ac_cv_c_stdcall_suffix+:} false; then :
14912 $as_echo_n "(cached) " >&6
14913 else
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14916 #ifndef _MSC_VER
14917 #define __stdcall __attribute__((__stdcall__))
14918 #endif
14919 int __stdcall ac_test(int i) { return i; }
14921 main ()
14923 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14925 return 0;
14927 _ACEOF
14928 if ac_fn_c_try_link "$LINENO"; then :
14929 ac_cv_c_stdcall_suffix="yes"
14930 else
14931 ac_cv_c_stdcall_suffix="no"
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14937 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14938 *) ac_cv_c_stdcall_suffix="no" ;;
14939 esac
14942 if test "$ac_cv_c_extern_prefix" = "yes"
14943 then
14944 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14946 asm_name_prefix="_"
14947 else
14948 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14950 asm_name_prefix=""
14954 if test "$ac_cv_c_stdcall_suffix" = "yes"
14955 then
14956 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14958 else
14959 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14965 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14966 if ${ac_cv_asm_func_def+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14973 main ()
14975 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_asm_func_def=".def"
14982 else
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14987 main ()
14989 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14991 return 0;
14993 _ACEOF
14994 if ac_fn_c_try_link "$LINENO"; then :
14995 ac_cv_asm_func_def=".type @function"
14996 else
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
15001 main ()
15003 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_asm_func_def=".type 2"
15010 else
15011 ac_cv_asm_func_def="unknown"
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15023 $as_echo "$ac_cv_asm_func_def" >&6; }
15026 case "$ac_cv_asm_func_def" in
15027 ".def")
15028 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15030 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15031 ".type @function")
15032 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15034 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15035 ".type 2")
15036 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15038 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15040 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15042 asm_func_header="" ;;
15043 esac
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15046 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15047 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15048 $as_echo_n "(cached) " >&6
15049 else
15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15052 asm(".text\n\t.long 0");
15054 main ()
15058 return 0;
15060 _ACEOF
15061 if ac_fn_c_try_compile "$LINENO"; then :
15062 ac_cv_c_asm_outside_funcs="yes"
15063 else
15064 ac_cv_c_asm_outside_funcs="no"
15066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15069 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15072 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15073 if ${ac_cv_c_dot_previous+:} false; then :
15074 $as_echo_n "(cached) " >&6
15075 else
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15080 main ()
15082 asm(".text\nac_test:\t.long 0\n\t.previous");
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_link "$LINENO"; then :
15088 ac_cv_c_dot_previous="yes"
15089 else
15090 ac_cv_c_dot_previous="no"
15092 rm -f core conftest.err conftest.$ac_objext \
15093 conftest$ac_exeext conftest.$ac_ext
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15096 $as_echo "$ac_cv_c_dot_previous" >&6; }
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15099 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15100 if ${ac_cv_c_cfi_support+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15105 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15107 main ()
15111 return 0;
15113 _ACEOF
15114 if ac_fn_c_try_compile "$LINENO"; then :
15115 ac_cv_c_cfi_support="yes"
15116 else
15117 ac_cv_c_cfi_support="no"
15119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15122 $as_echo "$ac_cv_c_cfi_support" >&6; }
15124 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15125 asm_func_trailer=""
15126 if test "$ac_cv_c_dot_previous" = "yes"
15127 then
15128 asm_func_trailer="\\n\\t.previous"
15130 if test "$ac_cv_c_cfi_support" = "yes"
15131 then
15132 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15133 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15135 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15137 UNWINDFLAGS=-fasynchronous-unwind-tables
15139 else
15140 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15142 if test "x$enable_win64" = "xyes"
15143 then
15144 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15148 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15151 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15152 then
15153 cat >>confdefs.h <<_ACEOF
15154 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15155 _ACEOF
15157 else
15158 cat >>confdefs.h <<_ACEOF
15159 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15160 _ACEOF
15164 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15167 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15171 case $build_os in
15172 cygwin*|mingw32*) TOOLSEXT=".exe"
15174 esac
15176 case $host_os in
15177 linux-android*) ;;
15178 linux*)
15179 case $host_cpu in
15180 *i[3456789]86*|x86_64*)
15181 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15182 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15184 esac
15186 esac
15189 ac_save_CFLAGS="$CFLAGS"
15190 CFLAGS="$CFLAGS $BUILTINFLAG"
15191 for ac_func in \
15192 __res_get_state \
15193 __res_getservers \
15194 _finite \
15195 _isnan \
15196 _pclose \
15197 _popen \
15198 _snprintf \
15199 _spawnvp \
15200 _strdup \
15201 _stricmp \
15202 _strnicmp \
15203 _strtoi64 \
15204 _strtoui64 \
15205 _vsnprintf \
15206 asctime_r \
15207 chsize \
15208 dlopen \
15209 epoll_create \
15210 ffs \
15211 finitef \
15212 fnmatch \
15213 fork \
15214 fpclass \
15215 fstatfs \
15216 fstatvfs \
15217 ftruncate \
15218 futimens \
15219 futimes \
15220 futimesat \
15221 getattrlist \
15222 getopt_long_only \
15223 getpwuid \
15224 gettimeofday \
15225 getuid \
15226 if_nameindex \
15227 isnanf \
15228 kqueue \
15229 lstat \
15230 memmove \
15231 mmap \
15232 pclose \
15233 pipe2 \
15234 poll \
15235 popen \
15236 port_create \
15237 prctl \
15238 pread \
15239 proc_pidinfo \
15240 pwrite \
15241 readdir \
15242 readlink \
15243 sched_yield \
15244 select \
15245 setproctitle \
15246 setprogname \
15247 setrlimit \
15248 settimeofday \
15249 sigaltstack \
15250 sigprocmask \
15251 snprintf \
15252 statfs \
15253 statvfs \
15254 strcasecmp \
15255 strdup \
15256 strerror \
15257 strncasecmp \
15258 strtold \
15259 strtoll \
15260 strtoull \
15261 symlink \
15262 sysinfo \
15263 tcdrain \
15264 thr_kill2 \
15265 timegm \
15266 usleep \
15267 vsnprintf
15269 do :
15270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15272 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15273 cat >>confdefs.h <<_ACEOF
15274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15275 _ACEOF
15278 done
15280 CFLAGS="$ac_save_CFLAGS"
15282 if test "$ac_cv_func_dlopen" = no
15283 then
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15285 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15286 if ${ac_cv_lib_dl_dlopen+:} false; then :
15287 $as_echo_n "(cached) " >&6
15288 else
15289 ac_check_lib_save_LIBS=$LIBS
15290 LIBS="-ldl $LIBS"
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15294 /* Override any GCC internal prototype to avoid an error.
15295 Use char because int might match the return type of a GCC
15296 builtin and then its argument prototype would still apply. */
15297 #ifdef __cplusplus
15298 extern "C"
15299 #endif
15300 char dlopen ();
15302 main ()
15304 return dlopen ();
15306 return 0;
15308 _ACEOF
15309 if ac_fn_c_try_link "$LINENO"; then :
15310 ac_cv_lib_dl_dlopen=yes
15311 else
15312 ac_cv_lib_dl_dlopen=no
15314 rm -f core conftest.err conftest.$ac_objext \
15315 conftest$ac_exeext conftest.$ac_ext
15316 LIBS=$ac_check_lib_save_LIBS
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15319 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15320 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15321 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15322 DL_LIBS="-ldl"
15327 ac_wine_check_funcs_save_LIBS="$LIBS"
15328 LIBS="$LIBS $DL_LIBS"
15329 for ac_func in dladdr
15330 do :
15331 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15332 if test "x$ac_cv_func_dladdr" = xyes; then :
15333 cat >>confdefs.h <<_ACEOF
15334 #define HAVE_DLADDR 1
15335 _ACEOF
15338 done
15340 LIBS="$ac_wine_check_funcs_save_LIBS"
15342 if test "$ac_cv_func_poll" = no
15343 then
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15345 $as_echo_n "checking for poll in -lpoll... " >&6; }
15346 if ${ac_cv_lib_poll_poll+:} false; then :
15347 $as_echo_n "(cached) " >&6
15348 else
15349 ac_check_lib_save_LIBS=$LIBS
15350 LIBS="-lpoll $LIBS"
15351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15354 /* Override any GCC internal prototype to avoid an error.
15355 Use char because int might match the return type of a GCC
15356 builtin and then its argument prototype would still apply. */
15357 #ifdef __cplusplus
15358 extern "C"
15359 #endif
15360 char poll ();
15362 main ()
15364 return poll ();
15366 return 0;
15368 _ACEOF
15369 if ac_fn_c_try_link "$LINENO"; then :
15370 ac_cv_lib_poll_poll=yes
15371 else
15372 ac_cv_lib_poll_poll=no
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15376 LIBS=$ac_check_lib_save_LIBS
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15379 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15380 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15381 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15382 POLL_LIBS="-lpoll"
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15389 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15390 if ${ac_cv_search_gethostbyname+:} false; then :
15391 $as_echo_n "(cached) " >&6
15392 else
15393 ac_func_search_save_LIBS=$LIBS
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char gethostbyname ();
15405 main ()
15407 return gethostbyname ();
15409 return 0;
15411 _ACEOF
15412 for ac_lib in '' nsl; do
15413 if test -z "$ac_lib"; then
15414 ac_res="none required"
15415 else
15416 ac_res=-l$ac_lib
15417 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15419 if ac_fn_c_try_link "$LINENO"; then :
15420 ac_cv_search_gethostbyname=$ac_res
15422 rm -f core conftest.err conftest.$ac_objext \
15423 conftest$ac_exeext
15424 if ${ac_cv_search_gethostbyname+:} false; then :
15425 break
15427 done
15428 if ${ac_cv_search_gethostbyname+:} false; then :
15430 else
15431 ac_cv_search_gethostbyname=no
15433 rm conftest.$ac_ext
15434 LIBS=$ac_func_search_save_LIBS
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15437 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15438 ac_res=$ac_cv_search_gethostbyname
15439 if test "$ac_res" != no; then :
15440 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15446 $as_echo_n "checking for library containing connect... " >&6; }
15447 if ${ac_cv_search_connect+:} false; then :
15448 $as_echo_n "(cached) " >&6
15449 else
15450 ac_func_search_save_LIBS=$LIBS
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15454 /* Override any GCC internal prototype to avoid an error.
15455 Use char because int might match the return type of a GCC
15456 builtin and then its argument prototype would still apply. */
15457 #ifdef __cplusplus
15458 extern "C"
15459 #endif
15460 char connect ();
15462 main ()
15464 return connect ();
15466 return 0;
15468 _ACEOF
15469 for ac_lib in '' socket; do
15470 if test -z "$ac_lib"; then
15471 ac_res="none required"
15472 else
15473 ac_res=-l$ac_lib
15474 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15476 if ac_fn_c_try_link "$LINENO"; then :
15477 ac_cv_search_connect=$ac_res
15479 rm -f core conftest.err conftest.$ac_objext \
15480 conftest$ac_exeext
15481 if ${ac_cv_search_connect+:} false; then :
15482 break
15484 done
15485 if ${ac_cv_search_connect+:} false; then :
15487 else
15488 ac_cv_search_connect=no
15490 rm conftest.$ac_ext
15491 LIBS=$ac_func_search_save_LIBS
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15494 $as_echo "$ac_cv_search_connect" >&6; }
15495 ac_res=$ac_cv_search_connect
15496 if test "$ac_res" != no; then :
15497 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15503 $as_echo_n "checking for library containing inet_aton... " >&6; }
15504 if ${ac_cv_search_inet_aton+:} false; then :
15505 $as_echo_n "(cached) " >&6
15506 else
15507 ac_func_search_save_LIBS=$LIBS
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15511 /* Override any GCC internal prototype to avoid an error.
15512 Use char because int might match the return type of a GCC
15513 builtin and then its argument prototype would still apply. */
15514 #ifdef __cplusplus
15515 extern "C"
15516 #endif
15517 char inet_aton ();
15519 main ()
15521 return inet_aton ();
15523 return 0;
15525 _ACEOF
15526 for ac_lib in '' resolv; do
15527 if test -z "$ac_lib"; then
15528 ac_res="none required"
15529 else
15530 ac_res=-l$ac_lib
15531 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15533 if ac_fn_c_try_link "$LINENO"; then :
15534 ac_cv_search_inet_aton=$ac_res
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext
15538 if ${ac_cv_search_inet_aton+:} false; then :
15539 break
15541 done
15542 if ${ac_cv_search_inet_aton+:} false; then :
15544 else
15545 ac_cv_search_inet_aton=no
15547 rm conftest.$ac_ext
15548 LIBS=$ac_func_search_save_LIBS
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15551 $as_echo "$ac_cv_search_inet_aton" >&6; }
15552 ac_res=$ac_cv_search_inet_aton
15553 if test "$ac_res" != no; then :
15554 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15559 for ac_func in \
15560 getaddrinfo \
15561 getnameinfo \
15562 getnetbyname \
15563 getprotobyname \
15564 getprotobynumber \
15565 getservbyport \
15566 inet_addr \
15567 inet_network \
15568 inet_ntop \
15569 inet_pton \
15570 sendmsg \
15571 socketpair \
15573 do :
15574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15576 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15577 cat >>confdefs.h <<_ACEOF
15578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15579 _ACEOF
15582 done
15585 ac_save_LIBS=$LIBS
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15587 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15588 if ${ac_cv_search_clock_gettime+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 ac_func_search_save_LIBS=$LIBS
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15598 #ifdef __cplusplus
15599 extern "C"
15600 #endif
15601 char clock_gettime ();
15603 main ()
15605 return clock_gettime ();
15607 return 0;
15609 _ACEOF
15610 for ac_lib in '' rt; do
15611 if test -z "$ac_lib"; then
15612 ac_res="none required"
15613 else
15614 ac_res=-l$ac_lib
15615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15617 if ac_fn_c_try_link "$LINENO"; then :
15618 ac_cv_search_clock_gettime=$ac_res
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext
15622 if ${ac_cv_search_clock_gettime+:} false; then :
15623 break
15625 done
15626 if ${ac_cv_search_clock_gettime+:} false; then :
15628 else
15629 ac_cv_search_clock_gettime=no
15631 rm conftest.$ac_ext
15632 LIBS=$ac_func_search_save_LIBS
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15635 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15636 ac_res=$ac_cv_search_clock_gettime
15637 if test "$ac_res" != no; then :
15638 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15640 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15642 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15646 LIBS=$ac_save_LIBS
15648 LDAP_LIBS=""
15650 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15651 then
15652 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15654 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15656 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15657 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15658 $as_echo_n "(cached) " >&6
15659 else
15660 ac_check_lib_save_LIBS=$LIBS
15661 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15668 #ifdef __cplusplus
15669 extern "C"
15670 #endif
15671 char ldap_initialize ();
15673 main ()
15675 return ldap_initialize ();
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"; then :
15681 ac_cv_lib_ldap_r_ldap_initialize=yes
15682 else
15683 ac_cv_lib_ldap_r_ldap_initialize=no
15685 rm -f core conftest.err conftest.$ac_objext \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_lib_save_LIBS
15689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15690 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15691 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15693 $as_echo_n "checking for ber_init in -llber... " >&6; }
15694 if ${ac_cv_lib_lber_ber_init+:} false; then :
15695 $as_echo_n "(cached) " >&6
15696 else
15697 ac_check_lib_save_LIBS=$LIBS
15698 LIBS="-llber $PTHREAD_LIBS $LIBS"
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 #ifdef __cplusplus
15706 extern "C"
15707 #endif
15708 char ber_init ();
15710 main ()
15712 return ber_init ();
15714 return 0;
15716 _ACEOF
15717 if ac_fn_c_try_link "$LINENO"; then :
15718 ac_cv_lib_lber_ber_init=yes
15719 else
15720 ac_cv_lib_lber_ber_init=no
15722 rm -f core conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_check_lib_save_LIBS
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15727 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15728 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15730 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15732 LDAP_LIBS="-lldap_r -llber"
15739 ac_wine_check_funcs_save_LIBS="$LIBS"
15740 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15741 for ac_func in \
15742 ldap_count_references \
15743 ldap_first_reference \
15744 ldap_next_reference \
15745 ldap_parse_reference \
15746 ldap_parse_sort_control \
15747 ldap_parse_sortresponse_control \
15748 ldap_parse_vlv_control \
15749 ldap_parse_vlvresponse_control
15750 do :
15751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15753 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15756 _ACEOF
15759 done
15761 LIBS="$ac_wine_check_funcs_save_LIBS"
15763 if test "x$LDAP_LIBS" = "x"; then :
15764 case "x$with_ldap" in
15765 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15766 xno) ;;
15767 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15768 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15769 esac
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15774 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15775 if ${wine_cv_one_arg_mkdir+:} false; then :
15776 $as_echo_n "(cached) " >&6
15777 else
15778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h. */
15780 #include <sys/stat.h>
15782 main ()
15784 mkdir("foo");
15786 return 0;
15788 _ACEOF
15789 if ac_fn_c_try_compile "$LINENO"; then :
15790 wine_cv_one_arg_mkdir=yes
15791 else
15792 wine_cv_one_arg_mkdir=no
15794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15797 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15798 if test "$wine_cv_one_arg_mkdir" = "yes"
15799 then
15801 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15806 $as_echo_n "checking for sched_setaffinity... " >&6; }
15807 if ${wine_cv_have_sched_setaffinity+:} false; then :
15808 $as_echo_n "(cached) " >&6
15809 else
15810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15812 #define _GNU_SOURCE
15813 #include <sched.h>
15815 main ()
15817 sched_setaffinity(0, 0, 0);
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"; then :
15823 wine_cv_have_sched_setaffinity=yes
15824 else
15825 wine_cv_have_sched_setaffinity=no
15827 rm -f core conftest.err conftest.$ac_objext \
15828 conftest$ac_exeext conftest.$ac_ext
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15831 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15832 if test "$wine_cv_have_sched_setaffinity" = "yes"
15833 then
15835 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15840 $as_echo_n "checking for fallocate... " >&6; }
15841 if ${wine_cv_have_fallocate+:} false; then :
15842 $as_echo_n "(cached) " >&6
15843 else
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 #define _GNU_SOURCE
15847 #include <fcntl.h>
15849 main ()
15851 fallocate(-1, 0, 0, 0);
15853 return 0;
15855 _ACEOF
15856 if ac_fn_c_try_link "$LINENO"; then :
15857 wine_cv_have_fallocate=yes
15858 else
15859 wine_cv_have_fallocate=no
15861 rm -f core conftest.err conftest.$ac_objext \
15862 conftest$ac_exeext conftest.$ac_ext
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15865 $as_echo "$wine_cv_have_fallocate" >&6; }
15866 if test "$wine_cv_have_fallocate" = "yes"
15867 then
15869 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15875 $as_echo_n "checking for inline... " >&6; }
15876 if ${ac_cv_c_inline+:} false; then :
15877 $as_echo_n "(cached) " >&6
15878 else
15879 ac_cv_c_inline=no
15880 for ac_kw in inline __inline__ __inline; do
15881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h. */
15883 #ifndef __cplusplus
15884 typedef int foo_t;
15885 static $ac_kw foo_t static_foo () {return 0; }
15886 $ac_kw foo_t foo () {return 0; }
15887 #endif
15889 _ACEOF
15890 if ac_fn_c_try_compile "$LINENO"; then :
15891 ac_cv_c_inline=$ac_kw
15893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15894 test "$ac_cv_c_inline" != no && break
15895 done
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15899 $as_echo "$ac_cv_c_inline" >&6; }
15901 case $ac_cv_c_inline in
15902 inline | yes) ;;
15904 case $ac_cv_c_inline in
15905 no) ac_val=;;
15906 *) ac_val=$ac_cv_c_inline;;
15907 esac
15908 cat >>confdefs.h <<_ACEOF
15909 #ifndef __cplusplus
15910 #define inline $ac_val
15911 #endif
15912 _ACEOF
15914 esac
15916 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15917 if test "x$ac_cv_type_mode_t" = xyes; then :
15919 cat >>confdefs.h <<_ACEOF
15920 #define HAVE_MODE_T 1
15921 _ACEOF
15925 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15926 if test "x$ac_cv_type_off_t" = xyes; then :
15928 cat >>confdefs.h <<_ACEOF
15929 #define HAVE_OFF_T 1
15930 _ACEOF
15934 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15935 if test "x$ac_cv_type_pid_t" = xyes; then :
15937 cat >>confdefs.h <<_ACEOF
15938 #define HAVE_PID_T 1
15939 _ACEOF
15943 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15944 if test "x$ac_cv_type_size_t" = xyes; then :
15946 cat >>confdefs.h <<_ACEOF
15947 #define HAVE_SIZE_T 1
15948 _ACEOF
15952 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15953 if test "x$ac_cv_type_ssize_t" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_SSIZE_T 1
15957 _ACEOF
15961 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15962 if test "x$ac_cv_type_long_long" = xyes; then :
15964 cat >>confdefs.h <<_ACEOF
15965 #define HAVE_LONG_LONG 1
15966 _ACEOF
15970 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15971 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_FSBLKCNT_T 1
15975 _ACEOF
15979 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15982 cat >>confdefs.h <<_ACEOF
15983 #define HAVE_FSFILCNT_T 1
15984 _ACEOF
15989 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15990 #include <signal.h>
15992 if test "x$ac_cv_type_sigset_t" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_SIGSET_T 1
15996 _ACEOF
16001 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16003 if test "x$ac_cv_type_request_sense" = xyes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_REQUEST_SENSE 1
16007 _ACEOF
16013 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16014 #ifdef HAVE_SYS_SOCKET_H
16015 #include <sys/socket.h>
16016 #endif
16017 #ifdef HAVE_SYS_SOCKETVAR_H
16018 #include <sys/socketvar.h>
16019 #endif
16020 #ifdef HAVE_NET_ROUTE_H
16021 #include <net/route.h>
16022 #endif
16023 #ifdef HAVE_NETINET_IN_H
16024 #include <netinet/in.h>
16025 #endif
16026 #ifdef HAVE_NETINET_IN_SYSTM_H
16027 #include <netinet/in_systm.h>
16028 #endif
16029 #ifdef HAVE_NETINET_IP_H
16030 #include <netinet/ip.h>
16031 #endif
16032 #ifdef HAVE_NETINET_IN_PCB_H
16033 #include <netinet/in_pcb.h>
16034 #endif
16036 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_STRUCT_XINPGEN 1
16040 _ACEOF
16046 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16047 #include <link.h>
16048 #endif
16049 #ifdef HAVE_SYS_LINK_H
16050 #include <sys/link.h>
16051 #endif
16053 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define HAVE_STRUCT_R_DEBUG 1
16057 _ACEOF
16061 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16062 #include <link.h>
16063 #endif
16064 #ifdef HAVE_SYS_LINK_H
16065 #include <sys/link.h>
16066 #endif
16068 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_STRUCT_LINK_MAP 1
16072 _ACEOF
16078 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16079 #include <linux/input.h>
16080 #endif
16082 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16086 _ACEOF
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16093 $as_echo_n "checking for sigaddset... " >&6; }
16094 if ${wine_cv_have_sigaddset+:} false; then :
16095 $as_echo_n "(cached) " >&6
16096 else
16097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16099 #include <signal.h>
16101 main ()
16103 sigset_t set; sigaddset(&set,SIGTERM);
16105 return 0;
16107 _ACEOF
16108 if ac_fn_c_try_link "$LINENO"; then :
16109 wine_cv_have_sigaddset=yes
16110 else
16111 wine_cv_have_sigaddset=no
16113 rm -f core conftest.err conftest.$ac_objext \
16114 conftest$ac_exeext conftest.$ac_ext
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16117 $as_echo "$wine_cv_have_sigaddset" >&6; }
16118 if test "$wine_cv_have_sigaddset" = "yes"
16119 then
16121 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16127 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16128 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16133 #include <netdb.h>
16135 main ()
16138 char *name=0;
16139 struct hostent he;
16140 struct hostent *result;
16141 char *buf=0;
16142 int bufsize=0;
16143 int errnr;
16144 char *addr=0;
16145 int addrlen=0;
16146 int addrtype=0;
16147 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16148 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16151 return 0;
16153 _ACEOF
16154 if ac_fn_c_try_link "$LINENO"; then :
16155 wine_cv_linux_gethostbyname_r_6=yes
16156 else
16157 wine_cv_linux_gethostbyname_r_6=no
16160 rm -f core conftest.err conftest.$ac_objext \
16161 conftest$ac_exeext conftest.$ac_ext
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16165 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16166 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16167 then
16169 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16173 if test "$ac_cv_header_linux_joystick_h" = "yes"
16174 then
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16176 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16177 if ${wine_cv_linux_joystick_22_api+:} false; then :
16178 $as_echo_n "(cached) " >&6
16179 else
16180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181 /* end confdefs.h. */
16183 #include <sys/ioctl.h>
16184 #include <sys/types.h>
16185 #include <linux/joystick.h>
16187 struct js_event blub;
16188 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16189 #error "no 2.2 header"
16190 #endif
16193 main ()
16195 /*empty*/
16197 return 0;
16199 _ACEOF
16200 if ac_fn_c_try_compile "$LINENO"; then :
16201 wine_cv_linux_joystick_22_api=yes
16202 else
16203 wine_cv_linux_joystick_22_api=no
16205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16209 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16210 if test "$wine_cv_linux_joystick_22_api" = "yes"
16211 then
16213 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16219 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16220 #ifdef HAVE_SYS_PARAM_H
16221 # include <sys/param.h>
16222 #endif
16223 #ifdef HAVE_SYS_MOUNT_H
16224 # include <sys/mount.h>
16225 #endif
16226 #ifdef HAVE_SYS_VFS_H
16227 # include <sys/vfs.h>
16228 #endif
16229 #ifdef HAVE_SYS_STATFS_H
16230 # include <sys/statfs.h>
16231 #endif
16233 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16235 cat >>confdefs.h <<_ACEOF
16236 #define HAVE_STRUCT_STATFS_F_BFREE 1
16237 _ACEOF
16241 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16242 #ifdef HAVE_SYS_PARAM_H
16243 # include <sys/param.h>
16244 #endif
16245 #ifdef HAVE_SYS_MOUNT_H
16246 # include <sys/mount.h>
16247 #endif
16248 #ifdef HAVE_SYS_VFS_H
16249 # include <sys/vfs.h>
16250 #endif
16251 #ifdef HAVE_SYS_STATFS_H
16252 # include <sys/statfs.h>
16253 #endif
16255 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16257 cat >>confdefs.h <<_ACEOF
16258 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16259 _ACEOF
16263 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16264 #ifdef HAVE_SYS_PARAM_H
16265 # include <sys/param.h>
16266 #endif
16267 #ifdef HAVE_SYS_MOUNT_H
16268 # include <sys/mount.h>
16269 #endif
16270 #ifdef HAVE_SYS_VFS_H
16271 # include <sys/vfs.h>
16272 #endif
16273 #ifdef HAVE_SYS_STATFS_H
16274 # include <sys/statfs.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16281 _ACEOF
16285 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16286 #ifdef HAVE_SYS_PARAM_H
16287 # include <sys/param.h>
16288 #endif
16289 #ifdef HAVE_SYS_MOUNT_H
16290 # include <sys/mount.h>
16291 #endif
16292 #ifdef HAVE_SYS_VFS_H
16293 # include <sys/vfs.h>
16294 #endif
16295 #ifdef HAVE_SYS_STATFS_H
16296 # include <sys/statfs.h>
16297 #endif
16299 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16301 cat >>confdefs.h <<_ACEOF
16302 #define HAVE_STRUCT_STATFS_F_FFREE 1
16303 _ACEOF
16307 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16308 #ifdef HAVE_SYS_PARAM_H
16309 # include <sys/param.h>
16310 #endif
16311 #ifdef HAVE_SYS_MOUNT_H
16312 # include <sys/mount.h>
16313 #endif
16314 #ifdef HAVE_SYS_VFS_H
16315 # include <sys/vfs.h>
16316 #endif
16317 #ifdef HAVE_SYS_STATFS_H
16318 # include <sys/statfs.h>
16319 #endif
16321 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16325 _ACEOF
16329 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16330 #ifdef HAVE_SYS_PARAM_H
16331 # include <sys/param.h>
16332 #endif
16333 #ifdef HAVE_SYS_MOUNT_H
16334 # include <sys/mount.h>
16335 #endif
16336 #ifdef HAVE_SYS_VFS_H
16337 # include <sys/vfs.h>
16338 #endif
16339 #ifdef HAVE_SYS_STATFS_H
16340 # include <sys/statfs.h>
16341 #endif
16343 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16345 cat >>confdefs.h <<_ACEOF
16346 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16347 _ACEOF
16353 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16354 #include <sys/statvfs.h>
16355 #endif
16357 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16361 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16368 #include <dirent.h>
16369 #endif
16371 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16375 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16382 #ifdef HAVE_SYS_SOCKET_H
16383 # include <sys/socket.h>
16384 #endif
16385 #ifdef HAVE_SYS_UN_H
16386 # include <sys/un.h>
16387 #endif
16389 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16393 _ACEOF
16397 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16398 #ifdef HAVE_SYS_SOCKET_H
16399 # include <sys/socket.h>
16400 #endif
16401 #ifdef HAVE_SYS_UN_H
16402 # include <sys/un.h>
16403 #endif
16405 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16409 _ACEOF
16413 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16414 #ifdef HAVE_SYS_SOCKET_H
16415 # include <sys/socket.h>
16416 #endif
16417 #ifdef HAVE_SYS_UN_H
16418 # include <sys/un.h>
16419 #endif
16421 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16425 _ACEOF
16431 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16432 #ifdef HAVE_SCSI_SG_H
16433 #include <scsi/sg.h>
16434 #endif
16436 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_SCSIREQ_T_CMD 1
16440 _ACEOF
16444 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>
16445 #ifdef HAVE_SCSI_SG_H
16446 #include <scsi/sg.h>
16447 #endif
16449 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16453 _ACEOF
16459 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16461 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_SIGINFO_T_SI_FD 1
16465 _ACEOF
16471 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16472 #ifdef HAVE_SYS_MTIO_H
16473 #include <sys/mtio.h>
16474 #endif
16476 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16480 _ACEOF
16484 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16485 #ifdef HAVE_SYS_MTIO_H
16486 #include <sys/mtio.h>
16487 #endif
16489 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16493 _ACEOF
16497 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16498 #ifdef HAVE_SYS_MTIO_H
16499 #include <sys/mtio.h>
16500 #endif
16502 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16506 _ACEOF
16512 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16513 #include <getopt.h>
16514 #endif
16516 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define HAVE_STRUCT_OPTION_NAME 1
16520 _ACEOF
16526 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16527 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16531 _ACEOF
16535 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16536 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_STRUCT_STAT_ST_MTIM 1
16540 _ACEOF
16544 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16545 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16549 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16554 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16556 cat >>confdefs.h <<_ACEOF
16557 #define HAVE_STRUCT_STAT_ST_CTIM 1
16558 _ACEOF
16562 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16563 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16567 _ACEOF
16571 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16572 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16574 cat >>confdefs.h <<_ACEOF
16575 #define HAVE_STRUCT_STAT_ST_ATIM 1
16576 _ACEOF
16580 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16581 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16583 cat >>confdefs.h <<_ACEOF
16584 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16585 _ACEOF
16589 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16590 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16594 _ACEOF
16598 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16599 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16603 _ACEOF
16607 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16608 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16610 cat >>confdefs.h <<_ACEOF
16611 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16612 _ACEOF
16616 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16617 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16621 _ACEOF
16625 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16626 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16630 _ACEOF
16636 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
16637 #include <sys/types.h>
16638 #endif
16639 #ifdef HAVE_NETINET_IN_H
16640 #include <netinet/in.h>
16641 #endif
16643 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16647 _ACEOF
16653 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16654 #include <resolv.h>
16655 #endif
16657 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16659 cat >>confdefs.h <<_ACEOF
16660 #define HAVE_STRUCT___RES_STATE 1
16661 _ACEOF
16667 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
16668 #include <resolv.h>
16669 #endif
16671 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16673 cat >>confdefs.h <<_ACEOF
16674 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16675 _ACEOF
16681 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16682 #include <sys/types.h>
16683 #endif
16684 #ifdef HAVE_NETINET_IN_H
16685 # include <netinet/in.h>
16686 #endif
16687 #ifdef HAVE_ARPA_NAMESER_H
16688 # include <arpa/nameser.h>
16689 #endif
16691 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_NS_MSG__MSG_PTR 1
16695 _ACEOF
16701 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16702 #include <sys/types.h>
16703 #endif
16704 #ifdef HAVE_NETINET_IP_H
16705 #include <netinet/ip.h>
16706 #endif
16707 #ifdef HAVE_NETINET_IP_ICMP_H
16708 #include <netinet/ip_icmp.h>
16709 #endif
16710 #ifdef HAVE_NETINET_ICMP_VAR_H
16711 #include <netinet/icmp_var.h>
16712 #endif
16714 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16718 _ACEOF
16724 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16725 #include <sys/types.h>
16726 #endif
16727 #ifdef HAVE_ALIAS_H
16728 #include <alias.h>
16729 #endif
16730 #ifdef HAVE_SYS_SOCKET_H
16731 #include <sys/socket.h>
16732 #endif
16733 #ifdef HAVE_SYS_SOCKETVAR_H
16734 #include <sys/socketvar.h>
16735 #endif
16736 #ifdef HAVE_SYS_TIMEOUT_H
16737 #include <sys/timeout.h>
16738 #endif
16739 #ifdef HAVE_NETINET_IN_H
16740 #include <netinet/in.h>
16741 #endif
16742 #ifdef HAVE_NETINET_IN_SYSTM_H
16743 #include <netinet/in_systm.h>
16744 #endif
16745 #ifdef HAVE_NETINET_IP_H
16746 #include <netinet/ip.h>
16747 #endif
16748 #ifdef HAVE_NETINET_IP_VAR_H
16749 #include <netinet/ip_var.h>
16750 #endif
16751 #ifdef HAVE_NETINET_IP_ICMP_H
16752 #include <netinet/ip_icmp.h>
16753 #endif
16754 #ifdef HAVE_NETINET_ICMP_VAR_H
16755 #include <netinet/icmp_var.h>
16756 #endif
16758 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16760 cat >>confdefs.h <<_ACEOF
16761 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16762 _ACEOF
16768 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16769 #include <sys/types.h>
16770 #endif
16771 #ifdef HAVE_SYS_SOCKETVAR_H
16772 #include <sys/socketvar.h>
16773 #endif
16774 #ifdef HAVE_NETINET_IN_H
16775 #include <netinet/in.h>
16776 #endif
16777 #ifdef HAVE_NETINET_IP_VAR_H
16778 #include <netinet/ip_var.h>
16779 #endif
16781 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16785 _ACEOF
16791 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
16792 #include <netinet/ip_var.h>
16793 #endif
16795 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16797 cat >>confdefs.h <<_ACEOF
16798 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16799 _ACEOF
16805 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16806 #include <sys/types.h>
16807 #endif
16808 #ifdef HAVE_SYS_SOCKETVAR_H
16809 #include <sys/socketvar.h>
16810 #endif
16811 #ifdef HAVE_NETINET_IN_H
16812 #include <netinet/in.h>
16813 #endif
16814 #ifdef HAVE_NETINET_TCP_H
16815 #include <netinet/tcp.h>
16816 #endif
16817 #ifdef HAVE_NETINET_TCP_VAR_H
16818 #include <netinet/tcp_var.h>
16819 #endif
16821 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16825 _ACEOF
16831 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
16832 #include <netinet/tcp_var.h>
16833 #endif
16835 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16839 _ACEOF
16845 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16846 #include <sys/types.h>
16847 #endif
16848 #ifdef HAVE_NETINET_IN_H
16849 #include <netinet/in.h>
16850 #endif
16851 #ifdef HAVE_NETINET_IP_VAR_H
16852 #include <netinet/ip_var.h>
16853 #endif
16854 #ifdef HAVE_NETINET_UDP_H
16855 #include <netinet/udp.h>
16856 #endif
16857 #ifdef HAVE_NETINET_UDP_VAR_H
16858 #include <netinet/udp_var.h>
16859 #endif
16861 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16865 _ACEOF
16871 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16872 #include <sys/types.h>
16873 #endif
16874 #ifdef HAVE_NET_IF_H
16875 # include <net/if.h>
16876 #endif
16878 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16880 cat >>confdefs.h <<_ACEOF
16881 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16882 _ACEOF
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16889 $as_echo_n "checking for timezone variable... " >&6; }
16890 if ${ac_cv_have_timezone+:} false; then :
16891 $as_echo_n "(cached) " >&6
16892 else
16893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16894 /* end confdefs.h. */
16895 #include <time.h>
16897 main ()
16899 timezone = 1
16901 return 0;
16903 _ACEOF
16904 if ac_fn_c_try_link "$LINENO"; then :
16905 ac_cv_have_timezone="yes"
16906 else
16907 ac_cv_have_timezone="no"
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16913 $as_echo "$ac_cv_have_timezone" >&6; }
16914 if test "$ac_cv_have_timezone" = "yes"
16915 then
16917 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16921 $as_echo_n "checking for daylight variable... " >&6; }
16922 if ${ac_cv_have_daylight+:} false; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 #include <time.h>
16929 main ()
16931 daylight = 1
16933 return 0;
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937 ac_cv_have_daylight="yes"
16938 else
16939 ac_cv_have_daylight="no"
16941 rm -f core conftest.err conftest.$ac_objext \
16942 conftest$ac_exeext conftest.$ac_ext
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16945 $as_echo "$ac_cv_have_daylight" >&6; }
16946 if test "$ac_cv_have_daylight" = "yes"
16947 then
16949 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16953 ac_save_LIBS="$LIBS"
16954 LIBS="$LIBS -lm"
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16956 $as_echo_n "checking for isfinite... " >&6; }
16957 if ${ac_cv_have_isfinite+:} false; then :
16958 $as_echo_n "(cached) " >&6
16959 else
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 #define _GNU_SOURCE
16963 #include <math.h>
16965 main ()
16967 float f = 0.0; return isfinite(f)
16969 return 0;
16971 _ACEOF
16972 if ac_fn_c_try_link "$LINENO"; then :
16973 ac_cv_have_isfinite="yes"
16974 else
16975 ac_cv_have_isfinite="no"
16977 rm -f core conftest.err conftest.$ac_objext \
16978 conftest$ac_exeext conftest.$ac_ext
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16981 $as_echo "$ac_cv_have_isfinite" >&6; }
16982 if test "$ac_cv_have_isfinite" = "yes"
16983 then
16985 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16990 $as_echo_n "checking for isinf... " >&6; }
16991 if ${ac_cv_have_isinf+:} false; then :
16992 $as_echo_n "(cached) " >&6
16993 else
16994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16996 #include <math.h>
16998 main ()
17000 float f = 0.0; return isinf(f)
17002 return 0;
17004 _ACEOF
17005 if ac_fn_c_try_link "$LINENO"; then :
17006 ac_cv_have_isinf="yes"
17007 else
17008 ac_cv_have_isinf="no"
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17014 $as_echo "$ac_cv_have_isinf" >&6; }
17015 if test "$ac_cv_have_isinf" = "yes"
17016 then
17018 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17023 $as_echo_n "checking for isnan... " >&6; }
17024 if ${ac_cv_have_isnan+:} false; then :
17025 $as_echo_n "(cached) " >&6
17026 else
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 #include <math.h>
17031 main ()
17033 float f = 0.0; return isnan(f)
17035 return 0;
17037 _ACEOF
17038 if ac_fn_c_try_link "$LINENO"; then :
17039 ac_cv_have_isnan="yes"
17040 else
17041 ac_cv_have_isnan="no"
17043 rm -f core conftest.err conftest.$ac_objext \
17044 conftest$ac_exeext conftest.$ac_ext
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17047 $as_echo "$ac_cv_have_isnan" >&6; }
17048 if test "$ac_cv_have_isnan" = "yes"
17049 then
17051 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17055 for ac_func in \
17056 asinh \
17057 asinhf \
17058 cbrt \
17059 cbrtf \
17060 erf \
17061 erff \
17062 exp2 \
17063 exp2f \
17064 lgamma \
17065 lgammaf \
17066 llrint \
17067 llrintf \
17068 llround \
17069 llroundf \
17070 log2 \
17071 log2f \
17072 lrint \
17073 lrintf \
17074 lround \
17075 lroundf \
17076 powl \
17077 remainder \
17078 remainderf \
17079 rint \
17080 rintf \
17081 round \
17082 roundf \
17083 trunc \
17084 truncf
17086 do :
17087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17089 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17090 cat >>confdefs.h <<_ACEOF
17091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17092 _ACEOF
17095 done
17097 LIBS="$ac_save_LIBS"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17100 $as_echo_n "checking for __builtin_clz... " >&6; }
17101 if ${ac_cv_have___builtin_clz+:} false; then :
17102 $as_echo_n "(cached) " >&6
17103 else
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17108 main ()
17110 return __builtin_clz(1)
17112 return 0;
17114 _ACEOF
17115 if ac_fn_c_try_link "$LINENO"; then :
17116 ac_cv_have___builtin_clz="yes"
17117 else
17118 ac_cv_have___builtin_clz="no"
17120 rm -f core conftest.err conftest.$ac_objext \
17121 conftest$ac_exeext conftest.$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17124 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17125 if test "$ac_cv_have___builtin_clz" = "yes"
17126 then
17128 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17133 $as_echo_n "checking for __builtin_popcount... " >&6; }
17134 if ${ac_cv_have___builtin_popcount+:} false; then :
17135 $as_echo_n "(cached) " >&6
17136 else
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17141 main ()
17143 return __builtin_popcount(1)
17145 return 0;
17147 _ACEOF
17148 if ac_fn_c_try_link "$LINENO"; then :
17149 ac_cv_have___builtin_popcount="yes"
17150 else
17151 ac_cv_have___builtin_popcount="no"
17153 rm -f core conftest.err conftest.$ac_objext \
17154 conftest$ac_exeext conftest.$ac_ext
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17157 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17158 if test "$ac_cv_have___builtin_popcount" = "yes"
17159 then
17161 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17166 case $host_cpu in
17167 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17168 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17169 if ${ac_cv_cpp_def___i386__+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 #ifndef __i386__
17176 #endif
17177 _ACEOF
17178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17179 $EGREP "yes" >/dev/null 2>&1; then :
17180 ac_cv_cpp_def___i386__=yes
17181 else
17182 ac_cv_cpp_def___i386__=no
17184 rm -f conftest*
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17188 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17189 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17190 CFLAGS="$CFLAGS -D__i386__"
17191 LINTFLAGS="$LINTFLAGS -D__i386__"
17192 fi ;;
17193 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17194 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17195 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17196 $as_echo_n "(cached) " >&6
17197 else
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #ifndef __x86_64__
17202 #endif
17203 _ACEOF
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "yes" >/dev/null 2>&1; then :
17206 ac_cv_cpp_def___x86_64__=yes
17207 else
17208 ac_cv_cpp_def___x86_64__=no
17210 rm -f conftest*
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17214 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17215 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17216 CFLAGS="$CFLAGS -D__x86_64__"
17217 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17218 fi ;;
17219 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17220 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17221 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #ifndef __sparc64__
17228 #endif
17229 _ACEOF
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "yes" >/dev/null 2>&1; then :
17232 ac_cv_cpp_def___sparc64__=yes
17233 else
17234 ac_cv_cpp_def___sparc64__=no
17236 rm -f conftest*
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17240 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17241 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17242 CFLAGS="$CFLAGS -D__sparc64__"
17243 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17244 fi ;;
17245 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17246 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17247 if ${ac_cv_cpp_def___sparc__+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17252 #ifndef __sparc__
17254 #endif
17255 _ACEOF
17256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17257 $EGREP "yes" >/dev/null 2>&1; then :
17258 ac_cv_cpp_def___sparc__=yes
17259 else
17260 ac_cv_cpp_def___sparc__=no
17262 rm -f conftest*
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17266 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17267 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17268 CFLAGS="$CFLAGS -D__sparc__"
17269 LINTFLAGS="$LINTFLAGS -D__sparc__"
17270 fi ;;
17271 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17272 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17273 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 #ifndef __powerpc64__
17280 #endif
17281 _ACEOF
17282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17283 $EGREP "yes" >/dev/null 2>&1; then :
17284 ac_cv_cpp_def___powerpc64__=yes
17285 else
17286 ac_cv_cpp_def___powerpc64__=no
17288 rm -f conftest*
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17292 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17293 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17294 CFLAGS="$CFLAGS -D__powerpc64__"
17295 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17296 fi ;;
17297 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17298 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17299 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 #ifndef __powerpc__
17306 #endif
17307 _ACEOF
17308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17309 $EGREP "yes" >/dev/null 2>&1; then :
17310 ac_cv_cpp_def___powerpc__=yes
17311 else
17312 ac_cv_cpp_def___powerpc__=no
17314 rm -f conftest*
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17318 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17319 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17320 CFLAGS="$CFLAGS -D__powerpc__"
17321 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17322 fi ;;
17323 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17324 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17325 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17326 $as_echo_n "(cached) " >&6
17327 else
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 #ifndef __aarch64__
17332 #endif
17333 _ACEOF
17334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17335 $EGREP "yes" >/dev/null 2>&1; then :
17336 ac_cv_cpp_def___aarch64__=yes
17337 else
17338 ac_cv_cpp_def___aarch64__=no
17340 rm -f conftest*
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17344 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17345 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17346 CFLAGS="$CFLAGS -D__aarch64__"
17347 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17348 fi ;;
17349 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17350 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17351 if ${ac_cv_cpp_def___arm__+:} false; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #ifndef __arm__
17358 #endif
17359 _ACEOF
17360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17361 $EGREP "yes" >/dev/null 2>&1; then :
17362 ac_cv_cpp_def___arm__=yes
17363 else
17364 ac_cv_cpp_def___arm__=no
17366 rm -f conftest*
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17370 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17371 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17372 CFLAGS="$CFLAGS -D__arm__"
17373 LINTFLAGS="$LINTFLAGS -D__arm__"
17374 fi ;;
17375 esac
17377 case $host_vendor in
17378 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17379 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17380 if ${ac_cv_cpp_def___sun__+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #ifndef __sun__
17387 #endif
17388 _ACEOF
17389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17390 $EGREP "yes" >/dev/null 2>&1; then :
17391 ac_cv_cpp_def___sun__=yes
17392 else
17393 ac_cv_cpp_def___sun__=no
17395 rm -f conftest*
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17399 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17400 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17401 CFLAGS="$CFLAGS -D__sun__"
17402 LINTFLAGS="$LINTFLAGS -D__sun__"
17403 fi ;;
17404 esac
17410 ac_config_commands="$ac_config_commands include/stamp-h"
17412 $as_echo_n "creating Makefile rules..." >&6
17414 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17415 SOCKET_LIBS = $SOCKET_LIBS
17416 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17417 IOKIT_LIBS = $IOKIT_LIBS
17418 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17419 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17420 CORESERVICES_LIBS = $CORESERVICES_LIBS
17421 APPKIT_LIBS = $APPKIT_LIBS
17422 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17423 SECURITY_LIBS = $SECURITY_LIBS
17424 COREAUDIO_LIBS = $COREAUDIO_LIBS
17425 OPENAL_LIBS = $OPENAL_LIBS
17426 OPENCL_LIBS = $OPENCL_LIBS
17427 QUICKTIME_LIBS = $QUICKTIME_LIBS
17428 CARBON_LIBS = $CARBON_LIBS
17429 PTHREAD_LIBS = $PTHREAD_LIBS
17430 X_CFLAGS = $X_CFLAGS
17431 X_PRE_LIBS = $X_PRE_LIBS
17432 X_LIBS = $X_LIBS
17433 X_EXTRA_LIBS = $X_EXTRA_LIBS
17434 PCAP_LIBS = $PCAP_LIBS
17435 XML2_CFLAGS = $XML2_CFLAGS
17436 XML2_LIBS = $XML2_LIBS
17437 XSLT_CFLAGS = $XSLT_CFLAGS
17438 XSLT_LIBS = $XSLT_LIBS
17439 DBUS_CFLAGS = $DBUS_CFLAGS
17440 DBUS_LIBS = $DBUS_LIBS
17441 HAL_CFLAGS = $HAL_CFLAGS
17442 HAL_LIBS = $HAL_LIBS
17443 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17444 GNUTLS_LIBS = $GNUTLS_LIBS
17445 SANE_CFLAGS = $SANE_CFLAGS
17446 SANE_LIBS = $SANE_LIBS
17447 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17448 GPHOTO2_LIBS = $GPHOTO2_LIBS
17449 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17450 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17451 RESOLV_LIBS = $RESOLV_LIBS
17452 LCMS2_CFLAGS = $LCMS2_CFLAGS
17453 LCMS2_LIBS = $LCMS2_LIBS
17454 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17455 FREETYPE_LIBS = $FREETYPE_LIBS
17456 Z_LIBS = $Z_LIBS
17457 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17458 PULSE_CFLAGS = $PULSE_CFLAGS
17459 PULSE_LIBS = $PULSE_LIBS
17460 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17461 GSTREAMER_LIBS = $GSTREAMER_LIBS
17462 ALSA_LIBS = $ALSA_LIBS
17463 OSS4_CFLAGS = $OSS4_CFLAGS
17464 UDEV_CFLAGS = $UDEV_CFLAGS
17465 UDEV_LIBS = $UDEV_LIBS
17466 CAPI20_CFLAGS = $CAPI20_CFLAGS
17467 CAPI20_LIBS = $CAPI20_LIBS
17468 CUPS_CFLAGS = $CUPS_CFLAGS
17469 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17470 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17471 JPEG_CFLAGS = $JPEG_CFLAGS
17472 JPEG_LIBS = $JPEG_LIBS
17473 PNG_CFLAGS = $PNG_CFLAGS
17474 PNG_LIBS = $PNG_LIBS
17475 TIFF_CFLAGS = $TIFF_CFLAGS
17476 TIFF_LIBS = $TIFF_LIBS
17477 MPG123_CFLAGS = $MPG123_CFLAGS
17478 MPG123_LIBS = $MPG123_LIBS
17479 KSTAT_LIBS = $KSTAT_LIBS
17480 PROCSTAT_LIBS = $PROCSTAT_LIBS
17481 NETAPI_CFLAGS = $NETAPI_CFLAGS
17482 NETAPI_LIBS = $NETAPI_LIBS
17483 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17484 DL_LIBS = $DL_LIBS
17485 POLL_LIBS = $POLL_LIBS
17486 RT_LIBS = $RT_LIBS
17487 LDAP_LIBS = $LDAP_LIBS
17492 wine_fn_append_rule "
17493 # Rules automatically generated by configure
17495 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17497 .INIT: Makefile
17498 .MAKEFILEDEPS:
17499 all: Makefile
17500 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17501 @./config.status Make.tmp Makefile
17502 depend: \$(MAKEDEP) dummy
17503 \$(MAKEDEP)"
17505 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17506 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17508 if test "x$enable_fonts" != xno; then
17509 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17510 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17511 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17512 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17513 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17514 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17516 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17517 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17518 ac_config_links="$ac_config_links wine:tools/winewrapper"
17519 wine_fn_config_symlink wine
17520 if test "x$enable_win64" != xno; then
17521 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17522 wine_fn_config_symlink wine64
17525 wine_fn_config_dll acledit enable_acledit
17526 wine_fn_config_dll aclui enable_aclui implib
17527 wine_fn_config_dll activeds enable_activeds implib
17528 wine_fn_config_dll actxprxy enable_actxprxy clean
17529 wine_fn_config_lib adsiid
17530 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17531 wine_fn_config_test dlls/advapi32/tests advapi32_test
17532 wine_fn_config_dll advpack enable_advpack implib
17533 wine_fn_config_test dlls/advpack/tests advpack_test
17534 wine_fn_config_dll amstream enable_amstream clean
17535 wine_fn_config_test dlls/amstream/tests amstream_test
17536 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17537 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17538 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17539 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17540 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17541 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17542 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17543 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17544 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17545 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17546 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17547 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17548 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17549 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17550 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17551 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17553 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17554 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17555 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17556 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17557 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17558 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17559 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17561 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17562 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17563 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17564 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17565 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17567 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17569 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17570 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17572 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17573 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17575 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17578 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17579 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17580 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17582 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17586 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17588 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17590 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17591 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17597 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17602 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17606 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17608 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17609 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17610 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17619 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17624 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17625 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17626 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17627 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17628 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17629 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17630 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17631 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17632 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17633 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17634 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17635 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17636 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17637 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17638 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17639 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17640 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17641 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17642 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17643 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17644 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17645 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17646 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17647 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17648 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17649 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17650 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17651 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17652 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17653 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17654 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17655 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17656 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17657 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17658 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17659 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17660 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17661 wine_fn_config_dll apphelp enable_apphelp
17662 wine_fn_config_test dlls/apphelp/tests apphelp_test
17663 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17664 wine_fn_config_dll atl enable_atl clean,implib
17665 wine_fn_config_test dlls/atl/tests atl_test
17666 wine_fn_config_dll atl100 enable_atl100 clean,implib
17667 wine_fn_config_test dlls/atl100/tests atl100_test
17668 wine_fn_config_dll atl110 enable_atl110 clean
17669 wine_fn_config_dll atl80 enable_atl80 clean,implib
17670 wine_fn_config_test dlls/atl80/tests atl80_test
17671 wine_fn_config_dll atl90 enable_atl90 clean
17672 wine_fn_config_dll authz enable_authz
17673 wine_fn_config_dll avicap32 enable_avicap32 implib
17674 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17675 wine_fn_config_test dlls/avifil32/tests avifil32_test
17676 wine_fn_config_dll avifile.dll16 enable_win16
17677 wine_fn_config_dll avrt enable_avrt implib
17678 wine_fn_config_dll bcrypt enable_bcrypt implib
17679 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17680 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17681 wine_fn_config_dll browseui enable_browseui clean
17682 wine_fn_config_test dlls/browseui/tests browseui_test
17683 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17684 wine_fn_config_dll cabinet enable_cabinet implib
17685 wine_fn_config_test dlls/cabinet/tests cabinet_test
17686 wine_fn_config_dll capi2032 enable_capi2032 implib
17687 wine_fn_config_dll cards enable_cards implib
17688 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17689 wine_fn_config_dll clusapi enable_clusapi implib
17690 wine_fn_config_dll combase enable_combase
17691 wine_fn_config_test dlls/combase/tests combase_test
17692 wine_fn_config_dll comcat enable_comcat
17693 wine_fn_config_test dlls/comcat/tests comcat_test
17694 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17695 wine_fn_config_test dlls/comctl32/tests comctl32_test
17696 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17697 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17698 wine_fn_config_dll comm.drv16 enable_win16
17699 wine_fn_config_dll commdlg.dll16 enable_win16
17700 wine_fn_config_dll compobj.dll16 enable_win16
17701 wine_fn_config_dll compstui enable_compstui implib
17702 wine_fn_config_dll comsvcs enable_comsvcs implib
17703 wine_fn_config_dll concrt140 enable_concrt140
17704 wine_fn_config_dll connect enable_connect
17705 wine_fn_config_dll credui enable_credui clean,implib
17706 wine_fn_config_test dlls/credui/tests credui_test
17707 wine_fn_config_dll crtdll enable_crtdll
17708 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17709 wine_fn_config_test dlls/crypt32/tests crypt32_test
17710 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17711 wine_fn_config_dll cryptdll enable_cryptdll implib
17712 wine_fn_config_dll cryptext enable_cryptext
17713 wine_fn_config_dll cryptnet enable_cryptnet implib
17714 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17715 wine_fn_config_dll cryptui enable_cryptui clean,implib
17716 wine_fn_config_test dlls/cryptui/tests cryptui_test
17717 wine_fn_config_dll ctapi32 enable_ctapi32
17718 wine_fn_config_dll ctl3d.dll16 enable_win16
17719 wine_fn_config_dll ctl3d32 enable_ctl3d32
17720 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17721 wine_fn_config_dll d2d1 enable_d2d1 implib
17722 wine_fn_config_test dlls/d2d1/tests d2d1_test
17723 wine_fn_config_dll d3d10 enable_d3d10 implib
17724 wine_fn_config_test dlls/d3d10/tests d3d10_test
17725 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17726 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17727 wine_fn_config_dll d3d10core enable_d3d10core implib
17728 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17729 wine_fn_config_dll d3d11 enable_d3d11 implib
17730 wine_fn_config_test dlls/d3d11/tests d3d11_test
17731 wine_fn_config_dll d3d8 enable_d3d8 implib
17732 wine_fn_config_test dlls/d3d8/tests d3d8_test
17733 wine_fn_config_dll d3d9 enable_d3d9 implib
17734 wine_fn_config_test dlls/d3d9/tests d3d9_test
17735 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17736 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17737 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17738 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17739 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17740 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17741 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17742 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17743 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17744 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17745 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17746 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17747 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17748 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17749 wine_fn_config_dll d3dim enable_d3dim
17750 wine_fn_config_dll d3drm enable_d3drm implib
17751 wine_fn_config_test dlls/d3drm/tests d3drm_test
17752 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17753 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17754 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17755 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17756 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17757 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17758 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17759 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17760 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17761 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17762 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17763 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17764 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17765 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17766 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17767 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17768 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17769 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17770 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17771 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17772 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17773 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17774 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17775 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17776 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17777 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17778 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17779 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17780 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17781 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17782 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17783 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17784 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17785 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17786 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17787 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17788 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17789 wine_fn_config_dll davclnt enable_davclnt
17790 wine_fn_config_dll dbgeng enable_dbgeng implib
17791 wine_fn_config_dll dbghelp enable_dbghelp implib
17792 wine_fn_config_dll dciman32 enable_dciman32 implib
17793 wine_fn_config_dll ddeml.dll16 enable_win16
17794 wine_fn_config_dll ddraw enable_ddraw clean,implib
17795 wine_fn_config_test dlls/ddraw/tests ddraw_test
17796 wine_fn_config_dll ddrawex enable_ddrawex clean
17797 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17798 wine_fn_config_dll devenum enable_devenum clean
17799 wine_fn_config_test dlls/devenum/tests devenum_test
17800 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17801 wine_fn_config_dll difxapi enable_difxapi
17802 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17803 wine_fn_config_test dlls/dinput/tests dinput_test
17804 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17805 wine_fn_config_test dlls/dinput8/tests dinput8_test
17806 wine_fn_config_dll dispdib.dll16 enable_win16
17807 wine_fn_config_dll dispex enable_dispex clean
17808 wine_fn_config_test dlls/dispex/tests dispex_test
17809 wine_fn_config_dll display.drv16 enable_win16
17810 wine_fn_config_dll dmband enable_dmband clean
17811 wine_fn_config_test dlls/dmband/tests dmband_test
17812 wine_fn_config_dll dmcompos enable_dmcompos clean
17813 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17814 wine_fn_config_dll dmime enable_dmime clean
17815 wine_fn_config_test dlls/dmime/tests dmime_test
17816 wine_fn_config_dll dmloader enable_dmloader clean
17817 wine_fn_config_test dlls/dmloader/tests dmloader_test
17818 wine_fn_config_dll dmscript enable_dmscript clean
17819 wine_fn_config_test dlls/dmscript/tests dmscript_test
17820 wine_fn_config_dll dmstyle enable_dmstyle clean
17821 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17822 wine_fn_config_dll dmsynth enable_dmsynth clean
17823 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17824 wine_fn_config_dll dmusic enable_dmusic clean
17825 wine_fn_config_test dlls/dmusic/tests dmusic_test
17826 wine_fn_config_dll dmusic32 enable_dmusic32
17827 wine_fn_config_dll dnsapi enable_dnsapi implib
17828 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17829 wine_fn_config_dll dplay enable_dplay
17830 wine_fn_config_dll dplayx enable_dplayx clean,implib
17831 wine_fn_config_test dlls/dplayx/tests dplayx_test
17832 wine_fn_config_dll dpnaddr enable_dpnaddr
17833 wine_fn_config_dll dpnet enable_dpnet clean,implib
17834 wine_fn_config_test dlls/dpnet/tests dpnet_test
17835 wine_fn_config_dll dpnhpast enable_dpnhpast
17836 wine_fn_config_dll dpnlobby enable_dpnlobby
17837 wine_fn_config_dll dpvoice enable_dpvoice clean
17838 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17839 wine_fn_config_dll dpwsockx enable_dpwsockx
17840 wine_fn_config_dll drmclien enable_drmclien
17841 wine_fn_config_dll dsound enable_dsound clean,implib
17842 wine_fn_config_test dlls/dsound/tests dsound_test
17843 wine_fn_config_dll dssenh enable_dssenh
17844 wine_fn_config_test dlls/dssenh/tests dssenh_test
17845 wine_fn_config_dll dswave enable_dswave clean
17846 wine_fn_config_test dlls/dswave/tests dswave_test
17847 wine_fn_config_dll dwmapi enable_dwmapi implib
17848 wine_fn_config_dll dwrite enable_dwrite implib
17849 wine_fn_config_test dlls/dwrite/tests dwrite_test
17850 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17851 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17852 wine_fn_config_lib dxerr8
17853 wine_fn_config_lib dxerr9
17854 wine_fn_config_dll dxgi enable_dxgi implib
17855 wine_fn_config_test dlls/dxgi/tests dxgi_test
17856 wine_fn_config_lib dxguid
17857 wine_fn_config_dll dxva2 enable_dxva2
17858 wine_fn_config_dll esent enable_esent
17859 wine_fn_config_dll evr enable_evr
17860 wine_fn_config_dll explorerframe enable_explorerframe clean
17861 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17862 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17863 wine_fn_config_dll faultrep enable_faultrep implib
17864 wine_fn_config_test dlls/faultrep/tests faultrep_test
17865 wine_fn_config_dll fltlib enable_fltlib
17866 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17867 wine_fn_config_dll fntcache enable_fntcache
17868 wine_fn_config_dll fontsub enable_fontsub
17869 wine_fn_config_dll fusion enable_fusion
17870 wine_fn_config_test dlls/fusion/tests fusion_test
17871 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17872 wine_fn_config_dll gameux enable_gameux clean
17873 wine_fn_config_test dlls/gameux/tests gameux_test
17874 wine_fn_config_dll gdi.exe16 enable_win16
17875 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17876 wine_fn_config_test dlls/gdi32/tests gdi32_test
17877 wine_fn_config_dll gdiplus enable_gdiplus implib
17878 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17879 wine_fn_config_dll glu32 enable_glu32 implib
17880 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17881 wine_fn_config_dll gpkcsp enable_gpkcsp
17882 wine_fn_config_dll hal enable_hal
17883 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17884 wine_fn_config_dll hid enable_hid implib
17885 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17886 wine_fn_config_dll hlink enable_hlink clean,implib
17887 wine_fn_config_test dlls/hlink/tests hlink_test
17888 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17889 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17890 wine_fn_config_dll httpapi enable_httpapi
17891 wine_fn_config_dll iccvid enable_iccvid clean
17892 wine_fn_config_dll icmp enable_icmp
17893 wine_fn_config_dll ieframe enable_ieframe clean,implib
17894 wine_fn_config_test dlls/ieframe/tests ieframe_test
17895 wine_fn_config_dll ifsmgr.vxd enable_win16
17896 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17897 wine_fn_config_dll imagehlp enable_imagehlp implib
17898 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17899 wine_fn_config_dll imm.dll16 enable_win16
17900 wine_fn_config_dll imm32 enable_imm32 implib
17901 wine_fn_config_test dlls/imm32/tests imm32_test
17902 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17903 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17904 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17905 wine_fn_config_dll inetmib1 enable_inetmib1
17906 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17907 wine_fn_config_dll infosoft enable_infosoft clean
17908 wine_fn_config_test dlls/infosoft/tests infosoft_test
17909 wine_fn_config_dll initpki enable_initpki
17910 wine_fn_config_dll inkobj enable_inkobj
17911 wine_fn_config_dll inseng enable_inseng clean
17912 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17913 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17914 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17915 wine_fn_config_dll itircl enable_itircl
17916 wine_fn_config_dll itss enable_itss clean
17917 wine_fn_config_test dlls/itss/tests itss_test
17918 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17919 wine_fn_config_dll jscript enable_jscript clean
17920 wine_fn_config_test dlls/jscript/tests jscript_test
17921 wine_fn_config_dll jsproxy enable_jsproxy implib
17922 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17923 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17924 wine_fn_config_test dlls/kernel32/tests kernel32_test
17925 wine_fn_config_dll kernelbase enable_kernelbase
17926 wine_fn_config_dll keyboard.drv16 enable_win16
17927 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17928 wine_fn_config_dll ksuser enable_ksuser
17929 wine_fn_config_dll ktmw32 enable_ktmw32
17930 wine_fn_config_dll loadperf enable_loadperf implib
17931 wine_fn_config_dll localspl enable_localspl clean
17932 wine_fn_config_test dlls/localspl/tests localspl_test
17933 wine_fn_config_dll localui enable_localui clean
17934 wine_fn_config_test dlls/localui/tests localui_test
17935 wine_fn_config_dll lz32 enable_lz32 implib
17936 wine_fn_config_test dlls/lz32/tests lz32_test
17937 wine_fn_config_dll lzexpand.dll16 enable_win16
17938 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17939 wine_fn_config_test dlls/mapi32/tests mapi32_test
17940 wine_fn_config_dll mapistub enable_mapistub
17941 wine_fn_config_dll mciavi32 enable_mciavi32
17942 wine_fn_config_dll mcicda enable_mcicda
17943 wine_fn_config_dll mciqtz32 enable_mciqtz32
17944 wine_fn_config_dll mciseq enable_mciseq
17945 wine_fn_config_dll mciwave enable_mciwave
17946 wine_fn_config_dll mf enable_mf
17947 wine_fn_config_dll mfplat enable_mfplat
17948 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17949 wine_fn_config_dll mgmtapi enable_mgmtapi
17950 wine_fn_config_dll midimap enable_midimap
17951 wine_fn_config_dll mlang enable_mlang clean,implib
17952 wine_fn_config_test dlls/mlang/tests mlang_test
17953 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17954 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17955 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17956 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17957 wine_fn_config_dll mmdevldr.vxd enable_win16
17958 wine_fn_config_dll mmsystem.dll16 enable_win16
17959 wine_fn_config_dll monodebg.vxd enable_win16
17960 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17961 wine_fn_config_dll mouse.drv16 enable_win16
17962 wine_fn_config_dll mpr enable_mpr clean,implib
17963 wine_fn_config_test dlls/mpr/tests mpr_test
17964 wine_fn_config_dll mprapi enable_mprapi implib
17965 wine_fn_config_dll msacm.dll16 enable_win16
17966 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17967 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17968 wine_fn_config_test dlls/msacm32/tests msacm32_test
17969 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17970 wine_fn_config_dll msasn1 enable_msasn1 implib
17971 wine_fn_config_dll mscat32 enable_mscat32
17972 wine_fn_config_dll mscms enable_mscms implib
17973 wine_fn_config_test dlls/mscms/tests mscms_test
17974 wine_fn_config_dll mscoree enable_mscoree clean
17975 wine_fn_config_test dlls/mscoree/tests mscoree_test
17976 wine_fn_config_dll msctf enable_msctf clean
17977 wine_fn_config_test dlls/msctf/tests msctf_test
17978 wine_fn_config_dll msctfp enable_msctfp clean
17979 wine_fn_config_dll msdaps enable_msdaps clean
17980 wine_fn_config_dll msdelta enable_msdelta
17981 wine_fn_config_dll msdmo enable_msdmo implib
17982 wine_fn_config_test dlls/msdmo/tests msdmo_test
17983 wine_fn_config_dll msdrm enable_msdrm
17984 wine_fn_config_dll msftedit enable_msftedit
17985 wine_fn_config_dll msg711.acm enable_msg711_acm
17986 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17987 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17988 wine_fn_config_dll mshtml enable_mshtml clean,implib
17989 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17990 wine_fn_config_dll msi enable_msi clean,implib
17991 wine_fn_config_test dlls/msi/tests msi_test
17992 wine_fn_config_dll msident enable_msident clean
17993 wine_fn_config_dll msimg32 enable_msimg32 implib
17994 wine_fn_config_dll msimsg enable_msimsg
17995 wine_fn_config_dll msimtf enable_msimtf clean
17996 wine_fn_config_dll msisip enable_msisip
17997 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17998 wine_fn_config_dll msls31 enable_msls31
17999 wine_fn_config_dll msnet32 enable_msnet32
18000 wine_fn_config_dll mspatcha enable_mspatcha implib
18001 wine_fn_config_dll msports enable_msports
18002 wine_fn_config_dll msrle32 enable_msrle32 clean
18003 wine_fn_config_test dlls/msrle32/tests msrle32_test
18004 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18005 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18006 wine_fn_config_dll mssign32 enable_mssign32
18007 wine_fn_config_dll mssip32 enable_mssip32
18008 wine_fn_config_dll mstask enable_mstask clean
18009 wine_fn_config_test dlls/mstask/tests mstask_test
18010 wine_fn_config_dll msvcirt enable_msvcirt
18011 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18012 wine_fn_config_dll msvcm80 enable_msvcm80
18013 wine_fn_config_dll msvcm90 enable_msvcm90
18014 wine_fn_config_dll msvcp100 enable_msvcp100
18015 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18016 wine_fn_config_dll msvcp110 enable_msvcp110
18017 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18018 wine_fn_config_dll msvcp120 enable_msvcp120
18019 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18020 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18021 wine_fn_config_dll msvcp140 enable_msvcp140
18022 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18023 wine_fn_config_dll msvcp60 enable_msvcp60
18024 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18025 wine_fn_config_dll msvcp70 enable_msvcp70
18026 wine_fn_config_dll msvcp71 enable_msvcp71
18027 wine_fn_config_dll msvcp80 enable_msvcp80
18028 wine_fn_config_dll msvcp90 enable_msvcp90
18029 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18030 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18031 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18032 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18033 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18034 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18035 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18036 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18037 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18038 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18039 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18040 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18041 wine_fn_config_dll msvcrt enable_msvcrt implib
18042 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18043 wine_fn_config_dll msvcrt20 enable_msvcrt20
18044 wine_fn_config_dll msvcrt40 enable_msvcrt40
18045 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18046 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18047 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18048 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18049 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18050 wine_fn_config_dll msvideo.dll16 enable_win16
18051 wine_fn_config_dll mswsock enable_mswsock implib
18052 wine_fn_config_dll msxml enable_msxml clean
18053 wine_fn_config_dll msxml2 enable_msxml2 clean
18054 wine_fn_config_dll msxml3 enable_msxml3 clean
18055 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18056 wine_fn_config_dll msxml4 enable_msxml4 clean
18057 wine_fn_config_dll msxml6 enable_msxml6 clean
18058 wine_fn_config_dll ncrypt enable_ncrypt
18059 wine_fn_config_dll nddeapi enable_nddeapi implib
18060 wine_fn_config_dll ndis.sys enable_ndis_sys
18061 wine_fn_config_dll netapi32 enable_netapi32 implib
18062 wine_fn_config_test dlls/netapi32/tests netapi32_test
18063 wine_fn_config_dll netcfgx enable_netcfgx clean
18064 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18065 wine_fn_config_dll netprofm enable_netprofm clean
18066 wine_fn_config_test dlls/netprofm/tests netprofm_test
18067 wine_fn_config_dll newdev enable_newdev implib
18068 wine_fn_config_dll normaliz enable_normaliz implib
18069 wine_fn_config_dll npmshtml enable_npmshtml
18070 wine_fn_config_dll npptools enable_npptools
18071 wine_fn_config_dll ntdll enable_ntdll implib
18072 wine_fn_config_test dlls/ntdll/tests ntdll_test
18073 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18074 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18075 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18076 wine_fn_config_dll ntprint enable_ntprint
18077 wine_fn_config_test dlls/ntprint/tests ntprint_test
18078 wine_fn_config_dll objsel enable_objsel clean
18079 wine_fn_config_dll odbc32 enable_odbc32 implib
18080 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18081 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18082 wine_fn_config_dll odbccu32 enable_odbccu32
18083 wine_fn_config_dll ole2.dll16 enable_win16
18084 wine_fn_config_dll ole2conv.dll16 enable_win16
18085 wine_fn_config_dll ole2disp.dll16 enable_win16
18086 wine_fn_config_dll ole2nls.dll16 enable_win16
18087 wine_fn_config_dll ole2prox.dll16 enable_win16
18088 wine_fn_config_dll ole2thk.dll16 enable_win16
18089 wine_fn_config_dll ole32 enable_ole32 clean,implib
18090 wine_fn_config_test dlls/ole32/tests ole32_test
18091 wine_fn_config_dll oleacc enable_oleacc clean,implib
18092 wine_fn_config_test dlls/oleacc/tests oleacc_test
18093 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18094 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18095 wine_fn_config_dll olecli.dll16 enable_win16
18096 wine_fn_config_dll olecli32 enable_olecli32 implib
18097 wine_fn_config_dll oledb32 enable_oledb32 clean
18098 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18099 wine_fn_config_dll oledlg enable_oledlg clean,implib
18100 wine_fn_config_test dlls/oledlg/tests oledlg_test
18101 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18102 wine_fn_config_dll olesvr.dll16 enable_win16
18103 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18104 wine_fn_config_dll olethk32 enable_olethk32
18105 wine_fn_config_dll openal32 enable_openal32
18106 wine_fn_config_dll opencl enable_opencl
18107 wine_fn_config_dll opengl32 enable_opengl32 implib
18108 wine_fn_config_test dlls/opengl32/tests opengl32_test
18109 wine_fn_config_dll packager enable_packager clean
18110 wine_fn_config_test dlls/packager/tests packager_test
18111 wine_fn_config_dll pdh enable_pdh implib
18112 wine_fn_config_test dlls/pdh/tests pdh_test
18113 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18114 wine_fn_config_dll pidgen enable_pidgen
18115 wine_fn_config_dll powrprof enable_powrprof implib
18116 wine_fn_config_dll printui enable_printui
18117 wine_fn_config_dll prntvpt enable_prntvpt
18118 wine_fn_config_dll propsys enable_propsys clean,implib
18119 wine_fn_config_test dlls/propsys/tests propsys_test
18120 wine_fn_config_dll psapi enable_psapi implib
18121 wine_fn_config_test dlls/psapi/tests psapi_test
18122 wine_fn_config_dll pstorec enable_pstorec clean
18123 wine_fn_config_dll qcap enable_qcap
18124 wine_fn_config_test dlls/qcap/tests qcap_test
18125 wine_fn_config_dll qedit enable_qedit clean
18126 wine_fn_config_test dlls/qedit/tests qedit_test
18127 wine_fn_config_dll qmgr enable_qmgr clean
18128 wine_fn_config_test dlls/qmgr/tests qmgr_test
18129 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18130 wine_fn_config_dll quartz enable_quartz clean,implib
18131 wine_fn_config_test dlls/quartz/tests quartz_test clean
18132 wine_fn_config_dll query enable_query
18133 wine_fn_config_dll rasapi16.dll16 enable_win16
18134 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18135 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18136 wine_fn_config_dll rasdlg enable_rasdlg implib
18137 wine_fn_config_dll regapi enable_regapi
18138 wine_fn_config_dll resutils enable_resutils implib
18139 wine_fn_config_dll riched20 enable_riched20 clean,implib
18140 wine_fn_config_test dlls/riched20/tests riched20_test
18141 wine_fn_config_dll riched32 enable_riched32
18142 wine_fn_config_test dlls/riched32/tests riched32_test
18143 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18144 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18145 wine_fn_config_dll rsabase enable_rsabase
18146 wine_fn_config_dll rsaenh enable_rsaenh implib
18147 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18148 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18149 wine_fn_config_dll rtutils enable_rtutils implib
18150 wine_fn_config_dll samlib enable_samlib
18151 wine_fn_config_dll sane.ds enable_sane_ds clean
18152 wine_fn_config_dll scarddlg enable_scarddlg
18153 wine_fn_config_dll sccbase enable_sccbase
18154 wine_fn_config_dll schannel enable_schannel
18155 wine_fn_config_test dlls/schannel/tests schannel_test
18156 wine_fn_config_dll schedsvc enable_schedsvc clean
18157 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18158 wine_fn_config_dll scrrun enable_scrrun clean
18159 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18160 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18161 wine_fn_config_dll secur32 enable_secur32 implib
18162 wine_fn_config_test dlls/secur32/tests secur32_test
18163 wine_fn_config_dll security enable_security
18164 wine_fn_config_dll sensapi enable_sensapi implib
18165 wine_fn_config_dll serialui enable_serialui clean
18166 wine_fn_config_test dlls/serialui/tests serialui_test
18167 wine_fn_config_dll setupapi enable_setupapi clean,implib
18168 wine_fn_config_test dlls/setupapi/tests setupapi_test
18169 wine_fn_config_dll setupx.dll16 enable_win16
18170 wine_fn_config_dll sfc enable_sfc implib
18171 wine_fn_config_dll sfc_os enable_sfc_os implib
18172 wine_fn_config_dll shdoclc enable_shdoclc clean
18173 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18174 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18175 wine_fn_config_dll shell.dll16 enable_win16
18176 wine_fn_config_dll shell32 enable_shell32 clean,implib
18177 wine_fn_config_test dlls/shell32/tests shell32_test
18178 wine_fn_config_dll shfolder enable_shfolder implib
18179 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18180 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18181 wine_fn_config_dll slbcsp enable_slbcsp
18182 wine_fn_config_dll slc enable_slc implib
18183 wine_fn_config_test dlls/slc/tests slc_test
18184 wine_fn_config_dll snmpapi enable_snmpapi implib
18185 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18186 wine_fn_config_dll softpub enable_softpub
18187 wine_fn_config_dll sound.drv16 enable_win16
18188 wine_fn_config_dll spoolss enable_spoolss implib
18189 wine_fn_config_test dlls/spoolss/tests spoolss_test
18190 wine_fn_config_dll sspicli enable_sspicli
18191 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18192 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18193 wine_fn_config_dll sti enable_sti clean,implib
18194 wine_fn_config_test dlls/sti/tests sti_test
18195 wine_fn_config_dll storage.dll16 enable_win16
18196 wine_fn_config_dll stress.dll16 enable_win16
18197 wine_fn_config_lib strmbase
18198 wine_fn_config_lib strmiids
18199 wine_fn_config_dll svrapi enable_svrapi
18200 wine_fn_config_dll sxs enable_sxs implib
18201 wine_fn_config_test dlls/sxs/tests sxs_test
18202 wine_fn_config_dll system.drv16 enable_win16
18203 wine_fn_config_dll t2embed enable_t2embed implib
18204 wine_fn_config_test dlls/t2embed/tests t2embed_test
18205 wine_fn_config_dll tapi32 enable_tapi32 implib
18206 wine_fn_config_dll taskschd enable_taskschd clean
18207 wine_fn_config_test dlls/taskschd/tests taskschd_test
18208 wine_fn_config_dll tdi.sys enable_tdi_sys
18209 wine_fn_config_dll toolhelp.dll16 enable_win16
18210 wine_fn_config_dll traffic enable_traffic
18211 wine_fn_config_dll twain.dll16 enable_win16
18212 wine_fn_config_dll twain_32 enable_twain_32
18213 wine_fn_config_test dlls/twain_32/tests twain_32_test
18214 wine_fn_config_dll typelib.dll16 enable_win16
18215 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18216 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18217 wine_fn_config_dll unicows enable_unicows implib
18218 wine_fn_config_dll updspapi enable_updspapi
18219 wine_fn_config_dll url enable_url implib
18220 wine_fn_config_dll urlmon enable_urlmon clean,implib
18221 wine_fn_config_test dlls/urlmon/tests urlmon_test
18222 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18223 wine_fn_config_dll user.exe16 enable_win16
18224 wine_fn_config_dll user32 enable_user32 clean,implib
18225 wine_fn_config_test dlls/user32/tests user32_test
18226 wine_fn_config_dll userenv enable_userenv implib
18227 wine_fn_config_test dlls/userenv/tests userenv_test
18228 wine_fn_config_dll usp10 enable_usp10 implib
18229 wine_fn_config_test dlls/usp10/tests usp10_test
18230 wine_fn_config_lib uuid
18231 wine_fn_config_dll uxtheme enable_uxtheme implib
18232 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18233 wine_fn_config_dll vbscript enable_vbscript clean
18234 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18235 wine_fn_config_dll vcomp enable_vcomp
18236 wine_fn_config_test dlls/vcomp/tests vcomp_test
18237 wine_fn_config_dll vcomp100 enable_vcomp100
18238 wine_fn_config_dll vcomp110 enable_vcomp110
18239 wine_fn_config_dll vcomp120 enable_vcomp120
18240 wine_fn_config_dll vcomp140 enable_vcomp140
18241 wine_fn_config_dll vcomp90 enable_vcomp90
18242 wine_fn_config_dll vcruntime140 enable_vcruntime140
18243 wine_fn_config_dll vdhcp.vxd enable_win16
18244 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18245 wine_fn_config_dll ver.dll16 enable_win16
18246 wine_fn_config_dll version enable_version implib
18247 wine_fn_config_test dlls/version/tests version_test
18248 wine_fn_config_dll vmm.vxd enable_win16
18249 wine_fn_config_dll vnbt.vxd enable_win16
18250 wine_fn_config_dll vnetbios.vxd enable_win16
18251 wine_fn_config_dll vssapi enable_vssapi
18252 wine_fn_config_dll vtdapi.vxd enable_win16
18253 wine_fn_config_dll vwin32.vxd enable_win16
18254 wine_fn_config_dll w32skrnl enable_win16
18255 wine_fn_config_dll w32sys.dll16 enable_win16
18256 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18257 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18258 wine_fn_config_dll wbemprox enable_wbemprox clean
18259 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18260 wine_fn_config_dll webservices enable_webservices implib
18261 wine_fn_config_test dlls/webservices/tests webservices_test
18262 wine_fn_config_dll wer enable_wer implib
18263 wine_fn_config_test dlls/wer/tests wer_test
18264 wine_fn_config_dll wevtapi enable_wevtapi
18265 wine_fn_config_dll wiaservc enable_wiaservc clean
18266 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18267 wine_fn_config_dll wimgapi enable_wimgapi
18268 wine_fn_config_dll win32s16.dll16 enable_win16
18269 wine_fn_config_dll win87em.dll16 enable_win16
18270 wine_fn_config_dll winaspi.dll16 enable_win16
18271 wine_fn_config_dll windebug.dll16 enable_win16
18272 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18273 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18274 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18275 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18276 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18277 wine_fn_config_dll winebus.sys enable_winebus_sys
18278 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18279 wine_fn_config_lib winecrt0
18280 wine_fn_config_dll wined3d enable_wined3d implib
18281 wine_fn_config_dll winegstreamer enable_winegstreamer
18282 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18283 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18284 wine_fn_config_dll winemapi enable_winemapi
18285 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18286 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18287 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18288 wine_fn_config_dll wineps16.drv16 enable_win16
18289 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18290 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18291 wine_fn_config_dll winex11.drv enable_winex11_drv
18292 wine_fn_config_dll wing.dll16 enable_win16
18293 wine_fn_config_dll wing32 enable_wing32
18294 wine_fn_config_dll winhttp enable_winhttp clean,implib
18295 wine_fn_config_test dlls/winhttp/tests winhttp_test
18296 wine_fn_config_dll wininet enable_wininet clean,implib
18297 wine_fn_config_test dlls/wininet/tests wininet_test
18298 wine_fn_config_dll winmm enable_winmm clean,implib
18299 wine_fn_config_test dlls/winmm/tests winmm_test
18300 wine_fn_config_dll winnls.dll16 enable_win16
18301 wine_fn_config_dll winnls32 enable_winnls32 implib
18302 wine_fn_config_dll winscard enable_winscard implib
18303 wine_fn_config_dll winsock.dll16 enable_win16
18304 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18305 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18306 wine_fn_config_dll winsta enable_winsta
18307 wine_fn_config_dll wintab.dll16 enable_win16
18308 wine_fn_config_dll wintab32 enable_wintab32 implib
18309 wine_fn_config_test dlls/wintab32/tests wintab32_test
18310 wine_fn_config_dll wintrust enable_wintrust implib
18311 wine_fn_config_test dlls/wintrust/tests wintrust_test
18312 wine_fn_config_dll wlanapi enable_wlanapi
18313 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18314 wine_fn_config_test dlls/wldap32/tests wldap32_test
18315 wine_fn_config_dll wmasf enable_wmasf
18316 wine_fn_config_dll wmi enable_wmi
18317 wine_fn_config_dll wmiutils enable_wmiutils clean
18318 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18319 wine_fn_config_dll wmp enable_wmp clean
18320 wine_fn_config_test dlls/wmp/tests wmp_test
18321 wine_fn_config_dll wmvcore enable_wmvcore
18322 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18323 wine_fn_config_dll wow32 enable_win16 implib
18324 wine_fn_config_dll wpc enable_wpc clean
18325 wine_fn_config_test dlls/wpc/tests wpc_test
18326 wine_fn_config_dll wpcap enable_wpcap
18327 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18328 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18329 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18330 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18331 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18332 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18333 wine_fn_config_dll wsock32 enable_wsock32 implib
18334 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18335 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18336 wine_fn_config_dll wuapi enable_wuapi clean
18337 wine_fn_config_dll wuaueng enable_wuaueng
18338 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18339 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18340 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18341 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18342 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18343 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18344 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18345 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18346 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18347 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18348 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18349 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18350 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18351 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18352 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18353 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18354 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18355 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18356 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18357 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18358 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18359 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18360 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18361 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18362 wine_fn_config_dll xinput1_1 enable_xinput1_1
18363 wine_fn_config_dll xinput1_2 enable_xinput1_2
18364 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18365 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18366 wine_fn_config_dll xinput1_4 enable_xinput1_4
18367 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18368 wine_fn_config_dll xmllite enable_xmllite implib
18369 wine_fn_config_test dlls/xmllite/tests xmllite_test
18370 wine_fn_config_dll xolehlp enable_xolehlp
18371 wine_fn_config_dll xpsprint enable_xpsprint
18372 wine_fn_config_dll xpssvcs enable_xpssvcs
18373 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18374 wine_fn_config_makefile include enable_include clean,install-dev
18375 wine_fn_config_makefile libs/port enable_libs_port
18376 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18377 wine_fn_config_makefile libs/wpp enable_libs_wpp
18378 wine_fn_config_makefile loader enable_loader clean,install-lib
18379 wine_fn_config_makefile po enable_po clean
18380 wine_fn_config_program arp enable_arp install
18381 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18382 wine_fn_config_program attrib enable_attrib clean,install
18383 wine_fn_config_program cabarc enable_cabarc install
18384 wine_fn_config_program cacls enable_cacls install
18385 wine_fn_config_program clock enable_clock clean,install
18386 wine_fn_config_program cmd enable_cmd clean,install
18387 wine_fn_config_test programs/cmd/tests cmd.exe_test
18388 wine_fn_config_program conhost enable_conhost install
18389 wine_fn_config_program control enable_control install
18390 wine_fn_config_program cscript enable_cscript clean,install
18391 wine_fn_config_program dpnsvr enable_dpnsvr install
18392 wine_fn_config_program dxdiag enable_dxdiag clean,install
18393 wine_fn_config_program eject enable_eject install
18394 wine_fn_config_program expand enable_expand install
18395 wine_fn_config_program explorer enable_explorer clean,install
18396 wine_fn_config_program extrac32 enable_extrac32 install
18397 wine_fn_config_program findstr enable_findstr install
18398 wine_fn_config_program fsutil enable_fsutil install
18399 wine_fn_config_program hh enable_hh install
18400 wine_fn_config_program hostname enable_hostname clean,install
18401 wine_fn_config_program icacls enable_icacls install
18402 wine_fn_config_program icinfo enable_icinfo install
18403 wine_fn_config_program iexplore enable_iexplore install
18404 wine_fn_config_program ipconfig enable_ipconfig clean,install
18405 wine_fn_config_program lodctr enable_lodctr install
18406 wine_fn_config_program mofcomp enable_mofcomp install
18407 wine_fn_config_program mshta enable_mshta install
18408 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18409 wine_fn_config_program msinfo32 enable_msinfo32 install
18410 wine_fn_config_program net enable_net clean,install
18411 wine_fn_config_program netsh enable_netsh install
18412 wine_fn_config_program netstat enable_netstat clean,install
18413 wine_fn_config_program ngen enable_ngen install
18414 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18415 wine_fn_config_program oleview enable_oleview clean,install
18416 wine_fn_config_program ping enable_ping install
18417 wine_fn_config_program plugplay enable_plugplay install
18418 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18419 wine_fn_config_program progman enable_progman clean,install
18420 wine_fn_config_program reg enable_reg clean,install
18421 wine_fn_config_test programs/reg/tests reg.exe_test
18422 wine_fn_config_program regasm enable_regasm install
18423 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18424 wine_fn_config_test programs/regedit/tests regedit.exe_test
18425 wine_fn_config_program regsvcs enable_regsvcs install
18426 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18427 wine_fn_config_program rpcss enable_rpcss clean,install
18428 wine_fn_config_program rundll.exe16 enable_win16 install
18429 wine_fn_config_program rundll32 enable_rundll32 install
18430 wine_fn_config_program sc enable_sc install
18431 wine_fn_config_program schtasks enable_schtasks install
18432 wine_fn_config_program sdbinst enable_sdbinst install
18433 wine_fn_config_program secedit enable_secedit install
18434 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18435 wine_fn_config_program services enable_services clean,install
18436 wine_fn_config_test programs/services/tests services.exe_test
18437 wine_fn_config_program shutdown enable_shutdown install
18438 wine_fn_config_program spoolsv enable_spoolsv install
18439 wine_fn_config_program start enable_start clean,install
18440 wine_fn_config_program svchost enable_svchost install
18441 wine_fn_config_program systeminfo enable_systeminfo install
18442 wine_fn_config_program taskkill enable_taskkill clean,install
18443 wine_fn_config_program tasklist enable_tasklist install
18444 wine_fn_config_program taskmgr enable_taskmgr clean,install
18445 wine_fn_config_program termsv enable_termsv install
18446 wine_fn_config_program uninstaller enable_uninstaller clean,install
18447 wine_fn_config_program unlodctr enable_unlodctr install
18448 wine_fn_config_program view enable_view clean,install
18449 wine_fn_config_program wevtutil enable_wevtutil install
18450 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18451 wine_fn_config_program winebrowser enable_winebrowser install
18452 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18453 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18454 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18455 wine_fn_config_program winedevice enable_winedevice install
18456 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18457 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18458 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18459 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18460 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18461 wine_fn_config_program winetest enable_winetest clean
18462 wine_fn_config_program winevdm enable_win16 install
18463 wine_fn_config_program winhelp.exe16 enable_win16 install
18464 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18465 wine_fn_config_program winoldap.mod16 enable_win16 install
18466 wine_fn_config_program winver enable_winver install
18467 wine_fn_config_program wmic enable_wmic clean,install
18468 wine_fn_config_program wmplayer enable_wmplayer install
18469 wine_fn_config_program wordpad enable_wordpad clean,install
18470 wine_fn_config_program write enable_write clean,install
18471 wine_fn_config_program wscript enable_wscript clean,install
18472 wine_fn_config_test programs/wscript/tests wscript.exe_test
18473 wine_fn_config_program wusa enable_wusa install
18474 wine_fn_config_program xcopy enable_xcopy clean,install
18475 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18476 wine_fn_config_makefile server enable_server clean,install-lib
18477 wine_fn_config_tool tools clean
18478 wine_fn_config_tool tools/sfnt2fon clean
18479 wine_fn_config_tool tools/widl clean,install-dev
18480 wine_fn_config_tool tools/winebuild clean,install-dev
18481 wine_fn_config_tool tools/winedump clean,install-dev
18482 wine_fn_config_tool tools/winegcc clean,install-dev
18483 wine_fn_config_tool tools/winemaker clean,install-dev
18484 wine_fn_config_tool tools/wmc clean,install-dev
18485 wine_fn_config_tool tools/wrc clean,install-dev
18488 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18489 wine_fn_append_file CONFIGURE_TARGETS "tags"
18490 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18491 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18492 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18493 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18494 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18495 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18497 if test "x$enable_tools" != xno
18498 then
18499 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18500 ac_config_commands="$ac_config_commands tools/makedep"
18504 ac_config_commands="$ac_config_commands Makefile"
18507 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18511 if test "x$enable_maintainer_mode" = xyes
18512 then
18513 wine_fn_append_rule "configure: configure.ac aclocal.m4
18514 autoconf --warnings=all
18515 include/config.h.in: include/stamp-h.in
18516 include/stamp-h.in: configure.ac aclocal.m4
18517 autoheader --warnings=all
18518 @echo timestamp > \$@"
18521 if test "x$enable_tools" != xno
18522 then
18523 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18524 @./config.status tools/makedep
18525 Makefile: tools/makedep$ac_exeext"
18526 else
18527 wine_fn_append_rule "\$(MAKEDEP):
18528 @echo \"You need to run make in $TOOLSDIR first\" && false"
18531 if test -n "$with_wine64"
18532 then
18533 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18534 fonts server:
18535 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18536 $with_wine64/loader/wine:
18537 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18538 $with_wine64/loader/wine-preloader:
18539 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18540 clean::
18541 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18542 else
18543 WINELOADER_INSTALL="wine.inf"
18545 wine_fn_append_rule "install install-lib::
18546 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18547 uninstall::
18548 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18549 case $host_os in
18550 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18551 *) wine_fn_append_rule "install install-lib::
18552 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18553 uninstall::
18554 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18555 esac
18558 $as_echo " done" >&6
18559 cat >confcache <<\_ACEOF
18560 # This file is a shell script that caches the results of configure
18561 # tests run on this system so they can be shared between configure
18562 # scripts and configure runs, see configure's option --config-cache.
18563 # It is not useful on other systems. If it contains results you don't
18564 # want to keep, you may remove or edit it.
18566 # config.status only pays attention to the cache file if you give it
18567 # the --recheck option to rerun configure.
18569 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18570 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18571 # following values.
18573 _ACEOF
18575 # The following way of writing the cache mishandles newlines in values,
18576 # but we know of no workaround that is simple, portable, and efficient.
18577 # So, we kill variables containing newlines.
18578 # Ultrix sh set writes to stderr and can't be redirected directly,
18579 # and sets the high bit in the cache file unless we assign to the vars.
18581 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18582 eval ac_val=\$$ac_var
18583 case $ac_val in #(
18584 *${as_nl}*)
18585 case $ac_var in #(
18586 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18587 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18588 esac
18589 case $ac_var in #(
18590 _ | IFS | as_nl) ;; #(
18591 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18592 *) { eval $ac_var=; unset $ac_var;} ;;
18593 esac ;;
18594 esac
18595 done
18597 (set) 2>&1 |
18598 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18599 *${as_nl}ac_space=\ *)
18600 # `set' does not quote correctly, so add quotes: double-quote
18601 # substitution turns \\\\ into \\, and sed turns \\ into \.
18602 sed -n \
18603 "s/'/'\\\\''/g;
18604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18605 ;; #(
18607 # `set' quotes correctly as required by POSIX, so do not add quotes.
18608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18610 esac |
18611 sort
18613 sed '
18614 /^ac_cv_env_/b end
18615 t clear
18616 :clear
18617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18618 t end
18619 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18620 :end' >>confcache
18621 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18622 if test -w "$cache_file"; then
18623 if test "x$cache_file" != "x/dev/null"; then
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18625 $as_echo "$as_me: updating cache $cache_file" >&6;}
18626 if test ! -f "$cache_file" || test -h "$cache_file"; then
18627 cat confcache >"$cache_file"
18628 else
18629 case $cache_file in #(
18630 */* | ?:*)
18631 mv -f confcache "$cache_file"$$ &&
18632 mv -f "$cache_file"$$ "$cache_file" ;; #(
18634 mv -f confcache "$cache_file" ;;
18635 esac
18638 else
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18640 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18643 rm -f confcache
18645 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18646 # Let make expand exec_prefix.
18647 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18649 DEFS=-DHAVE_CONFIG_H
18651 ac_libobjs=
18652 ac_ltlibobjs=
18654 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18655 # 1. Remove the extension, and $U if already installed.
18656 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18657 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18658 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18659 # will be set to the directory where LIBOBJS objects are built.
18660 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18661 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18662 done
18663 LIBOBJS=$ac_libobjs
18665 LTLIBOBJS=$ac_ltlibobjs
18669 : "${CONFIG_STATUS=./config.status}"
18670 ac_write_fail=0
18671 ac_clean_files_save=$ac_clean_files
18672 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18674 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18675 as_write_fail=0
18676 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18677 #! $SHELL
18678 # Generated by $as_me.
18679 # Run this file to recreate the current configuration.
18680 # Compiler output produced by configure, useful for debugging
18681 # configure, is in config.log if it exists.
18683 debug=false
18684 ac_cs_recheck=false
18685 ac_cs_silent=false
18687 SHELL=\${CONFIG_SHELL-$SHELL}
18688 export SHELL
18689 _ASEOF
18690 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18691 ## -------------------- ##
18692 ## M4sh Initialization. ##
18693 ## -------------------- ##
18695 # Be more Bourne compatible
18696 DUALCASE=1; export DUALCASE # for MKS sh
18697 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18698 emulate sh
18699 NULLCMD=:
18700 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18701 # is contrary to our usage. Disable this feature.
18702 alias -g '${1+"$@"}'='"$@"'
18703 setopt NO_GLOB_SUBST
18704 else
18705 case `(set -o) 2>/dev/null` in #(
18706 *posix*) :
18707 set -o posix ;; #(
18708 *) :
18710 esac
18714 as_nl='
18716 export as_nl
18717 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18718 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18719 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18720 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18721 # Prefer a ksh shell builtin over an external printf program on Solaris,
18722 # but without wasting forks for bash or zsh.
18723 if test -z "$BASH_VERSION$ZSH_VERSION" \
18724 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18725 as_echo='print -r --'
18726 as_echo_n='print -rn --'
18727 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18728 as_echo='printf %s\n'
18729 as_echo_n='printf %s'
18730 else
18731 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18732 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18733 as_echo_n='/usr/ucb/echo -n'
18734 else
18735 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18736 as_echo_n_body='eval
18737 arg=$1;
18738 case $arg in #(
18739 *"$as_nl"*)
18740 expr "X$arg" : "X\\(.*\\)$as_nl";
18741 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18742 esac;
18743 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18745 export as_echo_n_body
18746 as_echo_n='sh -c $as_echo_n_body as_echo'
18748 export as_echo_body
18749 as_echo='sh -c $as_echo_body as_echo'
18752 # The user is always right.
18753 if test "${PATH_SEPARATOR+set}" != set; then
18754 PATH_SEPARATOR=:
18755 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18756 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18757 PATH_SEPARATOR=';'
18762 # IFS
18763 # We need space, tab and new line, in precisely that order. Quoting is
18764 # there to prevent editors from complaining about space-tab.
18765 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18766 # splitting by setting IFS to empty value.)
18767 IFS=" "" $as_nl"
18769 # Find who we are. Look in the path if we contain no directory separator.
18770 as_myself=
18771 case $0 in #((
18772 *[\\/]* ) as_myself=$0 ;;
18773 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18774 for as_dir in $PATH
18776 IFS=$as_save_IFS
18777 test -z "$as_dir" && as_dir=.
18778 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18779 done
18780 IFS=$as_save_IFS
18783 esac
18784 # We did not find ourselves, most probably we were run as `sh COMMAND'
18785 # in which case we are not to be found in the path.
18786 if test "x$as_myself" = x; then
18787 as_myself=$0
18789 if test ! -f "$as_myself"; then
18790 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18791 exit 1
18794 # Unset variables that we do not need and which cause bugs (e.g. in
18795 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18796 # suppresses any "Segmentation fault" message there. '((' could
18797 # trigger a bug in pdksh 5.2.14.
18798 for as_var in BASH_ENV ENV MAIL MAILPATH
18799 do eval test x\${$as_var+set} = xset \
18800 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18801 done
18802 PS1='$ '
18803 PS2='> '
18804 PS4='+ '
18806 # NLS nuisances.
18807 LC_ALL=C
18808 export LC_ALL
18809 LANGUAGE=C
18810 export LANGUAGE
18812 # CDPATH.
18813 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18816 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18817 # ----------------------------------------
18818 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18819 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18820 # script with STATUS, using 1 if that was 0.
18821 as_fn_error ()
18823 as_status=$1; test $as_status -eq 0 && as_status=1
18824 if test "$4"; then
18825 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18826 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18828 $as_echo "$as_me: error: $2" >&2
18829 as_fn_exit $as_status
18830 } # as_fn_error
18833 # as_fn_set_status STATUS
18834 # -----------------------
18835 # Set $? to STATUS, without forking.
18836 as_fn_set_status ()
18838 return $1
18839 } # as_fn_set_status
18841 # as_fn_exit STATUS
18842 # -----------------
18843 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18844 as_fn_exit ()
18846 set +e
18847 as_fn_set_status $1
18848 exit $1
18849 } # as_fn_exit
18851 # as_fn_unset VAR
18852 # ---------------
18853 # Portably unset VAR.
18854 as_fn_unset ()
18856 { eval $1=; unset $1;}
18858 as_unset=as_fn_unset
18859 # as_fn_append VAR VALUE
18860 # ----------------------
18861 # Append the text in VALUE to the end of the definition contained in VAR. Take
18862 # advantage of any shell optimizations that allow amortized linear growth over
18863 # repeated appends, instead of the typical quadratic growth present in naive
18864 # implementations.
18865 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18866 eval 'as_fn_append ()
18868 eval $1+=\$2
18870 else
18871 as_fn_append ()
18873 eval $1=\$$1\$2
18875 fi # as_fn_append
18877 # as_fn_arith ARG...
18878 # ------------------
18879 # Perform arithmetic evaluation on the ARGs, and store the result in the
18880 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18881 # must be portable across $(()) and expr.
18882 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18883 eval 'as_fn_arith ()
18885 as_val=$(( $* ))
18887 else
18888 as_fn_arith ()
18890 as_val=`expr "$@" || test $? -eq 1`
18892 fi # as_fn_arith
18895 if expr a : '\(a\)' >/dev/null 2>&1 &&
18896 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18897 as_expr=expr
18898 else
18899 as_expr=false
18902 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18903 as_basename=basename
18904 else
18905 as_basename=false
18908 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18909 as_dirname=dirname
18910 else
18911 as_dirname=false
18914 as_me=`$as_basename -- "$0" ||
18915 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18916 X"$0" : 'X\(//\)$' \| \
18917 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18918 $as_echo X/"$0" |
18919 sed '/^.*\/\([^/][^/]*\)\/*$/{
18920 s//\1/
18923 /^X\/\(\/\/\)$/{
18924 s//\1/
18927 /^X\/\(\/\).*/{
18928 s//\1/
18931 s/.*/./; q'`
18933 # Avoid depending upon Character Ranges.
18934 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18935 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18936 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18937 as_cr_digits='0123456789'
18938 as_cr_alnum=$as_cr_Letters$as_cr_digits
18940 ECHO_C= ECHO_N= ECHO_T=
18941 case `echo -n x` in #(((((
18942 -n*)
18943 case `echo 'xy\c'` in
18944 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18945 xy) ECHO_C='\c';;
18946 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18947 ECHO_T=' ';;
18948 esac;;
18950 ECHO_N='-n';;
18951 esac
18953 rm -f conf$$ conf$$.exe conf$$.file
18954 if test -d conf$$.dir; then
18955 rm -f conf$$.dir/conf$$.file
18956 else
18957 rm -f conf$$.dir
18958 mkdir conf$$.dir 2>/dev/null
18960 if (echo >conf$$.file) 2>/dev/null; then
18961 if ln -s conf$$.file conf$$ 2>/dev/null; then
18962 as_ln_s='ln -s'
18963 # ... but there are two gotchas:
18964 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18965 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18966 # In both cases, we have to default to `cp -pR'.
18967 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18968 as_ln_s='cp -pR'
18969 elif ln conf$$.file conf$$ 2>/dev/null; then
18970 as_ln_s=ln
18971 else
18972 as_ln_s='cp -pR'
18974 else
18975 as_ln_s='cp -pR'
18977 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18978 rmdir conf$$.dir 2>/dev/null
18981 # as_fn_mkdir_p
18982 # -------------
18983 # Create "$as_dir" as a directory, including parents if necessary.
18984 as_fn_mkdir_p ()
18987 case $as_dir in #(
18988 -*) as_dir=./$as_dir;;
18989 esac
18990 test -d "$as_dir" || eval $as_mkdir_p || {
18991 as_dirs=
18992 while :; do
18993 case $as_dir in #(
18994 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18995 *) as_qdir=$as_dir;;
18996 esac
18997 as_dirs="'$as_qdir' $as_dirs"
18998 as_dir=`$as_dirname -- "$as_dir" ||
18999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19000 X"$as_dir" : 'X\(//\)[^/]' \| \
19001 X"$as_dir" : 'X\(//\)$' \| \
19002 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19003 $as_echo X"$as_dir" |
19004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19005 s//\1/
19008 /^X\(\/\/\)[^/].*/{
19009 s//\1/
19012 /^X\(\/\/\)$/{
19013 s//\1/
19016 /^X\(\/\).*/{
19017 s//\1/
19020 s/.*/./; q'`
19021 test -d "$as_dir" && break
19022 done
19023 test -z "$as_dirs" || eval "mkdir $as_dirs"
19024 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19027 } # as_fn_mkdir_p
19028 if mkdir -p . 2>/dev/null; then
19029 as_mkdir_p='mkdir -p "$as_dir"'
19030 else
19031 test -d ./-p && rmdir ./-p
19032 as_mkdir_p=false
19036 # as_fn_executable_p FILE
19037 # -----------------------
19038 # Test if FILE is an executable regular file.
19039 as_fn_executable_p ()
19041 test -f "$1" && test -x "$1"
19042 } # as_fn_executable_p
19043 as_test_x='test -x'
19044 as_executable_p=as_fn_executable_p
19046 # Sed expression to map a string onto a valid CPP name.
19047 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19049 # Sed expression to map a string onto a valid variable name.
19050 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19053 exec 6>&1
19054 ## ----------------------------------- ##
19055 ## Main body of $CONFIG_STATUS script. ##
19056 ## ----------------------------------- ##
19057 _ASEOF
19058 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19061 # Save the log message, to keep $0 and so on meaningful, and to
19062 # report actual input values of CONFIG_FILES etc. instead of their
19063 # values after options handling.
19064 ac_log="
19065 This file was extended by Wine $as_me 1.9.18, which was
19066 generated by GNU Autoconf 2.69. Invocation command line was
19068 CONFIG_FILES = $CONFIG_FILES
19069 CONFIG_HEADERS = $CONFIG_HEADERS
19070 CONFIG_LINKS = $CONFIG_LINKS
19071 CONFIG_COMMANDS = $CONFIG_COMMANDS
19072 $ $0 $@
19074 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19077 _ACEOF
19079 case $ac_config_files in *"
19080 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19081 esac
19083 case $ac_config_headers in *"
19084 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19085 esac
19088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19089 # Files that config.status was made for.
19090 config_files="$ac_config_files"
19091 config_headers="$ac_config_headers"
19092 config_links="$ac_config_links"
19093 config_commands="$ac_config_commands"
19095 _ACEOF
19097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19098 ac_cs_usage="\
19099 \`$as_me' instantiates files and other configuration actions
19100 from templates according to the current configuration. Unless the files
19101 and actions are specified as TAGs, all are instantiated by default.
19103 Usage: $0 [OPTION]... [TAG]...
19105 -h, --help print this help, then exit
19106 -V, --version print version number and configuration settings, then exit
19107 --config print configuration, then exit
19108 -q, --quiet, --silent
19109 do not print progress messages
19110 -d, --debug don't remove temporary files
19111 --recheck update $as_me by reconfiguring in the same conditions
19112 --file=FILE[:TEMPLATE]
19113 instantiate the configuration file FILE
19114 --header=FILE[:TEMPLATE]
19115 instantiate the configuration header FILE
19117 Configuration files:
19118 $config_files
19120 Configuration headers:
19121 $config_headers
19123 Configuration links:
19124 $config_links
19126 Configuration commands:
19127 $config_commands
19129 Report bugs to <wine-devel@winehq.org>.
19130 Wine home page: <http://www.winehq.org>."
19132 _ACEOF
19133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19134 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19135 ac_cs_version="\\
19136 Wine config.status 1.9.18
19137 configured by $0, generated by GNU Autoconf 2.69,
19138 with options \\"\$ac_cs_config\\"
19140 Copyright (C) 2012 Free Software Foundation, Inc.
19141 This config.status script is free software; the Free Software Foundation
19142 gives unlimited permission to copy, distribute and modify it."
19144 ac_pwd='$ac_pwd'
19145 srcdir='$srcdir'
19146 test -n "\$AWK" || AWK=awk
19147 _ACEOF
19149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19150 # The default lists apply if the user does not specify any file.
19151 ac_need_defaults=:
19152 while test $# != 0
19154 case $1 in
19155 --*=?*)
19156 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19157 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19158 ac_shift=:
19160 --*=)
19161 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19162 ac_optarg=
19163 ac_shift=:
19166 ac_option=$1
19167 ac_optarg=$2
19168 ac_shift=shift
19170 esac
19172 case $ac_option in
19173 # Handling of the options.
19174 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19175 ac_cs_recheck=: ;;
19176 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19177 $as_echo "$ac_cs_version"; exit ;;
19178 --config | --confi | --conf | --con | --co | --c )
19179 $as_echo "$ac_cs_config"; exit ;;
19180 --debug | --debu | --deb | --de | --d | -d )
19181 debug=: ;;
19182 --file | --fil | --fi | --f )
19183 $ac_shift
19184 case $ac_optarg in
19185 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19186 '') as_fn_error $? "missing file argument" ;;
19187 esac
19188 as_fn_append CONFIG_FILES " '$ac_optarg'"
19189 ac_need_defaults=false;;
19190 --header | --heade | --head | --hea )
19191 $ac_shift
19192 case $ac_optarg in
19193 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19194 esac
19195 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19196 ac_need_defaults=false;;
19197 --he | --h)
19198 # Conflict between --help and --header
19199 as_fn_error $? "ambiguous option: \`$1'
19200 Try \`$0 --help' for more information.";;
19201 --help | --hel | -h )
19202 $as_echo "$ac_cs_usage"; exit ;;
19203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19204 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19205 ac_cs_silent=: ;;
19207 # This is an error.
19208 -*) as_fn_error $? "unrecognized option: \`$1'
19209 Try \`$0 --help' for more information." ;;
19211 *) as_fn_append ac_config_targets " $1"
19212 ac_need_defaults=false ;;
19214 esac
19215 shift
19216 done
19218 ac_configure_extra_args=
19220 if $ac_cs_silent; then
19221 exec 6>/dev/null
19222 ac_configure_extra_args="$ac_configure_extra_args --silent"
19225 _ACEOF
19226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19227 if \$ac_cs_recheck; then
19228 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19229 shift
19230 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19231 CONFIG_SHELL='$SHELL'
19232 export CONFIG_SHELL
19233 exec "\$@"
19236 _ACEOF
19237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19238 exec 5>>config.log
19240 echo
19241 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19242 ## Running $as_me. ##
19243 _ASBOX
19244 $as_echo "$ac_log"
19245 } >&5
19247 _ACEOF
19248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19250 # INIT-COMMANDS
19252 wine_fn_output_makedep ()
19254 as_dir=tools; as_fn_mkdir_p
19255 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19257 wine_fn_output_makefile ()
19259 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19260 `cat $wine_rules_file`
19261 _WINE_EOF
19262 as_fn_error $? "could not create Makefile" "$LINENO" 5
19265 _ACEOF
19267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19269 # Handling of arguments.
19270 for ac_config_target in $ac_config_targets
19272 case $ac_config_target in
19273 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19274 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19275 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19276 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19277 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19278 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19279 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19280 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19281 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19282 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19283 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19284 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19285 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19287 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19288 esac
19289 done
19292 # If the user did not use the arguments to specify the items to instantiate,
19293 # then the envvar interface is used. Set only those that are not.
19294 # We use the long form for the default assignment because of an extremely
19295 # bizarre bug on SunOS 4.1.3.
19296 if $ac_need_defaults; then
19297 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19298 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19299 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19303 # Have a temporary directory for convenience. Make it in the build tree
19304 # simply because there is no reason against having it here, and in addition,
19305 # creating and moving files from /tmp can sometimes cause problems.
19306 # Hook for its removal unless debugging.
19307 # Note that there is a small window in which the directory will not be cleaned:
19308 # after its creation but before its name has been assigned to `$tmp'.
19309 $debug ||
19311 tmp= ac_tmp=
19312 trap 'exit_status=$?
19313 : "${ac_tmp:=$tmp}"
19314 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19316 trap 'as_fn_exit 1' 1 2 13 15
19318 # Create a (secure) tmp directory for tmp files.
19321 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19322 test -d "$tmp"
19323 } ||
19325 tmp=./conf$$-$RANDOM
19326 (umask 077 && mkdir "$tmp")
19327 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19328 ac_tmp=$tmp
19330 # Set up the scripts for CONFIG_FILES section.
19331 # No need to generate them if there are no CONFIG_FILES.
19332 # This happens for instance with `./config.status config.h'.
19333 if test -n "$CONFIG_FILES"; then
19336 ac_cr=`echo X | tr X '\015'`
19337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19338 # But we know of no other shell where ac_cr would be empty at this
19339 # point, so we can use a bashism as a fallback.
19340 if test "x$ac_cr" = x; then
19341 eval ac_cr=\$\'\\r\'
19343 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19345 ac_cs_awk_cr='\\r'
19346 else
19347 ac_cs_awk_cr=$ac_cr
19350 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19351 _ACEOF
19355 echo "cat >conf$$subs.awk <<_ACEOF" &&
19356 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19357 echo "_ACEOF"
19358 } >conf$$subs.sh ||
19359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19361 ac_delim='%!_!# '
19362 for ac_last_try in false false false false false :; do
19363 . ./conf$$subs.sh ||
19364 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19366 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19367 if test $ac_delim_n = $ac_delim_num; then
19368 break
19369 elif $ac_last_try; then
19370 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19371 else
19372 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19374 done
19375 rm -f conf$$subs.sh
19377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19378 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19379 _ACEOF
19380 sed -n '
19382 s/^/S["/; s/!.*/"]=/
19385 s/^[^!]*!//
19386 :repl
19387 t repl
19388 s/'"$ac_delim"'$//
19389 t delim
19392 s/\(.\{148\}\)..*/\1/
19393 t more1
19394 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19397 b repl
19398 :more1
19399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19402 s/.\{148\}//
19403 t nl
19404 :delim
19406 s/\(.\{148\}\)..*/\1/
19407 t more2
19408 s/["\\]/\\&/g; s/^/"/; s/$/"/
19411 :more2
19412 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19415 s/.\{148\}//
19416 t delim
19417 ' <conf$$subs.awk | sed '
19418 /^[^""]/{
19420 s/\n//
19422 ' >>$CONFIG_STATUS || ac_write_fail=1
19423 rm -f conf$$subs.awk
19424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19425 _ACAWK
19426 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19427 for (key in S) S_is_set[key] = 1
19428 FS = "\a"
19432 line = $ 0
19433 nfields = split(line, field, "@")
19434 substed = 0
19435 len = length(field[1])
19436 for (i = 2; i < nfields; i++) {
19437 key = field[i]
19438 keylen = length(key)
19439 if (S_is_set[key]) {
19440 value = S[key]
19441 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19442 len += length(value) + length(field[++i])
19443 substed = 1
19444 } else
19445 len += 1 + keylen
19448 print line
19451 _ACAWK
19452 _ACEOF
19453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19454 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19455 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19456 else
19458 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19459 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19460 _ACEOF
19462 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19463 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19464 # trailing colons and then remove the whole line if VPATH becomes empty
19465 # (actually we leave an empty line to preserve line numbers).
19466 if test "x$srcdir" = x.; then
19467 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19469 s///
19470 s/^/:/
19471 s/[ ]*$/:/
19472 s/:\$(srcdir):/:/g
19473 s/:\${srcdir}:/:/g
19474 s/:@srcdir@:/:/g
19475 s/^:*//
19476 s/:*$//
19478 s/\(=[ ]*\).*/\1/
19480 s/\n//
19481 s/^[^=]*=[ ]*$//
19485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19486 fi # test -n "$CONFIG_FILES"
19488 # Set up the scripts for CONFIG_HEADERS section.
19489 # No need to generate them if there are no CONFIG_HEADERS.
19490 # This happens for instance with `./config.status Makefile'.
19491 if test -n "$CONFIG_HEADERS"; then
19492 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19493 BEGIN {
19494 _ACEOF
19496 # Transform confdefs.h into an awk script `defines.awk', embedded as
19497 # here-document in config.status, that substitutes the proper values into
19498 # config.h.in to produce config.h.
19500 # Create a delimiter string that does not exist in confdefs.h, to ease
19501 # handling of long lines.
19502 ac_delim='%!_!# '
19503 for ac_last_try in false false :; do
19504 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19505 if test -z "$ac_tt"; then
19506 break
19507 elif $ac_last_try; then
19508 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19509 else
19510 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19512 done
19514 # For the awk script, D is an array of macro values keyed by name,
19515 # likewise P contains macro parameters if any. Preserve backslash
19516 # newline sequences.
19518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19519 sed -n '
19520 s/.\{148\}/&'"$ac_delim"'/g
19521 t rset
19522 :rset
19523 s/^[ ]*#[ ]*define[ ][ ]*/ /
19524 t def
19526 :def
19527 s/\\$//
19528 t bsnl
19529 s/["\\]/\\&/g
19530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19531 D["\1"]=" \3"/p
19532 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19534 :bsnl
19535 s/["\\]/\\&/g
19536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19537 D["\1"]=" \3\\\\\\n"\\/p
19538 t cont
19539 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19540 t cont
19542 :cont
19544 s/.\{148\}/&'"$ac_delim"'/g
19545 t clear
19546 :clear
19547 s/\\$//
19548 t bsnlc
19549 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19551 :bsnlc
19552 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19553 b cont
19554 ' <confdefs.h | sed '
19555 s/'"$ac_delim"'/"\\\
19556 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19559 for (key in D) D_is_set[key] = 1
19560 FS = "\a"
19562 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19563 line = \$ 0
19564 split(line, arg, " ")
19565 if (arg[1] == "#") {
19566 defundef = arg[2]
19567 mac1 = arg[3]
19568 } else {
19569 defundef = substr(arg[1], 2)
19570 mac1 = arg[2]
19572 split(mac1, mac2, "(") #)
19573 macro = mac2[1]
19574 prefix = substr(line, 1, index(line, defundef) - 1)
19575 if (D_is_set[macro]) {
19576 # Preserve the white space surrounding the "#".
19577 print prefix "define", macro P[macro] D[macro]
19578 next
19579 } else {
19580 # Replace #undef with comments. This is necessary, for example,
19581 # in the case of _POSIX_SOURCE, which is predefined and required
19582 # on some systems where configure will not decide to define it.
19583 if (defundef == "undef") {
19584 print "/*", prefix defundef, macro, "*/"
19585 next
19589 { print }
19590 _ACAWK
19591 _ACEOF
19592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19593 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19594 fi # test -n "$CONFIG_HEADERS"
19597 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19598 shift
19599 for ac_tag
19601 case $ac_tag in
19602 :[FHLC]) ac_mode=$ac_tag; continue;;
19603 esac
19604 case $ac_mode$ac_tag in
19605 :[FHL]*:*);;
19606 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19607 :[FH]-) ac_tag=-:-;;
19608 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19609 esac
19610 ac_save_IFS=$IFS
19611 IFS=:
19612 set x $ac_tag
19613 IFS=$ac_save_IFS
19614 shift
19615 ac_file=$1
19616 shift
19618 case $ac_mode in
19619 :L) ac_source=$1;;
19620 :[FH])
19621 ac_file_inputs=
19622 for ac_f
19624 case $ac_f in
19625 -) ac_f="$ac_tmp/stdin";;
19626 *) # Look for the file first in the build tree, then in the source tree
19627 # (if the path is not absolute). The absolute path cannot be DOS-style,
19628 # because $ac_f cannot contain `:'.
19629 test -f "$ac_f" ||
19630 case $ac_f in
19631 [\\/$]*) false;;
19632 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19633 esac ||
19634 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19635 esac
19636 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19637 as_fn_append ac_file_inputs " '$ac_f'"
19638 done
19640 # Let's still pretend it is `configure' which instantiates (i.e., don't
19641 # use $as_me), people would be surprised to read:
19642 # /* config.h. Generated by config.status. */
19643 configure_input='Generated from '`
19644 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19645 `' by configure.'
19646 if test x"$ac_file" != x-; then
19647 configure_input="$ac_file. $configure_input"
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19649 $as_echo "$as_me: creating $ac_file" >&6;}
19651 # Neutralize special characters interpreted by sed in replacement strings.
19652 case $configure_input in #(
19653 *\&* | *\|* | *\\* )
19654 ac_sed_conf_input=`$as_echo "$configure_input" |
19655 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19656 *) ac_sed_conf_input=$configure_input;;
19657 esac
19659 case $ac_tag in
19660 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19661 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19662 esac
19664 esac
19666 ac_dir=`$as_dirname -- "$ac_file" ||
19667 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19668 X"$ac_file" : 'X\(//\)[^/]' \| \
19669 X"$ac_file" : 'X\(//\)$' \| \
19670 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19671 $as_echo X"$ac_file" |
19672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19673 s//\1/
19676 /^X\(\/\/\)[^/].*/{
19677 s//\1/
19680 /^X\(\/\/\)$/{
19681 s//\1/
19684 /^X\(\/\).*/{
19685 s//\1/
19688 s/.*/./; q'`
19689 as_dir="$ac_dir"; as_fn_mkdir_p
19690 ac_builddir=.
19692 case "$ac_dir" in
19693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19695 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19696 # A ".." for each directory in $ac_dir_suffix.
19697 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19698 case $ac_top_builddir_sub in
19699 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19700 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19701 esac ;;
19702 esac
19703 ac_abs_top_builddir=$ac_pwd
19704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19705 # for backward compatibility:
19706 ac_top_builddir=$ac_top_build_prefix
19708 case $srcdir in
19709 .) # We are building in place.
19710 ac_srcdir=.
19711 ac_top_srcdir=$ac_top_builddir_sub
19712 ac_abs_top_srcdir=$ac_pwd ;;
19713 [\\/]* | ?:[\\/]* ) # Absolute name.
19714 ac_srcdir=$srcdir$ac_dir_suffix;
19715 ac_top_srcdir=$srcdir
19716 ac_abs_top_srcdir=$srcdir ;;
19717 *) # Relative name.
19718 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19719 ac_top_srcdir=$ac_top_build_prefix$srcdir
19720 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19721 esac
19722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19725 case $ac_mode in
19728 # CONFIG_FILE
19731 _ACEOF
19733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19734 # If the template does not know about datarootdir, expand it.
19735 # FIXME: This hack should be removed a few years after 2.60.
19736 ac_datarootdir_hack=; ac_datarootdir_seen=
19737 ac_sed_dataroot='
19738 /datarootdir/ {
19742 /@datadir@/p
19743 /@docdir@/p
19744 /@infodir@/p
19745 /@localedir@/p
19746 /@mandir@/p'
19747 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19748 *datarootdir*) ac_datarootdir_seen=yes;;
19749 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19751 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19752 _ACEOF
19753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19754 ac_datarootdir_hack='
19755 s&@datadir@&$datadir&g
19756 s&@docdir@&$docdir&g
19757 s&@infodir@&$infodir&g
19758 s&@localedir@&$localedir&g
19759 s&@mandir@&$mandir&g
19760 s&\\\${datarootdir}&$datarootdir&g' ;;
19761 esac
19762 _ACEOF
19764 # Neutralize VPATH when `$srcdir' = `.'.
19765 # Shell code in configure.ac might set extrasub.
19766 # FIXME: do we really want to maintain this feature?
19767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19768 ac_sed_extra="$ac_vpsub
19769 $extrasub
19770 _ACEOF
19771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19773 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19774 s|@configure_input@|$ac_sed_conf_input|;t t
19775 s&@top_builddir@&$ac_top_builddir_sub&;t t
19776 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19777 s&@srcdir@&$ac_srcdir&;t t
19778 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19779 s&@top_srcdir@&$ac_top_srcdir&;t t
19780 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19781 s&@builddir@&$ac_builddir&;t t
19782 s&@abs_builddir@&$ac_abs_builddir&;t t
19783 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19784 $ac_datarootdir_hack
19786 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19787 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19789 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19790 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19791 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19792 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19794 which seems to be undefined. Please make sure it is defined" >&5
19795 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19796 which seems to be undefined. Please make sure it is defined" >&2;}
19798 rm -f "$ac_tmp/stdin"
19799 case $ac_file in
19800 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19801 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19802 esac \
19803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19807 # CONFIG_HEADER
19809 if test x"$ac_file" != x-; then
19811 $as_echo "/* $configure_input */" \
19812 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19813 } >"$ac_tmp/config.h" \
19814 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19815 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19817 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19818 else
19819 rm -f "$ac_file"
19820 mv "$ac_tmp/config.h" "$ac_file" \
19821 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19823 else
19824 $as_echo "/* $configure_input */" \
19825 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19826 || as_fn_error $? "could not create -" "$LINENO" 5
19831 # CONFIG_LINK
19834 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19836 else
19837 # Prefer the file from the source tree if names are identical.
19838 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19839 ac_source=$srcdir/$ac_source
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19843 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19845 if test ! -r "$ac_source"; then
19846 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19848 rm -f "$ac_file"
19850 # Try a relative symlink, then a hard link, then a copy.
19851 case $ac_source in
19852 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19853 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19854 esac
19855 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19856 ln "$ac_source" "$ac_file" 2>/dev/null ||
19857 cp -p "$ac_source" "$ac_file" ||
19858 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19861 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19862 $as_echo "$as_me: executing $ac_file commands" >&6;}
19864 esac
19867 case $ac_file$ac_mode in
19868 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19869 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19870 "Makefile":C) wine_fn_output_makefile Makefile ;;
19872 esac
19873 done # for ac_tag
19876 as_fn_exit 0
19877 _ACEOF
19878 ac_clean_files=$ac_clean_files_save
19880 test $ac_write_fail = 0 ||
19881 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19884 # configure is writing to config.log, and then calls config.status.
19885 # config.status does its own redirection, appending to config.log.
19886 # Unfortunately, on DOS this fails, as config.log is still kept open
19887 # by configure, so config.status won't be able to write to it; its
19888 # output is simply discarded. So we exec the FD to /dev/null,
19889 # effectively closing config.log, so it can be properly (re)opened and
19890 # appended to by config.status. When coming back to configure, we
19891 # need to make the FD available again.
19892 if test "$no_create" != yes; then
19893 ac_cs_success=:
19894 ac_config_status_args=
19895 test "$silent" = yes &&
19896 ac_config_status_args="$ac_config_status_args --quiet"
19897 exec 5>/dev/null
19898 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19899 exec 5>>config.log
19900 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19901 # would make configure fail if this is the last instruction.
19902 $ac_cs_success || as_fn_exit 1
19904 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19906 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19910 if test "$no_create" = "yes"
19911 then
19912 exit 0
19915 ac_save_IFS="$IFS"
19916 if test "x$wine_notices" != x; then
19917 echo >&6
19918 IFS="|"
19919 for msg in $wine_notices; do
19920 IFS="$ac_save_IFS"
19921 if ${msg:+false} :; then :
19923 else
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19925 $as_echo "$as_me: $msg" >&6;}
19927 done
19929 IFS="|"
19930 for msg in $wine_warnings; do
19931 IFS="$ac_save_IFS"
19932 if ${msg:+false} :; then :
19934 else
19935 echo >&2
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19937 $as_echo "$as_me: WARNING: $msg" >&2;}
19939 done
19940 IFS="$ac_save_IFS"
19942 $as_echo "
19943 $as_me: Finished. Do '${ac_make}' to compile Wine.
19944 " >&6