msi: Use CONTAINING_RECORD() to get from a field to a struct.
[wine.git] / configure
blob5e33a0128a14fdacdb204d0798d35dba5c550e4c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.18.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.18'
584 PACKAGE_STRING='Wine 1.9.18'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_core_com_l1_1_0
878 enable_api_ms_win_core_com_l1_1_1
879 enable_api_ms_win_core_console_l1_1_0
880 enable_api_ms_win_core_console_l2_1_0
881 enable_api_ms_win_core_datetime_l1_1_0
882 enable_api_ms_win_core_datetime_l1_1_1
883 enable_api_ms_win_core_debug_l1_1_0
884 enable_api_ms_win_core_debug_l1_1_1
885 enable_api_ms_win_core_delayload_l1_1_1
886 enable_api_ms_win_core_errorhandling_l1_1_0
887 enable_api_ms_win_core_errorhandling_l1_1_1
888 enable_api_ms_win_core_errorhandling_l1_1_2
889 enable_api_ms_win_core_fibers_l1_1_0
890 enable_api_ms_win_core_fibers_l1_1_1
891 enable_api_ms_win_core_file_l1_1_0
892 enable_api_ms_win_core_file_l1_2_0
893 enable_api_ms_win_core_file_l1_2_1
894 enable_api_ms_win_core_file_l2_1_0
895 enable_api_ms_win_core_file_l2_1_1
896 enable_api_ms_win_core_handle_l1_1_0
897 enable_api_ms_win_core_heap_l1_1_0
898 enable_api_ms_win_core_heap_l1_2_0
899 enable_api_ms_win_core_heap_obsolete_l1_1_0
900 enable_api_ms_win_core_interlocked_l1_1_0
901 enable_api_ms_win_core_interlocked_l1_2_0
902 enable_api_ms_win_core_io_l1_1_1
903 enable_api_ms_win_core_job_l1_1_0
904 enable_api_ms_win_core_job_l2_1_0
905 enable_api_ms_win_core_kernel32_legacy_l1_1_0
906 enable_api_ms_win_core_kernel32_legacy_l1_1_1
907 enable_api_ms_win_core_libraryloader_l1_1_0
908 enable_api_ms_win_core_libraryloader_l1_1_1
909 enable_api_ms_win_core_libraryloader_l1_2_0
910 enable_api_ms_win_core_localization_l1_1_0
911 enable_api_ms_win_core_localization_l1_2_0
912 enable_api_ms_win_core_localization_l1_2_1
913 enable_api_ms_win_core_localization_obsolete_l1_1_0
914 enable_api_ms_win_core_localization_obsolete_l1_2_0
915 enable_api_ms_win_core_localregistry_l1_1_0
916 enable_api_ms_win_core_memory_l1_1_0
917 enable_api_ms_win_core_memory_l1_1_1
918 enable_api_ms_win_core_memory_l1_1_2
919 enable_api_ms_win_core_misc_l1_1_0
920 enable_api_ms_win_core_namedpipe_l1_1_0
921 enable_api_ms_win_core_namedpipe_l1_2_0
922 enable_api_ms_win_core_namespace_l1_1_0
923 enable_api_ms_win_core_normalization_l1_1_0
924 enable_api_ms_win_core_path_l1_1_0
925 enable_api_ms_win_core_privateprofile_l1_1_1
926 enable_api_ms_win_core_processenvironment_l1_1_0
927 enable_api_ms_win_core_processenvironment_l1_2_0
928 enable_api_ms_win_core_processthreads_l1_1_0
929 enable_api_ms_win_core_processthreads_l1_1_1
930 enable_api_ms_win_core_processthreads_l1_1_2
931 enable_api_ms_win_core_profile_l1_1_0
932 enable_api_ms_win_core_psapi_l1_1_0
933 enable_api_ms_win_core_registry_l1_1_0
934 enable_api_ms_win_core_registryuserspecific_l1_1_0
935 enable_api_ms_win_core_rtlsupport_l1_1_0
936 enable_api_ms_win_core_rtlsupport_l1_2_0
937 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
938 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
939 enable_api_ms_win_core_string_l1_1_0
940 enable_api_ms_win_core_string_l2_1_0
941 enable_api_ms_win_core_string_obsolete_l1_1_0
942 enable_api_ms_win_core_synch_l1_1_0
943 enable_api_ms_win_core_synch_l1_2_0
944 enable_api_ms_win_core_sysinfo_l1_1_0
945 enable_api_ms_win_core_sysinfo_l1_2_0
946 enable_api_ms_win_core_sysinfo_l1_2_1
947 enable_api_ms_win_core_threadpool_l1_2_0
948 enable_api_ms_win_core_threadpool_legacy_l1_1_0
949 enable_api_ms_win_core_timezone_l1_1_0
950 enable_api_ms_win_core_toolhelp_l1_1_0
951 enable_api_ms_win_core_url_l1_1_0
952 enable_api_ms_win_core_util_l1_1_0
953 enable_api_ms_win_core_version_l1_1_0
954 enable_api_ms_win_core_winrt_error_l1_1_0
955 enable_api_ms_win_core_winrt_error_l1_1_1
956 enable_api_ms_win_core_winrt_l1_1_0
957 enable_api_ms_win_core_winrt_registration_l1_1_0
958 enable_api_ms_win_core_winrt_string_l1_1_0
959 enable_api_ms_win_core_wow64_l1_1_0
960 enable_api_ms_win_core_xstate_l2_1_0
961 enable_api_ms_win_crt_conio_l1_1_0
962 enable_api_ms_win_crt_convert_l1_1_0
963 enable_api_ms_win_crt_environment_l1_1_0
964 enable_api_ms_win_crt_filesystem_l1_1_0
965 enable_api_ms_win_crt_heap_l1_1_0
966 enable_api_ms_win_crt_locale_l1_1_0
967 enable_api_ms_win_crt_math_l1_1_0
968 enable_api_ms_win_crt_multibyte_l1_1_0
969 enable_api_ms_win_crt_private_l1_1_0
970 enable_api_ms_win_crt_process_l1_1_0
971 enable_api_ms_win_crt_runtime_l1_1_0
972 enable_api_ms_win_crt_stdio_l1_1_0
973 enable_api_ms_win_crt_string_l1_1_0
974 enable_api_ms_win_crt_time_l1_1_0
975 enable_api_ms_win_crt_utility_l1_1_0
976 enable_api_ms_win_downlevel_advapi32_l1_1_0
977 enable_api_ms_win_downlevel_advapi32_l2_1_0
978 enable_api_ms_win_downlevel_normaliz_l1_1_0
979 enable_api_ms_win_downlevel_ole32_l1_1_0
980 enable_api_ms_win_downlevel_shell32_l1_1_0
981 enable_api_ms_win_downlevel_shlwapi_l1_1_0
982 enable_api_ms_win_downlevel_shlwapi_l2_1_0
983 enable_api_ms_win_downlevel_user32_l1_1_0
984 enable_api_ms_win_downlevel_version_l1_1_0
985 enable_api_ms_win_eventing_classicprovider_l1_1_0
986 enable_api_ms_win_eventing_provider_l1_1_0
987 enable_api_ms_win_eventlog_legacy_l1_1_0
988 enable_api_ms_win_ntuser_dc_access_l1_1_0
989 enable_api_ms_win_security_base_l1_1_0
990 enable_api_ms_win_security_base_l1_2_0
991 enable_api_ms_win_security_lsalookup_l1_1_0
992 enable_api_ms_win_security_lsalookup_l1_1_1
993 enable_api_ms_win_security_sddl_l1_1_0
994 enable_api_ms_win_service_core_l1_1_1
995 enable_api_ms_win_service_management_l1_1_0
996 enable_api_ms_win_service_winsvc_l1_2_0
997 enable_api_ms_win_shell_shellfolders_l1_1_0
998 enable_apphelp
999 enable_appwiz_cpl
1000 enable_atl
1001 enable_atl100
1002 enable_atl110
1003 enable_atl80
1004 enable_atl90
1005 enable_authz
1006 enable_avicap32
1007 enable_avifil32
1008 enable_avrt
1009 enable_bcrypt
1010 enable_bluetoothapis
1011 enable_browseui
1012 enable_bthprops_cpl
1013 enable_cabinet
1014 enable_capi2032
1015 enable_cards
1016 enable_cfgmgr32
1017 enable_clusapi
1018 enable_combase
1019 enable_comcat
1020 enable_comctl32
1021 enable_comdlg32
1022 enable_compstui
1023 enable_comsvcs
1024 enable_concrt140
1025 enable_connect
1026 enable_credui
1027 enable_crtdll
1028 enable_crypt32
1029 enable_cryptdlg
1030 enable_cryptdll
1031 enable_cryptext
1032 enable_cryptnet
1033 enable_cryptui
1034 enable_ctapi32
1035 enable_ctl3d32
1036 enable_d2d1
1037 enable_d3d10
1038 enable_d3d10_1
1039 enable_d3d10core
1040 enable_d3d11
1041 enable_d3d8
1042 enable_d3d9
1043 enable_d3dcompiler_33
1044 enable_d3dcompiler_34
1045 enable_d3dcompiler_35
1046 enable_d3dcompiler_36
1047 enable_d3dcompiler_37
1048 enable_d3dcompiler_38
1049 enable_d3dcompiler_39
1050 enable_d3dcompiler_40
1051 enable_d3dcompiler_41
1052 enable_d3dcompiler_42
1053 enable_d3dcompiler_43
1054 enable_d3dcompiler_46
1055 enable_d3dcompiler_47
1056 enable_d3dim
1057 enable_d3drm
1058 enable_d3dx10_33
1059 enable_d3dx10_34
1060 enable_d3dx10_35
1061 enable_d3dx10_36
1062 enable_d3dx10_37
1063 enable_d3dx10_38
1064 enable_d3dx10_39
1065 enable_d3dx10_40
1066 enable_d3dx10_41
1067 enable_d3dx10_42
1068 enable_d3dx10_43
1069 enable_d3dx11_42
1070 enable_d3dx11_43
1071 enable_d3dx9_24
1072 enable_d3dx9_25
1073 enable_d3dx9_26
1074 enable_d3dx9_27
1075 enable_d3dx9_28
1076 enable_d3dx9_29
1077 enable_d3dx9_30
1078 enable_d3dx9_31
1079 enable_d3dx9_32
1080 enable_d3dx9_33
1081 enable_d3dx9_34
1082 enable_d3dx9_35
1083 enable_d3dx9_36
1084 enable_d3dx9_37
1085 enable_d3dx9_38
1086 enable_d3dx9_39
1087 enable_d3dx9_40
1088 enable_d3dx9_41
1089 enable_d3dx9_42
1090 enable_d3dx9_43
1091 enable_d3dxof
1092 enable_davclnt
1093 enable_dbgeng
1094 enable_dbghelp
1095 enable_dciman32
1096 enable_ddraw
1097 enable_ddrawex
1098 enable_devenum
1099 enable_dhcpcsvc
1100 enable_difxapi
1101 enable_dinput
1102 enable_dinput8
1103 enable_dispex
1104 enable_dmband
1105 enable_dmcompos
1106 enable_dmime
1107 enable_dmloader
1108 enable_dmscript
1109 enable_dmstyle
1110 enable_dmsynth
1111 enable_dmusic
1112 enable_dmusic32
1113 enable_dnsapi
1114 enable_dplay
1115 enable_dplayx
1116 enable_dpnaddr
1117 enable_dpnet
1118 enable_dpnhpast
1119 enable_dpnlobby
1120 enable_dpvoice
1121 enable_dpwsockx
1122 enable_drmclien
1123 enable_dsound
1124 enable_dssenh
1125 enable_dswave
1126 enable_dwmapi
1127 enable_dwrite
1128 enable_dxdiagn
1129 enable_dxgi
1130 enable_dxva2
1131 enable_esent
1132 enable_evr
1133 enable_explorerframe
1134 enable_ext_ms_win_gdi_devcaps_l1_1_0
1135 enable_faultrep
1136 enable_fltlib
1137 enable_fltmgr_sys
1138 enable_fntcache
1139 enable_fontsub
1140 enable_fusion
1141 enable_fwpuclnt
1142 enable_gameux
1143 enable_gdi32
1144 enable_gdiplus
1145 enable_glu32
1146 enable_gphoto2_ds
1147 enable_gpkcsp
1148 enable_hal
1149 enable_hhctrl_ocx
1150 enable_hid
1151 enable_hidclass_sys
1152 enable_hlink
1153 enable_hnetcfg
1154 enable_httpapi
1155 enable_iccvid
1156 enable_icmp
1157 enable_ieframe
1158 enable_imaadp32_acm
1159 enable_imagehlp
1160 enable_imm32
1161 enable_inetcomm
1162 enable_inetcpl_cpl
1163 enable_inetmib1
1164 enable_infosoft
1165 enable_initpki
1166 enable_inkobj
1167 enable_inseng
1168 enable_iphlpapi
1169 enable_irprops_cpl
1170 enable_itircl
1171 enable_itss
1172 enable_joy_cpl
1173 enable_jscript
1174 enable_jsproxy
1175 enable_kernel32
1176 enable_kernelbase
1177 enable_ksuser
1178 enable_ktmw32
1179 enable_loadperf
1180 enable_localspl
1181 enable_localui
1182 enable_lz32
1183 enable_mapi32
1184 enable_mapistub
1185 enable_mciavi32
1186 enable_mcicda
1187 enable_mciqtz32
1188 enable_mciseq
1189 enable_mciwave
1190 enable_mf
1191 enable_mfplat
1192 enable_mfreadwrite
1193 enable_mgmtapi
1194 enable_midimap
1195 enable_mlang
1196 enable_mmcndmgr
1197 enable_mmdevapi
1198 enable_mountmgr_sys
1199 enable_mpr
1200 enable_mprapi
1201 enable_msacm32_drv
1202 enable_msacm32
1203 enable_msadp32_acm
1204 enable_msasn1
1205 enable_mscat32
1206 enable_mscms
1207 enable_mscoree
1208 enable_msctf
1209 enable_msctfp
1210 enable_msdaps
1211 enable_msdelta
1212 enable_msdmo
1213 enable_msdrm
1214 enable_msftedit
1215 enable_msg711_acm
1216 enable_msgsm32_acm
1217 enable_mshtml_tlb
1218 enable_mshtml
1219 enable_msi
1220 enable_msident
1221 enable_msimg32
1222 enable_msimsg
1223 enable_msimtf
1224 enable_msisip
1225 enable_msisys_ocx
1226 enable_msls31
1227 enable_msnet32
1228 enable_mspatcha
1229 enable_msports
1230 enable_msrle32
1231 enable_msscript_ocx
1232 enable_mssign32
1233 enable_mssip32
1234 enable_mstask
1235 enable_msvcirt
1236 enable_msvcm80
1237 enable_msvcm90
1238 enable_msvcp100
1239 enable_msvcp110
1240 enable_msvcp120
1241 enable_msvcp120_app
1242 enable_msvcp140
1243 enable_msvcp60
1244 enable_msvcp70
1245 enable_msvcp71
1246 enable_msvcp80
1247 enable_msvcp90
1248 enable_msvcr100
1249 enable_msvcr110
1250 enable_msvcr120
1251 enable_msvcr120_app
1252 enable_msvcr70
1253 enable_msvcr71
1254 enable_msvcr80
1255 enable_msvcr90
1256 enable_msvcrt
1257 enable_msvcrt20
1258 enable_msvcrt40
1259 enable_msvcrtd
1260 enable_msvfw32
1261 enable_msvidc32
1262 enable_mswsock
1263 enable_msxml
1264 enable_msxml2
1265 enable_msxml3
1266 enable_msxml4
1267 enable_msxml6
1268 enable_ncrypt
1269 enable_nddeapi
1270 enable_ndis_sys
1271 enable_netapi32
1272 enable_netcfgx
1273 enable_netprofm
1274 enable_newdev
1275 enable_normaliz
1276 enable_npmshtml
1277 enable_npptools
1278 enable_ntdll
1279 enable_ntdsapi
1280 enable_ntoskrnl_exe
1281 enable_ntprint
1282 enable_objsel
1283 enable_odbc32
1284 enable_odbccp32
1285 enable_odbccu32
1286 enable_ole32
1287 enable_oleacc
1288 enable_oleaut32
1289 enable_olecli32
1290 enable_oledb32
1291 enable_oledlg
1292 enable_olepro32
1293 enable_olesvr32
1294 enable_olethk32
1295 enable_openal32
1296 enable_opencl
1297 enable_opengl32
1298 enable_packager
1299 enable_pdh
1300 enable_photometadatahandler
1301 enable_pidgen
1302 enable_powrprof
1303 enable_printui
1304 enable_prntvpt
1305 enable_propsys
1306 enable_psapi
1307 enable_pstorec
1308 enable_qcap
1309 enable_qedit
1310 enable_qmgr
1311 enable_qmgrprxy
1312 enable_quartz
1313 enable_query
1314 enable_rasapi32
1315 enable_rasdlg
1316 enable_regapi
1317 enable_resutils
1318 enable_riched20
1319 enable_riched32
1320 enable_rpcrt4
1321 enable_rsabase
1322 enable_rsaenh
1323 enable_rstrtmgr
1324 enable_rtutils
1325 enable_samlib
1326 enable_sane_ds
1327 enable_scarddlg
1328 enable_sccbase
1329 enable_schannel
1330 enable_schedsvc
1331 enable_scrrun
1332 enable_scsiport_sys
1333 enable_secur32
1334 enable_security
1335 enable_sensapi
1336 enable_serialui
1337 enable_setupapi
1338 enable_sfc
1339 enable_sfc_os
1340 enable_shdoclc
1341 enable_shdocvw
1342 enable_shell32
1343 enable_shfolder
1344 enable_shlwapi
1345 enable_slbcsp
1346 enable_slc
1347 enable_snmpapi
1348 enable_softpub
1349 enable_spoolss
1350 enable_sspicli
1351 enable_stdole2_tlb
1352 enable_stdole32_tlb
1353 enable_sti
1354 enable_svrapi
1355 enable_sxs
1356 enable_t2embed
1357 enable_tapi32
1358 enable_taskschd
1359 enable_tdi_sys
1360 enable_traffic
1361 enable_twain_32
1362 enable_ucrtbase
1363 enable_unicows
1364 enable_updspapi
1365 enable_url
1366 enable_urlmon
1367 enable_usbd_sys
1368 enable_user32
1369 enable_userenv
1370 enable_usp10
1371 enable_uxtheme
1372 enable_vbscript
1373 enable_vcomp
1374 enable_vcomp100
1375 enable_vcomp110
1376 enable_vcomp120
1377 enable_vcomp140
1378 enable_vcomp90
1379 enable_vcruntime140
1380 enable_vdmdbg
1381 enable_version
1382 enable_vssapi
1383 enable_wbemdisp
1384 enable_wbemprox
1385 enable_webservices
1386 enable_wer
1387 enable_wevtapi
1388 enable_wiaservc
1389 enable_wimgapi
1390 enable_windowscodecs
1391 enable_windowscodecsext
1392 enable_winealsa_drv
1393 enable_winebus_sys
1394 enable_winecoreaudio_drv
1395 enable_wined3d
1396 enable_winegstreamer
1397 enable_winejoystick_drv
1398 enable_winemac_drv
1399 enable_winemapi
1400 enable_winemp3_acm
1401 enable_wineoss_drv
1402 enable_wineps_drv
1403 enable_winepulse_drv
1404 enable_wineqtdecoder
1405 enable_winex11_drv
1406 enable_wing32
1407 enable_winhttp
1408 enable_wininet
1409 enable_winmm
1410 enable_winnls32
1411 enable_winscard
1412 enable_winspool_drv
1413 enable_winsta
1414 enable_wintab32
1415 enable_wintrust
1416 enable_wlanapi
1417 enable_wldap32
1418 enable_wmasf
1419 enable_wmi
1420 enable_wmiutils
1421 enable_wmp
1422 enable_wmvcore
1423 enable_wnaspi32
1424 enable_wpc
1425 enable_wpcap
1426 enable_ws2_32
1427 enable_wshom_ocx
1428 enable_wsnmp32
1429 enable_wsock32
1430 enable_wtsapi32
1431 enable_wuapi
1432 enable_wuaueng
1433 enable_x3daudio1_0
1434 enable_x3daudio1_1
1435 enable_x3daudio1_2
1436 enable_x3daudio1_3
1437 enable_x3daudio1_4
1438 enable_x3daudio1_5
1439 enable_x3daudio1_6
1440 enable_x3daudio1_7
1441 enable_xapofx1_1
1442 enable_xapofx1_2
1443 enable_xapofx1_3
1444 enable_xapofx1_4
1445 enable_xapofx1_5
1446 enable_xaudio2_0
1447 enable_xaudio2_1
1448 enable_xaudio2_2
1449 enable_xaudio2_3
1450 enable_xaudio2_4
1451 enable_xaudio2_5
1452 enable_xaudio2_6
1453 enable_xaudio2_7
1454 enable_xaudio2_8
1455 enable_xaudio2_9
1456 enable_xinput1_1
1457 enable_xinput1_2
1458 enable_xinput1_3
1459 enable_xinput1_4
1460 enable_xinput9_1_0
1461 enable_xmllite
1462 enable_xolehlp
1463 enable_xpsprint
1464 enable_xpssvcs
1465 enable_fonts
1466 enable_include
1467 enable_libs_port
1468 enable_libs_wine
1469 enable_libs_wpp
1470 enable_loader
1471 enable_po
1472 enable_arp
1473 enable_aspnet_regiis
1474 enable_attrib
1475 enable_cabarc
1476 enable_cacls
1477 enable_clock
1478 enable_cmd
1479 enable_conhost
1480 enable_control
1481 enable_cscript
1482 enable_dpnsvr
1483 enable_dxdiag
1484 enable_eject
1485 enable_expand
1486 enable_explorer
1487 enable_extrac32
1488 enable_findstr
1489 enable_fsutil
1490 enable_hh
1491 enable_hostname
1492 enable_icacls
1493 enable_icinfo
1494 enable_iexplore
1495 enable_ipconfig
1496 enable_lodctr
1497 enable_mofcomp
1498 enable_mshta
1499 enable_msiexec
1500 enable_net
1501 enable_netsh
1502 enable_netstat
1503 enable_ngen
1504 enable_notepad
1505 enable_oleview
1506 enable_ping
1507 enable_plugplay
1508 enable_presentationfontcache
1509 enable_progman
1510 enable_reg
1511 enable_regasm
1512 enable_regedit
1513 enable_regsvcs
1514 enable_regsvr32
1515 enable_rpcss
1516 enable_rundll32
1517 enable_sc
1518 enable_schtasks
1519 enable_sdbinst
1520 enable_secedit
1521 enable_servicemodelreg
1522 enable_services
1523 enable_shutdown
1524 enable_spoolsv
1525 enable_start
1526 enable_svchost
1527 enable_systeminfo
1528 enable_taskkill
1529 enable_tasklist
1530 enable_taskmgr
1531 enable_termsv
1532 enable_uninstaller
1533 enable_unlodctr
1534 enable_view
1535 enable_wevtutil
1536 enable_wineboot
1537 enable_winebrowser
1538 enable_winecfg
1539 enable_wineconsole
1540 enable_winedbg
1541 enable_winedevice
1542 enable_winefile
1543 enable_winemenubuilder
1544 enable_winemine
1545 enable_winemsibuilder
1546 enable_winepath
1547 enable_winetest
1548 enable_winhlp32
1549 enable_winver
1550 enable_wmic
1551 enable_wmplayer
1552 enable_wordpad
1553 enable_write
1554 enable_wscript
1555 enable_wusa
1556 enable_xcopy
1557 enable_server
1558 enable_tools
1560 ac_precious_vars='build_alias
1561 host_alias
1562 target_alias
1564 CFLAGS
1565 LDFLAGS
1566 LIBS
1567 CPPFLAGS
1569 CXXFLAGS
1572 XMKMF
1573 XML2_CFLAGS
1574 XML2_LIBS
1575 XSLT_CFLAGS
1576 XSLT_LIBS
1577 DBUS_CFLAGS
1578 DBUS_LIBS
1579 HAL_CFLAGS
1580 HAL_LIBS
1581 GNUTLS_CFLAGS
1582 GNUTLS_LIBS
1583 SANE_CFLAGS
1584 SANE_LIBS
1585 GPHOTO2_CFLAGS
1586 GPHOTO2_LIBS
1587 GPHOTO2_PORT_CFLAGS
1588 GPHOTO2_PORT_LIBS
1589 LCMS2_CFLAGS
1590 LCMS2_LIBS
1591 FREETYPE_CFLAGS
1592 FREETYPE_LIBS
1593 PULSE_CFLAGS
1594 PULSE_LIBS
1595 GSTREAMER_CFLAGS
1596 GSTREAMER_LIBS
1597 UDEV_CFLAGS
1598 UDEV_LIBS
1599 CAPI20_CFLAGS
1600 CAPI20_LIBS
1601 FONTCONFIG_CFLAGS
1602 FONTCONFIG_LIBS
1603 JPEG_CFLAGS
1604 JPEG_LIBS
1605 PNG_CFLAGS
1606 PNG_LIBS
1607 TIFF_CFLAGS
1608 TIFF_LIBS
1609 MPG123_CFLAGS
1610 MPG123_LIBS
1611 NETAPI_CFLAGS
1612 NETAPI_LIBS'
1615 # Initialize some variables set by options.
1616 ac_init_help=
1617 ac_init_version=false
1618 ac_unrecognized_opts=
1619 ac_unrecognized_sep=
1620 # The variables have the same names as the options, with
1621 # dashes changed to underlines.
1622 cache_file=/dev/null
1623 exec_prefix=NONE
1624 no_create=
1625 no_recursion=
1626 prefix=NONE
1627 program_prefix=NONE
1628 program_suffix=NONE
1629 program_transform_name=s,x,x,
1630 silent=
1631 site=
1632 srcdir=
1633 verbose=
1634 x_includes=NONE
1635 x_libraries=NONE
1637 # Installation directory options.
1638 # These are left unexpanded so users can "make install exec_prefix=/foo"
1639 # and all the variables that are supposed to be based on exec_prefix
1640 # by default will actually change.
1641 # Use braces instead of parens because sh, perl, etc. also accept them.
1642 # (The list follows the same order as the GNU Coding Standards.)
1643 bindir='${exec_prefix}/bin'
1644 sbindir='${exec_prefix}/sbin'
1645 libexecdir='${exec_prefix}/libexec'
1646 datarootdir='${prefix}/share'
1647 datadir='${datarootdir}'
1648 sysconfdir='${prefix}/etc'
1649 sharedstatedir='${prefix}/com'
1650 localstatedir='${prefix}/var'
1651 runstatedir='${localstatedir}/run'
1652 includedir='${prefix}/include'
1653 oldincludedir='/usr/include'
1654 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1655 infodir='${datarootdir}/info'
1656 htmldir='${docdir}'
1657 dvidir='${docdir}'
1658 pdfdir='${docdir}'
1659 psdir='${docdir}'
1660 libdir='${exec_prefix}/lib'
1661 localedir='${datarootdir}/locale'
1662 mandir='${datarootdir}/man'
1664 ac_prev=
1665 ac_dashdash=
1666 for ac_option
1668 # If the previous option needs an argument, assign it.
1669 if test -n "$ac_prev"; then
1670 eval $ac_prev=\$ac_option
1671 ac_prev=
1672 continue
1675 case $ac_option in
1676 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1677 *=) ac_optarg= ;;
1678 *) ac_optarg=yes ;;
1679 esac
1681 # Accept the important Cygnus configure options, so we can diagnose typos.
1683 case $ac_dashdash$ac_option in
1685 ac_dashdash=yes ;;
1687 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1688 ac_prev=bindir ;;
1689 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1690 bindir=$ac_optarg ;;
1692 -build | --build | --buil | --bui | --bu)
1693 ac_prev=build_alias ;;
1694 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1695 build_alias=$ac_optarg ;;
1697 -cache-file | --cache-file | --cache-fil | --cache-fi \
1698 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1699 ac_prev=cache_file ;;
1700 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1701 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1702 cache_file=$ac_optarg ;;
1704 --config-cache | -C)
1705 cache_file=config.cache ;;
1707 -datadir | --datadir | --datadi | --datad)
1708 ac_prev=datadir ;;
1709 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1710 datadir=$ac_optarg ;;
1712 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1713 | --dataroo | --dataro | --datar)
1714 ac_prev=datarootdir ;;
1715 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1716 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1717 datarootdir=$ac_optarg ;;
1719 -disable-* | --disable-*)
1720 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1721 # Reject names that are not valid shell variable names.
1722 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1723 as_fn_error $? "invalid feature name: $ac_useropt"
1724 ac_useropt_orig=$ac_useropt
1725 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1726 case $ac_user_opts in
1728 "enable_$ac_useropt"
1729 "*) ;;
1730 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1731 ac_unrecognized_sep=', ';;
1732 esac
1733 eval enable_$ac_useropt=no ;;
1735 -docdir | --docdir | --docdi | --doc | --do)
1736 ac_prev=docdir ;;
1737 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1738 docdir=$ac_optarg ;;
1740 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1741 ac_prev=dvidir ;;
1742 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1743 dvidir=$ac_optarg ;;
1745 -enable-* | --enable-*)
1746 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1747 # Reject names that are not valid shell variable names.
1748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1749 as_fn_error $? "invalid feature name: $ac_useropt"
1750 ac_useropt_orig=$ac_useropt
1751 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752 case $ac_user_opts in
1754 "enable_$ac_useropt"
1755 "*) ;;
1756 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1757 ac_unrecognized_sep=', ';;
1758 esac
1759 eval enable_$ac_useropt=\$ac_optarg ;;
1761 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1762 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1763 | --exec | --exe | --ex)
1764 ac_prev=exec_prefix ;;
1765 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1766 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1767 | --exec=* | --exe=* | --ex=*)
1768 exec_prefix=$ac_optarg ;;
1770 -gas | --gas | --ga | --g)
1771 # Obsolete; use --with-gas.
1772 with_gas=yes ;;
1774 -help | --help | --hel | --he | -h)
1775 ac_init_help=long ;;
1776 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1777 ac_init_help=recursive ;;
1778 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1779 ac_init_help=short ;;
1781 -host | --host | --hos | --ho)
1782 ac_prev=host_alias ;;
1783 -host=* | --host=* | --hos=* | --ho=*)
1784 host_alias=$ac_optarg ;;
1786 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1787 ac_prev=htmldir ;;
1788 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1789 | --ht=*)
1790 htmldir=$ac_optarg ;;
1792 -includedir | --includedir | --includedi | --included | --include \
1793 | --includ | --inclu | --incl | --inc)
1794 ac_prev=includedir ;;
1795 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1796 | --includ=* | --inclu=* | --incl=* | --inc=*)
1797 includedir=$ac_optarg ;;
1799 -infodir | --infodir | --infodi | --infod | --info | --inf)
1800 ac_prev=infodir ;;
1801 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1802 infodir=$ac_optarg ;;
1804 -libdir | --libdir | --libdi | --libd)
1805 ac_prev=libdir ;;
1806 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1807 libdir=$ac_optarg ;;
1809 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1810 | --libexe | --libex | --libe)
1811 ac_prev=libexecdir ;;
1812 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1813 | --libexe=* | --libex=* | --libe=*)
1814 libexecdir=$ac_optarg ;;
1816 -localedir | --localedir | --localedi | --localed | --locale)
1817 ac_prev=localedir ;;
1818 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1819 localedir=$ac_optarg ;;
1821 -localstatedir | --localstatedir | --localstatedi | --localstated \
1822 | --localstate | --localstat | --localsta | --localst | --locals)
1823 ac_prev=localstatedir ;;
1824 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1825 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1826 localstatedir=$ac_optarg ;;
1828 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1829 ac_prev=mandir ;;
1830 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1831 mandir=$ac_optarg ;;
1833 -nfp | --nfp | --nf)
1834 # Obsolete; use --without-fp.
1835 with_fp=no ;;
1837 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1838 | --no-cr | --no-c | -n)
1839 no_create=yes ;;
1841 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1842 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1843 no_recursion=yes ;;
1845 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1846 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1847 | --oldin | --oldi | --old | --ol | --o)
1848 ac_prev=oldincludedir ;;
1849 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1850 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1851 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1852 oldincludedir=$ac_optarg ;;
1854 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1855 ac_prev=prefix ;;
1856 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1857 prefix=$ac_optarg ;;
1859 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1860 | --program-pre | --program-pr | --program-p)
1861 ac_prev=program_prefix ;;
1862 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1863 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1864 program_prefix=$ac_optarg ;;
1866 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1867 | --program-suf | --program-su | --program-s)
1868 ac_prev=program_suffix ;;
1869 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1870 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1871 program_suffix=$ac_optarg ;;
1873 -program-transform-name | --program-transform-name \
1874 | --program-transform-nam | --program-transform-na \
1875 | --program-transform-n | --program-transform- \
1876 | --program-transform | --program-transfor \
1877 | --program-transfo | --program-transf \
1878 | --program-trans | --program-tran \
1879 | --progr-tra | --program-tr | --program-t)
1880 ac_prev=program_transform_name ;;
1881 -program-transform-name=* | --program-transform-name=* \
1882 | --program-transform-nam=* | --program-transform-na=* \
1883 | --program-transform-n=* | --program-transform-=* \
1884 | --program-transform=* | --program-transfor=* \
1885 | --program-transfo=* | --program-transf=* \
1886 | --program-trans=* | --program-tran=* \
1887 | --progr-tra=* | --program-tr=* | --program-t=*)
1888 program_transform_name=$ac_optarg ;;
1890 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1891 ac_prev=pdfdir ;;
1892 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1893 pdfdir=$ac_optarg ;;
1895 -psdir | --psdir | --psdi | --psd | --ps)
1896 ac_prev=psdir ;;
1897 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1898 psdir=$ac_optarg ;;
1900 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1901 | -silent | --silent | --silen | --sile | --sil)
1902 silent=yes ;;
1904 -runstatedir | --runstatedir | --runstatedi | --runstated \
1905 | --runstate | --runstat | --runsta | --runst | --runs \
1906 | --run | --ru | --r)
1907 ac_prev=runstatedir ;;
1908 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1909 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1910 | --run=* | --ru=* | --r=*)
1911 runstatedir=$ac_optarg ;;
1913 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1914 ac_prev=sbindir ;;
1915 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1916 | --sbi=* | --sb=*)
1917 sbindir=$ac_optarg ;;
1919 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1920 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1921 | --sharedst | --shareds | --shared | --share | --shar \
1922 | --sha | --sh)
1923 ac_prev=sharedstatedir ;;
1924 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1925 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1926 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1927 | --sha=* | --sh=*)
1928 sharedstatedir=$ac_optarg ;;
1930 -site | --site | --sit)
1931 ac_prev=site ;;
1932 -site=* | --site=* | --sit=*)
1933 site=$ac_optarg ;;
1935 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1936 ac_prev=srcdir ;;
1937 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1938 srcdir=$ac_optarg ;;
1940 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1941 | --syscon | --sysco | --sysc | --sys | --sy)
1942 ac_prev=sysconfdir ;;
1943 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1944 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1945 sysconfdir=$ac_optarg ;;
1947 -target | --target | --targe | --targ | --tar | --ta | --t)
1948 ac_prev=target_alias ;;
1949 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1950 target_alias=$ac_optarg ;;
1952 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1953 verbose=yes ;;
1955 -version | --version | --versio | --versi | --vers | -V)
1956 ac_init_version=: ;;
1958 -with-* | --with-*)
1959 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1960 # Reject names that are not valid shell variable names.
1961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1962 as_fn_error $? "invalid package name: $ac_useropt"
1963 ac_useropt_orig=$ac_useropt
1964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1965 case $ac_user_opts in
1967 "with_$ac_useropt"
1968 "*) ;;
1969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1970 ac_unrecognized_sep=', ';;
1971 esac
1972 eval with_$ac_useropt=\$ac_optarg ;;
1974 -without-* | --without-*)
1975 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1976 # Reject names that are not valid shell variable names.
1977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1978 as_fn_error $? "invalid package name: $ac_useropt"
1979 ac_useropt_orig=$ac_useropt
1980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1981 case $ac_user_opts in
1983 "with_$ac_useropt"
1984 "*) ;;
1985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1986 ac_unrecognized_sep=', ';;
1987 esac
1988 eval with_$ac_useropt=no ;;
1990 --x)
1991 # Obsolete; use --with-x.
1992 with_x=yes ;;
1994 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1995 | --x-incl | --x-inc | --x-in | --x-i)
1996 ac_prev=x_includes ;;
1997 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1998 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1999 x_includes=$ac_optarg ;;
2001 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2002 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2003 ac_prev=x_libraries ;;
2004 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2005 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2006 x_libraries=$ac_optarg ;;
2008 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2009 Try \`$0 --help' for more information"
2012 *=*)
2013 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2014 # Reject names that are not valid shell variable names.
2015 case $ac_envvar in #(
2016 '' | [0-9]* | *[!_$as_cr_alnum]* )
2017 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2018 esac
2019 eval $ac_envvar=\$ac_optarg
2020 export $ac_envvar ;;
2023 # FIXME: should be removed in autoconf 3.0.
2024 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2025 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2026 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2027 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2030 esac
2031 done
2033 if test -n "$ac_prev"; then
2034 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2035 as_fn_error $? "missing argument to $ac_option"
2038 if test -n "$ac_unrecognized_opts"; then
2039 case $enable_option_checking in
2040 no) ;;
2041 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2042 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2043 esac
2046 # Check all directory arguments for consistency.
2047 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2048 datadir sysconfdir sharedstatedir localstatedir includedir \
2049 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2050 libdir localedir mandir runstatedir
2052 eval ac_val=\$$ac_var
2053 # Remove trailing slashes.
2054 case $ac_val in
2055 */ )
2056 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2057 eval $ac_var=\$ac_val;;
2058 esac
2059 # Be sure to have absolute directory names.
2060 case $ac_val in
2061 [\\/$]* | ?:[\\/]* ) continue;;
2062 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2063 esac
2064 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2065 done
2067 # There might be people who depend on the old broken behavior: `$host'
2068 # used to hold the argument of --host etc.
2069 # FIXME: To remove some day.
2070 build=$build_alias
2071 host=$host_alias
2072 target=$target_alias
2074 # FIXME: To remove some day.
2075 if test "x$host_alias" != x; then
2076 if test "x$build_alias" = x; then
2077 cross_compiling=maybe
2078 elif test "x$build_alias" != "x$host_alias"; then
2079 cross_compiling=yes
2083 ac_tool_prefix=
2084 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2086 test "$silent" = yes && exec 6>/dev/null
2089 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2090 ac_ls_di=`ls -di .` &&
2091 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2092 as_fn_error $? "working directory cannot be determined"
2093 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2094 as_fn_error $? "pwd does not report name of working directory"
2097 # Find the source files, if location was not specified.
2098 if test -z "$srcdir"; then
2099 ac_srcdir_defaulted=yes
2100 # Try the directory containing this script, then the parent directory.
2101 ac_confdir=`$as_dirname -- "$as_myself" ||
2102 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2103 X"$as_myself" : 'X\(//\)[^/]' \| \
2104 X"$as_myself" : 'X\(//\)$' \| \
2105 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2106 $as_echo X"$as_myself" |
2107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2108 s//\1/
2111 /^X\(\/\/\)[^/].*/{
2112 s//\1/
2115 /^X\(\/\/\)$/{
2116 s//\1/
2119 /^X\(\/\).*/{
2120 s//\1/
2123 s/.*/./; q'`
2124 srcdir=$ac_confdir
2125 if test ! -r "$srcdir/$ac_unique_file"; then
2126 srcdir=..
2128 else
2129 ac_srcdir_defaulted=no
2131 if test ! -r "$srcdir/$ac_unique_file"; then
2132 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2133 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2135 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2136 ac_abs_confdir=`(
2137 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2138 pwd)`
2139 # When building in place, set srcdir=.
2140 if test "$ac_abs_confdir" = "$ac_pwd"; then
2141 srcdir=.
2143 # Remove unnecessary trailing slashes from srcdir.
2144 # Double slashes in file names in object file debugging info
2145 # mess up M-x gdb in Emacs.
2146 case $srcdir in
2147 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2148 esac
2149 for ac_var in $ac_precious_vars; do
2150 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2151 eval ac_env_${ac_var}_value=\$${ac_var}
2152 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2153 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2154 done
2157 # Report the --help message.
2159 if test "$ac_init_help" = "long"; then
2160 # Omit some internal or obsolete options to make the list less imposing.
2161 # This message is too long to be a string in the A/UX 3.1 sh.
2162 cat <<_ACEOF
2163 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2165 Usage: $0 [OPTION]... [VAR=VALUE]...
2167 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2168 VAR=VALUE. See below for descriptions of some of the useful variables.
2170 Defaults for the options are specified in brackets.
2172 Configuration:
2173 -h, --help display this help and exit
2174 --help=short display options specific to this package
2175 --help=recursive display the short help of all the included packages
2176 -V, --version display version information and exit
2177 -q, --quiet, --silent do not print \`checking ...' messages
2178 --cache-file=FILE cache test results in FILE [disabled]
2179 -C, --config-cache alias for \`--cache-file=config.cache'
2180 -n, --no-create do not create output files
2181 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2183 Installation directories:
2184 --prefix=PREFIX install architecture-independent files in PREFIX
2185 [$ac_default_prefix]
2186 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2187 [PREFIX]
2189 By default, \`make install' will install all the files in
2190 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2191 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2192 for instance \`--prefix=\$HOME'.
2194 For better control, use the options below.
2196 Fine tuning of the installation directories:
2197 --bindir=DIR user executables [EPREFIX/bin]
2198 --sbindir=DIR system admin executables [EPREFIX/sbin]
2199 --libexecdir=DIR program executables [EPREFIX/libexec]
2200 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2201 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2202 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2203 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2204 --libdir=DIR object code libraries [EPREFIX/lib]
2205 --includedir=DIR C header files [PREFIX/include]
2206 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2207 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2208 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2209 --infodir=DIR info documentation [DATAROOTDIR/info]
2210 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2211 --mandir=DIR man documentation [DATAROOTDIR/man]
2212 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2213 --htmldir=DIR html documentation [DOCDIR]
2214 --dvidir=DIR dvi documentation [DOCDIR]
2215 --pdfdir=DIR pdf documentation [DOCDIR]
2216 --psdir=DIR ps documentation [DOCDIR]
2217 _ACEOF
2219 cat <<\_ACEOF
2221 X features:
2222 --x-includes=DIR X include files are in DIR
2223 --x-libraries=DIR X library files are in DIR
2225 System types:
2226 --build=BUILD configure for building on BUILD [guessed]
2227 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2228 _ACEOF
2231 if test -n "$ac_init_help"; then
2232 case $ac_init_help in
2233 short | recursive ) echo "Configuration of Wine 1.9.18:";;
2234 esac
2235 cat <<\_ACEOF
2237 Optional Features:
2238 --disable-option-checking ignore unrecognized --enable/--with options
2239 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2240 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2241 --disable-win16 do not include Win16 support
2242 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2243 binaries)
2244 --disable-tests do not build the regression tests
2245 --enable-maintainer-mode
2246 enable maintainer-specific build rules
2247 --disable-largefile omit support for large files
2249 Optional Packages:
2250 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2251 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2252 --without-alsa do not use the Alsa sound support
2253 --without-capi do not use CAPI (ISDN support)
2254 --without-cms do not use CMS (color management support)
2255 --without-coreaudio do not use the CoreAudio sound support
2256 --without-cups do not use CUPS
2257 --without-curses do not use (n)curses
2258 --without-dbus do not use DBus (dynamic device support)
2259 --without-fontconfig do not use fontconfig
2260 --without-freetype do not use the FreeType library
2261 --without-gettext do not use gettext
2262 --with-gettextpo use the GetTextPO library to rebuild po files
2263 --without-gphoto do not use gphoto (Digital Camera support)
2264 --without-glu do not use the GLU library
2265 --without-gnutls do not use GnuTLS (schannel support)
2266 --without-gsm do not use libgsm (GSM 06.10 codec support)
2267 --without-gstreamer do not use GStreamer (codecs support)
2268 --without-hal do not use HAL (dynamic device support)
2269 --without-jpeg do not use JPEG
2270 --without-ldap do not use LDAP
2271 --without-mpg123 do not use the mpg123 library
2272 --without-netapi do not use the Samba NetAPI library
2273 --without-openal do not use OpenAL
2274 --without-opencl do not use OpenCL
2275 --without-opengl do not use OpenGL
2276 --without-osmesa do not use the OSMesa library
2277 --without-oss do not use the OSS sound support
2278 --without-pcap do not use the Packet Capture library
2279 --without-png do not use PNG
2280 --without-pthread do not use the pthread library
2281 --without-pulse do not use PulseAudio sound support
2282 --without-sane do not use SANE (scanner support)
2283 --without-tiff do not use TIFF
2284 --without-udev do not use udev (plug and play support)
2285 --without-v4l do not use v4l1 (v4l support)
2286 --without-xcomposite do not use the Xcomposite extension
2287 --without-xcursor do not use the Xcursor extension
2288 --without-xinerama do not use Xinerama (multi-monitor support)
2289 --without-xinput do not use the Xinput extension
2290 --without-xinput2 do not use the Xinput 2 extension
2291 --without-xml do not use XML
2292 --without-xrandr do not use Xrandr (resolution changes)
2293 --without-xrender do not use the Xrender extension
2294 --without-xshape do not use the Xshape extension
2295 --without-xshm do not use XShm (shared memory extension)
2296 --without-xslt do not use XSLT
2297 --without-xxf86vm do not use XFree video mode extension
2298 --without-zlib do not use Zlib (data compression)
2299 --with-wine-tools=DIR use Wine tools from directory DIR
2300 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2301 --with-x use the X Window System
2303 Some influential environment variables:
2304 CC C compiler command
2305 CFLAGS C compiler flags
2306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2307 nonstandard directory <lib dir>
2308 LIBS libraries to pass to the linker, e.g. -l<library>
2309 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2310 you have headers in a nonstandard directory <include dir>
2311 CXX C++ compiler command
2312 CXXFLAGS C++ compiler flags
2313 CPP C preprocessor
2314 XMKMF Path to xmkmf, Makefile generator for X Window System
2315 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2316 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2317 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2318 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2319 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2320 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2321 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2322 HAL_LIBS Linker flags for hal, overriding pkg-config
2323 GNUTLS_CFLAGS
2324 C compiler flags for gnutls, overriding pkg-config
2325 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2326 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2327 SANE_LIBS Linker flags for libsane, overriding pkg-config
2328 GPHOTO2_CFLAGS
2329 C compiler flags for libgphoto2, overriding pkg-config
2330 GPHOTO2_LIBS
2331 Linker flags for libgphoto2, overriding pkg-config
2332 GPHOTO2_PORT_CFLAGS
2333 C compiler flags for libgphoto2_port, overriding pkg-config
2334 GPHOTO2_PORT_LIBS
2335 Linker flags for libgphoto2_port, overriding pkg-config
2336 LCMS2_CFLAGS
2337 C compiler flags for lcms2, overriding pkg-config
2338 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2339 FREETYPE_CFLAGS
2340 C compiler flags for freetype2, overriding pkg-config
2341 FREETYPE_LIBS
2342 Linker flags for freetype2, overriding pkg-config
2343 PULSE_CFLAGS
2344 C compiler flags for libpulse, overriding pkg-config
2345 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2346 GSTREAMER_CFLAGS
2347 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2348 gstreamer-audio-1.0, overriding pkg-config
2349 GSTREAMER_LIBS
2350 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2351 gstreamer-audio-1.0, overriding pkg-config
2352 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2353 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2354 CAPI20_CFLAGS
2355 C compiler flags for capi20, overriding pkg-config
2356 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2357 FONTCONFIG_CFLAGS
2358 C compiler flags for fontconfig, overriding pkg-config
2359 FONTCONFIG_LIBS
2360 Linker flags for fontconfig, overriding pkg-config
2361 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2362 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2363 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2364 PNG_LIBS Linker flags for libpng, overriding pkg-config
2365 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2366 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2367 MPG123_CFLAGS
2368 C compiler flags for libmpg123, overriding pkg-config
2369 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2370 NETAPI_CFLAGS
2371 C compiler flags for netapi, overriding pkg-config
2372 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2374 Use these variables to override the choices made by `configure' or to help
2375 it to find libraries and programs with nonstandard names/locations.
2377 Report bugs to <wine-devel@winehq.org>.
2378 Wine home page: <http://www.winehq.org>.
2379 _ACEOF
2380 ac_status=$?
2383 if test "$ac_init_help" = "recursive"; then
2384 # If there are subdirs, report their specific --help.
2385 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2386 test -d "$ac_dir" ||
2387 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2388 continue
2389 ac_builddir=.
2391 case "$ac_dir" in
2392 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2394 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2395 # A ".." for each directory in $ac_dir_suffix.
2396 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2397 case $ac_top_builddir_sub in
2398 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2399 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2400 esac ;;
2401 esac
2402 ac_abs_top_builddir=$ac_pwd
2403 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2404 # for backward compatibility:
2405 ac_top_builddir=$ac_top_build_prefix
2407 case $srcdir in
2408 .) # We are building in place.
2409 ac_srcdir=.
2410 ac_top_srcdir=$ac_top_builddir_sub
2411 ac_abs_top_srcdir=$ac_pwd ;;
2412 [\\/]* | ?:[\\/]* ) # Absolute name.
2413 ac_srcdir=$srcdir$ac_dir_suffix;
2414 ac_top_srcdir=$srcdir
2415 ac_abs_top_srcdir=$srcdir ;;
2416 *) # Relative name.
2417 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2418 ac_top_srcdir=$ac_top_build_prefix$srcdir
2419 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2420 esac
2421 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2423 cd "$ac_dir" || { ac_status=$?; continue; }
2424 # Check for guested configure.
2425 if test -f "$ac_srcdir/configure.gnu"; then
2426 echo &&
2427 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2428 elif test -f "$ac_srcdir/configure"; then
2429 echo &&
2430 $SHELL "$ac_srcdir/configure" --help=recursive
2431 else
2432 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2433 fi || ac_status=$?
2434 cd "$ac_pwd" || { ac_status=$?; break; }
2435 done
2438 test -n "$ac_init_help" && exit $ac_status
2439 if $ac_init_version; then
2440 cat <<\_ACEOF
2441 Wine configure 1.9.18
2442 generated by GNU Autoconf 2.69
2444 Copyright (C) 2012 Free Software Foundation, Inc.
2445 This configure script is free software; the Free Software Foundation
2446 gives unlimited permission to copy, distribute and modify it.
2447 _ACEOF
2448 exit
2451 ## ------------------------ ##
2452 ## Autoconf initialization. ##
2453 ## ------------------------ ##
2455 # ac_fn_c_try_compile LINENO
2456 # --------------------------
2457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2458 ac_fn_c_try_compile ()
2460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2461 rm -f conftest.$ac_objext
2462 if { { ac_try="$ac_compile"
2463 case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2466 esac
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_compile") 2>conftest.err
2470 ac_status=$?
2471 if test -s conftest.err; then
2472 grep -v '^ *+' conftest.err >conftest.er1
2473 cat conftest.er1 >&5
2474 mv -f conftest.er1 conftest.err
2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2477 test $ac_status = 0; } && {
2478 test -z "$ac_c_werror_flag" ||
2479 test ! -s conftest.err
2480 } && test -s conftest.$ac_objext; then :
2481 ac_retval=0
2482 else
2483 $as_echo "$as_me: failed program was:" >&5
2484 sed 's/^/| /' conftest.$ac_ext >&5
2486 ac_retval=1
2488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2489 as_fn_set_status $ac_retval
2491 } # ac_fn_c_try_compile
2493 # ac_fn_cxx_try_compile LINENO
2494 # ----------------------------
2495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2496 ac_fn_cxx_try_compile ()
2498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2499 rm -f conftest.$ac_objext
2500 if { { ac_try="$ac_compile"
2501 case "(($ac_try" in
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2504 esac
2505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2506 $as_echo "$ac_try_echo"; } >&5
2507 (eval "$ac_compile") 2>conftest.err
2508 ac_status=$?
2509 if test -s conftest.err; then
2510 grep -v '^ *+' conftest.err >conftest.er1
2511 cat conftest.er1 >&5
2512 mv -f conftest.er1 conftest.err
2514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2515 test $ac_status = 0; } && {
2516 test -z "$ac_cxx_werror_flag" ||
2517 test ! -s conftest.err
2518 } && test -s conftest.$ac_objext; then :
2519 ac_retval=0
2520 else
2521 $as_echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.$ac_ext >&5
2524 ac_retval=1
2526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2527 as_fn_set_status $ac_retval
2529 } # ac_fn_cxx_try_compile
2531 # ac_fn_c_try_link LINENO
2532 # -----------------------
2533 # Try to link conftest.$ac_ext, and return whether this succeeded.
2534 ac_fn_c_try_link ()
2536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2537 rm -f conftest.$ac_objext conftest$ac_exeext
2538 if { { ac_try="$ac_link"
2539 case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_link") 2>conftest.err
2546 ac_status=$?
2547 if test -s conftest.err; then
2548 grep -v '^ *+' conftest.err >conftest.er1
2549 cat conftest.er1 >&5
2550 mv -f conftest.er1 conftest.err
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } && {
2554 test -z "$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2556 } && test -s conftest$ac_exeext && {
2557 test "$cross_compiling" = yes ||
2558 test -x conftest$ac_exeext
2559 }; then :
2560 ac_retval=0
2561 else
2562 $as_echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2565 ac_retval=1
2567 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2568 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2569 # interfere with the next link command; also delete a directory that is
2570 # left behind by Apple's compiler. We do this before executing the actions.
2571 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 as_fn_set_status $ac_retval
2575 } # ac_fn_c_try_link
2577 # ac_fn_c_try_cpp LINENO
2578 # ----------------------
2579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2580 ac_fn_c_try_cpp ()
2582 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2583 if { { ac_try="$ac_cpp conftest.$ac_ext"
2584 case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2591 ac_status=$?
2592 if test -s conftest.err; then
2593 grep -v '^ *+' conftest.err >conftest.er1
2594 cat conftest.er1 >&5
2595 mv -f conftest.er1 conftest.err
2597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2598 test $ac_status = 0; } > conftest.i && {
2599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2600 test ! -s conftest.err
2601 }; then :
2602 ac_retval=0
2603 else
2604 $as_echo "$as_me: failed program was:" >&5
2605 sed 's/^/| /' conftest.$ac_ext >&5
2607 ac_retval=1
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610 as_fn_set_status $ac_retval
2612 } # ac_fn_c_try_cpp
2614 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2615 # -------------------------------------------------------
2616 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2617 # the include files in INCLUDES and setting the cache variable VAR
2618 # accordingly.
2619 ac_fn_c_check_header_mongrel ()
2621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622 if eval \${$3+:} false; then :
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2624 $as_echo_n "checking for $2... " >&6; }
2625 if eval \${$3+:} false; then :
2626 $as_echo_n "(cached) " >&6
2628 eval ac_res=\$$3
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2630 $as_echo "$ac_res" >&6; }
2631 else
2632 # Is the header compilable?
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2634 $as_echo_n "checking $2 usability... " >&6; }
2635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2636 /* end confdefs.h. */
2638 #include <$2>
2639 _ACEOF
2640 if ac_fn_c_try_compile "$LINENO"; then :
2641 ac_header_compiler=yes
2642 else
2643 ac_header_compiler=no
2645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2647 $as_echo "$ac_header_compiler" >&6; }
2649 # Is the header present?
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2651 $as_echo_n "checking $2 presence... " >&6; }
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2654 #include <$2>
2655 _ACEOF
2656 if ac_fn_c_try_cpp "$LINENO"; then :
2657 ac_header_preproc=yes
2658 else
2659 ac_header_preproc=no
2661 rm -f conftest.err conftest.i conftest.$ac_ext
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2663 $as_echo "$ac_header_preproc" >&6; }
2665 # So? What about this header?
2666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2667 yes:no: )
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2669 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2673 no:yes:* )
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2675 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2677 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2679 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2681 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2684 ( $as_echo "## ------------------------------------ ##
2685 ## Report this to wine-devel@winehq.org ##
2686 ## ------------------------------------ ##"
2687 ) | sed "s/^/$as_me: WARNING: /" >&2
2689 esac
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2691 $as_echo_n "checking for $2... " >&6; }
2692 if eval \${$3+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 eval "$3=\$ac_header_compiler"
2697 eval ac_res=\$$3
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2699 $as_echo "$ac_res" >&6; }
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 } # ac_fn_c_check_header_mongrel
2705 # ac_fn_c_try_run LINENO
2706 # ----------------------
2707 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2708 # that executables *can* be run.
2709 ac_fn_c_try_run ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 if { { ac_try="$ac_link"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_link") 2>&5
2720 ac_status=$?
2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2723 { { case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_try") 2>&5
2730 ac_status=$?
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2732 test $ac_status = 0; }; }; then :
2733 ac_retval=0
2734 else
2735 $as_echo "$as_me: program exited with status $ac_status" >&5
2736 $as_echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 ac_retval=$ac_status
2741 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2743 as_fn_set_status $ac_retval
2745 } # ac_fn_c_try_run
2747 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2748 # -------------------------------------------------------
2749 # Tests whether HEADER exists and can be compiled using the include files in
2750 # INCLUDES, setting the cache variable VAR accordingly.
2751 ac_fn_c_check_header_compile ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \${$3+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758 else
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2762 #include <$2>
2763 _ACEOF
2764 if ac_fn_c_try_compile "$LINENO"; then :
2765 eval "$3=yes"
2766 else
2767 eval "$3=no"
2769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2771 eval ac_res=\$$3
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2773 $as_echo "$ac_res" >&6; }
2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2776 } # ac_fn_c_check_header_compile
2778 # ac_fn_c_check_func LINENO FUNC VAR
2779 # ----------------------------------
2780 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2781 ac_fn_c_check_func ()
2783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2785 $as_echo_n "checking for $2... " >&6; }
2786 if eval \${$3+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2790 /* end confdefs.h. */
2791 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2793 #define $2 innocuous_$2
2795 /* System header to define __stub macros and hopefully few prototypes,
2796 which can conflict with char $2 (); below.
2797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2798 <limits.h> exists even on freestanding compilers. */
2800 #ifdef __STDC__
2801 # include <limits.h>
2802 #else
2803 # include <assert.h>
2804 #endif
2806 #undef $2
2808 /* Override any GCC internal prototype to avoid an error.
2809 Use char because int might match the return type of a GCC
2810 builtin and then its argument prototype would still apply. */
2811 #ifdef __cplusplus
2812 extern "C"
2813 #endif
2814 char $2 ();
2815 /* The GNU C library defines this for functions which it implements
2816 to always fail with ENOSYS. Some functions are actually named
2817 something starting with __ and the normal name is an alias. */
2818 #if defined __stub_$2 || defined __stub___$2
2819 choke me
2820 #endif
2823 main ()
2825 return $2 ();
2827 return 0;
2829 _ACEOF
2830 if ac_fn_c_try_link "$LINENO"; then :
2831 eval "$3=yes"
2832 else
2833 eval "$3=no"
2835 rm -f core conftest.err conftest.$ac_objext \
2836 conftest$ac_exeext conftest.$ac_ext
2838 eval ac_res=\$$3
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2840 $as_echo "$ac_res" >&6; }
2841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 } # ac_fn_c_check_func
2845 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2846 # ----------------------------------------------------
2847 # Tries to find if the field MEMBER exists in type AGGR, after including
2848 # INCLUDES, setting cache variable VAR accordingly.
2849 ac_fn_c_check_member ()
2851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2853 $as_echo_n "checking for $2.$3... " >&6; }
2854 if eval \${$4+:} false; then :
2855 $as_echo_n "(cached) " >&6
2856 else
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2861 main ()
2863 static $2 ac_aggr;
2864 if (ac_aggr.$3)
2865 return 0;
2867 return 0;
2869 _ACEOF
2870 if ac_fn_c_try_compile "$LINENO"; then :
2871 eval "$4=yes"
2872 else
2873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2874 /* end confdefs.h. */
2877 main ()
2879 static $2 ac_aggr;
2880 if (sizeof ac_aggr.$3)
2881 return 0;
2883 return 0;
2885 _ACEOF
2886 if ac_fn_c_try_compile "$LINENO"; then :
2887 eval "$4=yes"
2888 else
2889 eval "$4=no"
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 eval ac_res=\$$4
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2897 $as_echo "$ac_res" >&6; }
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 } # ac_fn_c_check_member
2902 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2903 # -------------------------------------------
2904 # Tests whether TYPE exists after having included INCLUDES, setting cache
2905 # variable VAR accordingly.
2906 ac_fn_c_check_type ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 $as_echo_n "checking for $2... " >&6; }
2911 if eval \${$3+:} false; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 eval "$3=no"
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2919 main ()
2921 if (sizeof ($2))
2922 return 0;
2924 return 0;
2926 _ACEOF
2927 if ac_fn_c_try_compile "$LINENO"; then :
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2932 main ()
2934 if (sizeof (($2)))
2935 return 0;
2937 return 0;
2939 _ACEOF
2940 if ac_fn_c_try_compile "$LINENO"; then :
2942 else
2943 eval "$3=yes"
2945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949 eval ac_res=\$$3
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 } # ac_fn_c_check_type
2955 cat >config.log <<_ACEOF
2956 This file contains any messages produced by compilers while
2957 running configure, to aid debugging if configure makes a mistake.
2959 It was created by Wine $as_me 1.9.18, which was
2960 generated by GNU Autoconf 2.69. Invocation command line was
2962 $ $0 $@
2964 _ACEOF
2965 exec 5>>config.log
2967 cat <<_ASUNAME
2968 ## --------- ##
2969 ## Platform. ##
2970 ## --------- ##
2972 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2973 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2974 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2975 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2976 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2978 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2979 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2981 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2982 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2983 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2984 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2985 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2986 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2987 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2989 _ASUNAME
2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992 for as_dir in $PATH
2994 IFS=$as_save_IFS
2995 test -z "$as_dir" && as_dir=.
2996 $as_echo "PATH: $as_dir"
2997 done
2998 IFS=$as_save_IFS
3000 } >&5
3002 cat >&5 <<_ACEOF
3005 ## ----------- ##
3006 ## Core tests. ##
3007 ## ----------- ##
3009 _ACEOF
3012 # Keep a trace of the command line.
3013 # Strip out --no-create and --no-recursion so they do not pile up.
3014 # Strip out --silent because we don't want to record it for future runs.
3015 # Also quote any args containing shell meta-characters.
3016 # Make two passes to allow for proper duplicate-argument suppression.
3017 ac_configure_args=
3018 ac_configure_args0=
3019 ac_configure_args1=
3020 ac_must_keep_next=false
3021 for ac_pass in 1 2
3023 for ac_arg
3025 case $ac_arg in
3026 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3027 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3028 | -silent | --silent | --silen | --sile | --sil)
3029 continue ;;
3030 *\'*)
3031 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3032 esac
3033 case $ac_pass in
3034 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3036 as_fn_append ac_configure_args1 " '$ac_arg'"
3037 if test $ac_must_keep_next = true; then
3038 ac_must_keep_next=false # Got value, back to normal.
3039 else
3040 case $ac_arg in
3041 *=* | --config-cache | -C | -disable-* | --disable-* \
3042 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3043 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3044 | -with-* | --with-* | -without-* | --without-* | --x)
3045 case "$ac_configure_args0 " in
3046 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3047 esac
3049 -* ) ac_must_keep_next=true ;;
3050 esac
3052 as_fn_append ac_configure_args " '$ac_arg'"
3054 esac
3055 done
3056 done
3057 { ac_configure_args0=; unset ac_configure_args0;}
3058 { ac_configure_args1=; unset ac_configure_args1;}
3060 # When interrupted or exit'd, cleanup temporary files, and complete
3061 # config.log. We remove comments because anyway the quotes in there
3062 # would cause problems or look ugly.
3063 # WARNING: Use '\'' to represent an apostrophe within the trap.
3064 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3065 trap 'exit_status=$?
3066 # Save into config.log some information that might help in debugging.
3068 echo
3070 $as_echo "## ---------------- ##
3071 ## Cache variables. ##
3072 ## ---------------- ##"
3073 echo
3074 # The following way of writing the cache mishandles newlines in values,
3076 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3077 eval ac_val=\$$ac_var
3078 case $ac_val in #(
3079 *${as_nl}*)
3080 case $ac_var in #(
3081 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3083 esac
3084 case $ac_var in #(
3085 _ | IFS | as_nl) ;; #(
3086 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3087 *) { eval $ac_var=; unset $ac_var;} ;;
3088 esac ;;
3089 esac
3090 done
3091 (set) 2>&1 |
3092 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3093 *${as_nl}ac_space=\ *)
3094 sed -n \
3095 "s/'\''/'\''\\\\'\'''\''/g;
3096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3097 ;; #(
3099 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3101 esac |
3102 sort
3104 echo
3106 $as_echo "## ----------------- ##
3107 ## Output variables. ##
3108 ## ----------------- ##"
3109 echo
3110 for ac_var in $ac_subst_vars
3112 eval ac_val=\$$ac_var
3113 case $ac_val in
3114 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3115 esac
3116 $as_echo "$ac_var='\''$ac_val'\''"
3117 done | sort
3118 echo
3120 if test -n "$ac_subst_files"; then
3121 $as_echo "## ------------------- ##
3122 ## File substitutions. ##
3123 ## ------------------- ##"
3124 echo
3125 for ac_var in $ac_subst_files
3127 eval ac_val=\$$ac_var
3128 case $ac_val in
3129 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3130 esac
3131 $as_echo "$ac_var='\''$ac_val'\''"
3132 done | sort
3133 echo
3136 if test -s confdefs.h; then
3137 $as_echo "## ----------- ##
3138 ## confdefs.h. ##
3139 ## ----------- ##"
3140 echo
3141 cat confdefs.h
3142 echo
3144 test "$ac_signal" != 0 &&
3145 $as_echo "$as_me: caught signal $ac_signal"
3146 $as_echo "$as_me: exit $exit_status"
3147 } >&5
3148 rm -f core *.core core.conftest.* &&
3149 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3150 exit $exit_status
3152 for ac_signal in 1 2 13 15; do
3153 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3154 done
3155 ac_signal=0
3157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3158 rm -f -r conftest* confdefs.h
3160 $as_echo "/* confdefs.h */" > confdefs.h
3162 # Predefined preprocessor variables.
3164 cat >>confdefs.h <<_ACEOF
3165 #define PACKAGE_NAME "$PACKAGE_NAME"
3166 _ACEOF
3168 cat >>confdefs.h <<_ACEOF
3169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3170 _ACEOF
3172 cat >>confdefs.h <<_ACEOF
3173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3174 _ACEOF
3176 cat >>confdefs.h <<_ACEOF
3177 #define PACKAGE_STRING "$PACKAGE_STRING"
3178 _ACEOF
3180 cat >>confdefs.h <<_ACEOF
3181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3182 _ACEOF
3184 cat >>confdefs.h <<_ACEOF
3185 #define PACKAGE_URL "$PACKAGE_URL"
3186 _ACEOF
3189 # Let the site file select an alternate cache file if it wants to.
3190 # Prefer an explicitly selected file to automatically selected ones.
3191 ac_site_file1=NONE
3192 ac_site_file2=NONE
3193 if test -n "$CONFIG_SITE"; then
3194 # We do not want a PATH search for config.site.
3195 case $CONFIG_SITE in #((
3196 -*) ac_site_file1=./$CONFIG_SITE;;
3197 */*) ac_site_file1=$CONFIG_SITE;;
3198 *) ac_site_file1=./$CONFIG_SITE;;
3199 esac
3200 elif test "x$prefix" != xNONE; then
3201 ac_site_file1=$prefix/share/config.site
3202 ac_site_file2=$prefix/etc/config.site
3203 else
3204 ac_site_file1=$ac_default_prefix/share/config.site
3205 ac_site_file2=$ac_default_prefix/etc/config.site
3207 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3209 test "x$ac_site_file" = xNONE && continue
3210 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3212 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3213 sed 's/^/| /' "$ac_site_file" >&5
3214 . "$ac_site_file" \
3215 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 as_fn_error $? "failed to load site script $ac_site_file
3218 See \`config.log' for more details" "$LINENO" 5; }
3220 done
3222 if test -r "$cache_file"; then
3223 # Some versions of bash will fail to source /dev/null (special files
3224 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3225 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3227 $as_echo "$as_me: loading cache $cache_file" >&6;}
3228 case $cache_file in
3229 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3230 *) . "./$cache_file";;
3231 esac
3233 else
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3235 $as_echo "$as_me: creating cache $cache_file" >&6;}
3236 >$cache_file
3239 # Check that the precious variables saved in the cache have kept the same
3240 # value.
3241 ac_cache_corrupted=false
3242 for ac_var in $ac_precious_vars; do
3243 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3244 eval ac_new_set=\$ac_env_${ac_var}_set
3245 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3246 eval ac_new_val=\$ac_env_${ac_var}_value
3247 case $ac_old_set,$ac_new_set in
3248 set,)
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3250 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3251 ac_cache_corrupted=: ;;
3252 ,set)
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3254 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3255 ac_cache_corrupted=: ;;
3256 ,);;
3258 if test "x$ac_old_val" != "x$ac_new_val"; then
3259 # differences in whitespace do not lead to failure.
3260 ac_old_val_w=`echo x $ac_old_val`
3261 ac_new_val_w=`echo x $ac_new_val`
3262 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3264 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3265 ac_cache_corrupted=:
3266 else
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3268 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3269 eval $ac_var=\$ac_old_val
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3272 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3274 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3275 fi;;
3276 esac
3277 # Pass precious variables to config.status.
3278 if test "$ac_new_set" = set; then
3279 case $ac_new_val in
3280 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3281 *) ac_arg=$ac_var=$ac_new_val ;;
3282 esac
3283 case " $ac_configure_args " in
3284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3285 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3286 esac
3288 done
3289 if $ac_cache_corrupted; then
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3293 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3294 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3296 ## -------------------- ##
3297 ## Main body of script. ##
3298 ## -------------------- ##
3300 ac_ext=c
3301 ac_cpp='$CPP $CPPFLAGS'
3302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3308 ac_config_headers="$ac_config_headers include/config.h"
3310 ac_aux_dir=
3311 for ac_dir in tools "$srcdir"/tools; do
3312 if test -f "$ac_dir/install-sh"; then
3313 ac_aux_dir=$ac_dir
3314 ac_install_sh="$ac_aux_dir/install-sh -c"
3315 break
3316 elif test -f "$ac_dir/install.sh"; then
3317 ac_aux_dir=$ac_dir
3318 ac_install_sh="$ac_aux_dir/install.sh -c"
3319 break
3320 elif test -f "$ac_dir/shtool"; then
3321 ac_aux_dir=$ac_dir
3322 ac_install_sh="$ac_aux_dir/shtool install -c"
3323 break
3325 done
3326 if test -z "$ac_aux_dir"; then
3327 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3330 # These three variables are undocumented and unsupported,
3331 # and are intended to be withdrawn in a future Autoconf release.
3332 # They can cause serious problems if a builder's source tree is in a directory
3333 # whose full name contains unusual characters.
3334 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3335 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3336 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3340 libwine_version="1.0"
3344 # Check whether --enable-win16 was given.
3345 if test "${enable_win16+set}" = set; then :
3346 enableval=$enable_win16;
3349 # Check whether --enable-win64 was given.
3350 if test "${enable_win64+set}" = set; then :
3351 enableval=$enable_win64;
3354 # Check whether --enable-tests was given.
3355 if test "${enable_tests+set}" = set; then :
3356 enableval=$enable_tests;
3359 # Check whether --enable-maintainer-mode was given.
3360 if test "${enable_maintainer_mode+set}" = set; then :
3361 enableval=$enable_maintainer_mode;
3366 # Check whether --with-alsa was given.
3367 if test "${with_alsa+set}" = set; then :
3368 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3372 # Check whether --with-capi was given.
3373 if test "${with_capi+set}" = set; then :
3374 withval=$with_capi;
3378 # Check whether --with-cms was given.
3379 if test "${with_cms+set}" = set; then :
3380 withval=$with_cms;
3384 # Check whether --with-coreaudio was given.
3385 if test "${with_coreaudio+set}" = set; then :
3386 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3390 # Check whether --with-cups was given.
3391 if test "${with_cups+set}" = set; then :
3392 withval=$with_cups;
3396 # Check whether --with-curses was given.
3397 if test "${with_curses+set}" = set; then :
3398 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3402 # Check whether --with-dbus was given.
3403 if test "${with_dbus+set}" = set; then :
3404 withval=$with_dbus;
3408 # Check whether --with-fontconfig was given.
3409 if test "${with_fontconfig+set}" = set; then :
3410 withval=$with_fontconfig;
3414 # Check whether --with-freetype was given.
3415 if test "${with_freetype+set}" = set; then :
3416 withval=$with_freetype;
3420 # Check whether --with-gettext was given.
3421 if test "${with_gettext+set}" = set; then :
3422 withval=$with_gettext;
3426 # Check whether --with-gettextpo was given.
3427 if test "${with_gettextpo+set}" = set; then :
3428 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3432 # Check whether --with-gphoto was given.
3433 if test "${with_gphoto+set}" = set; then :
3434 withval=$with_gphoto;
3438 # Check whether --with-glu was given.
3439 if test "${with_glu+set}" = set; then :
3440 withval=$with_glu;
3444 # Check whether --with-gnutls was given.
3445 if test "${with_gnutls+set}" = set; then :
3446 withval=$with_gnutls;
3450 # Check whether --with-gsm was given.
3451 if test "${with_gsm+set}" = set; then :
3452 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3456 # Check whether --with-gstreamer was given.
3457 if test "${with_gstreamer+set}" = set; then :
3458 withval=$with_gstreamer;
3462 # Check whether --with-hal was given.
3463 if test "${with_hal+set}" = set; then :
3464 withval=$with_hal;
3468 # Check whether --with-jpeg was given.
3469 if test "${with_jpeg+set}" = set; then :
3470 withval=$with_jpeg;
3474 # Check whether --with-ldap was given.
3475 if test "${with_ldap+set}" = set; then :
3476 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3480 # Check whether --with-mpg123 was given.
3481 if test "${with_mpg123+set}" = set; then :
3482 withval=$with_mpg123;
3486 # Check whether --with-netapi was given.
3487 if test "${with_netapi+set}" = set; then :
3488 withval=$with_netapi;
3492 # Check whether --with-openal was given.
3493 if test "${with_openal+set}" = set; then :
3494 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3498 # Check whether --with-opencl was given.
3499 if test "${with_opencl+set}" = set; then :
3500 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3504 # Check whether --with-opengl was given.
3505 if test "${with_opengl+set}" = set; then :
3506 withval=$with_opengl;
3510 # Check whether --with-osmesa was given.
3511 if test "${with_osmesa+set}" = set; then :
3512 withval=$with_osmesa;
3516 # Check whether --with-oss was given.
3517 if test "${with_oss+set}" = set; then :
3518 withval=$with_oss;
3522 # Check whether --with-pcap was given.
3523 if test "${with_pcap+set}" = set; then :
3524 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3528 # Check whether --with-png was given.
3529 if test "${with_png+set}" = set; then :
3530 withval=$with_png;
3534 # Check whether --with-pthread was given.
3535 if test "${with_pthread+set}" = set; then :
3536 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3540 # Check whether --with-pulse was given.
3541 if test "${with_pulse+set}" = set; then :
3542 withval=$with_pulse;
3546 # Check whether --with-sane was given.
3547 if test "${with_sane+set}" = set; then :
3548 withval=$with_sane;
3552 # Check whether --with-tiff was given.
3553 if test "${with_tiff+set}" = set; then :
3554 withval=$with_tiff;
3558 # Check whether --with-udev was given.
3559 if test "${with_udev+set}" = set; then :
3560 withval=$with_udev;
3564 # Check whether --with-v4l was given.
3565 if test "${with_v4l+set}" = set; then :
3566 withval=$with_v4l;
3570 # Check whether --with-xcomposite was given.
3571 if test "${with_xcomposite+set}" = set; then :
3572 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3576 # Check whether --with-xcursor was given.
3577 if test "${with_xcursor+set}" = set; then :
3578 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3582 # Check whether --with-xinerama was given.
3583 if test "${with_xinerama+set}" = set; then :
3584 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3588 # Check whether --with-xinput was given.
3589 if test "${with_xinput+set}" = set; then :
3590 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3594 # Check whether --with-xinput2 was given.
3595 if test "${with_xinput2+set}" = set; then :
3596 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3600 # Check whether --with-xml was given.
3601 if test "${with_xml+set}" = set; then :
3602 withval=$with_xml;
3606 # Check whether --with-xrandr was given.
3607 if test "${with_xrandr+set}" = set; then :
3608 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3612 # Check whether --with-xrender was given.
3613 if test "${with_xrender+set}" = set; then :
3614 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3618 # Check whether --with-xshape was given.
3619 if test "${with_xshape+set}" = set; then :
3620 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3624 # Check whether --with-xshm was given.
3625 if test "${with_xshm+set}" = set; then :
3626 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3630 # Check whether --with-xslt was given.
3631 if test "${with_xslt+set}" = set; then :
3632 withval=$with_xslt;
3636 # Check whether --with-xxf86vm was given.
3637 if test "${with_xxf86vm+set}" = set; then :
3638 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
3642 # Check whether --with-zlib was given.
3643 if test "${with_zlib+set}" = set; then :
3644 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3649 # Check whether --with-wine-tools was given.
3650 if test "${with_wine_tools+set}" = set; then :
3651 withval=$with_wine_tools;
3655 # Check whether --with-wine64 was given.
3656 if test "${with_wine64+set}" = set; then :
3657 withval=$with_wine64;
3661 # Make sure we can run config.sub.
3662 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3663 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3666 $as_echo_n "checking build system type... " >&6; }
3667 if ${ac_cv_build+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 ac_build_alias=$build_alias
3671 test "x$ac_build_alias" = x &&
3672 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3673 test "x$ac_build_alias" = x &&
3674 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3675 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3676 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3680 $as_echo "$ac_cv_build" >&6; }
3681 case $ac_cv_build in
3682 *-*-*) ;;
3683 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3684 esac
3685 build=$ac_cv_build
3686 ac_save_IFS=$IFS; IFS='-'
3687 set x $ac_cv_build
3688 shift
3689 build_cpu=$1
3690 build_vendor=$2
3691 shift; shift
3692 # Remember, the first character of IFS is used to create $*,
3693 # except with old shells:
3694 build_os=$*
3695 IFS=$ac_save_IFS
3696 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3700 $as_echo_n "checking host system type... " >&6; }
3701 if ${ac_cv_host+:} false; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test "x$host_alias" = x; then
3705 ac_cv_host=$ac_cv_build
3706 else
3707 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3708 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3713 $as_echo "$ac_cv_host" >&6; }
3714 case $ac_cv_host in
3715 *-*-*) ;;
3716 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3717 esac
3718 host=$ac_cv_host
3719 ac_save_IFS=$IFS; IFS='-'
3720 set x $ac_cv_host
3721 shift
3722 host_cpu=$1
3723 host_vendor=$2
3724 shift; shift
3725 # Remember, the first character of IFS is used to create $*,
3726 # except with old shells:
3727 host_os=$*
3728 IFS=$ac_save_IFS
3729 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3733 case "$srcdir" in
3734 .) ;;
3735 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3736 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3737 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3738 fi ;;
3739 esac
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3743 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3744 set x ${MAKE-make}
3745 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3746 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 cat >conftest.make <<\_ACEOF
3750 SHELL = /bin/sh
3751 all:
3752 @echo '@@@%%%=$(MAKE)=@@@%%%'
3753 _ACEOF
3754 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3755 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3756 *@@@%%%=?*=@@@%%%*)
3757 eval ac_cv_prog_make_${ac_make}_set=yes;;
3759 eval ac_cv_prog_make_${ac_make}_set=no;;
3760 esac
3761 rm -f conftest.make
3763 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3765 $as_echo "yes" >&6; }
3766 SET_MAKE=
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3770 SET_MAKE="MAKE=${MAKE-make}"
3773 ac_ext=c
3774 ac_cpp='$CPP $CPPFLAGS'
3775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3778 if test -n "$ac_tool_prefix"; then
3779 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3780 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_CC+:} false; then :
3784 $as_echo_n "(cached) " >&6
3785 else
3786 if test -n "$CC"; then
3787 ac_cv_prog_CC="$CC" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3792 IFS=$as_save_IFS
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 break 2
3800 done
3801 done
3802 IFS=$as_save_IFS
3806 CC=$ac_cv_prog_CC
3807 if test -n "$CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3809 $as_echo "$CC" >&6; }
3810 else
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3817 if test -z "$ac_cv_prog_CC"; then
3818 ac_ct_CC=$CC
3819 # Extract the first word of "gcc", so it can be a program name with args.
3820 set dummy gcc; ac_word=$2
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3822 $as_echo_n "checking for $ac_word... " >&6; }
3823 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 if test -n "$ac_ct_CC"; then
3827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3828 else
3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 for as_dir in $PATH
3832 IFS=$as_save_IFS
3833 test -z "$as_dir" && as_dir=.
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836 ac_cv_prog_ac_ct_CC="gcc"
3837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838 break 2
3840 done
3841 done
3842 IFS=$as_save_IFS
3846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3847 if test -n "$ac_ct_CC"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3849 $as_echo "$ac_ct_CC" >&6; }
3850 else
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3855 if test "x$ac_ct_CC" = x; then
3856 CC=""
3857 else
3858 case $cross_compiling:$ac_tool_warned in
3859 yes:)
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned=yes ;;
3863 esac
3864 CC=$ac_ct_CC
3866 else
3867 CC="$ac_cv_prog_CC"
3870 if test -z "$CC"; then
3871 if test -n "$ac_tool_prefix"; then
3872 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3873 set dummy ${ac_tool_prefix}cc; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_CC+:} false; then :
3877 $as_echo_n "(cached) " >&6
3878 else
3879 if test -n "$CC"; then
3880 ac_cv_prog_CC="$CC" # Let the user override the test.
3881 else
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 for as_dir in $PATH
3885 IFS=$as_save_IFS
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_CC="${ac_tool_prefix}cc"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3899 CC=$ac_cv_prog_CC
3900 if test -n "$CC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3902 $as_echo "$CC" >&6; }
3903 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3911 if test -z "$CC"; then
3912 # Extract the first word of "cc", so it can be a program name with args.
3913 set dummy cc; ac_word=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if ${ac_cv_prog_CC+:} false; then :
3917 $as_echo_n "(cached) " >&6
3918 else
3919 if test -n "$CC"; then
3920 ac_cv_prog_CC="$CC" # Let the user override the test.
3921 else
3922 ac_prog_rejected=no
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3924 for as_dir in $PATH
3926 IFS=$as_save_IFS
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3931 ac_prog_rejected=yes
3932 continue
3934 ac_cv_prog_CC="cc"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 break 2
3938 done
3939 done
3940 IFS=$as_save_IFS
3942 if test $ac_prog_rejected = yes; then
3943 # We found a bogon in the path, so make sure we never use it.
3944 set dummy $ac_cv_prog_CC
3945 shift
3946 if test $# != 0; then
3947 # We chose a different compiler from the bogus one.
3948 # However, it has the same basename, so the bogon will be chosen
3949 # first if we set CC to just the basename; use the full file name.
3950 shift
3951 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3956 CC=$ac_cv_prog_CC
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3967 if test -z "$CC"; then
3968 if test -n "$ac_tool_prefix"; then
3969 for ac_prog in cl.exe
3971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_CC+:} false; then :
3976 $as_echo_n "(cached) " >&6
3977 else
3978 if test -n "$CC"; then
3979 ac_cv_prog_CC="$CC" # Let the user override the test.
3980 else
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3984 IFS=$as_save_IFS
3985 test -z "$as_dir" && as_dir=.
3986 for ac_exec_ext in '' $ac_executable_extensions; do
3987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 break 2
3992 done
3993 done
3994 IFS=$as_save_IFS
3998 CC=$ac_cv_prog_CC
3999 if test -n "$CC"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4001 $as_echo "$CC" >&6; }
4002 else
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4008 test -n "$CC" && break
4009 done
4011 if test -z "$CC"; then
4012 ac_ct_CC=$CC
4013 for ac_prog in cl.exe
4015 # Extract the first word of "$ac_prog", so it can be a program name with args.
4016 set dummy $ac_prog; ac_word=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4020 $as_echo_n "(cached) " >&6
4021 else
4022 if test -n "$ac_ct_CC"; then
4023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4024 else
4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4026 for as_dir in $PATH
4028 IFS=$as_save_IFS
4029 test -z "$as_dir" && as_dir=.
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4032 ac_cv_prog_ac_ct_CC="$ac_prog"
4033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 break 2
4036 done
4037 done
4038 IFS=$as_save_IFS
4042 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4043 if test -n "$ac_ct_CC"; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4045 $as_echo "$ac_ct_CC" >&6; }
4046 else
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4052 test -n "$ac_ct_CC" && break
4053 done
4055 if test "x$ac_ct_CC" = x; then
4056 CC=""
4057 else
4058 case $cross_compiling:$ac_tool_warned in
4059 yes:)
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4062 ac_tool_warned=yes ;;
4063 esac
4064 CC=$ac_ct_CC
4071 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error $? "no acceptable C compiler found in \$PATH
4074 See \`config.log' for more details" "$LINENO" 5; }
4076 # Provide some information about the compiler.
4077 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4078 set X $ac_compile
4079 ac_compiler=$2
4080 for ac_option in --version -v -V -qversion; do
4081 { { ac_try="$ac_compiler $ac_option >&5"
4082 case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4089 ac_status=$?
4090 if test -s conftest.err; then
4091 sed '10a\
4092 ... rest of stderr output deleted ...
4093 10q' conftest.err >conftest.er1
4094 cat conftest.er1 >&5
4096 rm -f conftest.er1 conftest.err
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }
4099 done
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4105 main ()
4109 return 0;
4111 _ACEOF
4112 ac_clean_files_save=$ac_clean_files
4113 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4114 # Try to create an executable without -o first, disregard a.out.
4115 # It will help us diagnose broken compilers, and finding out an intuition
4116 # of exeext.
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4118 $as_echo_n "checking whether the C compiler works... " >&6; }
4119 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4121 # The possible output files:
4122 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4124 ac_rmfiles=
4125 for ac_file in $ac_files
4127 case $ac_file in
4128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4129 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4130 esac
4131 done
4132 rm -f $ac_rmfiles
4134 if { { ac_try="$ac_link_default"
4135 case "(($ac_try" in
4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4137 *) ac_try_echo=$ac_try;;
4138 esac
4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4140 $as_echo "$ac_try_echo"; } >&5
4141 (eval "$ac_link_default") 2>&5
4142 ac_status=$?
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144 test $ac_status = 0; }; then :
4145 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4146 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4147 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4148 # so that the user can short-circuit this test for compilers unknown to
4149 # Autoconf.
4150 for ac_file in $ac_files ''
4152 test -f "$ac_file" || continue
4153 case $ac_file in
4154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4156 [ab].out )
4157 # We found the default executable, but exeext='' is most
4158 # certainly right.
4159 break;;
4160 *.* )
4161 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4162 then :; else
4163 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4165 # We set ac_cv_exeext here because the later test for it is not
4166 # safe: cross compilers may not add the suffix if given an `-o'
4167 # argument, so we may need to know it at that point already.
4168 # Even if this section looks crufty: it has the advantage of
4169 # actually working.
4170 break;;
4172 break;;
4173 esac
4174 done
4175 test "$ac_cv_exeext" = no && ac_cv_exeext=
4177 else
4178 ac_file=''
4180 if test -z "$ac_file"; then :
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4182 $as_echo "no" >&6; }
4183 $as_echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.$ac_ext >&5
4186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4188 as_fn_error 77 "C compiler cannot create executables
4189 See \`config.log' for more details" "$LINENO" 5; }
4190 else
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4192 $as_echo "yes" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4195 $as_echo_n "checking for C compiler default output file name... " >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4197 $as_echo "$ac_file" >&6; }
4198 ac_exeext=$ac_cv_exeext
4200 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4201 ac_clean_files=$ac_clean_files_save
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4203 $as_echo_n "checking for suffix of executables... " >&6; }
4204 if { { ac_try="$ac_link"
4205 case "(($ac_try" in
4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4208 esac
4209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4210 $as_echo "$ac_try_echo"; } >&5
4211 (eval "$ac_link") 2>&5
4212 ac_status=$?
4213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4214 test $ac_status = 0; }; then :
4215 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4216 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4217 # work properly (i.e., refer to `conftest.exe'), while it won't with
4218 # `rm'.
4219 for ac_file in conftest.exe conftest conftest.*; do
4220 test -f "$ac_file" || continue
4221 case $ac_file in
4222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4223 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4224 break;;
4225 * ) break;;
4226 esac
4227 done
4228 else
4229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4231 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4232 See \`config.log' for more details" "$LINENO" 5; }
4234 rm -f conftest conftest$ac_cv_exeext
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4236 $as_echo "$ac_cv_exeext" >&6; }
4238 rm -f conftest.$ac_ext
4239 EXEEXT=$ac_cv_exeext
4240 ac_exeext=$EXEEXT
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdio.h>
4245 main ()
4247 FILE *f = fopen ("conftest.out", "w");
4248 return ferror (f) || fclose (f) != 0;
4251 return 0;
4253 _ACEOF
4254 ac_clean_files="$ac_clean_files conftest.out"
4255 # Check that the compiler produces executables we can run. If not, either
4256 # the compiler is broken, or we cross compile.
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4258 $as_echo_n "checking whether we are cross compiling... " >&6; }
4259 if test "$cross_compiling" != yes; then
4260 { { ac_try="$ac_link"
4261 case "(($ac_try" in
4262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4263 *) ac_try_echo=$ac_try;;
4264 esac
4265 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4266 $as_echo "$ac_try_echo"; } >&5
4267 (eval "$ac_link") 2>&5
4268 ac_status=$?
4269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4270 test $ac_status = 0; }
4271 if { ac_try='./conftest$ac_cv_exeext'
4272 { { case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4275 esac
4276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_try") 2>&5
4279 ac_status=$?
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; }; then
4282 cross_compiling=no
4283 else
4284 if test "$cross_compiling" = maybe; then
4285 cross_compiling=yes
4286 else
4287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4289 as_fn_error $? "cannot run C compiled programs.
4290 If you meant to cross compile, use \`--host'.
4291 See \`config.log' for more details" "$LINENO" 5; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4296 $as_echo "$cross_compiling" >&6; }
4298 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4299 ac_clean_files=$ac_clean_files_save
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4301 $as_echo_n "checking for suffix of object files... " >&6; }
4302 if ${ac_cv_objext+:} false; then :
4303 $as_echo_n "(cached) " >&6
4304 else
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4309 main ()
4313 return 0;
4315 _ACEOF
4316 rm -f conftest.o conftest.obj
4317 if { { ac_try="$ac_compile"
4318 case "(($ac_try" in
4319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4320 *) ac_try_echo=$ac_try;;
4321 esac
4322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 $as_echo "$ac_try_echo"; } >&5
4324 (eval "$ac_compile") 2>&5
4325 ac_status=$?
4326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4327 test $ac_status = 0; }; then :
4328 for ac_file in conftest.o conftest.obj conftest.*; do
4329 test -f "$ac_file" || continue;
4330 case $ac_file in
4331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4332 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4333 break;;
4334 esac
4335 done
4336 else
4337 $as_echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.$ac_ext >&5
4340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4341 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4342 as_fn_error $? "cannot compute suffix of object files: cannot compile
4343 See \`config.log' for more details" "$LINENO" 5; }
4345 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4348 $as_echo "$ac_cv_objext" >&6; }
4349 OBJEXT=$ac_cv_objext
4350 ac_objext=$OBJEXT
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4352 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4353 if ${ac_cv_c_compiler_gnu+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4360 main ()
4362 #ifndef __GNUC__
4363 choke me
4364 #endif
4367 return 0;
4369 _ACEOF
4370 if ac_fn_c_try_compile "$LINENO"; then :
4371 ac_compiler_gnu=yes
4372 else
4373 ac_compiler_gnu=no
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4380 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4381 if test $ac_compiler_gnu = yes; then
4382 GCC=yes
4383 else
4384 GCC=
4386 ac_test_CFLAGS=${CFLAGS+set}
4387 ac_save_CFLAGS=$CFLAGS
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4389 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4390 if ${ac_cv_prog_cc_g+:} false; then :
4391 $as_echo_n "(cached) " >&6
4392 else
4393 ac_save_c_werror_flag=$ac_c_werror_flag
4394 ac_c_werror_flag=yes
4395 ac_cv_prog_cc_g=no
4396 CFLAGS="-g"
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4401 main ()
4405 return 0;
4407 _ACEOF
4408 if ac_fn_c_try_compile "$LINENO"; then :
4409 ac_cv_prog_cc_g=yes
4410 else
4411 CFLAGS=""
4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4416 main ()
4420 return 0;
4422 _ACEOF
4423 if ac_fn_c_try_compile "$LINENO"; then :
4425 else
4426 ac_c_werror_flag=$ac_save_c_werror_flag
4427 CFLAGS="-g"
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4432 main ()
4436 return 0;
4438 _ACEOF
4439 if ac_fn_c_try_compile "$LINENO"; then :
4440 ac_cv_prog_cc_g=yes
4442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4447 ac_c_werror_flag=$ac_save_c_werror_flag
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4450 $as_echo "$ac_cv_prog_cc_g" >&6; }
4451 if test "$ac_test_CFLAGS" = set; then
4452 CFLAGS=$ac_save_CFLAGS
4453 elif test $ac_cv_prog_cc_g = yes; then
4454 if test "$GCC" = yes; then
4455 CFLAGS="-g -O2"
4456 else
4457 CFLAGS="-g"
4459 else
4460 if test "$GCC" = yes; then
4461 CFLAGS="-O2"
4462 else
4463 CFLAGS=
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4467 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4468 if ${ac_cv_prog_cc_c89+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 ac_cv_prog_cc_c89=no
4472 ac_save_CC=$CC
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4475 #include <stdarg.h>
4476 #include <stdio.h>
4477 struct stat;
4478 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4479 struct buf { int x; };
4480 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4481 static char *e (p, i)
4482 char **p;
4483 int i;
4485 return p[i];
4487 static char *f (char * (*g) (char **, int), char **p, ...)
4489 char *s;
4490 va_list v;
4491 va_start (v,p);
4492 s = g (p, va_arg (v,int));
4493 va_end (v);
4494 return s;
4497 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4498 function prototypes and stuff, but not '\xHH' hex character constants.
4499 These don't provoke an error unfortunately, instead are silently treated
4500 as 'x'. The following induces an error, until -std is added to get
4501 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4502 array size at least. It's necessary to write '\x00'==0 to get something
4503 that's true only with -std. */
4504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4506 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4507 inside strings and character constants. */
4508 #define FOO(x) 'x'
4509 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4511 int test (int i, double x);
4512 struct s1 {int (*f) (int a);};
4513 struct s2 {int (*f) (double a);};
4514 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4515 int argc;
4516 char **argv;
4518 main ()
4520 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4522 return 0;
4524 _ACEOF
4525 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4526 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4528 CC="$ac_save_CC $ac_arg"
4529 if ac_fn_c_try_compile "$LINENO"; then :
4530 ac_cv_prog_cc_c89=$ac_arg
4532 rm -f core conftest.err conftest.$ac_objext
4533 test "x$ac_cv_prog_cc_c89" != "xno" && break
4534 done
4535 rm -f conftest.$ac_ext
4536 CC=$ac_save_CC
4539 # AC_CACHE_VAL
4540 case "x$ac_cv_prog_cc_c89" in
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4543 $as_echo "none needed" >&6; } ;;
4544 xno)
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4546 $as_echo "unsupported" >&6; } ;;
4548 CC="$CC $ac_cv_prog_cc_c89"
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4550 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4551 esac
4552 if test "x$ac_cv_prog_cc_c89" != xno; then :
4556 ac_ext=c
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 ac_ext=cpp
4563 ac_cpp='$CXXCPP $CPPFLAGS'
4564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4567 if test -z "$CXX"; then
4568 if test -n "$CCC"; then
4569 CXX=$CCC
4570 else
4571 if test -n "$ac_tool_prefix"; then
4572 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4577 $as_echo_n "checking for $ac_word... " >&6; }
4578 if ${ac_cv_prog_CXX+:} false; then :
4579 $as_echo_n "(cached) " >&6
4580 else
4581 if test -n "$CXX"; then
4582 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4583 else
4584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 for as_dir in $PATH
4587 IFS=$as_save_IFS
4588 test -z "$as_dir" && as_dir=.
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4591 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 break 2
4595 done
4596 done
4597 IFS=$as_save_IFS
4601 CXX=$ac_cv_prog_CXX
4602 if test -n "$CXX"; then
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4604 $as_echo "$CXX" >&6; }
4605 else
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 $as_echo "no" >&6; }
4611 test -n "$CXX" && break
4612 done
4614 if test -z "$CXX"; then
4615 ac_ct_CXX=$CXX
4616 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4618 # Extract the first word of "$ac_prog", so it can be a program name with args.
4619 set dummy $ac_prog; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4623 $as_echo_n "(cached) " >&6
4624 else
4625 if test -n "$ac_ct_CXX"; then
4626 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4627 else
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 for as_dir in $PATH
4631 IFS=$as_save_IFS
4632 test -z "$as_dir" && as_dir=.
4633 for ac_exec_ext in '' $ac_executable_extensions; do
4634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635 ac_cv_prog_ac_ct_CXX="$ac_prog"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 break 2
4639 done
4640 done
4641 IFS=$as_save_IFS
4645 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4646 if test -n "$ac_ct_CXX"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4648 $as_echo "$ac_ct_CXX" >&6; }
4649 else
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4655 test -n "$ac_ct_CXX" && break
4656 done
4658 if test "x$ac_ct_CXX" = x; then
4659 CXX="g++"
4660 else
4661 case $cross_compiling:$ac_tool_warned in
4662 yes:)
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4665 ac_tool_warned=yes ;;
4666 esac
4667 CXX=$ac_ct_CXX
4673 # Provide some information about the compiler.
4674 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4675 set X $ac_compile
4676 ac_compiler=$2
4677 for ac_option in --version -v -V -qversion; do
4678 { { ac_try="$ac_compiler $ac_option >&5"
4679 case "(($ac_try" in
4680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4681 *) ac_try_echo=$ac_try;;
4682 esac
4683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4684 $as_echo "$ac_try_echo"; } >&5
4685 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4686 ac_status=$?
4687 if test -s conftest.err; then
4688 sed '10a\
4689 ... rest of stderr output deleted ...
4690 10q' conftest.err >conftest.er1
4691 cat conftest.er1 >&5
4693 rm -f conftest.er1 conftest.err
4694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4695 test $ac_status = 0; }
4696 done
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4699 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4700 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4707 main ()
4709 #ifndef __GNUC__
4710 choke me
4711 #endif
4714 return 0;
4716 _ACEOF
4717 if ac_fn_cxx_try_compile "$LINENO"; then :
4718 ac_compiler_gnu=yes
4719 else
4720 ac_compiler_gnu=no
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4727 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4728 if test $ac_compiler_gnu = yes; then
4729 GXX=yes
4730 else
4731 GXX=
4733 ac_test_CXXFLAGS=${CXXFLAGS+set}
4734 ac_save_CXXFLAGS=$CXXFLAGS
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4736 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4737 if ${ac_cv_prog_cxx_g+:} false; then :
4738 $as_echo_n "(cached) " >&6
4739 else
4740 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4741 ac_cxx_werror_flag=yes
4742 ac_cv_prog_cxx_g=no
4743 CXXFLAGS="-g"
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 main ()
4752 return 0;
4754 _ACEOF
4755 if ac_fn_cxx_try_compile "$LINENO"; then :
4756 ac_cv_prog_cxx_g=yes
4757 else
4758 CXXFLAGS=""
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4763 main ()
4767 return 0;
4769 _ACEOF
4770 if ac_fn_cxx_try_compile "$LINENO"; then :
4772 else
4773 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4774 CXXFLAGS="-g"
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4779 main ()
4783 return 0;
4785 _ACEOF
4786 if ac_fn_cxx_try_compile "$LINENO"; then :
4787 ac_cv_prog_cxx_g=yes
4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4797 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4798 if test "$ac_test_CXXFLAGS" = set; then
4799 CXXFLAGS=$ac_save_CXXFLAGS
4800 elif test $ac_cv_prog_cxx_g = yes; then
4801 if test "$GXX" = yes; then
4802 CXXFLAGS="-g -O2"
4803 else
4804 CXXFLAGS="-g"
4806 else
4807 if test "$GXX" = yes; then
4808 CXXFLAGS="-O2"
4809 else
4810 CXXFLAGS=
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4821 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if ${ac_cv_prog_CPPBIN+:} false; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -n "$CPPBIN"; then
4828 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4829 else
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4837 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 break 2
4841 done
4842 done
4843 IFS=$as_save_IFS
4847 CPPBIN=$ac_cv_prog_CPPBIN
4848 if test -n "$CPPBIN"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4850 $as_echo "$CPPBIN" >&6; }
4851 else
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4858 if test -z "$ac_cv_prog_CPPBIN"; then
4859 ac_ct_CPPBIN=$CPPBIN
4860 # Extract the first word of "cpp", so it can be a program name with args.
4861 set dummy cpp; ac_word=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4865 $as_echo_n "(cached) " >&6
4866 else
4867 if test -n "$ac_ct_CPPBIN"; then
4868 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4869 else
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $PATH
4873 IFS=$as_save_IFS
4874 test -z "$as_dir" && as_dir=.
4875 for ac_exec_ext in '' $ac_executable_extensions; do
4876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4877 ac_cv_prog_ac_ct_CPPBIN="cpp"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 break 2
4881 done
4882 done
4883 IFS=$as_save_IFS
4887 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4888 if test -n "$ac_ct_CPPBIN"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4890 $as_echo "$ac_ct_CPPBIN" >&6; }
4891 else
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4896 if test "x$ac_ct_CPPBIN" = x; then
4897 CPPBIN="cpp"
4898 else
4899 case $cross_compiling:$ac_tool_warned in
4900 yes:)
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903 ac_tool_warned=yes ;;
4904 esac
4905 CPPBIN=$ac_ct_CPPBIN
4907 else
4908 CPPBIN="$ac_cv_prog_CPPBIN"
4912 cat >>confdefs.h <<_ACEOF
4913 #define EXEEXT "$ac_exeext"
4914 _ACEOF
4916 if test -n "$ac_tool_prefix"; then
4917 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4918 set dummy ${ac_tool_prefix}ld; ac_word=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if ${ac_cv_prog_LD+:} false; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 if test -n "$LD"; then
4925 ac_cv_prog_LD="$LD" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4934 ac_cv_prog_LD="${ac_tool_prefix}ld"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 break 2
4938 done
4939 done
4940 IFS=$as_save_IFS
4944 LD=$ac_cv_prog_LD
4945 if test -n "$LD"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4947 $as_echo "$LD" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4955 if test -z "$ac_cv_prog_LD"; then
4956 ac_ct_LD=$LD
4957 # Extract the first word of "ld", so it can be a program name with args.
4958 set dummy ld; ac_word=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 if test -n "$ac_ct_LD"; then
4965 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4966 else
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 for as_dir in $PATH
4970 IFS=$as_save_IFS
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4974 ac_cv_prog_ac_ct_LD="ld"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 break 2
4978 done
4979 done
4980 IFS=$as_save_IFS
4984 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4985 if test -n "$ac_ct_LD"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4987 $as_echo "$ac_ct_LD" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4993 if test "x$ac_ct_LD" = x; then
4994 LD=""
4995 else
4996 case $cross_compiling:$ac_tool_warned in
4997 yes:)
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000 ac_tool_warned=yes ;;
5001 esac
5002 LD=$ac_ct_LD
5004 else
5005 LD="$ac_cv_prog_LD"
5009 case $host in
5010 *-darwin*)
5011 with_fontconfig=${with_fontconfig:-no}
5013 *-mingw32*|*-cygwin*)
5014 enable_win16=${enable_win16:-no}
5015 CFLAGS="$CFLAGS -D_WIN32"
5017 esac
5019 case $host in
5020 x86_64*|amd64*)
5021 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5022 then
5023 CC="$CC -m32"
5024 CXX="$CXX -m32"
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5026 $as_echo_n "checking whether $CC works... " >&6; }
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5032 main ()
5036 return 0;
5038 _ACEOF
5039 if ac_fn_c_try_link "$LINENO"; then :
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5041 $as_echo "yes" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5047 rm -f core conftest.err conftest.$ac_objext \
5048 conftest$ac_exeext conftest.$ac_ext
5049 host_cpu="i386"
5050 notice_platform="32-bit "
5051 TARGETFLAGS="-m32"
5053 enable_win16=${enable_win16:-yes}
5054 else
5055 if test "x${GCC}" = "xyes"
5056 then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5058 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5061 #include <stdarg.h>
5063 main ()
5065 void func(__builtin_ms_va_list *args);
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_compile "$LINENO"; then :
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5080 CC="$CC -m64"
5081 CXX="$CXX -m64"
5082 host_cpu="x86_64"
5083 notice_platform="64-bit "
5084 TARGETFLAGS="-m64"
5088 arm*)
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5090 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5093 int ac_test(int i) { return i; }
5095 main ()
5097 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_link "$LINENO"; then :
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5110 rm -f core conftest.err conftest.$ac_objext \
5111 conftest$ac_exeext conftest.$ac_ext
5112 CFLAGS="$CFLAGS -marm"
5113 TARGETFLAGS="-marm"
5116 i[3456789]86*)
5117 enable_win16=${enable_win16:-yes}
5119 esac
5121 enable_win16=${enable_win16:-no}
5122 enable_win64=${enable_win64:-no}
5124 enable_winetest=${enable_winetest:-$enable_tests}
5126 if test -n "$with_wine64"
5127 then
5128 if test "x$enable_win64" = "xyes"
5129 then
5130 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5131 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5133 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5134 You should create a separate build directory and run configure from there." "$LINENO" 5
5135 enable_fonts=${enable_fonts:-no}
5136 enable_server=${enable_server:-no}
5137 elif test "x$enable_win64" = "xyes"
5138 then
5139 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5143 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5144 if ${wine_cv_toolsdir+:} false; then :
5145 $as_echo_n "(cached) " >&6
5146 else
5147 wine_cv_toolsdir="$with_wine_tools"
5148 if test -z "$with_wine_tools"; then
5149 if test "$cross_compiling" = "yes"; then
5150 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5151 elif test -n "$with_wine64"; then
5152 wine_cv_toolsdir="$with_wine64"
5155 if test -z "$wine_cv_toolsdir"; then
5156 wine_makedep=tools/makedep
5157 wine_cv_toolsdir="\$(top_builddir)"
5158 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5159 wine_makedep=$wine_cv_toolsdir/tools/makedep
5160 case "$wine_cv_toolsdir" in
5161 /*) ;;
5162 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5163 esac
5164 enable_tools=${enable_tools:-no}
5165 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5166 else
5167 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5171 $as_echo "$wine_cv_toolsdir" >&6; }
5172 TOOLSDIR=$wine_cv_toolsdir
5174 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5175 then
5176 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5180 for ac_prog in flex
5182 # Extract the first word of "$ac_prog", so it can be a program name with args.
5183 set dummy $ac_prog; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_FLEX+:} false; then :
5187 $as_echo_n "(cached) " >&6
5188 else
5189 if test -n "$FLEX"; then
5190 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5191 else
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 for as_dir in $PATH
5195 IFS=$as_save_IFS
5196 test -z "$as_dir" && as_dir=.
5197 for ac_exec_ext in '' $ac_executable_extensions; do
5198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199 ac_cv_prog_FLEX="$ac_prog"
5200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 break 2
5203 done
5204 done
5205 IFS=$as_save_IFS
5209 FLEX=$ac_cv_prog_FLEX
5210 if test -n "$FLEX"; then
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5212 $as_echo "$FLEX" >&6; }
5213 else
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5219 test -n "$FLEX" && break
5220 done
5221 test -n "$FLEX" || FLEX="none"
5223 if test "$FLEX" = "none"
5224 then
5225 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5228 $as_echo_n "checking whether flex is recent enough... " >&6; }
5229 cat >conftest.l <<EOF
5230 %top{
5231 #include "prediluvian.h"
5235 if $FLEX -t conftest.l >/dev/null 2>&5
5236 then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5242 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5245 for ac_prog in bison
5247 # Extract the first word of "$ac_prog", so it can be a program name with args.
5248 set dummy $ac_prog; ac_word=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_BISON+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -n "$BISON"; then
5255 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5256 else
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_BISON="$ac_prog"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2
5268 done
5269 done
5270 IFS=$as_save_IFS
5274 BISON=$ac_cv_prog_BISON
5275 if test -n "$BISON"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5277 $as_echo "$BISON" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5284 test -n "$BISON" && break
5285 done
5286 test -n "$BISON" || BISON="none"
5288 if test "$BISON" = "none"
5289 then
5290 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5293 if test -n "$ac_tool_prefix"; then
5294 for ac_prog in ar gar
5296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_AR+:} false; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5326 $as_echo "$AR" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5333 test -n "$AR" && break
5334 done
5336 if test -z "$AR"; then
5337 ac_ct_AR=$AR
5338 for ac_prog in ar gar
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5345 $as_echo_n "(cached) " >&6
5346 else
5347 if test -n "$ac_ct_AR"; then
5348 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5349 else
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5351 for as_dir in $PATH
5353 IFS=$as_save_IFS
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5357 ac_cv_prog_ac_ct_AR="$ac_prog"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5359 break 2
5361 done
5362 done
5363 IFS=$as_save_IFS
5367 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5368 if test -n "$ac_ct_AR"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5370 $as_echo "$ac_ct_AR" >&6; }
5371 else
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5377 test -n "$ac_ct_AR" && break
5378 done
5380 if test "x$ac_ct_AR" = x; then
5381 AR="ar"
5382 else
5383 case $cross_compiling:$ac_tool_warned in
5384 yes:)
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5387 ac_tool_warned=yes ;;
5388 esac
5389 AR=$ac_ct_AR
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}strip; ac_word=$2
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397 $as_echo_n "checking for $ac_word... " >&6; }
5398 if ${ac_cv_prog_STRIP+:} false; then :
5399 $as_echo_n "(cached) " >&6
5400 else
5401 if test -n "$STRIP"; then
5402 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5403 else
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 break 2
5415 done
5416 done
5417 IFS=$as_save_IFS
5421 STRIP=$ac_cv_prog_STRIP
5422 if test -n "$STRIP"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5424 $as_echo "$STRIP" >&6; }
5425 else
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5432 if test -z "$ac_cv_prog_STRIP"; then
5433 ac_ct_STRIP=$STRIP
5434 # Extract the first word of "strip", so it can be a program name with args.
5435 set dummy strip; ac_word=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 if test -n "$ac_ct_STRIP"; then
5442 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5443 else
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in $PATH
5447 IFS=$as_save_IFS
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_ac_ct_STRIP="strip"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 break 2
5455 done
5456 done
5457 IFS=$as_save_IFS
5461 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5462 if test -n "$ac_ct_STRIP"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5464 $as_echo "$ac_ct_STRIP" >&6; }
5465 else
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5470 if test "x$ac_ct_STRIP" = x; then
5471 STRIP="strip"
5472 else
5473 case $cross_compiling:$ac_tool_warned in
5474 yes:)
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5477 ac_tool_warned=yes ;;
5478 esac
5479 STRIP=$ac_ct_STRIP
5481 else
5482 STRIP="$ac_cv_prog_STRIP"
5485 ARFLAGS=rc
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if ${ac_cv_prog_RANLIB+:} false; then :
5493 $as_echo_n "(cached) " >&6
5494 else
5495 if test -n "$RANLIB"; then
5496 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5505 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 RANLIB=$ac_cv_prog_RANLIB
5516 if test -n "$RANLIB"; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5518 $as_echo "$RANLIB" >&6; }
5519 else
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5526 if test -z "$ac_cv_prog_RANLIB"; then
5527 ac_ct_RANLIB=$RANLIB
5528 # Extract the first word of "ranlib", so it can be a program name with args.
5529 set dummy ranlib; ac_word=$2
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531 $as_echo_n "checking for $ac_word... " >&6; }
5532 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5533 $as_echo_n "(cached) " >&6
5534 else
5535 if test -n "$ac_ct_RANLIB"; then
5536 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5545 ac_cv_prog_ac_ct_RANLIB="ranlib"
5546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5556 if test -n "$ac_ct_RANLIB"; then
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5558 $as_echo "$ac_ct_RANLIB" >&6; }
5559 else
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561 $as_echo "no" >&6; }
5564 if test "x$ac_ct_RANLIB" = x; then
5565 RANLIB=":"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571 ac_tool_warned=yes ;;
5572 esac
5573 RANLIB=$ac_ct_RANLIB
5575 else
5576 RANLIB="$ac_cv_prog_RANLIB"
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5580 $as_echo_n "checking whether ln -s works... " >&6; }
5581 LN_S=$as_ln_s
5582 if test "$LN_S" = "ln -s"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5584 $as_echo "yes" >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5587 $as_echo "no, using $LN_S" >&6; }
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5591 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5592 if ${ac_cv_path_GREP+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -z "$GREP"; then
5596 ac_path_GREP_found=false
5597 # Loop through the user's path and test for each of PROGNAME-LIST
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_prog in grep ggrep; do
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5606 as_fn_executable_p "$ac_path_GREP" || continue
5607 # Check for GNU ac_path_GREP and select it if it is found.
5608 # Check for GNU $ac_path_GREP
5609 case `"$ac_path_GREP" --version 2>&1` in
5610 *GNU*)
5611 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5613 ac_count=0
5614 $as_echo_n 0123456789 >"conftest.in"
5615 while :
5617 cat "conftest.in" "conftest.in" >"conftest.tmp"
5618 mv "conftest.tmp" "conftest.in"
5619 cp "conftest.in" "conftest.nl"
5620 $as_echo 'GREP' >> "conftest.nl"
5621 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5622 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5623 as_fn_arith $ac_count + 1 && ac_count=$as_val
5624 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5625 # Best one so far, save it but keep looking for a better one
5626 ac_cv_path_GREP="$ac_path_GREP"
5627 ac_path_GREP_max=$ac_count
5629 # 10*(2^10) chars as input seems more than enough
5630 test $ac_count -gt 10 && break
5631 done
5632 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5633 esac
5635 $ac_path_GREP_found && break 3
5636 done
5637 done
5638 done
5639 IFS=$as_save_IFS
5640 if test -z "$ac_cv_path_GREP"; then
5641 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5643 else
5644 ac_cv_path_GREP=$GREP
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5649 $as_echo "$ac_cv_path_GREP" >&6; }
5650 GREP="$ac_cv_path_GREP"
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5654 $as_echo_n "checking for egrep... " >&6; }
5655 if ${ac_cv_path_EGREP+:} false; then :
5656 $as_echo_n "(cached) " >&6
5657 else
5658 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5659 then ac_cv_path_EGREP="$GREP -E"
5660 else
5661 if test -z "$EGREP"; then
5662 ac_path_EGREP_found=false
5663 # Loop through the user's path and test for each of PROGNAME-LIST
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5667 IFS=$as_save_IFS
5668 test -z "$as_dir" && as_dir=.
5669 for ac_prog in egrep; do
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5672 as_fn_executable_p "$ac_path_EGREP" || continue
5673 # Check for GNU ac_path_EGREP and select it if it is found.
5674 # Check for GNU $ac_path_EGREP
5675 case `"$ac_path_EGREP" --version 2>&1` in
5676 *GNU*)
5677 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5679 ac_count=0
5680 $as_echo_n 0123456789 >"conftest.in"
5681 while :
5683 cat "conftest.in" "conftest.in" >"conftest.tmp"
5684 mv "conftest.tmp" "conftest.in"
5685 cp "conftest.in" "conftest.nl"
5686 $as_echo 'EGREP' >> "conftest.nl"
5687 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5688 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5689 as_fn_arith $ac_count + 1 && ac_count=$as_val
5690 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5691 # Best one so far, save it but keep looking for a better one
5692 ac_cv_path_EGREP="$ac_path_EGREP"
5693 ac_path_EGREP_max=$ac_count
5695 # 10*(2^10) chars as input seems more than enough
5696 test $ac_count -gt 10 && break
5697 done
5698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5699 esac
5701 $ac_path_EGREP_found && break 3
5702 done
5703 done
5704 done
5705 IFS=$as_save_IFS
5706 if test -z "$ac_cv_path_EGREP"; then
5707 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5709 else
5710 ac_cv_path_EGREP=$EGREP
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5716 $as_echo "$ac_cv_path_EGREP" >&6; }
5717 EGREP="$ac_cv_path_EGREP"
5720 # Extract the first word of "ldconfig", so it can be a program name with args.
5721 set dummy ldconfig; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_path_LDCONFIG+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 case $LDCONFIG in
5728 [\\/]* | ?:[\\/]*)
5729 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in /sbin /usr/sbin $PATH
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_exec_ext in '' $ac_executable_extensions; do
5738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5741 break 2
5743 done
5744 done
5745 IFS=$as_save_IFS
5747 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5749 esac
5751 LDCONFIG=$ac_cv_path_LDCONFIG
5752 if test -n "$LDCONFIG"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5754 $as_echo "$LDCONFIG" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 for ac_prog in msgfmt
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy $ac_prog; ac_word=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if ${ac_cv_prog_MSGFMT+:} false; then :
5768 $as_echo_n "(cached) " >&6
5769 else
5770 if test -n "$MSGFMT"; then
5771 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5772 else
5773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5774 for as_dir in $PATH
5776 IFS=$as_save_IFS
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_MSGFMT="$ac_prog"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 break 2
5784 done
5785 done
5786 IFS=$as_save_IFS
5790 MSGFMT=$ac_cv_prog_MSGFMT
5791 if test -n "$MSGFMT"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5793 $as_echo "$MSGFMT" >&6; }
5794 else
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5800 test -n "$MSGFMT" && break
5801 done
5802 test -n "$MSGFMT" || MSGFMT="false"
5804 if ${ac_tool_prefix+:} false; then :
5805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$PKG_CONFIG"; then
5813 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5814 else
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 break 2
5826 done
5827 done
5828 IFS=$as_save_IFS
5832 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5833 if test -n "$PKG_CONFIG"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5835 $as_echo "$PKG_CONFIG" >&6; }
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5843 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5844 if test "x$cross_compiling" = xyes; then :
5846 else
5847 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5848 # Extract the first word of "pkg-config", so it can be a program name with args.
5849 set dummy pkg-config; ac_word=$2
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5851 $as_echo_n "checking for $ac_word... " >&6; }
5852 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 if test -n "$PKG_CONFIG"; then
5856 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5857 else
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5859 for as_dir in $PATH
5861 IFS=$as_save_IFS
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_PKG_CONFIG="pkg-config"
5866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5867 break 2
5869 done
5870 done
5871 IFS=$as_save_IFS
5875 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5876 if test -n "$PKG_CONFIG"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5878 $as_echo "$PKG_CONFIG" >&6; }
5879 else
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5881 $as_echo "no" >&6; }
5886 else
5887 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5890 if test "x$enable_maintainer_mode" != "xyes"
5891 then
5892 FONTFORGE=""
5893 RSVG=""
5894 CONVERT=""
5895 ICOTOOL=""
5896 else
5897 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5898 for ac_prog in fontforge
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_FONTFORGE+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$FONTFORGE"; then
5908 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_FONTFORGE="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 FONTFORGE=$ac_cv_prog_FONTFORGE
5928 if test -n "$FONTFORGE"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5930 $as_echo "$FONTFORGE" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$FONTFORGE" && break
5938 done
5939 test -n "$FONTFORGE" || FONTFORGE="false"
5941 for ac_prog in rsvg-convert rsvg
5943 # Extract the first word of "$ac_prog", so it can be a program name with args.
5944 set dummy $ac_prog; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_prog_RSVG+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if test -n "$RSVG"; then
5951 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5952 else
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_RSVG="$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5970 RSVG=$ac_cv_prog_RSVG
5971 if test -n "$RSVG"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5973 $as_echo "$RSVG" >&6; }
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5980 test -n "$RSVG" && break
5981 done
5982 test -n "$RSVG" || RSVG="false"
5984 for ac_prog in convert
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy $ac_prog; ac_word=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_prog_CONVERT+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 if test -n "$CONVERT"; then
5994 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_CONVERT="$ac_prog"
6004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 break 2
6007 done
6008 done
6009 IFS=$as_save_IFS
6013 CONVERT=$ac_cv_prog_CONVERT
6014 if test -n "$CONVERT"; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6016 $as_echo "$CONVERT" >&6; }
6017 else
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019 $as_echo "no" >&6; }
6023 test -n "$CONVERT" && break
6024 done
6025 test -n "$CONVERT" || CONVERT="false"
6027 for ac_prog in icotool
6029 # Extract the first word of "$ac_prog", so it can be a program name with args.
6030 set dummy $ac_prog; ac_word=$2
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032 $as_echo_n "checking for $ac_word... " >&6; }
6033 if ${ac_cv_prog_ICOTOOL+:} false; then :
6034 $as_echo_n "(cached) " >&6
6035 else
6036 if test -n "$ICOTOOL"; then
6037 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6038 else
6039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 for as_dir in $PATH
6042 IFS=$as_save_IFS
6043 test -z "$as_dir" && as_dir=.
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_ICOTOOL="$ac_prog"
6047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 ICOTOOL=$ac_cv_prog_ICOTOOL
6057 if test -n "$ICOTOOL"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6059 $as_echo "$ICOTOOL" >&6; }
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 $as_echo "no" >&6; }
6066 test -n "$ICOTOOL" && break
6067 done
6068 test -n "$ICOTOOL" || ICOTOOL="false"
6070 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6071 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6073 if test "$CONVERT" = false
6074 then
6075 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6078 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6079 convert_version=`convert --version | head -n1`
6080 if test "x$convert_version" != "x"
6081 then
6082 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6083 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6084 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6085 then
6086 CONVERT=false
6089 if test "$CONVERT" = false
6090 then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6092 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6093 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6094 else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6096 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6100 if test "$ICOTOOL" = false
6101 then
6102 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6103 else
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6105 $as_echo_n "checking for recent enough icotool... " >&6; }
6106 icotool_version=`icotool --version | head -n1`
6107 if test "x$icotool_version" != "x"
6108 then
6109 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6110 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6111 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6112 then
6113 ICOTOOL=false
6114 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6117 if test "$ICOTOOL" = false
6118 then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6120 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6121 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6124 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6128 with_gettext=yes
6129 with_gettextpo=yes
6130 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6133 test "x$with_gettext" != xno || MSGFMT=false
6134 if test "$MSGFMT" != "false"
6135 then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6137 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6138 cat >conftest.po <<EOF
6139 # comment
6140 msgctxt "ctxt"
6141 msgid "id"
6142 msgstr "str"
6144 if $MSGFMT -o /dev/null conftest.po 2>&5
6145 then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6147 $as_echo "yes" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6151 MSGFMT=false
6154 if test "$MSGFMT" = false; then :
6155 case "x$with_gettext" in
6156 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6157 xno) ;;
6158 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6159 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6160 esac
6161 enable_po=${enable_po:-no}
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6166 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6167 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 ac_check_lib_save_LIBS=$LIBS
6171 LIBS="-li386 $LIBS"
6172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6175 /* Override any GCC internal prototype to avoid an error.
6176 Use char because int might match the return type of a GCC
6177 builtin and then its argument prototype would still apply. */
6178 #ifdef __cplusplus
6179 extern "C"
6180 #endif
6181 char i386_set_ldt ();
6183 main ()
6185 return i386_set_ldt ();
6187 return 0;
6189 _ACEOF
6190 if ac_fn_c_try_link "$LINENO"; then :
6191 ac_cv_lib_i386_i386_set_ldt=yes
6192 else
6193 ac_cv_lib_i386_i386_set_ldt=no
6195 rm -f core conftest.err conftest.$ac_objext \
6196 conftest$ac_exeext conftest.$ac_ext
6197 LIBS=$ac_check_lib_save_LIBS
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6200 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6201 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6202 cat >>confdefs.h <<_ACEOF
6203 #define HAVE_LIBI386 1
6204 _ACEOF
6206 LIBS="-li386 $LIBS"
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6211 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6212 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6213 $as_echo_n "(cached) " >&6
6214 else
6215 ac_check_lib_save_LIBS=$LIBS
6216 LIBS="-lossaudio $LIBS"
6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6220 /* Override any GCC internal prototype to avoid an error.
6221 Use char because int might match the return type of a GCC
6222 builtin and then its argument prototype would still apply. */
6223 #ifdef __cplusplus
6224 extern "C"
6225 #endif
6226 char _oss_ioctl ();
6228 main ()
6230 return _oss_ioctl ();
6232 return 0;
6234 _ACEOF
6235 if ac_fn_c_try_link "$LINENO"; then :
6236 ac_cv_lib_ossaudio__oss_ioctl=yes
6237 else
6238 ac_cv_lib_ossaudio__oss_ioctl=no
6240 rm -f core conftest.err conftest.$ac_objext \
6241 conftest$ac_exeext conftest.$ac_ext
6242 LIBS=$ac_check_lib_save_LIBS
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6245 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6246 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6247 cat >>confdefs.h <<_ACEOF
6248 #define HAVE_LIBOSSAUDIO 1
6249 _ACEOF
6251 LIBS="-lossaudio $LIBS"
6256 OPENGL_LIBS=""
6260 # Check whether --enable-largefile was given.
6261 if test "${enable_largefile+set}" = set; then :
6262 enableval=$enable_largefile;
6265 if test "$enable_largefile" != no; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6268 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6269 if ${ac_cv_sys_largefile_CC+:} false; then :
6270 $as_echo_n "(cached) " >&6
6271 else
6272 ac_cv_sys_largefile_CC=no
6273 if test "$GCC" != yes; then
6274 ac_save_CC=$CC
6275 while :; do
6276 # IRIX 6.2 and later do not support large files by default,
6277 # so use the C compiler's -n32 option if that helps.
6278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <sys/types.h>
6281 /* Check that off_t can represent 2**63 - 1 correctly.
6282 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6283 since some C++ compilers masquerading as C compilers
6284 incorrectly reject 9223372036854775807. */
6285 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6286 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6287 && LARGE_OFF_T % 2147483647 == 1)
6288 ? 1 : -1];
6290 main ()
6294 return 0;
6296 _ACEOF
6297 if ac_fn_c_try_compile "$LINENO"; then :
6298 break
6300 rm -f core conftest.err conftest.$ac_objext
6301 CC="$CC -n32"
6302 if ac_fn_c_try_compile "$LINENO"; then :
6303 ac_cv_sys_largefile_CC=' -n32'; break
6305 rm -f core conftest.err conftest.$ac_objext
6306 break
6307 done
6308 CC=$ac_save_CC
6309 rm -f conftest.$ac_ext
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6313 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6314 if test "$ac_cv_sys_largefile_CC" != no; then
6315 CC=$CC$ac_cv_sys_largefile_CC
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6319 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6320 if ${ac_cv_sys_file_offset_bits+:} false; then :
6321 $as_echo_n "(cached) " >&6
6322 else
6323 while :; do
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6326 #include <sys/types.h>
6327 /* Check that off_t can represent 2**63 - 1 correctly.
6328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6329 since some C++ compilers masquerading as C compilers
6330 incorrectly reject 9223372036854775807. */
6331 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6333 && LARGE_OFF_T % 2147483647 == 1)
6334 ? 1 : -1];
6336 main ()
6340 return 0;
6342 _ACEOF
6343 if ac_fn_c_try_compile "$LINENO"; then :
6344 ac_cv_sys_file_offset_bits=no; break
6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6348 /* end confdefs.h. */
6349 #define _FILE_OFFSET_BITS 64
6350 #include <sys/types.h>
6351 /* Check that off_t can represent 2**63 - 1 correctly.
6352 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6353 since some C++ compilers masquerading as C compilers
6354 incorrectly reject 9223372036854775807. */
6355 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6356 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6357 && LARGE_OFF_T % 2147483647 == 1)
6358 ? 1 : -1];
6360 main ()
6364 return 0;
6366 _ACEOF
6367 if ac_fn_c_try_compile "$LINENO"; then :
6368 ac_cv_sys_file_offset_bits=64; break
6370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6371 ac_cv_sys_file_offset_bits=unknown
6372 break
6373 done
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6376 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6377 case $ac_cv_sys_file_offset_bits in #(
6378 no | unknown) ;;
6380 cat >>confdefs.h <<_ACEOF
6381 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6382 _ACEOF
6384 esac
6385 rm -rf conftest*
6386 if test $ac_cv_sys_file_offset_bits = unknown; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6388 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6389 if ${ac_cv_sys_large_files+:} false; then :
6390 $as_echo_n "(cached) " >&6
6391 else
6392 while :; do
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395 #include <sys/types.h>
6396 /* Check that off_t can represent 2**63 - 1 correctly.
6397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6398 since some C++ compilers masquerading as C compilers
6399 incorrectly reject 9223372036854775807. */
6400 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6402 && LARGE_OFF_T % 2147483647 == 1)
6403 ? 1 : -1];
6405 main ()
6409 return 0;
6411 _ACEOF
6412 if ac_fn_c_try_compile "$LINENO"; then :
6413 ac_cv_sys_large_files=no; break
6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6418 #define _LARGE_FILES 1
6419 #include <sys/types.h>
6420 /* Check that off_t can represent 2**63 - 1 correctly.
6421 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6422 since some C++ compilers masquerading as C compilers
6423 incorrectly reject 9223372036854775807. */
6424 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6425 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6426 && LARGE_OFF_T % 2147483647 == 1)
6427 ? 1 : -1];
6429 main ()
6433 return 0;
6435 _ACEOF
6436 if ac_fn_c_try_compile "$LINENO"; then :
6437 ac_cv_sys_large_files=1; break
6439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6440 ac_cv_sys_large_files=unknown
6441 break
6442 done
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6445 $as_echo "$ac_cv_sys_large_files" >&6; }
6446 case $ac_cv_sys_large_files in #(
6447 no | unknown) ;;
6449 cat >>confdefs.h <<_ACEOF
6450 #define _LARGE_FILES $ac_cv_sys_large_files
6451 _ACEOF
6453 esac
6454 rm -rf conftest*
6461 ac_ext=c
6462 ac_cpp='$CPP $CPPFLAGS'
6463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6467 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6468 # On Suns, sometimes $CPP names a directory.
6469 if test -n "$CPP" && test -d "$CPP"; then
6470 CPP=
6472 if test -z "$CPP"; then
6473 if ${ac_cv_prog_CPP+:} false; then :
6474 $as_echo_n "(cached) " >&6
6475 else
6476 # Double quotes because CPP needs to be expanded
6477 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6479 ac_preproc_ok=false
6480 for ac_c_preproc_warn_flag in '' yes
6482 # Use a header file that comes with gcc, so configuring glibc
6483 # with a fresh cross-compiler works.
6484 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6485 # <limits.h> exists even on freestanding compilers.
6486 # On the NeXT, cc -E runs the code through the compiler's parser,
6487 # not just through cpp. "Syntax error" is here to catch this case.
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6490 #ifdef __STDC__
6491 # include <limits.h>
6492 #else
6493 # include <assert.h>
6494 #endif
6495 Syntax error
6496 _ACEOF
6497 if ac_fn_c_try_cpp "$LINENO"; then :
6499 else
6500 # Broken: fails on valid input.
6501 continue
6503 rm -f conftest.err conftest.i conftest.$ac_ext
6505 # OK, works on sane cases. Now check whether nonexistent headers
6506 # can be detected and how.
6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508 /* end confdefs.h. */
6509 #include <ac_nonexistent.h>
6510 _ACEOF
6511 if ac_fn_c_try_cpp "$LINENO"; then :
6512 # Broken: success on invalid input.
6513 continue
6514 else
6515 # Passes both tests.
6516 ac_preproc_ok=:
6517 break
6519 rm -f conftest.err conftest.i conftest.$ac_ext
6521 done
6522 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6523 rm -f conftest.i conftest.err conftest.$ac_ext
6524 if $ac_preproc_ok; then :
6525 break
6528 done
6529 ac_cv_prog_CPP=$CPP
6532 CPP=$ac_cv_prog_CPP
6533 else
6534 ac_cv_prog_CPP=$CPP
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6537 $as_echo "$CPP" >&6; }
6538 ac_preproc_ok=false
6539 for ac_c_preproc_warn_flag in '' yes
6541 # Use a header file that comes with gcc, so configuring glibc
6542 # with a fresh cross-compiler works.
6543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6544 # <limits.h> exists even on freestanding compilers.
6545 # On the NeXT, cc -E runs the code through the compiler's parser,
6546 # not just through cpp. "Syntax error" is here to catch this case.
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6549 #ifdef __STDC__
6550 # include <limits.h>
6551 #else
6552 # include <assert.h>
6553 #endif
6554 Syntax error
6555 _ACEOF
6556 if ac_fn_c_try_cpp "$LINENO"; then :
6558 else
6559 # Broken: fails on valid input.
6560 continue
6562 rm -f conftest.err conftest.i conftest.$ac_ext
6564 # OK, works on sane cases. Now check whether nonexistent headers
6565 # can be detected and how.
6566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6568 #include <ac_nonexistent.h>
6569 _ACEOF
6570 if ac_fn_c_try_cpp "$LINENO"; then :
6571 # Broken: success on invalid input.
6572 continue
6573 else
6574 # Passes both tests.
6575 ac_preproc_ok=:
6576 break
6578 rm -f conftest.err conftest.i conftest.$ac_ext
6580 done
6581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6582 rm -f conftest.i conftest.err conftest.$ac_ext
6583 if $ac_preproc_ok; then :
6585 else
6586 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6588 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6589 See \`config.log' for more details" "$LINENO" 5; }
6592 ac_ext=c
6593 ac_cpp='$CPP $CPPFLAGS'
6594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6600 $as_echo_n "checking for ANSI C header files... " >&6; }
6601 if ${ac_cv_header_stdc+:} false; then :
6602 $as_echo_n "(cached) " >&6
6603 else
6604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6605 /* end confdefs.h. */
6606 #include <stdlib.h>
6607 #include <stdarg.h>
6608 #include <string.h>
6609 #include <float.h>
6612 main ()
6616 return 0;
6618 _ACEOF
6619 if ac_fn_c_try_compile "$LINENO"; then :
6620 ac_cv_header_stdc=yes
6621 else
6622 ac_cv_header_stdc=no
6624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6626 if test $ac_cv_header_stdc = yes; then
6627 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6630 #include <string.h>
6632 _ACEOF
6633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6634 $EGREP "memchr" >/dev/null 2>&1; then :
6636 else
6637 ac_cv_header_stdc=no
6639 rm -f conftest*
6643 if test $ac_cv_header_stdc = yes; then
6644 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6647 #include <stdlib.h>
6649 _ACEOF
6650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6651 $EGREP "free" >/dev/null 2>&1; then :
6653 else
6654 ac_cv_header_stdc=no
6656 rm -f conftest*
6660 if test $ac_cv_header_stdc = yes; then
6661 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6662 if test "$cross_compiling" = yes; then :
6664 else
6665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6666 /* end confdefs.h. */
6667 #include <ctype.h>
6668 #include <stdlib.h>
6669 #if ((' ' & 0x0FF) == 0x020)
6670 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6671 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6672 #else
6673 # define ISLOWER(c) \
6674 (('a' <= (c) && (c) <= 'i') \
6675 || ('j' <= (c) && (c) <= 'r') \
6676 || ('s' <= (c) && (c) <= 'z'))
6677 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6678 #endif
6680 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6682 main ()
6684 int i;
6685 for (i = 0; i < 256; i++)
6686 if (XOR (islower (i), ISLOWER (i))
6687 || toupper (i) != TOUPPER (i))
6688 return 2;
6689 return 0;
6691 _ACEOF
6692 if ac_fn_c_try_run "$LINENO"; then :
6694 else
6695 ac_cv_header_stdc=no
6697 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6698 conftest.$ac_objext conftest.beam conftest.$ac_ext
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6704 $as_echo "$ac_cv_header_stdc" >&6; }
6705 if test $ac_cv_header_stdc = yes; then
6707 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6711 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6712 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6713 inttypes.h stdint.h unistd.h
6714 do :
6715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6716 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6718 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6719 cat >>confdefs.h <<_ACEOF
6720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6721 _ACEOF
6725 done
6728 for ac_header in \
6729 AL/al.h \
6730 ApplicationServices/ApplicationServices.h \
6731 AudioToolbox/AudioConverter.h \
6732 AudioUnit/AudioUnit.h \
6733 AudioUnit/AudioComponent.h \
6734 CL/cl.h \
6735 Carbon/Carbon.h \
6736 CommonCrypto/CommonDigest.h \
6737 CoreAudio/CoreAudio.h \
6738 CoreServices/CoreServices.h \
6739 DiskArbitration/DiskArbitration.h \
6740 IOKit/IOKitLib.h \
6741 IOKit/hid/IOHIDLib.h \
6742 OpenAL/al.h \
6743 OpenCL/opencl.h \
6744 QuickTime/ImageCompression.h \
6745 Security/Security.h \
6746 alias.h \
6747 alsa/asoundlib.h \
6748 arpa/inet.h \
6749 arpa/nameser.h \
6750 asm/types.h \
6751 asm/user.h \
6752 curses.h \
6753 direct.h \
6754 dirent.h \
6755 dlfcn.h \
6756 elf.h \
6757 float.h \
6758 fnmatch.h \
6759 getopt.h \
6760 gettext-po.h \
6761 grp.h \
6762 gsm.h \
6763 gsm/gsm.h \
6764 ieeefp.h \
6765 inet/mib2.h \
6766 io.h \
6767 kstat.h \
6768 lber.h \
6769 ldap.h \
6770 libproc.h \
6771 link.h \
6772 linux/cdrom.h \
6773 linux/compiler.h \
6774 linux/filter.h \
6775 linux/hdreg.h \
6776 linux/input.h \
6777 linux/ioctl.h \
6778 linux/joystick.h \
6779 linux/major.h \
6780 linux/param.h \
6781 linux/serial.h \
6782 linux/types.h \
6783 linux/ucdrom.h \
6784 lwp.h \
6785 mach-o/nlist.h \
6786 mach-o/loader.h \
6787 mach/mach.h \
6788 mach/machine.h \
6789 machine/cpu.h \
6790 machine/limits.h \
6791 machine/sysarch.h \
6792 mntent.h \
6793 ncurses.h \
6794 netdb.h \
6795 netinet/in.h \
6796 netinet/in_systm.h \
6797 netinet/tcp.h \
6798 netinet/tcp_fsm.h \
6799 pcap/pcap.h \
6800 poll.h \
6801 port.h \
6802 process.h \
6803 pthread.h \
6804 pwd.h \
6805 sched.h \
6806 scsi/scsi.h \
6807 scsi/scsi_ioctl.h \
6808 scsi/sg.h \
6809 stdbool.h \
6810 stdint.h \
6811 stropts.h \
6812 sys/asoundlib.h \
6813 sys/attr.h \
6814 sys/cdio.h \
6815 sys/elf32.h \
6816 sys/epoll.h \
6817 sys/event.h \
6818 sys/exec_elf.h \
6819 sys/filio.h \
6820 sys/inotify.h \
6821 sys/ioctl.h \
6822 sys/ipc.h \
6823 sys/limits.h \
6824 sys/link.h \
6825 sys/mman.h \
6826 sys/modem.h \
6827 sys/msg.h \
6828 sys/mtio.h \
6829 sys/param.h \
6830 sys/poll.h \
6831 sys/prctl.h \
6832 sys/protosw.h \
6833 sys/ptrace.h \
6834 sys/queue.h \
6835 sys/resource.h \
6836 sys/scsiio.h \
6837 sys/shm.h \
6838 sys/signal.h \
6839 sys/socket.h \
6840 sys/socketvar.h \
6841 sys/sockio.h \
6842 sys/statvfs.h \
6843 sys/strtio.h \
6844 sys/syscall.h \
6845 sys/sysinfo.h \
6846 sys/tihdr.h \
6847 sys/time.h \
6848 sys/timeout.h \
6849 sys/times.h \
6850 sys/uio.h \
6851 sys/user.h \
6852 sys/utsname.h \
6853 sys/vm86.h \
6854 sys/vnode.h \
6855 sys/wait.h \
6856 syscall.h \
6857 termios.h \
6858 unistd.h \
6859 utime.h \
6860 valgrind/memcheck.h \
6861 valgrind/valgrind.h \
6862 zlib.h
6864 do :
6865 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6866 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6868 cat >>confdefs.h <<_ACEOF
6869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 _ACEOF
6874 done
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6877 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6878 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6879 $as_echo_n "(cached) " >&6
6880 else
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */
6883 #include <sys/types.h>
6885 main ()
6887 return makedev(0, 0);
6889 return 0;
6891 _ACEOF
6892 if ac_fn_c_try_link "$LINENO"; then :
6893 ac_cv_header_sys_types_h_makedev=yes
6894 else
6895 ac_cv_header_sys_types_h_makedev=no
6897 rm -f core conftest.err conftest.$ac_objext \
6898 conftest$ac_exeext conftest.$ac_ext
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6902 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6904 if test $ac_cv_header_sys_types_h_makedev = no; then
6905 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6906 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6908 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6914 if test $ac_cv_header_sys_mkdev_h = no; then
6915 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6916 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6918 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6927 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6928 if ${ac_cv_header_stat_broken+:} false; then :
6929 $as_echo_n "(cached) " >&6
6930 else
6931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6932 /* end confdefs.h. */
6933 #include <sys/types.h>
6934 #include <sys/stat.h>
6936 #if defined S_ISBLK && defined S_IFDIR
6937 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6938 #endif
6940 #if defined S_ISBLK && defined S_IFCHR
6941 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6942 #endif
6944 #if defined S_ISLNK && defined S_IFREG
6945 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6946 #endif
6948 #if defined S_ISSOCK && defined S_IFREG
6949 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6950 #endif
6952 _ACEOF
6953 if ac_fn_c_try_compile "$LINENO"; then :
6954 ac_cv_header_stat_broken=no
6955 else
6956 ac_cv_header_stat_broken=yes
6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6961 $as_echo "$ac_cv_header_stat_broken" >&6; }
6962 if test $ac_cv_header_stat_broken = yes; then
6964 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6970 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6971 do :
6972 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6973 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6974 #ifdef HAVE_SYS_PARAM_H
6975 # include <sys/param.h>
6976 #endif
6978 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6979 cat >>confdefs.h <<_ACEOF
6980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6981 _ACEOF
6985 done
6988 for ac_header in \
6989 netinet/ip.h \
6990 net/if.h \
6991 net/if_arp.h \
6992 net/if_dl.h \
6993 net/if_types.h \
6994 net/route.h \
6995 netinet/if_ether.h \
6996 netinet/if_inarp.h \
6997 netinet/in_pcb.h \
6998 netinet/ip_icmp.h \
6999 netinet/ip_var.h \
7000 netinet/udp.h \
7001 netipx/ipx.h \
7002 sys/un.h \
7004 do :
7005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7007 #ifdef HAVE_SYS_SOCKET_H
7008 # include <sys/socket.h>
7009 #endif
7010 #ifdef HAVE_SYS_SOCKETVAR_H
7011 # include <sys/socketvar.h>
7012 #endif
7013 #ifdef HAVE_NET_ROUTE_H
7014 # include <net/route.h>
7015 #endif
7016 #ifdef HAVE_NETINET_IN_H
7017 # include <netinet/in.h>
7018 #endif
7019 #ifdef HAVE_NETINET_IN_SYSTM_H
7020 # include <netinet/in_systm.h>
7021 #endif
7022 #ifdef HAVE_NET_IF_H
7023 # include <net/if.h>
7024 #endif
7025 #ifdef HAVE_NETINET_IP_H
7026 # include <netinet/ip.h>
7027 #endif
7029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7030 cat >>confdefs.h <<_ACEOF
7031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7032 _ACEOF
7036 done
7039 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7040 do :
7041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7042 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7043 #ifdef HAVE_ALIAS_H
7044 # include <alias.h>
7045 #endif
7046 #ifdef HAVE_SYS_SOCKET_H
7047 # include <sys/socket.h>
7048 #endif
7049 #ifdef HAVE_SYS_SOCKETVAR_H
7050 # include <sys/socketvar.h>
7051 #endif
7052 #ifdef HAVE_SYS_TIMEOUT_H
7053 # include <sys/timeout.h>
7054 #endif
7055 #ifdef HAVE_NETINET_IN_H
7056 # include <netinet/in.h>
7057 #endif
7058 #ifdef HAVE_NETINET_IN_SYSTM_H
7059 # include <netinet/in_systm.h>
7060 #endif
7061 #ifdef HAVE_NETINET_IP_H
7062 # include <netinet/ip.h>
7063 #endif
7064 #ifdef HAVE_NETINET_IP_VAR_H
7065 # include <netinet/ip_var.h>
7066 #endif
7067 #ifdef HAVE_NETINET_IP_ICMP_H
7068 # include <netinet/ip_icmp.h>
7069 #endif
7070 #ifdef HAVE_NETINET_UDP_H
7071 # include <netinet/udp.h>
7072 #endif
7073 #ifdef HAVE_NETINET_TCP_H
7074 # include <netinet/tcp.h>
7075 #endif
7076 #ifdef HAVE_NETINET_TCP_TIMER_H
7077 #include <netinet/tcp_timer.h>
7078 #endif
7080 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7081 cat >>confdefs.h <<_ACEOF
7082 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7083 _ACEOF
7087 done
7090 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7091 do :
7092 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7093 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7094 #ifdef HAVE_ASM_TYPES_H
7095 # include <asm/types.h>
7096 #endif
7097 #ifdef HAVE_SYS_SOCKET_H
7098 # include <sys/socket.h>
7099 #endif
7100 #ifdef HAVE_LINUX_TYPES_H
7101 # include <linux/types.h>
7102 #endif
7104 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7107 _ACEOF
7111 done
7114 for ac_header in mach-o/dyld_images.h
7115 do :
7116 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7117 # include <stdbool.h>
7118 #endif
7119 #ifdef HAVE_STDINT_H
7120 # include <stdint.h>
7121 #endif
7123 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7124 cat >>confdefs.h <<_ACEOF
7125 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7126 _ACEOF
7130 done
7133 for ac_header in resolv.h
7134 do :
7135 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7136 #ifdef HAVE_SYS_SOCKET_H
7137 # include <sys/socket.h>
7138 #endif
7139 #ifdef HAVE_NETINET_IN_H
7140 # include <netinet/in.h>
7141 #endif
7142 #ifdef HAVE_ARPA_NAMESER_H
7143 # include <arpa/nameser.h>
7144 #endif
7146 if test "x$ac_cv_header_resolv_h" = xyes; then :
7147 cat >>confdefs.h <<_ACEOF
7148 #define HAVE_RESOLV_H 1
7149 _ACEOF
7153 done
7156 for ac_header in ifaddrs.h
7157 do :
7158 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7160 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define HAVE_IFADDRS_H 1
7163 _ACEOF
7167 done
7170 for ac_header in sys/ucontext.h
7171 do :
7172 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7174 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7175 cat >>confdefs.h <<_ACEOF
7176 #define HAVE_SYS_UCONTEXT_H 1
7177 _ACEOF
7181 done
7184 for ac_header in sys/thr.h
7185 do :
7186 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7187 #ifdef HAVE_SYS_UCONTEXT_H
7188 #include <sys/ucontext.h>
7189 #endif
7191 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7192 cat >>confdefs.h <<_ACEOF
7193 #define HAVE_SYS_THR_H 1
7194 _ACEOF
7198 done
7201 for ac_header in pthread_np.h
7202 do :
7203 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7204 #include <pthread.h>
7205 #endif
7207 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7208 cat >>confdefs.h <<_ACEOF
7209 #define HAVE_PTHREAD_NP_H 1
7210 _ACEOF
7214 done
7217 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7218 do :
7219 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7220 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7221 #include <sys/time.h>
7222 #endif
7223 #include <sys/types.h>
7224 #ifdef HAVE_ASM_TYPES_H
7225 #include <asm/types.h>
7226 #endif
7228 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7229 cat >>confdefs.h <<_ACEOF
7230 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7231 _ACEOF
7235 done
7238 for ac_header in libprocstat.h
7239 do :
7240 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7241 #include <sys/param.h>
7242 #endif
7243 #ifdef HAVE_SYS_QUEUE_H
7244 #include <sys/queue.h>
7245 #endif
7246 #ifdef HAVE_SYS_SOCKET_H
7247 #include <sys/socket.h>
7248 #endif
7250 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_LIBPROCSTAT_H 1
7253 _ACEOF
7257 done
7261 dlldir="\${libdir}/wine"
7263 DLLFLAGS="-D_REENTRANT"
7265 LDRPATH_INSTALL=""
7267 LDRPATH_LOCAL=""
7269 LDEXECFLAGS=""
7271 LIBEXT="so"
7272 DLLEXT=".so"
7273 IMPLIBEXT="def"
7274 # Extract the first word of "ldd", so it can be a program name with args.
7275 set dummy ldd; ac_word=$2
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 $as_echo_n "checking for $ac_word... " >&6; }
7278 if ${ac_cv_path_LDD+:} false; then :
7279 $as_echo_n "(cached) " >&6
7280 else
7281 case $LDD in
7282 [\\/]* | ?:[\\/]*)
7283 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7287 as_dummy="/sbin:/usr/sbin:$PATH"
7288 for as_dir in $as_dummy
7290 IFS=$as_save_IFS
7291 test -z "$as_dir" && as_dir=.
7292 for ac_exec_ext in '' $ac_executable_extensions; do
7293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7294 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 break 2
7298 done
7299 done
7300 IFS=$as_save_IFS
7302 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7304 esac
7306 LDD=$ac_cv_path_LDD
7307 if test -n "$LDD"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7309 $as_echo "$LDD" >&6; }
7310 else
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}otool; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_OTOOL+:} false; then :
7322 $as_echo_n "(cached) " >&6
7323 else
7324 if test -n "$OTOOL"; then
7325 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 break 2
7338 done
7339 done
7340 IFS=$as_save_IFS
7344 OTOOL=$ac_cv_prog_OTOOL
7345 if test -n "$OTOOL"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7347 $as_echo "$OTOOL" >&6; }
7348 else
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_OTOOL"; then
7356 ac_ct_OTOOL=$OTOOL
7357 # Extract the first word of "otool", so it can be a program name with args.
7358 set dummy otool; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7362 $as_echo_n "(cached) " >&6
7363 else
7364 if test -n "$ac_ct_OTOOL"; then
7365 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_OTOOL="otool"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 break 2
7378 done
7379 done
7380 IFS=$as_save_IFS
7384 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7385 if test -n "$ac_ct_OTOOL"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7387 $as_echo "$ac_ct_OTOOL" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_OTOOL" = x; then
7394 OTOOL="otool"
7395 else
7396 case $cross_compiling:$ac_tool_warned in
7397 yes:)
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7401 esac
7402 OTOOL=$ac_ct_OTOOL
7404 else
7405 OTOOL="$ac_cv_prog_OTOOL"
7408 if test -n "$ac_tool_prefix"; then
7409 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7410 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if ${ac_cv_prog_READELF+:} false; then :
7414 $as_echo_n "(cached) " >&6
7415 else
7416 if test -n "$READELF"; then
7417 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7418 else
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 for as_dir in $PATH
7422 IFS=$as_save_IFS
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 break 2
7430 done
7431 done
7432 IFS=$as_save_IFS
7436 READELF=$ac_cv_prog_READELF
7437 if test -n "$READELF"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7439 $as_echo "$READELF" >&6; }
7440 else
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7447 if test -z "$ac_cv_prog_READELF"; then
7448 ac_ct_READELF=$READELF
7449 # Extract the first word of "readelf", so it can be a program name with args.
7450 set dummy readelf; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7454 $as_echo_n "(cached) " >&6
7455 else
7456 if test -n "$ac_ct_READELF"; then
7457 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7458 else
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 for as_dir in $PATH
7462 IFS=$as_save_IFS
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7466 ac_cv_prog_ac_ct_READELF="readelf"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 break 2
7470 done
7471 done
7472 IFS=$as_save_IFS
7476 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7477 if test -n "$ac_ct_READELF"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7479 $as_echo "$ac_ct_READELF" >&6; }
7480 else
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7485 if test "x$ac_ct_READELF" = x; then
7486 READELF="true"
7487 else
7488 case $cross_compiling:$ac_tool_warned in
7489 yes:)
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7492 ac_tool_warned=yes ;;
7493 esac
7494 READELF=$ac_ct_READELF
7496 else
7497 READELF="$ac_cv_prog_READELF"
7500 wine_rules_file=conf$$rules.make
7501 rm -f $wine_rules_file
7502 SUBDIRS=""
7504 DISABLED_SUBDIRS=""
7506 CONFIGURE_TARGETS=""
7508 ALL_TEST_RESOURCES=""
7511 wine_fn_append_file ()
7513 as_fn_append $1 " \\$as_nl $2"
7516 wine_fn_append_rule ()
7518 $as_echo "$1" >>$wine_rules_file
7521 wine_fn_has_flag ()
7523 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7526 wine_fn_all_rules ()
7528 wine_fn_append_file SUBDIRS $ac_dir
7529 wine_fn_append_rule \
7530 "all: $ac_dir
7531 .PHONY: $ac_dir
7532 $ac_dir: dummy
7533 @cd $ac_dir && \$(MAKE)"
7536 wine_fn_install_rules ()
7538 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7540 wine_fn_append_rule \
7541 ".PHONY: $ac_dir/install $ac_dir/uninstall
7542 $ac_dir/install:: $ac_dir
7543 @cd $ac_dir && \$(MAKE) install
7544 $ac_dir/uninstall::
7545 @cd $ac_dir && \$(MAKE) uninstall
7546 install:: $ac_dir/install
7547 __uninstall__: $ac_dir/uninstall"
7549 if wine_fn_has_flag install-lib
7550 then
7551 wine_fn_append_rule \
7552 ".PHONY: $ac_dir/install-lib
7553 $ac_dir/install-lib:: $ac_dir
7554 @cd $ac_dir && \$(MAKE) install-lib
7555 install-lib:: $ac_dir/install-lib"
7558 if wine_fn_has_flag install-dev
7559 then
7560 wine_fn_append_rule \
7561 ".PHONY: $ac_dir/install-dev
7562 $ac_dir/install-dev:: $ac_dir
7563 @cd $ac_dir && \$(MAKE) install-dev
7564 install-dev:: $ac_dir/install-dev"
7568 wine_fn_clean_rules ()
7570 ac_clean=$@
7572 if wine_fn_has_flag clean
7573 then
7574 wine_fn_append_rule \
7575 "$ac_dir/clean: dummy
7576 @cd $ac_dir && \$(MAKE) clean"
7577 else
7578 wine_fn_append_rule \
7579 "$ac_dir/clean: dummy
7580 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7582 wine_fn_append_rule \
7583 "__clean__: $ac_dir/clean
7584 .PHONY: $ac_dir/clean"
7587 wine_fn_disabled_rules ()
7589 ac_clean=$@
7591 wine_fn_append_file SUBDIRS $ac_dir
7592 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7593 wine_fn_append_rule \
7594 "__clean__: $ac_dir/clean
7595 .PHONY: $ac_dir/clean
7596 $ac_dir/clean: dummy
7597 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7600 wine_fn_config_makefile ()
7602 ac_dir=$1
7603 ac_enable=$2
7604 ac_flags=$3
7606 case $ac_dir in
7607 fonts|server) test -z "$with_wine64" || return ;;
7608 esac
7609 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7610 wine_fn_disabled_rules; return
7612 wine_fn_all_rules
7613 wine_fn_install_rules
7614 wine_fn_clean_rules
7617 wine_fn_config_lib ()
7619 ac_name=$1
7620 ac_flags=$2
7621 ac_dir=dlls/$ac_name
7622 ac_deps="include"
7624 if test "x$enable_tools" = xno; then :
7626 else
7627 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7629 wine_fn_all_rules
7630 wine_fn_clean_rules
7632 wine_fn_append_rule \
7633 ".PHONY: $ac_dir/install $ac_dir/uninstall
7634 $ac_dir/install:: $ac_dir
7635 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7636 $ac_dir/uninstall::
7637 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7638 install install-dev:: $ac_dir/install
7639 __uninstall__: $ac_dir/uninstall
7640 __builddeps__: $ac_dir
7641 $ac_dir: $ac_deps"
7644 wine_fn_config_dll ()
7646 ac_name=$1
7647 ac_dir=dlls/$ac_name
7648 ac_enable=$2
7649 ac_flags=$3
7650 ac_implib=${4:-$ac_name}
7651 ac_file=$ac_dir/lib$ac_implib
7652 ac_dll=$ac_name
7653 ac_deps="include"
7654 ac_implibflags=""
7656 if test "x$enable_tools" = xno; then :
7658 else
7659 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7661 case $ac_name in
7662 *16) ac_implibflags=" -m16" ;;
7663 *.*) ;;
7664 *) ac_dll=$ac_dll.dll ;;
7665 esac
7667 ac_clean=
7668 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7669 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7671 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7672 if test "$ac_enable" != enable_win16
7673 then
7674 wine_fn_clean_rules $ac_clean
7675 wine_fn_append_file SUBDIRS $ac_dir
7676 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7677 else
7678 wine_fn_disabled_rules $ac_clean
7679 return
7681 else
7682 wine_fn_all_rules
7683 wine_fn_clean_rules $ac_clean
7684 wine_fn_append_rule \
7685 "$ac_dir: __builddeps__
7686 manpages htmlpages sgmlpages xmlpages::
7687 @cd $ac_dir && \$(MAKE) \$@
7688 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7689 install install-lib:: $ac_dir/install-lib
7690 __uninstall__: $ac_dir/uninstall"
7691 if test -n "$DLLEXT"
7692 then
7693 wine_fn_append_rule \
7694 "$ac_dir/install-lib:: $ac_dir
7695 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7696 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7697 $ac_dir/uninstall::
7698 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7699 else
7700 wine_fn_append_rule \
7701 "$ac_dir/install-lib:: $ac_dir
7702 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7703 $ac_dir/uninstall::
7704 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7708 if wine_fn_has_flag staticimplib
7709 then
7710 wine_fn_append_rule \
7711 "__builddeps__: $ac_file.a
7712 $ac_file.a $ac_file.cross.a: $ac_deps
7713 $ac_file.a: dummy
7714 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7715 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7716 $ac_dir/install-dev:: $ac_file.a
7717 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7718 $ac_dir/uninstall::
7719 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7720 install install-dev:: $ac_dir/install-dev
7721 __uninstall__: $ac_dir/uninstall"
7723 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7724 then
7725 wine_fn_append_rule \
7726 "__builddeps__: $ac_file.cross.a
7727 $ac_file.cross.a: dummy
7728 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7731 elif wine_fn_has_flag implib
7732 then
7733 wine_fn_append_rule \
7734 "__builddeps__: $ac_file.$IMPLIBEXT
7735 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7736 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7737 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7738 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7739 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7740 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7741 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7742 $ac_dir/uninstall::
7743 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7744 install install-dev:: $ac_dir/install-dev
7745 __uninstall__: $ac_dir/uninstall"
7746 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7747 then
7748 wine_fn_append_rule \
7749 "__builddeps__: $ac_file.cross.a
7750 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7751 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7756 wine_fn_config_program ()
7758 ac_name=$1
7759 ac_dir=programs/$ac_name
7760 ac_enable=$2
7761 ac_flags=$3
7762 ac_program=$ac_name
7764 case $ac_name in
7765 *.*) ;;
7766 *) ac_program=$ac_program.exe ;;
7767 esac
7769 ac_clean=
7770 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7771 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7773 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7774 wine_fn_disabled_rules $ac_clean; return
7777 wine_fn_all_rules
7778 wine_fn_clean_rules $ac_clean
7779 wine_fn_append_rule "$ac_dir: __builddeps__"
7781 wine_fn_has_flag install || return
7782 wine_fn_append_rule \
7783 ".PHONY: $ac_dir/install $ac_dir/uninstall
7784 install install-lib:: $ac_dir/install
7785 __uninstall__: $ac_dir/uninstall"
7787 if test -n "$DLLEXT"
7788 then
7789 wine_fn_append_rule \
7790 "$ac_dir/install:: $ac_dir
7791 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7792 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7793 $ac_dir/uninstall::
7794 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7796 if test -z "$with_wine64" && wine_fn_has_flag installbin
7797 then
7798 wine_fn_append_rule \
7799 "$ac_dir/install:: __tooldeps__
7800 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7801 $ac_dir/uninstall::
7802 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7804 else
7805 wine_fn_append_rule \
7806 "$ac_dir/install:: $ac_dir
7807 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7808 $ac_dir/uninstall::
7809 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7812 if test -z "$with_wine64" && wine_fn_has_flag manpage
7813 then
7814 wine_fn_append_rule \
7815 "$ac_dir/install:: $ac_dir
7816 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7817 $ac_dir/uninstall::
7818 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7822 wine_fn_config_test ()
7824 ac_dir=$1
7825 ac_name=$2
7826 ac_flags=$3
7828 ac_clean=
7829 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7830 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7832 if test "x$enable_tests" = xno; then :
7833 wine_fn_disabled_rules $ac_clean; return
7836 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7837 wine_fn_all_rules
7838 wine_fn_clean_rules $ac_clean
7840 wine_fn_append_rule \
7841 "$ac_dir: __builddeps__
7842 programs/winetest: $ac_dir
7843 check test: $ac_dir/test
7844 .PHONY: $ac_dir/test
7845 $ac_dir/test: dummy
7846 @cd $ac_dir && \$(MAKE) test
7847 testclean::
7848 \$(RM) $ac_dir/*.ok"
7850 if test -n "$CROSSTARGET"
7851 then
7852 wine_fn_append_rule \
7853 "crosstest: $ac_dir/crosstest
7854 .PHONY: $ac_dir/crosstest
7855 $ac_dir/crosstest: __builddeps__ dummy
7856 @cd $ac_dir && \$(MAKE) crosstest"
7860 wine_fn_config_tool ()
7862 ac_dir=$1
7863 ac_flags=$2
7864 if test "x$enable_tools" = xno; then :
7865 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7868 wine_fn_all_rules
7869 wine_fn_install_rules
7870 wine_fn_clean_rules
7872 wine_fn_append_rule "__tooldeps__: $ac_dir"
7873 wine_fn_append_rule "$ac_dir: libs/port"
7874 case $ac_dir in
7875 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7876 esac
7879 wine_fn_config_symlink ()
7881 ac_linkdir=
7882 if test "x$1" = "x-d"
7883 then
7884 ac_linkdir=$2
7885 shift; shift
7887 ac_links=$@
7888 wine_fn_append_rule \
7889 "$ac_links:
7890 @./config.status \$@"
7891 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7892 test -n "$ac_linkdir" || return
7893 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7896 wine_binary="wine"
7897 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7898 WINELOADER_PROGRAMS="$wine_binary"
7900 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7902 case $host_os in
7903 cygwin*|mingw32*)
7904 if test -n "$ac_tool_prefix"; then
7905 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7906 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7908 $as_echo_n "checking for $ac_word... " >&6; }
7909 if ${ac_cv_prog_DLLTOOL+:} false; then :
7910 $as_echo_n "(cached) " >&6
7911 else
7912 if test -n "$DLLTOOL"; then
7913 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7914 else
7915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7916 for as_dir in $PATH
7918 IFS=$as_save_IFS
7919 test -z "$as_dir" && as_dir=.
7920 for ac_exec_ext in '' $ac_executable_extensions; do
7921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7924 break 2
7926 done
7927 done
7928 IFS=$as_save_IFS
7932 DLLTOOL=$ac_cv_prog_DLLTOOL
7933 if test -n "$DLLTOOL"; then
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7935 $as_echo "$DLLTOOL" >&6; }
7936 else
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7938 $as_echo "no" >&6; }
7943 if test -z "$ac_cv_prog_DLLTOOL"; then
7944 ac_ct_DLLTOOL=$DLLTOOL
7945 # Extract the first word of "dlltool", so it can be a program name with args.
7946 set dummy dlltool; ac_word=$2
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7948 $as_echo_n "checking for $ac_word... " >&6; }
7949 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7950 $as_echo_n "(cached) " >&6
7951 else
7952 if test -n "$ac_ct_DLLTOOL"; then
7953 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7954 else
7955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7956 for as_dir in $PATH
7958 IFS=$as_save_IFS
7959 test -z "$as_dir" && as_dir=.
7960 for ac_exec_ext in '' $ac_executable_extensions; do
7961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7964 break 2
7966 done
7967 done
7968 IFS=$as_save_IFS
7972 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7973 if test -n "$ac_ct_DLLTOOL"; then
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7975 $as_echo "$ac_ct_DLLTOOL" >&6; }
7976 else
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7981 if test "x$ac_ct_DLLTOOL" = x; then
7982 DLLTOOL="false"
7983 else
7984 case $cross_compiling:$ac_tool_warned in
7985 yes:)
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7987 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7988 ac_tool_warned=yes ;;
7989 esac
7990 DLLTOOL=$ac_ct_DLLTOOL
7992 else
7993 DLLTOOL="$ac_cv_prog_DLLTOOL"
7996 LIBEXT="dll"
7997 DLLEXT=""
7998 IMPLIBEXT="a"
7999 enable_iphlpapi=${enable_iphlpapi:-no}
8000 enable_kernel32=${enable_kernel32:-no}
8001 enable_msvcrt=${enable_msvcrt:-no}
8002 enable_ntdll=${enable_ntdll:-no}
8003 enable_ws2_32=${enable_ws2_32:-no}
8004 enable_loader=${enable_loader:-no}
8005 enable_server=${enable_server:-no}
8006 with_x=${with_x:-no}
8007 with_pthread=${with_pthread:-no}
8009 crtlibs=""
8010 case $host_os in
8011 mingw32*)
8012 crtlibs="-lmsvcrt"
8013 SOCKET_LIBS="-lws2_32"
8015 esac
8017 LIBWINE_SHAREDLIB="libwine.dll"
8019 LIBWINE_IMPORTLIB="libwine.a"
8021 LIBWINE_INSTALL_LIB="libwine.dll"
8023 LIBWINE_INSTALL_DEV="libwine.a"
8025 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8027 LIBWINE_DEPENDS="wine.def"
8031 darwin*|macosx*)
8032 for ac_header in libunwind.h
8033 do :
8034 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8036 cat >>confdefs.h <<_ACEOF
8037 #define HAVE_LIBUNWIND_H 1
8038 _ACEOF
8042 done
8044 LIBEXT="dylib"
8045 DLLFLAGS="$DLLFLAGS -fPIC"
8046 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8047 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8048 COREFOUNDATION_LIBS="-framework CoreFoundation"
8050 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8052 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8054 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8056 CORESERVICES_LIBS="-framework CoreServices"
8058 APPKIT_LIBS="-framework AppKit"
8060 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8062 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8063 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8064 $as_echo_n "(cached) " >&6
8065 else
8066 ac_wine_try_cflags_saved=$CFLAGS
8067 CFLAGS="$CFLAGS -Wl,-no_pie"
8068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8070 int main(int argc, char **argv) { return 0; }
8071 _ACEOF
8072 if ac_fn_c_try_link "$LINENO"; then :
8073 ac_cv_cflags__Wl__no_pie=yes
8074 else
8075 ac_cv_cflags__Wl__no_pie=no
8077 rm -f core conftest.err conftest.$ac_objext \
8078 conftest$ac_exeext conftest.$ac_ext
8079 CFLAGS=$ac_wine_try_cflags_saved
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8082 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8083 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8084 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8086 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8087 then
8088 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8091 if test "$ac_cv_header_Security_Security_h" = "yes"
8092 then
8093 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8095 ac_save_LIBS="$LIBS"
8096 LIBS="$LIBS $SECURITY_LIBS"
8097 for ac_func in SSLCopyPeerCertificates
8098 do :
8099 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8100 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8101 cat >>confdefs.h <<_ACEOF
8102 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8103 _ACEOF
8106 done
8108 LIBS="$ac_save_LIBS"
8109 with_gnutls=${with_gnutls:-no}
8111 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8112 then
8113 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8114 then
8115 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8117 else
8118 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8121 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8122 ac_save_LIBS="$LIBS"
8123 LIBS="$LIBS $COREAUDIO_LIBS"
8124 for ac_func in AUGraphAddNode
8125 do :
8126 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8127 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8128 cat >>confdefs.h <<_ACEOF
8129 #define HAVE_AUGRAPHADDNODE 1
8130 _ACEOF
8133 done
8135 LIBS="$ac_save_LIBS"
8137 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8138 then
8139 OPENAL_LIBS="-framework OpenAL"
8142 cat >>confdefs.h <<_ACEOF
8143 #define HAVE_OPENAL 1
8144 _ACEOF
8146 ac_cv_lib_openal=yes
8148 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8149 then
8150 OPENCL_LIBS="-framework OpenCL"
8152 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8154 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8155 then
8156 ac_save_LIBS="$LIBS"
8157 LIBS="$LIBS $IOKIT_LIBS"
8158 for ac_func in IOHIDManagerCreate
8159 do :
8160 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8161 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8162 cat >>confdefs.h <<_ACEOF
8163 #define HAVE_IOHIDMANAGERCREATE 1
8164 _ACEOF
8167 done
8169 LIBS="$ac_save_LIBS"
8171 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8172 then
8173 ac_save_LIBS="$LIBS"
8174 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8176 $as_echo_n "checking for the QuickTime framework... " >&6; }
8177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179 #include <QuickTime/ImageCompression.h>
8181 main ()
8183 CodecManagerVersion(NULL);
8185 return 0;
8187 _ACEOF
8188 if ac_fn_c_try_link "$LINENO"; then :
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8190 $as_echo "yes" >&6; }
8191 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8193 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8194 else
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8197 ac_cv_header_QuickTime_ImageCompression_h=no
8199 rm -f core conftest.err conftest.$ac_objext \
8200 conftest$ac_exeext conftest.$ac_ext
8201 LIBS="$ac_save_LIBS"
8203 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8204 then
8205 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8207 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8208 then
8209 CARBON_LIBS="-framework Carbon"
8213 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8214 then
8215 ac_save_LIBS="$LIBS"
8216 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8217 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8218 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8219 enable_winemac_drv=${enable_winemac_drv:-yes}
8222 LIBS="$ac_save_LIBS"
8225 if test "x$enable_win16" = "xyes"
8226 then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8228 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8229 if test "$cross_compiling" = yes; then :
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8231 $as_echo "cross-compiling, assuming yes" >&6; }
8232 else
8233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8235 asm(".text\n"
8236 "bad:\tnop;nop\n"
8237 "good:\tnop;nop\n\t"
8238 ".globl _testfunc\n"
8239 "_testfunc:\tcallw good");
8240 extern void testfunc();
8242 main ()
8244 unsigned short *p = (unsigned short *)testfunc;
8245 return p[0] != 0xe866 || p[1] != 0xfffa
8247 return 0;
8249 _ACEOF
8250 if ac_fn_c_try_run "$LINENO"; then :
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8252 $as_echo "yes" >&6; }
8253 else
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8256 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
8258 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8259 conftest.$ac_objext conftest.beam conftest.$ac_ext
8264 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8266 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8268 LIBWINE_INSTALL_DEV="libwine.dylib"
8270 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8272 WINELOADER_DEPENDS="wine_info.plist"
8276 linux-android*)
8277 DLLFLAGS="$DLLFLAGS -fPIC"
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8279 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8280 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8286 /* end confdefs.h. */
8287 int main(int argc, char **argv) { return 0; }
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8291 else
8292 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8294 rm -f core conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 CFLAGS=$ac_wine_try_cflags_saved
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8299 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8300 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8301 LDEXECFLAGS="-Wl,--export-dynamic"
8303 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8305 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8306 if eval \${$as_ac_var+:} false; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 ac_wine_try_cflags_saved=$CFLAGS
8310 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h. */
8313 int main(int argc, char **argv) { return 0; }
8314 _ACEOF
8315 if ac_fn_c_try_link "$LINENO"; then :
8316 eval "$as_ac_var=yes"
8317 else
8318 eval "$as_ac_var=no"
8320 rm -f core conftest.err conftest.$ac_objext \
8321 conftest$ac_exeext conftest.$ac_ext
8322 CFLAGS=$ac_wine_try_cflags_saved
8324 eval ac_res=\$$as_ac_var
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8326 $as_echo "$ac_res" >&6; }
8327 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8328 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8329 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8330 else
8331 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8333 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8334 if eval \${$as_ac_var+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 ac_wine_try_cflags_saved=$CFLAGS
8338 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8342 _ACEOF
8343 if ac_fn_c_try_link "$LINENO"; then :
8344 eval "$as_ac_var=yes"
8345 else
8346 eval "$as_ac_var=no"
8348 rm -f core conftest.err conftest.$ac_objext \
8349 conftest$ac_exeext conftest.$ac_ext
8350 CFLAGS=$ac_wine_try_cflags_saved
8352 eval ac_res=\$$as_ac_var
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8354 $as_echo "$ac_res" >&6; }
8355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8356 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8357 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8362 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8363 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 ac_cv_cflags__Wl___enable_new_dtags=yes
8374 else
8375 ac_cv_cflags__Wl___enable_new_dtags=no
8377 rm -f core conftest.err conftest.$ac_objext \
8378 conftest$ac_exeext conftest.$ac_ext
8379 CFLAGS=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8382 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8383 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8384 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8387 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8388 if ${ac_cv_cflags__Wl__pie+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -Wl,-pie"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8396 _ACEOF
8397 if ac_fn_c_try_link "$LINENO"; then :
8398 ac_cv_cflags__Wl__pie=yes
8399 else
8400 ac_cv_cflags__Wl__pie=no
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 CFLAGS=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8407 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8408 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8409 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8412 LIBWINE_SHAREDLIB="libwine.so"
8414 LIBWINE_INSTALL_LIB="libwine.so"
8416 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8421 DLLFLAGS="$DLLFLAGS -fPIC"
8422 LDEXECFLAGS=""
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8424 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8425 if ${ac_cv_c_dll_gnuelf+:} false; then :
8426 $as_echo_n "(cached) " >&6
8427 else
8428 ac_wine_try_cflags_saved=$CFLAGS
8429 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8432 void myfunc() {}
8433 _ACEOF
8434 if ac_fn_c_try_link "$LINENO"; then :
8435 ac_cv_c_dll_gnuelf="yes"
8436 else
8437 ac_cv_c_dll_gnuelf="no"
8439 rm -f core conftest.err conftest.$ac_objext \
8440 conftest$ac_exeext conftest.$ac_ext
8441 CFLAGS=$ac_wine_try_cflags_saved
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8444 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8445 if test "$ac_cv_c_dll_gnuelf" = "yes"
8446 then
8447 LIBWINE_LDFLAGS="-shared"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8449 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8450 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 int main(int argc, char **argv) { return 0; }
8458 _ACEOF
8459 if ac_fn_c_try_link "$LINENO"; then :
8460 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8461 else
8462 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8464 rm -f core conftest.err conftest.$ac_objext \
8465 conftest$ac_exeext conftest.$ac_ext
8466 CFLAGS=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8469 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8470 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8471 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8472 else
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8474 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8475 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 ac_wine_try_cflags_saved=$CFLAGS
8479 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 int main(int argc, char **argv) { return 0; }
8483 _ACEOF
8484 if ac_fn_c_try_link "$LINENO"; then :
8485 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8486 else
8487 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8489 rm -f core conftest.err conftest.$ac_objext \
8490 conftest$ac_exeext conftest.$ac_ext
8491 CFLAGS=$ac_wine_try_cflags_saved
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8494 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8495 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8496 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8500 echo '{ global: *; };' >conftest.map
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8502 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8503 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_wine_try_cflags_saved=$CFLAGS
8507 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8510 int main(int argc, char **argv) { return 0; }
8511 _ACEOF
8512 if ac_fn_c_try_link "$LINENO"; then :
8513 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8514 else
8515 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8517 rm -f core conftest.err conftest.$ac_objext \
8518 conftest$ac_exeext conftest.$ac_ext
8519 CFLAGS=$ac_wine_try_cflags_saved
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8522 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8523 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8524 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8526 rm -f conftest.map
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8529 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8530 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_wine_try_cflags_saved=$CFLAGS
8534 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 int main(int argc, char **argv) { return 0; }
8538 _ACEOF
8539 if ac_fn_c_try_link "$LINENO"; then :
8540 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8541 else
8542 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8544 rm -f core conftest.err conftest.$ac_objext \
8545 conftest$ac_exeext conftest.$ac_ext
8546 CFLAGS=$ac_wine_try_cflags_saved
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8549 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8550 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8551 LDEXECFLAGS="-Wl,--export-dynamic"
8554 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8556 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8557 if eval \${$as_ac_var+:} false; then :
8558 $as_echo_n "(cached) " >&6
8559 else
8560 ac_wine_try_cflags_saved=$CFLAGS
8561 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8563 /* end confdefs.h. */
8564 int main(int argc, char **argv) { return 0; }
8565 _ACEOF
8566 if ac_fn_c_try_link "$LINENO"; then :
8567 eval "$as_ac_var=yes"
8568 else
8569 eval "$as_ac_var=no"
8571 rm -f core conftest.err conftest.$ac_objext \
8572 conftest$ac_exeext conftest.$ac_ext
8573 CFLAGS=$ac_wine_try_cflags_saved
8575 eval ac_res=\$$as_ac_var
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8577 $as_echo "$ac_res" >&6; }
8578 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8579 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8580 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8581 else
8582 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8584 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8585 if eval \${$as_ac_var+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8593 _ACEOF
8594 if ac_fn_c_try_link "$LINENO"; then :
8595 eval "$as_ac_var=yes"
8596 else
8597 eval "$as_ac_var=no"
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 eval ac_res=\$$as_ac_var
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8605 $as_echo "$ac_res" >&6; }
8606 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8607 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8608 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8613 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8614 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 ac_wine_try_cflags_saved=$CFLAGS
8618 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 int main(int argc, char **argv) { return 0; }
8622 _ACEOF
8623 if ac_fn_c_try_link "$LINENO"; then :
8624 ac_cv_cflags__Wl___enable_new_dtags=yes
8625 else
8626 ac_cv_cflags__Wl___enable_new_dtags=no
8628 rm -f core conftest.err conftest.$ac_objext \
8629 conftest$ac_exeext conftest.$ac_ext
8630 CFLAGS=$ac_wine_try_cflags_saved
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8633 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8634 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8635 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8638 case $host_cpu in
8639 *i[3456789]86* | x86_64)
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8641 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8642 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 ac_wine_try_cflags_saved=$CFLAGS
8646 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8650 _ACEOF
8651 if ac_fn_c_try_link "$LINENO"; then :
8652 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8653 else
8654 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8656 rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658 CFLAGS=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8661 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8662 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8663 case $host_os in
8664 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8665 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8666 esac
8667 else
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8670 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 ac_wine_try_cflags_saved=$CFLAGS
8674 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8681 else
8682 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8689 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8690 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8691 case $host_os in
8692 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8693 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8694 esac
8696 # Extract the first word of "prelink", so it can be a program name with args.
8697 set dummy prelink; ac_word=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8699 $as_echo_n "checking for $ac_word... " >&6; }
8700 if ${ac_cv_path_PRELINK+:} false; then :
8701 $as_echo_n "(cached) " >&6
8702 else
8703 case $PRELINK in
8704 [\\/]* | ?:[\\/]*)
8705 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8709 for as_dir in /sbin /usr/sbin $PATH
8711 IFS=$as_save_IFS
8712 test -z "$as_dir" && as_dir=.
8713 for ac_exec_ext in '' $ac_executable_extensions; do
8714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8715 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8717 break 2
8719 done
8720 done
8721 IFS=$as_save_IFS
8723 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8725 esac
8727 PRELINK=$ac_cv_path_PRELINK
8728 if test -n "$PRELINK"; then
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8730 $as_echo "$PRELINK" >&6; }
8731 else
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8733 $as_echo "no" >&6; }
8737 if test "x$PRELINK" = xfalse
8738 then
8739 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8743 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8744 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 ac_wine_try_cflags_saved=$CFLAGS
8748 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 int main(int argc, char **argv) { return 0; }
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8755 else
8756 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 CFLAGS=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8763 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8764 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8765 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8768 esac
8770 else
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8772 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8773 if ${ac_cv_c_dll_unixware+:} false; then :
8774 $as_echo_n "(cached) " >&6
8775 else
8776 ac_wine_try_cflags_saved=$CFLAGS
8777 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8780 void myfunc() {}
8781 _ACEOF
8782 if ac_fn_c_try_link "$LINENO"; then :
8783 ac_cv_c_dll_unixware="yes"
8784 else
8785 ac_cv_c_dll_unixware="no"
8787 rm -f core conftest.err conftest.$ac_objext \
8788 conftest$ac_exeext conftest.$ac_ext
8789 CFLAGS=$ac_wine_try_cflags_saved
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8792 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8793 if test "$ac_cv_c_dll_unixware" = "yes"
8794 then
8795 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8798 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8800 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8802 LIBWINE_INSTALL_DEV="libwine.so"
8804 LIBWINE_DEPENDS="wine.map"
8807 esac
8809 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8810 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8811 enable_winemac_drv=${enable_winemac_drv:-no}
8812 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8814 CROSSTARGET=""
8816 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8817 then
8818 case "$host_cpu" in
8819 arm*)
8820 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8821 i[3456789]86*)
8822 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
8823 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8824 mingw32-gcc" ;;
8825 x86_64)
8826 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
8827 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8829 ac_prefix_list="" ;;
8830 esac
8831 for ac_prog in $ac_prefix_list
8833 # Extract the first word of "$ac_prog", so it can be a program name with args.
8834 set dummy $ac_prog; ac_word=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8836 $as_echo_n "checking for $ac_word... " >&6; }
8837 if ${ac_cv_prog_CROSSCC+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 if test -n "$CROSSCC"; then
8841 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8842 else
8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8844 for as_dir in $PATH
8846 IFS=$as_save_IFS
8847 test -z "$as_dir" && as_dir=.
8848 for ac_exec_ext in '' $ac_executable_extensions; do
8849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8850 ac_cv_prog_CROSSCC="$ac_prog"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8852 break 2
8854 done
8855 done
8856 IFS=$as_save_IFS
8860 CROSSCC=$ac_cv_prog_CROSSCC
8861 if test -n "$CROSSCC"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8863 $as_echo "$CROSSCC" >&6; }
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8870 test -n "$CROSSCC" && break
8871 done
8872 test -n "$CROSSCC" || CROSSCC="false"
8874 if test "$CROSSCC" != "false"
8875 then
8876 ac_save_CC="$CC"
8877 CC="$CROSSCC"
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8879 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8884 main ()
8888 return 0;
8890 _ACEOF
8891 if ac_fn_c_try_compile "$LINENO"; then :
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8893 $as_echo "yes" >&6; }
8894 set x $CROSSCC
8895 shift
8896 while test $# -ge 1
8898 case "$1" in
8899 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8900 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8901 esac
8902 shift
8903 done
8904 else
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906 $as_echo "no" >&6; }
8908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8909 CC="$ac_save_CC"
8914 if test "$ac_cv_header_pthread_h" = "yes"
8915 then
8916 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8917 if test "x$ac_cv_func_pthread_create" = xyes; then :
8919 else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8921 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8922 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8923 $as_echo_n "(cached) " >&6
8924 else
8925 ac_check_lib_save_LIBS=$LIBS
8926 LIBS="-lpthread $LIBS"
8927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8928 /* end confdefs.h. */
8930 /* Override any GCC internal prototype to avoid an error.
8931 Use char because int might match the return type of a GCC
8932 builtin and then its argument prototype would still apply. */
8933 #ifdef __cplusplus
8934 extern "C"
8935 #endif
8936 char pthread_create ();
8938 main ()
8940 return pthread_create ();
8942 return 0;
8944 _ACEOF
8945 if ac_fn_c_try_link "$LINENO"; then :
8946 ac_cv_lib_pthread_pthread_create=yes
8947 else
8948 ac_cv_lib_pthread_pthread_create=no
8950 rm -f core conftest.err conftest.$ac_objext \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LIBS=$ac_check_lib_save_LIBS
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8955 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8956 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8957 PTHREAD_LIBS="-lpthread"
8964 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8965 case "x$with_pthread" in
8966 xno) ;;
8967 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8968 Wine cannot support threads without libpthread.
8969 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8970 esac
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8976 $as_echo_n "checking for X... " >&6; }
8979 # Check whether --with-x was given.
8980 if test "${with_x+set}" = set; then :
8981 withval=$with_x;
8984 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8985 if test "x$with_x" = xno; then
8986 # The user explicitly disabled X.
8987 have_x=disabled
8988 else
8989 case $x_includes,$x_libraries in #(
8990 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8991 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8992 $as_echo_n "(cached) " >&6
8993 else
8994 # One or both of the vars are not set, and there is no cached value.
8995 ac_x_includes=no ac_x_libraries=no
8996 rm -f -r conftest.dir
8997 if mkdir conftest.dir; then
8998 cd conftest.dir
8999 cat >Imakefile <<'_ACEOF'
9000 incroot:
9001 @echo incroot='${INCROOT}'
9002 usrlibdir:
9003 @echo usrlibdir='${USRLIBDIR}'
9004 libdir:
9005 @echo libdir='${LIBDIR}'
9006 _ACEOF
9007 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9008 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9009 for ac_var in incroot usrlibdir libdir; do
9010 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9011 done
9012 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9013 for ac_extension in a so sl dylib la dll; do
9014 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9015 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9016 ac_im_usrlibdir=$ac_im_libdir; break
9018 done
9019 # Screen out bogus values from the imake configuration. They are
9020 # bogus both because they are the default anyway, and because
9021 # using them would break gcc on systems where it needs fixed includes.
9022 case $ac_im_incroot in
9023 /usr/include) ac_x_includes= ;;
9024 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9025 esac
9026 case $ac_im_usrlibdir in
9027 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9028 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9029 esac
9031 cd ..
9032 rm -f -r conftest.dir
9035 # Standard set of common directories for X headers.
9036 # Check X11 before X11Rn because it is often a symlink to the current release.
9037 ac_x_header_dirs='
9038 /usr/X11/include
9039 /usr/X11R7/include
9040 /usr/X11R6/include
9041 /usr/X11R5/include
9042 /usr/X11R4/include
9044 /usr/include/X11
9045 /usr/include/X11R7
9046 /usr/include/X11R6
9047 /usr/include/X11R5
9048 /usr/include/X11R4
9050 /usr/local/X11/include
9051 /usr/local/X11R7/include
9052 /usr/local/X11R6/include
9053 /usr/local/X11R5/include
9054 /usr/local/X11R4/include
9056 /usr/local/include/X11
9057 /usr/local/include/X11R7
9058 /usr/local/include/X11R6
9059 /usr/local/include/X11R5
9060 /usr/local/include/X11R4
9062 /usr/X386/include
9063 /usr/x386/include
9064 /usr/XFree86/include/X11
9066 /usr/include
9067 /usr/local/include
9068 /usr/unsupported/include
9069 /usr/athena/include
9070 /usr/local/x11r5/include
9071 /usr/lpp/Xamples/include
9073 /usr/openwin/include
9074 /usr/openwin/share/include'
9076 if test "$ac_x_includes" = no; then
9077 # Guess where to find include files, by looking for Xlib.h.
9078 # First, try using that file with no special directory specified.
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 #include <X11/Xlib.h>
9082 _ACEOF
9083 if ac_fn_c_try_cpp "$LINENO"; then :
9084 # We can compile using X headers with no special include directory.
9085 ac_x_includes=
9086 else
9087 for ac_dir in $ac_x_header_dirs; do
9088 if test -r "$ac_dir/X11/Xlib.h"; then
9089 ac_x_includes=$ac_dir
9090 break
9092 done
9094 rm -f conftest.err conftest.i conftest.$ac_ext
9095 fi # $ac_x_includes = no
9097 if test "$ac_x_libraries" = no; then
9098 # Check for the libraries.
9099 # See if we find them without any special options.
9100 # Don't add to $LIBS permanently.
9101 ac_save_LIBS=$LIBS
9102 LIBS="-lX11 $LIBS"
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 #include <X11/Xlib.h>
9107 main ()
9109 XrmInitialize ()
9111 return 0;
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 LIBS=$ac_save_LIBS
9116 # We can link X programs with no special library path.
9117 ac_x_libraries=
9118 else
9119 LIBS=$ac_save_LIBS
9120 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9122 # Don't even attempt the hair of trying to link an X program!
9123 for ac_extension in a so sl dylib la dll; do
9124 if test -r "$ac_dir/libX11.$ac_extension"; then
9125 ac_x_libraries=$ac_dir
9126 break 2
9128 done
9129 done
9131 rm -f core conftest.err conftest.$ac_objext \
9132 conftest$ac_exeext conftest.$ac_ext
9133 fi # $ac_x_libraries = no
9135 case $ac_x_includes,$ac_x_libraries in #(
9136 no,* | *,no | *\'*)
9137 # Didn't find X, or a directory has "'" in its name.
9138 ac_cv_have_x="have_x=no";; #(
9140 # Record where we found X for the cache.
9141 ac_cv_have_x="have_x=yes\
9142 ac_x_includes='$ac_x_includes'\
9143 ac_x_libraries='$ac_x_libraries'"
9144 esac
9146 ;; #(
9147 *) have_x=yes;;
9148 esac
9149 eval "$ac_cv_have_x"
9150 fi # $with_x != no
9152 if test "$have_x" != yes; then
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9154 $as_echo "$have_x" >&6; }
9155 no_x=yes
9156 else
9157 # If each of the values was on the command line, it overrides each guess.
9158 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9159 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9160 # Update the cache value to reflect the command line values.
9161 ac_cv_have_x="have_x=yes\
9162 ac_x_includes='$x_includes'\
9163 ac_x_libraries='$x_libraries'"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9165 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9168 if test "$no_x" = yes; then
9169 # Not all programs may use this symbol, but it does not hurt to define it.
9171 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9174 else
9175 if test -n "$x_includes"; then
9176 X_CFLAGS="$X_CFLAGS -I$x_includes"
9179 # It would also be nice to do this for all -L options, not just this one.
9180 if test -n "$x_libraries"; then
9181 X_LIBS="$X_LIBS -L$x_libraries"
9182 # For Solaris; some versions of Sun CC require a space after -R and
9183 # others require no space. Words are not sufficient . . . .
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9185 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9187 ac_xsave_c_werror_flag=$ac_c_werror_flag
9188 ac_c_werror_flag=yes
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9193 main ()
9197 return 0;
9199 _ACEOF
9200 if ac_fn_c_try_link "$LINENO"; then :
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9202 $as_echo "no" >&6; }
9203 X_LIBS="$X_LIBS -R$x_libraries"
9204 else
9205 LIBS="$ac_xsave_LIBS -R $x_libraries"
9206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9207 /* end confdefs.h. */
9210 main ()
9214 return 0;
9216 _ACEOF
9217 if ac_fn_c_try_link "$LINENO"; then :
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9219 $as_echo "yes" >&6; }
9220 X_LIBS="$X_LIBS -R $x_libraries"
9221 else
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9223 $as_echo "neither works" >&6; }
9225 rm -f core conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9228 rm -f core conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9230 ac_c_werror_flag=$ac_xsave_c_werror_flag
9231 LIBS=$ac_xsave_LIBS
9234 # Check for system-dependent libraries X programs must link with.
9235 # Do this before checking for the system-independent R6 libraries
9236 # (-lICE), since we may need -lsocket or whatever for X linking.
9238 if test "$ISC" = yes; then
9239 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9240 else
9241 # Martyn Johnson says this is needed for Ultrix, if the X
9242 # libraries were built with DECnet support. And Karl Berry says
9243 # the Alpha needs dnet_stub (dnet does not exist).
9244 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9251 #ifdef __cplusplus
9252 extern "C"
9253 #endif
9254 char XOpenDisplay ();
9256 main ()
9258 return XOpenDisplay ();
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9267 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9268 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9269 $as_echo_n "(cached) " >&6
9270 else
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-ldnet $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9279 #ifdef __cplusplus
9280 extern "C"
9281 #endif
9282 char dnet_ntoa ();
9284 main ()
9286 return dnet_ntoa ();
9288 return 0;
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_lib_dnet_dnet_ntoa=yes
9293 else
9294 ac_cv_lib_dnet_dnet_ntoa=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9301 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9302 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9303 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9306 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9308 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9309 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9310 $as_echo_n "(cached) " >&6
9311 else
9312 ac_check_lib_save_LIBS=$LIBS
9313 LIBS="-ldnet_stub $LIBS"
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9317 /* Override any GCC internal prototype to avoid an error.
9318 Use char because int might match the return type of a GCC
9319 builtin and then its argument prototype would still apply. */
9320 #ifdef __cplusplus
9321 extern "C"
9322 #endif
9323 char dnet_ntoa ();
9325 main ()
9327 return dnet_ntoa ();
9329 return 0;
9331 _ACEOF
9332 if ac_fn_c_try_link "$LINENO"; then :
9333 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9334 else
9335 ac_cv_lib_dnet_stub_dnet_ntoa=no
9337 rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
9339 LIBS=$ac_check_lib_save_LIBS
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9342 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9343 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9344 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9349 rm -f core conftest.err conftest.$ac_objext \
9350 conftest$ac_exeext conftest.$ac_ext
9351 LIBS="$ac_xsave_LIBS"
9353 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9354 # to get the SysV transport functions.
9355 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9356 # needs -lnsl.
9357 # The nsl library prevents programs from opening the X display
9358 # on Irix 5.2, according to T.E. Dickey.
9359 # The functions gethostbyname, getservbyname, and inet_addr are
9360 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9361 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9362 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9366 if test $ac_cv_func_gethostbyname = no; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9368 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9369 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9370 $as_echo_n "(cached) " >&6
9371 else
9372 ac_check_lib_save_LIBS=$LIBS
9373 LIBS="-lnsl $LIBS"
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9380 #ifdef __cplusplus
9381 extern "C"
9382 #endif
9383 char gethostbyname ();
9385 main ()
9387 return gethostbyname ();
9389 return 0;
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_lib_nsl_gethostbyname=yes
9394 else
9395 ac_cv_lib_nsl_gethostbyname=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 LIBS=$ac_check_lib_save_LIBS
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9402 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9403 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9404 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9407 if test $ac_cv_lib_nsl_gethostbyname = no; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9409 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9410 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_check_lib_save_LIBS=$LIBS
9414 LIBS="-lbsd $LIBS"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9418 /* Override any GCC internal prototype to avoid an error.
9419 Use char because int might match the return type of a GCC
9420 builtin and then its argument prototype would still apply. */
9421 #ifdef __cplusplus
9422 extern "C"
9423 #endif
9424 char gethostbyname ();
9426 main ()
9428 return gethostbyname ();
9430 return 0;
9432 _ACEOF
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_lib_bsd_gethostbyname=yes
9435 else
9436 ac_cv_lib_bsd_gethostbyname=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 LIBS=$ac_check_lib_save_LIBS
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9443 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9444 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9445 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9451 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9452 # socket/setsockopt and other routines are undefined under SCO ODT
9453 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9454 # on later versions), says Simon Leinen: it contains gethostby*
9455 # variants that don't use the name server (or something). -lsocket
9456 # must be given before -lnsl if both are needed. We assume that
9457 # if connect needs -lnsl, so does gethostbyname.
9458 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9459 if test "x$ac_cv_func_connect" = xyes; then :
9463 if test $ac_cv_func_connect = no; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9465 $as_echo_n "checking for connect in -lsocket... " >&6; }
9466 if ${ac_cv_lib_socket_connect+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_lib_save_LIBS=$LIBS
9470 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char connect ();
9482 main ()
9484 return connect ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_lib_socket_connect=yes
9491 else
9492 ac_cv_lib_socket_connect=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9499 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9500 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9501 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9506 # Guillermo Gomez says -lposix is necessary on A/UX.
9507 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9508 if test "x$ac_cv_func_remove" = xyes; then :
9512 if test $ac_cv_func_remove = no; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9514 $as_echo_n "checking for remove in -lposix... " >&6; }
9515 if ${ac_cv_lib_posix_remove+:} false; then :
9516 $as_echo_n "(cached) " >&6
9517 else
9518 ac_check_lib_save_LIBS=$LIBS
9519 LIBS="-lposix $LIBS"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9523 /* Override any GCC internal prototype to avoid an error.
9524 Use char because int might match the return type of a GCC
9525 builtin and then its argument prototype would still apply. */
9526 #ifdef __cplusplus
9527 extern "C"
9528 #endif
9529 char remove ();
9531 main ()
9533 return remove ();
9535 return 0;
9537 _ACEOF
9538 if ac_fn_c_try_link "$LINENO"; then :
9539 ac_cv_lib_posix_remove=yes
9540 else
9541 ac_cv_lib_posix_remove=no
9543 rm -f core conftest.err conftest.$ac_objext \
9544 conftest$ac_exeext conftest.$ac_ext
9545 LIBS=$ac_check_lib_save_LIBS
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9548 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9549 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9550 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9555 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9556 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9557 if test "x$ac_cv_func_shmat" = xyes; then :
9561 if test $ac_cv_func_shmat = no; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9563 $as_echo_n "checking for shmat in -lipc... " >&6; }
9564 if ${ac_cv_lib_ipc_shmat+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_check_lib_save_LIBS=$LIBS
9568 LIBS="-lipc $LIBS"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9575 #ifdef __cplusplus
9576 extern "C"
9577 #endif
9578 char shmat ();
9580 main ()
9582 return shmat ();
9584 return 0;
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588 ac_cv_lib_ipc_shmat=yes
9589 else
9590 ac_cv_lib_ipc_shmat=no
9592 rm -f core conftest.err conftest.$ac_objext \
9593 conftest$ac_exeext conftest.$ac_ext
9594 LIBS=$ac_check_lib_save_LIBS
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9597 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9598 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9605 # Check for libraries that X11R6 Xt/Xaw programs need.
9606 ac_save_LDFLAGS=$LDFLAGS
9607 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9608 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9609 # check for ICE first), but we must link in the order -lSM -lICE or
9610 # we get undefined symbols. So assume we have SM if we have ICE.
9611 # These have to be linked with before -lX11, unlike the other
9612 # libraries we check for below, so use a different variable.
9613 # John Interrante, Karl Berry
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9615 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9616 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9617 $as_echo_n "(cached) " >&6
9618 else
9619 ac_check_lib_save_LIBS=$LIBS
9620 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9624 /* Override any GCC internal prototype to avoid an error.
9625 Use char because int might match the return type of a GCC
9626 builtin and then its argument prototype would still apply. */
9627 #ifdef __cplusplus
9628 extern "C"
9629 #endif
9630 char IceConnectionNumber ();
9632 main ()
9634 return IceConnectionNumber ();
9636 return 0;
9638 _ACEOF
9639 if ac_fn_c_try_link "$LINENO"; then :
9640 ac_cv_lib_ICE_IceConnectionNumber=yes
9641 else
9642 ac_cv_lib_ICE_IceConnectionNumber=no
9644 rm -f core conftest.err conftest.$ac_objext \
9645 conftest$ac_exeext conftest.$ac_ext
9646 LIBS=$ac_check_lib_save_LIBS
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9649 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9650 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9651 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9654 LDFLAGS=$ac_save_LDFLAGS
9659 if test "$have_x" = "yes"
9660 then
9661 ac_save_CPPFLAGS="$CPPFLAGS"
9662 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9665 $as_echo_n "checking for -lX11... " >&6; }
9666 if ${ac_cv_lib_soname_X11+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 ac_check_soname_save_LIBS=$LIBS
9670 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char XCreateWindow ();
9682 main ()
9684 return XCreateWindow ();
9686 return 0;
9688 _ACEOF
9689 if ac_fn_c_try_link "$LINENO"; then :
9690 case "$LIBEXT" in
9691 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9692 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'` ;;
9693 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9694 if ${ac_cv_lib_soname_X11:+false} :; then :
9695 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9696 fi ;;
9697 esac
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_soname_save_LIBS
9703 if ${ac_cv_lib_soname_X11:+false} :; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9707 else
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9709 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9711 cat >>confdefs.h <<_ACEOF
9712 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9713 _ACEOF
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9718 $as_echo_n "checking for -lXext... " >&6; }
9719 if ${ac_cv_lib_soname_Xext+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 ac_check_soname_save_LIBS=$LIBS
9723 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9725 /* end confdefs.h. */
9727 /* Override any GCC internal prototype to avoid an error.
9728 Use char because int might match the return type of a GCC
9729 builtin and then its argument prototype would still apply. */
9730 #ifdef __cplusplus
9731 extern "C"
9732 #endif
9733 char XextCreateExtension ();
9735 main ()
9737 return XextCreateExtension ();
9739 return 0;
9741 _ACEOF
9742 if ac_fn_c_try_link "$LINENO"; then :
9743 case "$LIBEXT" in
9744 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9745 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'` ;;
9746 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9747 if ${ac_cv_lib_soname_Xext:+false} :; then :
9748 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9749 fi ;;
9750 esac
9752 rm -f core conftest.err conftest.$ac_objext \
9753 conftest$ac_exeext conftest.$ac_ext
9754 LIBS=$ac_check_soname_save_LIBS
9756 if ${ac_cv_lib_soname_Xext:+false} :; then :
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9758 $as_echo "not found" >&6; }
9760 else
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9762 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9764 cat >>confdefs.h <<_ACEOF
9765 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9766 _ACEOF
9768 X_LIBS="$X_LIBS -lXext"
9770 X_LIBS="$X_LIBS -lX11"
9772 for ac_header in X11/Xlib.h \
9773 X11/XKBlib.h \
9774 X11/Xutil.h \
9775 X11/Xcursor/Xcursor.h \
9776 X11/extensions/shape.h \
9777 X11/extensions/XInput.h \
9778 X11/extensions/XInput2.h \
9779 X11/extensions/XShm.h \
9780 X11/extensions/Xcomposite.h \
9781 X11/extensions/Xinerama.h \
9782 X11/extensions/Xrandr.h \
9783 X11/extensions/Xrender.h \
9784 X11/extensions/xf86vmode.h \
9785 X11/extensions/xf86vmproto.h
9786 do :
9787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9788 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9789 # include <X11/Xlib.h>
9790 #endif
9791 #ifdef HAVE_X11_XUTIL_H
9792 # include <X11/Xutil.h>
9793 #endif
9795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9796 cat >>confdefs.h <<_ACEOF
9797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9798 _ACEOF
9802 done
9805 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9806 then
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9808 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9809 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9810 $as_echo_n "(cached) " >&6
9811 else
9812 ac_check_lib_save_LIBS=$LIBS
9813 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9820 #ifdef __cplusplus
9821 extern "C"
9822 #endif
9823 char XkbQueryExtension ();
9825 main ()
9827 return XkbQueryExtension ();
9829 return 0;
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 ac_cv_lib_X11_XkbQueryExtension=yes
9834 else
9835 ac_cv_lib_X11_XkbQueryExtension=no
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 LIBS=$ac_check_lib_save_LIBS
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9842 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9843 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9845 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9851 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9852 then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9854 $as_echo_n "checking for -lXcursor... " >&6; }
9855 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9856 $as_echo_n "(cached) " >&6
9857 else
9858 ac_check_soname_save_LIBS=$LIBS
9859 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9863 /* Override any GCC internal prototype to avoid an error.
9864 Use char because int might match the return type of a GCC
9865 builtin and then its argument prototype would still apply. */
9866 #ifdef __cplusplus
9867 extern "C"
9868 #endif
9869 char XcursorImageLoadCursor ();
9871 main ()
9873 return XcursorImageLoadCursor ();
9875 return 0;
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 case "$LIBEXT" in
9880 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9881 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'` ;;
9882 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9883 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9884 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9885 fi ;;
9886 esac
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 LIBS=$ac_check_soname_save_LIBS
9892 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9894 $as_echo "not found" >&6; }
9896 else
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9898 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9900 cat >>confdefs.h <<_ACEOF
9901 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9902 _ACEOF
9907 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9908 case "x$with_xcursor" in
9909 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9910 xno) ;;
9911 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9912 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9913 esac
9917 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9918 then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9920 $as_echo_n "checking for -lXi... " >&6; }
9921 if ${ac_cv_lib_soname_Xi+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_check_soname_save_LIBS=$LIBS
9925 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9932 #ifdef __cplusplus
9933 extern "C"
9934 #endif
9935 char XOpenDevice ();
9937 main ()
9939 return XOpenDevice ();
9941 return 0;
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 case "$LIBEXT" in
9946 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9949 if ${ac_cv_lib_soname_Xi:+false} :; then :
9950 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9951 fi ;;
9952 esac
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 LIBS=$ac_check_soname_save_LIBS
9958 if ${ac_cv_lib_soname_Xi:+false} :; then :
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9960 $as_echo "not found" >&6; }
9962 else
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9964 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9966 cat >>confdefs.h <<_ACEOF
9967 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9968 _ACEOF
9973 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9974 case "x$with_xinput" in
9975 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9976 xno) ;;
9977 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9978 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9979 esac
9983 if test "x$ac_cv_lib_soname_Xi" != x
9984 then
9985 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9986 case "x$with_xinput2" in
9987 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9988 xno) ;;
9989 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9990 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9991 esac
9996 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9997 then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9999 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10000 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10001 $as_echo_n "(cached) " >&6
10002 else
10003 ac_check_lib_save_LIBS=$LIBS
10004 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10008 /* Override any GCC internal prototype to avoid an error.
10009 Use char because int might match the return type of a GCC
10010 builtin and then its argument prototype would still apply. */
10011 #ifdef __cplusplus
10012 extern "C"
10013 #endif
10014 char XShmQueryExtension ();
10016 main ()
10018 return XShmQueryExtension ();
10020 return 0;
10022 _ACEOF
10023 if ac_fn_c_try_link "$LINENO"; then :
10024 ac_cv_lib_Xext_XShmQueryExtension=yes
10025 else
10026 ac_cv_lib_Xext_XShmQueryExtension=no
10028 rm -f core conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_lib_save_LIBS
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10033 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10034 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10036 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10041 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10042 case "x$with_xshm" in
10043 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10044 xno) ;;
10045 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10046 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10047 esac
10051 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10052 then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10054 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10055 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_check_lib_save_LIBS=$LIBS
10059 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10066 #ifdef __cplusplus
10067 extern "C"
10068 #endif
10069 char XShapeQueryExtension ();
10071 main ()
10073 return XShapeQueryExtension ();
10075 return 0;
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_lib_Xext_XShapeQueryExtension=yes
10080 else
10081 ac_cv_lib_Xext_XShapeQueryExtension=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10088 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10089 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10091 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10096 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10097 case "x$with_xshape" in
10098 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10099 xno) ;;
10100 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10101 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10102 esac
10106 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10107 then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10109 $as_echo_n "checking for -lXxf86vm... " >&6; }
10110 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_check_soname_save_LIBS=$LIBS
10114 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10121 #ifdef __cplusplus
10122 extern "C"
10123 #endif
10124 char XF86VidModeQueryExtension ();
10126 main ()
10128 return XF86VidModeQueryExtension ();
10130 return 0;
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"; then :
10134 case "$LIBEXT" in
10135 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10138 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10139 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10140 fi ;;
10141 esac
10143 rm -f core conftest.err conftest.$ac_objext \
10144 conftest$ac_exeext conftest.$ac_ext
10145 LIBS=$ac_check_soname_save_LIBS
10147 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10151 else
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10153 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10155 cat >>confdefs.h <<_ACEOF
10156 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10157 _ACEOF
10162 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10163 case "x$with_xxf86vm" in
10164 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10165 xno) ;;
10166 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10167 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10168 esac
10172 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10173 then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10175 $as_echo_n "checking for -lXrender... " >&6; }
10176 if ${ac_cv_lib_soname_Xrender+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_check_soname_save_LIBS=$LIBS
10180 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10184 /* Override any GCC internal prototype to avoid an error.
10185 Use char because int might match the return type of a GCC
10186 builtin and then its argument prototype would still apply. */
10187 #ifdef __cplusplus
10188 extern "C"
10189 #endif
10190 char XRenderQueryExtension ();
10192 main ()
10194 return XRenderQueryExtension ();
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"; then :
10200 case "$LIBEXT" in
10201 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10202 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'` ;;
10203 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10204 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10205 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10206 fi ;;
10207 esac
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_soname_save_LIBS
10213 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10215 $as_echo "not found" >&6; }
10217 else
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10219 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10221 cat >>confdefs.h <<_ACEOF
10222 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10223 _ACEOF
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10226 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10227 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10228 $as_echo_n "(cached) " >&6
10229 else
10230 ac_check_lib_save_LIBS=$LIBS
10231 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10238 #ifdef __cplusplus
10239 extern "C"
10240 #endif
10241 char XRenderSetPictureTransform ();
10243 main ()
10245 return XRenderSetPictureTransform ();
10247 return 0;
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10252 else
10253 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 LIBS=$ac_check_lib_save_LIBS
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10260 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10261 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10263 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10268 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10269 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char XRenderCreateLinearGradient ();
10285 main ()
10287 return XRenderCreateLinearGradient ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10294 else
10295 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10302 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10303 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10305 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10312 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10313 case "x$with_xrender" in
10314 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10315 xno) ;;
10316 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10317 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10318 esac
10322 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10323 then
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 #include <X11/Xlib.h>
10327 #include <X11/extensions/Xrandr.h>
10329 main ()
10331 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10333 return 0;
10335 _ACEOF
10336 if ac_fn_c_try_compile "$LINENO"; then :
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10338 $as_echo_n "checking for -lXrandr... " >&6; }
10339 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10340 $as_echo_n "(cached) " >&6
10341 else
10342 ac_check_soname_save_LIBS=$LIBS
10343 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10347 /* Override any GCC internal prototype to avoid an error.
10348 Use char because int might match the return type of a GCC
10349 builtin and then its argument prototype would still apply. */
10350 #ifdef __cplusplus
10351 extern "C"
10352 #endif
10353 char XRRQueryExtension ();
10355 main ()
10357 return XRRQueryExtension ();
10359 return 0;
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"; then :
10363 case "$LIBEXT" in
10364 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10365 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'` ;;
10366 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10367 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10368 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10369 fi ;;
10370 esac
10372 rm -f core conftest.err conftest.$ac_objext \
10373 conftest$ac_exeext conftest.$ac_ext
10374 LIBS=$ac_check_soname_save_LIBS
10376 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10378 $as_echo "not found" >&6; }
10380 else
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10382 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10384 cat >>confdefs.h <<_ACEOF
10385 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10386 _ACEOF
10388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10389 /* end confdefs.h. */
10390 #include <X11/Xlib.h>
10391 #include <X11/extensions/Xrandr.h>
10393 main ()
10395 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10397 return 0;
10399 _ACEOF
10400 if ac_fn_c_try_compile "$LINENO"; then :
10402 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10410 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10411 case "x$with_xrandr" in
10412 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10413 xno) ;;
10414 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10415 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10416 esac
10420 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10421 then
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 #include <X11/Xlib.h>
10425 #include <X11/extensions/Xinerama.h>
10427 main ()
10429 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10431 return 0;
10433 _ACEOF
10434 if ac_fn_c_try_compile "$LINENO"; then :
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10436 $as_echo_n "checking for -lXinerama... " >&6; }
10437 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10438 $as_echo_n "(cached) " >&6
10439 else
10440 ac_check_soname_save_LIBS=$LIBS
10441 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10448 #ifdef __cplusplus
10449 extern "C"
10450 #endif
10451 char XineramaQueryScreens ();
10453 main ()
10455 return XineramaQueryScreens ();
10457 return 0;
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461 case "$LIBEXT" in
10462 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10463 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'` ;;
10464 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10465 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10466 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10467 fi ;;
10468 esac
10470 rm -f core conftest.err conftest.$ac_objext \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_soname_save_LIBS
10474 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10476 $as_echo "not found" >&6; }
10478 else
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10480 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10482 cat >>confdefs.h <<_ACEOF
10483 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10484 _ACEOF
10489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10491 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10492 case "x$with_xinerama" in
10493 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10494 xno) ;;
10495 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10496 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10497 esac
10501 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10502 then
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10504 $as_echo_n "checking for -lXcomposite... " >&6; }
10505 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10506 $as_echo_n "(cached) " >&6
10507 else
10508 ac_check_soname_save_LIBS=$LIBS
10509 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10516 #ifdef __cplusplus
10517 extern "C"
10518 #endif
10519 char XCompositeRedirectWindow ();
10521 main ()
10523 return XCompositeRedirectWindow ();
10525 return 0;
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 case "$LIBEXT" in
10530 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10531 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'` ;;
10532 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10533 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10534 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10535 fi ;;
10536 esac
10538 rm -f core conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 LIBS=$ac_check_soname_save_LIBS
10542 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10544 $as_echo "not found" >&6; }
10546 else
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10548 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10550 cat >>confdefs.h <<_ACEOF
10551 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10552 _ACEOF
10557 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10558 case "x$with_xcomposite" in
10559 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10560 xno) ;;
10561 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10562 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10563 esac
10567 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10568 #include <X11/Xlib.h>
10569 #endif
10571 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10573 cat >>confdefs.h <<_ACEOF
10574 #define HAVE_XICCALLBACK_CALLBACK 1
10575 _ACEOF
10579 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10580 #include <X11/Xlib.h>
10581 #endif
10583 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10585 cat >>confdefs.h <<_ACEOF
10586 #define HAVE_XEVENT_XCOOKIE 1
10587 _ACEOF
10594 opengl_msg=""
10595 if test "x$with_opengl" != "xno"
10596 then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10598 $as_echo_n "checking for -lGL... " >&6; }
10599 if ${ac_cv_lib_soname_GL+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_check_soname_save_LIBS=$LIBS
10603 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10610 #ifdef __cplusplus
10611 extern "C"
10612 #endif
10613 char glXCreateContext ();
10615 main ()
10617 return glXCreateContext ();
10619 return 0;
10621 _ACEOF
10622 if ac_fn_c_try_link "$LINENO"; then :
10623 case "$LIBEXT" in
10624 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10625 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'` ;;
10626 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10627 if ${ac_cv_lib_soname_GL:+false} :; then :
10628 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10629 fi ;;
10630 esac
10632 rm -f core conftest.err conftest.$ac_objext \
10633 conftest$ac_exeext conftest.$ac_ext
10634 LIBS=$ac_check_soname_save_LIBS
10636 if ${ac_cv_lib_soname_GL:+false} :; then :
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10638 $as_echo "not found" >&6; }
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10640 $as_echo_n "checking for -lGL... " >&6; }
10641 if ${ac_cv_lib_soname_GL+:} false; then :
10642 $as_echo_n "(cached) " >&6
10643 else
10644 ac_check_soname_save_LIBS=$LIBS
10645 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"
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char glXCreateContext ();
10657 main ()
10659 return glXCreateContext ();
10661 return 0;
10663 _ACEOF
10664 if ac_fn_c_try_link "$LINENO"; then :
10665 case "$LIBEXT" in
10666 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10667 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'` ;;
10668 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10669 if ${ac_cv_lib_soname_GL:+false} :; then :
10670 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10671 fi ;;
10672 esac
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 LIBS=$ac_check_soname_save_LIBS
10678 if ${ac_cv_lib_soname_GL:+false} :; then :
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10680 $as_echo "not found" >&6; }
10681 if test -f /usr/X11R6/lib/libGL.a
10682 then
10683 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10684 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10685 else
10686 opengl_msg="No OpenGL library found on this system."
10688 else
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10690 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10692 cat >>confdefs.h <<_ACEOF
10693 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10694 _ACEOF
10696 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"
10698 else
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10700 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10702 cat >>confdefs.h <<_ACEOF
10703 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10704 _ACEOF
10706 OPENGL_LIBS="-lGL"
10708 if test "x$with_glu" != "xno"
10709 then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10711 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10712 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_lib_save_LIBS=$LIBS
10716 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char gluLookAt ();
10728 main ()
10730 return gluLookAt ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 ac_cv_lib_GLU_gluLookAt=yes
10737 else
10738 ac_cv_lib_GLU_gluLookAt=no
10740 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10745 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10746 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10750 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10751 case "x$with_glu" in
10752 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10753 xno) ;;
10754 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10755 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10756 esac
10761 if test "x$with_osmesa" != "xno"
10762 then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10764 $as_echo_n "checking for -lOSMesa... " >&6; }
10765 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10766 $as_echo_n "(cached) " >&6
10767 else
10768 ac_check_soname_save_LIBS=$LIBS
10769 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10776 #ifdef __cplusplus
10777 extern "C"
10778 #endif
10779 char glAccum ();
10781 main ()
10783 return glAccum ();
10785 return 0;
10787 _ACEOF
10788 if ac_fn_c_try_link "$LINENO"; then :
10789 case "$LIBEXT" in
10790 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10791 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'` ;;
10792 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10793 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10794 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10795 fi ;;
10796 esac
10798 rm -f core conftest.err conftest.$ac_objext \
10799 conftest$ac_exeext conftest.$ac_ext
10800 LIBS=$ac_check_soname_save_LIBS
10802 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10804 $as_echo "not found" >&6; }
10806 else
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10808 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10810 cat >>confdefs.h <<_ACEOF
10811 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10812 _ACEOF
10816 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10817 case "x$with_osmesa" in
10818 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10819 xno) ;;
10820 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10821 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10822 esac
10827 if test -n "$opengl_msg"; then :
10828 case "x$with_opengl" in
10829 x) as_fn_append wine_warnings "|$opengl_msg
10830 OpenGL and Direct3D won't be supported." ;;
10831 xno) ;;
10832 *) as_fn_error $? "$opengl_msg
10833 OpenGL and Direct3D won't be supported.
10834 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10835 esac
10839 CPPFLAGS="$ac_save_CPPFLAGS"
10840 else
10841 X_CFLAGS=""
10842 X_LIBS=""
10844 if test "x$X_LIBS" = "x"; then :
10845 case "x$with_x" in
10846 xno) ;;
10847 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10848 without X support, which probably isn't what you want. You will need
10849 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10850 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10851 esac
10852 enable_winex11_drv=${enable_winex11_drv:-no}
10855 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10857 if test "$ac_cv_header_CL_cl_h" = "yes"
10858 then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10860 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10861 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10862 $as_echo_n "(cached) " >&6
10863 else
10864 ac_check_lib_save_LIBS=$LIBS
10865 LIBS="-lOpenCL $LIBS"
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10872 #ifdef __cplusplus
10873 extern "C"
10874 #endif
10875 char clGetPlatformInfo ();
10877 main ()
10879 return clGetPlatformInfo ();
10881 return 0;
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10886 else
10887 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10894 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10895 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10896 OPENCL_LIBS="-lOpenCL"
10901 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10902 case "x$with_opencl" in
10903 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10904 xno) ;;
10905 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10906 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10907 esac
10908 enable_opencl=${enable_opencl:-no}
10911 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10912 then
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10914 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10915 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10916 $as_echo_n "(cached) " >&6
10917 else
10918 ac_check_lib_save_LIBS=$LIBS
10919 LIBS="-lpcap $LIBS"
10920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10926 #ifdef __cplusplus
10927 extern "C"
10928 #endif
10929 char pcap_create ();
10931 main ()
10933 return pcap_create ();
10935 return 0;
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"; then :
10939 ac_cv_lib_pcap_pcap_create=yes
10940 else
10941 ac_cv_lib_pcap_pcap_create=no
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 LIBS=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10948 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10949 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10950 PCAP_LIBS="-lpcap"
10955 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10956 case "x$with_pcap" in
10957 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10958 xno) ;;
10959 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10960 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10961 esac
10962 enable_wpcap=${enable_wpcap:-no}
10966 if test "x$with_xml" != "xno"
10967 then
10968 if ${XML2_CFLAGS:+false} :; then :
10969 if ${PKG_CONFIG+:} false; then :
10970 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10973 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10974 if ${XML2_LIBS:+false} :; then :
10975 if ${PKG_CONFIG+:} false; then :
10976 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10979 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10980 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10981 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10982 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10983 ac_save_CPPFLAGS=$CPPFLAGS
10984 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10985 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10986 do :
10987 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10988 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10990 cat >>confdefs.h <<_ACEOF
10991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10992 _ACEOF
10996 done
10998 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"
10999 then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11001 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11002 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_lib_save_LIBS=$LIBS
11006 LIBS="-lxml2 $XML2_LIBS $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char xmlParseMemory ();
11018 main ()
11020 return xmlParseMemory ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 ac_cv_lib_xml2_xmlParseMemory=yes
11027 else
11028 ac_cv_lib_xml2_xmlParseMemory=no
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11035 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11036 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11038 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11040 else
11041 XML2_LIBS=""
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11045 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11046 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11047 $as_echo_n "(cached) " >&6
11048 else
11049 ac_check_lib_save_LIBS=$LIBS
11050 LIBS="-lxml2 $XML2_LIBS $LIBS"
11051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11052 /* end confdefs.h. */
11054 /* Override any GCC internal prototype to avoid an error.
11055 Use char because int might match the return type of a GCC
11056 builtin and then its argument prototype would still apply. */
11057 #ifdef __cplusplus
11058 extern "C"
11059 #endif
11060 char xmlReadMemory ();
11062 main ()
11064 return xmlReadMemory ();
11066 return 0;
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"; then :
11070 ac_cv_lib_xml2_xmlReadMemory=yes
11071 else
11072 ac_cv_lib_xml2_xmlReadMemory=no
11074 rm -f core conftest.err conftest.$ac_objext \
11075 conftest$ac_exeext conftest.$ac_ext
11076 LIBS=$ac_check_lib_save_LIBS
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11079 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11080 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11082 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11087 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11088 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11089 $as_echo_n "(cached) " >&6
11090 else
11091 ac_check_lib_save_LIBS=$LIBS
11092 LIBS="-lxml2 $XML2_LIBS $LIBS"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11099 #ifdef __cplusplus
11100 extern "C"
11101 #endif
11102 char xmlNewDocPI ();
11104 main ()
11106 return xmlNewDocPI ();
11108 return 0;
11110 _ACEOF
11111 if ac_fn_c_try_link "$LINENO"; then :
11112 ac_cv_lib_xml2_xmlNewDocPI=yes
11113 else
11114 ac_cv_lib_xml2_xmlNewDocPI=no
11116 rm -f core conftest.err conftest.$ac_objext \
11117 conftest$ac_exeext conftest.$ac_ext
11118 LIBS=$ac_check_lib_save_LIBS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11121 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11122 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11124 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11129 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11130 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11131 $as_echo_n "(cached) " >&6
11132 else
11133 ac_check_lib_save_LIBS=$LIBS
11134 LIBS="-lxml2 $XML2_LIBS $LIBS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141 #ifdef __cplusplus
11142 extern "C"
11143 #endif
11144 char xmlSchemaSetParserStructuredErrors ();
11146 main ()
11148 return xmlSchemaSetParserStructuredErrors ();
11150 return 0;
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"; then :
11154 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11155 else
11156 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11158 rm -f core conftest.err conftest.$ac_objext \
11159 conftest$ac_exeext conftest.$ac_ext
11160 LIBS=$ac_check_lib_save_LIBS
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11163 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11164 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11166 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11171 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11172 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-lxml2 $XML2_LIBS $LIBS"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11183 #ifdef __cplusplus
11184 extern "C"
11185 #endif
11186 char xmlSchemaSetValidStructuredErrors ();
11188 main ()
11190 return xmlSchemaSetValidStructuredErrors ();
11192 return 0;
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"; then :
11196 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11197 else
11198 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11205 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11206 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11208 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11213 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11214 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11215 $as_echo_n "(cached) " >&6
11216 else
11217 ac_check_lib_save_LIBS=$LIBS
11218 LIBS="-lxml2 $XML2_LIBS $LIBS"
11219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220 /* end confdefs.h. */
11222 /* Override any GCC internal prototype to avoid an error.
11223 Use char because int might match the return type of a GCC
11224 builtin and then its argument prototype would still apply. */
11225 #ifdef __cplusplus
11226 extern "C"
11227 #endif
11228 char xmlFirstElementChild ();
11230 main ()
11232 return xmlFirstElementChild ();
11234 return 0;
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"; then :
11238 ac_cv_lib_xml2_xmlFirstElementChild=yes
11239 else
11240 ac_cv_lib_xml2_xmlFirstElementChild=no
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_lib_save_LIBS
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11247 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11248 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11250 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11254 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11256 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11258 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11262 else
11263 XML2_CFLAGS=""
11264 XML2_LIBS=""
11266 CPPFLAGS=$ac_save_CPPFLAGS
11267 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11268 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11271 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11272 case "x$with_xml" in
11273 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11274 xno) ;;
11275 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11276 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11277 esac
11281 if test "x$with_xslt" != "xno"
11282 then
11283 if ${XSLT_CFLAGS:+false} :; then :
11284 if ${PKG_CONFIG+:} false; then :
11285 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11288 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11289 if ${XSLT_LIBS:+false} :; then :
11290 if ${PKG_CONFIG+:} false; then :
11291 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11294 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11295 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11296 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11297 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11298 ac_save_CPPFLAGS=$CPPFLAGS
11299 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11300 for ac_header in libxslt/pattern.h libxslt/transform.h
11301 do :
11302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11303 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11304 # include <libxslt/pattern.h>
11305 #endif
11307 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11308 cat >>confdefs.h <<_ACEOF
11309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11310 _ACEOF
11314 done
11316 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11317 then
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11319 $as_echo_n "checking for -lxslt... " >&6; }
11320 if ${ac_cv_lib_soname_xslt+:} false; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_soname_save_LIBS=$LIBS
11324 LIBS="-lxslt $XSLT_LIBS $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char xsltCompilePattern ();
11336 main ()
11338 return xsltCompilePattern ();
11340 return 0;
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 case "$LIBEXT" in
11345 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11346 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'` ;;
11347 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11348 if ${ac_cv_lib_soname_xslt:+false} :; then :
11349 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11350 fi ;;
11351 esac
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_soname_save_LIBS
11357 if ${ac_cv_lib_soname_xslt:+false} :; then :
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11359 $as_echo "not found" >&6; }
11361 else
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11363 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11365 cat >>confdefs.h <<_ACEOF
11366 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11367 _ACEOF
11371 else
11372 XSLT_CFLAGS=""
11374 CPPFLAGS=$ac_save_CPPFLAGS
11375 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11376 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11379 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11380 case "x$with_xslt" in
11381 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11382 xno) ;;
11383 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11384 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11385 esac
11389 if test "x$with_dbus" != "xno"
11390 then
11391 if ${DBUS_CFLAGS:+false} :; then :
11392 if ${PKG_CONFIG+:} false; then :
11393 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11397 if ${DBUS_LIBS:+false} :; then :
11398 if ${PKG_CONFIG+:} false; then :
11399 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11404 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11405 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11406 ac_save_CPPFLAGS=$CPPFLAGS
11407 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11408 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11409 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11411 $as_echo_n "checking for -ldbus-1... " >&6; }
11412 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11413 $as_echo_n "(cached) " >&6
11414 else
11415 ac_check_soname_save_LIBS=$LIBS
11416 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11423 #ifdef __cplusplus
11424 extern "C"
11425 #endif
11426 char dbus_connection_close ();
11428 main ()
11430 return dbus_connection_close ();
11432 return 0;
11434 _ACEOF
11435 if ac_fn_c_try_link "$LINENO"; then :
11436 case "$LIBEXT" in
11437 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11438 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'` ;;
11439 *) 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'`
11440 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11441 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11442 fi ;;
11443 esac
11445 rm -f core conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11447 LIBS=$ac_check_soname_save_LIBS
11449 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11451 $as_echo "not found" >&6; }
11452 DBUS_CFLAGS=""
11453 else
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11455 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11457 cat >>confdefs.h <<_ACEOF
11458 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11459 _ACEOF
11463 else
11464 DBUS_CFLAGS=""
11468 CPPFLAGS=$ac_save_CPPFLAGS
11469 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11470 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11473 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11474 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11475 case "x$with_dbus" in
11476 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11477 xno) ;;
11478 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11479 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11480 esac
11484 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11485 then
11486 if ${HAL_CFLAGS:+false} :; then :
11487 if ${PKG_CONFIG+:} false; then :
11488 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11492 if ${HAL_LIBS:+false} :; then :
11493 if ${PKG_CONFIG+:} false; then :
11494 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11498 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11499 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11500 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11501 ac_save_CPPFLAGS=$CPPFLAGS
11502 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11503 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11504 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11506 $as_echo_n "checking for -lhal... " >&6; }
11507 if ${ac_cv_lib_soname_hal+:} false; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 ac_check_soname_save_LIBS=$LIBS
11511 LIBS="-lhal $HAL_LIBS $LIBS"
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11515 /* Override any GCC internal prototype to avoid an error.
11516 Use char because int might match the return type of a GCC
11517 builtin and then its argument prototype would still apply. */
11518 #ifdef __cplusplus
11519 extern "C"
11520 #endif
11521 char libhal_ctx_new ();
11523 main ()
11525 return libhal_ctx_new ();
11527 return 0;
11529 _ACEOF
11530 if ac_fn_c_try_link "$LINENO"; then :
11531 case "$LIBEXT" in
11532 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11533 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'` ;;
11534 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11535 if ${ac_cv_lib_soname_hal:+false} :; then :
11536 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11537 fi ;;
11538 esac
11540 rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
11542 LIBS=$ac_check_soname_save_LIBS
11544 if ${ac_cv_lib_soname_hal:+false} :; then :
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11546 $as_echo "not found" >&6; }
11547 HAL_CFLAGS=""
11548 else
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11550 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11552 cat >>confdefs.h <<_ACEOF
11553 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11554 _ACEOF
11558 else
11559 HAL_CFLAGS=""
11563 CPPFLAGS=$ac_save_CPPFLAGS
11564 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11565 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11567 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11568 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11569 case "x$with_hal" in
11570 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11571 xno) ;;
11572 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11573 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11574 esac
11579 if test "x$with_gnutls" != "xno"
11580 then
11581 if ${GNUTLS_CFLAGS:+false} :; then :
11582 if ${PKG_CONFIG+:} false; then :
11583 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11587 if ${GNUTLS_LIBS:+false} :; then :
11588 if ${PKG_CONFIG+:} false; then :
11589 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11594 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11595 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11596 ac_save_CPPFLAGS=$CPPFLAGS
11597 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11598 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11599 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11602 #include <gnutls/gnutls.h>
11603 #include <gnutls/crypto.h>
11605 main ()
11607 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11609 return 0;
11611 _ACEOF
11612 if ac_fn_c_try_compile "$LINENO"; then :
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11614 $as_echo_n "checking for -lgnutls... " >&6; }
11615 if ${ac_cv_lib_soname_gnutls+:} false; then :
11616 $as_echo_n "(cached) " >&6
11617 else
11618 ac_check_soname_save_LIBS=$LIBS
11619 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11626 #ifdef __cplusplus
11627 extern "C"
11628 #endif
11629 char gnutls_global_init ();
11631 main ()
11633 return gnutls_global_init ();
11635 return 0;
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"; then :
11639 case "$LIBEXT" in
11640 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11641 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'` ;;
11642 *) 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'`
11643 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11644 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'`
11645 fi ;;
11646 esac
11648 rm -f core conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_soname_save_LIBS
11652 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11654 $as_echo "not found" >&6; }
11655 GNUTLS_CFLAGS=""
11656 else
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11658 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11660 cat >>confdefs.h <<_ACEOF
11661 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11662 _ACEOF
11666 ac_wine_check_funcs_save_LIBS="$LIBS"
11667 LIBS="$LIBS $GNUTLS_LIBS"
11668 for ac_func in gnutls_hash
11669 do :
11670 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11671 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11672 cat >>confdefs.h <<_ACEOF
11673 #define HAVE_GNUTLS_HASH 1
11674 _ACEOF
11676 else
11677 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11679 done
11681 LIBS="$ac_wine_check_funcs_save_LIBS"
11683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11684 else
11685 GNUTLS_CFLAGS=""
11689 CPPFLAGS=$ac_save_CPPFLAGS
11690 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11691 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11694 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11695 case "x$with_gnutls" in
11696 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11697 xno) ;;
11698 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11699 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11700 esac
11704 CURSES_LIBS=""
11705 if test "$ac_cv_header_ncurses_h" = "yes"
11706 then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11708 $as_echo_n "checking for -lncurses... " >&6; }
11709 if ${ac_cv_lib_soname_ncurses+:} false; then :
11710 $as_echo_n "(cached) " >&6
11711 else
11712 ac_check_soname_save_LIBS=$LIBS
11713 LIBS="-lncurses $LIBS"
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11717 /* Override any GCC internal prototype to avoid an error.
11718 Use char because int might match the return type of a GCC
11719 builtin and then its argument prototype would still apply. */
11720 #ifdef __cplusplus
11721 extern "C"
11722 #endif
11723 char waddch ();
11725 main ()
11727 return waddch ();
11729 return 0;
11731 _ACEOF
11732 if ac_fn_c_try_link "$LINENO"; then :
11733 case "$LIBEXT" in
11734 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11735 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'` ;;
11736 *) 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'`
11737 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11738 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11739 fi ;;
11740 esac
11742 rm -f core conftest.err conftest.$ac_objext \
11743 conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_soname_save_LIBS
11746 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11748 $as_echo "not found" >&6; }
11750 else
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11752 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11754 cat >>confdefs.h <<_ACEOF
11755 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11756 _ACEOF
11758 CURSES_LIBS="-lncurses"
11760 elif test "$ac_cv_header_curses_h" = "yes"
11761 then
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11763 $as_echo_n "checking for -lcurses... " >&6; }
11764 if ${ac_cv_lib_soname_curses+:} false; then :
11765 $as_echo_n "(cached) " >&6
11766 else
11767 ac_check_soname_save_LIBS=$LIBS
11768 LIBS="-lcurses $LIBS"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11775 #ifdef __cplusplus
11776 extern "C"
11777 #endif
11778 char waddch ();
11780 main ()
11782 return waddch ();
11784 return 0;
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"; then :
11788 case "$LIBEXT" in
11789 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11790 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'` ;;
11791 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11792 if ${ac_cv_lib_soname_curses:+false} :; then :
11793 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11794 fi ;;
11795 esac
11797 rm -f core conftest.err conftest.$ac_objext \
11798 conftest$ac_exeext conftest.$ac_ext
11799 LIBS=$ac_check_soname_save_LIBS
11801 if ${ac_cv_lib_soname_curses:+false} :; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11803 $as_echo "not found" >&6; }
11805 else
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11807 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11809 cat >>confdefs.h <<_ACEOF
11810 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11811 _ACEOF
11813 CURSES_LIBS="-lcurses"
11816 ac_save_LIBS="$LIBS"
11817 LIBS="$LIBS $CURSES_LIBS"
11818 for ac_func in mousemask
11819 do :
11820 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11821 if test "x$ac_cv_func_mousemask" = xyes; then :
11822 cat >>confdefs.h <<_ACEOF
11823 #define HAVE_MOUSEMASK 1
11824 _ACEOF
11827 done
11829 LIBS="$ac_save_LIBS"
11830 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11831 case "x$with_curses" in
11832 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11833 xno) ;;
11834 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11835 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11836 esac
11840 if test "x$with_sane" != "xno"
11841 then
11842 if ${SANE_CFLAGS:+false} :; then :
11843 if ${PKG_CONFIG+:} false; then :
11844 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11847 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11848 if ${SANE_LIBS:+false} :; then :
11849 if ${PKG_CONFIG+:} false; then :
11850 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11853 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11855 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11856 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11857 ac_save_CPPFLAGS=$CPPFLAGS
11858 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11859 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11860 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11862 $as_echo_n "checking for -lsane... " >&6; }
11863 if ${ac_cv_lib_soname_sane+:} false; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 ac_check_soname_save_LIBS=$LIBS
11867 LIBS="-lsane $SANE_LIBS $LIBS"
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char sane_init ();
11879 main ()
11881 return sane_init ();
11883 return 0;
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 case "$LIBEXT" in
11888 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11889 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'` ;;
11890 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11891 if ${ac_cv_lib_soname_sane:+false} :; then :
11892 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11893 fi ;;
11894 esac
11896 rm -f core conftest.err conftest.$ac_objext \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_soname_save_LIBS
11900 if ${ac_cv_lib_soname_sane:+false} :; then :
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11902 $as_echo "not found" >&6; }
11903 SANE_CFLAGS=""
11904 else
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11906 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11908 cat >>confdefs.h <<_ACEOF
11909 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11910 _ACEOF
11914 else
11915 SANE_CFLAGS=""
11919 CPPFLAGS=$ac_save_CPPFLAGS
11920 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11921 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11925 case "x$with_sane" in
11926 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11927 xno) ;;
11928 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11929 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11930 esac
11934 if test "x$with_v4l" != "xno"
11935 then
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11937 $as_echo_n "checking for -lv4l1... " >&6; }
11938 if ${ac_cv_lib_soname_v4l1+:} false; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 ac_check_soname_save_LIBS=$LIBS
11942 LIBS="-lv4l1 $LIBS"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11946 /* Override any GCC internal prototype to avoid an error.
11947 Use char because int might match the return type of a GCC
11948 builtin and then its argument prototype would still apply. */
11949 #ifdef __cplusplus
11950 extern "C"
11951 #endif
11952 char v4l1_open ();
11954 main ()
11956 return v4l1_open ();
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_link "$LINENO"; then :
11962 case "$LIBEXT" in
11963 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11964 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'` ;;
11965 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11966 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11967 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11968 fi ;;
11969 esac
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_soname_save_LIBS
11975 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11977 $as_echo "not found" >&6; }
11979 else
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11981 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11983 cat >>confdefs.h <<_ACEOF
11984 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11985 _ACEOF
11990 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11991 case "x$with_v4l" in
11992 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11993 xno) ;;
11994 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11995 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11996 esac
12000 if test "x$with_gphoto" != "xno"
12001 then
12002 if ${GPHOTO2_CFLAGS:+false} :; then :
12003 if ${PKG_CONFIG+:} false; then :
12004 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12007 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12008 if ${GPHOTO2_LIBS:+false} :; then :
12009 if ${PKG_CONFIG+:} false; then :
12010 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12013 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12014 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12015 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12016 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12017 ac_save_CPPFLAGS=$CPPFLAGS
12018 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12019 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12020 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12022 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12023 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 ac_check_lib_save_LIBS=$LIBS
12027 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12031 /* Override any GCC internal prototype to avoid an error.
12032 Use char because int might match the return type of a GCC
12033 builtin and then its argument prototype would still apply. */
12034 #ifdef __cplusplus
12035 extern "C"
12036 #endif
12037 char gp_camera_new ();
12039 main ()
12041 return gp_camera_new ();
12043 return 0;
12045 _ACEOF
12046 if ac_fn_c_try_link "$LINENO"; then :
12047 ac_cv_lib_gphoto2_gp_camera_new=yes
12048 else
12049 ac_cv_lib_gphoto2_gp_camera_new=no
12051 rm -f core conftest.err conftest.$ac_objext \
12052 conftest$ac_exeext conftest.$ac_ext
12053 LIBS=$ac_check_lib_save_LIBS
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12056 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12057 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12059 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12061 else
12062 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12065 else
12066 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12070 CPPFLAGS=$ac_save_CPPFLAGS
12071 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12072 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12074 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12075 if ${PKG_CONFIG+:} false; then :
12076 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12079 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12080 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12081 if ${PKG_CONFIG+:} false; then :
12082 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12085 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12086 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12087 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12088 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12089 ac_save_CPPFLAGS=$CPPFLAGS
12090 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12091 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12092 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12094 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12095 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12096 $as_echo_n "(cached) " >&6
12097 else
12098 ac_check_lib_save_LIBS=$LIBS
12099 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12101 /* end confdefs.h. */
12103 /* Override any GCC internal prototype to avoid an error.
12104 Use char because int might match the return type of a GCC
12105 builtin and then its argument prototype would still apply. */
12106 #ifdef __cplusplus
12107 extern "C"
12108 #endif
12109 char gp_port_info_list_new ();
12111 main ()
12113 return gp_port_info_list_new ();
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_link "$LINENO"; then :
12119 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12120 else
12121 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12123 rm -f core conftest.err conftest.$ac_objext \
12124 conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_lib_save_LIBS
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12128 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12129 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12131 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12133 else
12134 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12137 else
12138 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12142 CPPFLAGS=$ac_save_CPPFLAGS
12143 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12144 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12147 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12148 case "x$with_gphoto" in
12149 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12150 xno) ;;
12151 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12152 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12153 esac
12156 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12157 case "x$with_gphoto" in
12158 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12159 xno) ;;
12160 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12161 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12162 esac
12167 if test "$ac_cv_header_resolv_h" = "yes"
12168 then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12170 $as_echo_n "checking for resolver library... " >&6; }
12171 if ${ac_cv_have_resolv+:} false; then :
12172 $as_echo_n "(cached) " >&6
12173 else
12174 ac_save_LIBS="$LIBS"
12175 for lib in '' -lresolv
12177 LIBS="$lib $ac_save_LIBS"
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12180 #ifdef HAVE_NETINET_IN_H
12181 #include <netinet/in.h>
12182 #endif
12183 #include <resolv.h>
12185 main ()
12187 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12189 return 0;
12191 _ACEOF
12192 if ac_fn_c_try_link "$LINENO"; then :
12193 ac_cv_have_resolv=${lib:-"none required"}
12194 else
12195 ac_cv_have_resolv="not found"
12197 rm -f core conftest.err conftest.$ac_objext \
12198 conftest$ac_exeext conftest.$ac_ext
12199 test "x$ac_cv_have_resolv" = "xnot found" || break
12200 done
12201 LIBS="$ac_save_LIBS"
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12204 $as_echo "$ac_cv_have_resolv" >&6; }
12206 case "$ac_cv_have_resolv" in
12207 "not found") ;;
12208 "none required")
12210 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12213 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12215 RESOLV_LIBS=$ac_cv_have_resolv
12217 esac
12220 if test "x$with_cms" != "xno"
12221 then
12222 if ${LCMS2_CFLAGS:+false} :; then :
12223 if ${PKG_CONFIG+:} false; then :
12224 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12228 if ${LCMS2_LIBS:+false} :; then :
12229 if ${PKG_CONFIG+:} false; then :
12230 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12234 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12235 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12236 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12237 ac_save_CPPFLAGS=$CPPFLAGS
12238 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12239 for ac_header in lcms2.h
12240 do :
12241 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12242 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12243 cat >>confdefs.h <<_ACEOF
12244 #define HAVE_LCMS2_H 1
12245 _ACEOF
12249 done
12251 if test "$ac_cv_header_lcms2_h" = "yes"
12252 then
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12254 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12255 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12256 $as_echo_n "(cached) " >&6
12257 else
12258 ac_check_lib_save_LIBS=$LIBS
12259 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12266 #ifdef __cplusplus
12267 extern "C"
12268 #endif
12269 char cmsOpenProfileFromFile ();
12271 main ()
12273 return cmsOpenProfileFromFile ();
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_link "$LINENO"; then :
12279 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12280 else
12281 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12283 rm -f core conftest.err conftest.$ac_objext \
12284 conftest$ac_exeext conftest.$ac_ext
12285 LIBS=$ac_check_lib_save_LIBS
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12288 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12289 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12291 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12293 else
12294 LCMS2_LIBS=""
12297 else
12298 LCMS2_CFLAGS=""
12299 LCMS2_LIBS=""
12301 CPPFLAGS=$ac_save_CPPFLAGS
12302 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12303 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12306 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12307 case "x$with_cms" in
12308 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12309 xno) ;;
12310 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12311 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12312 esac
12316 if test "x$with_freetype" != "xno"
12317 then
12318 if ${FREETYPE_CFLAGS:+false} :; then :
12319 if ${PKG_CONFIG+:} false; then :
12320 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12323 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12324 if ${FREETYPE_LIBS:+false} :; then :
12325 if ${PKG_CONFIG+:} false; then :
12326 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12329 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12330 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12331 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12332 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12333 ac_save_CPPFLAGS=$CPPFLAGS
12334 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12335 for ac_header in ft2build.h
12336 do :
12337 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12338 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12339 cat >>confdefs.h <<_ACEOF
12340 #define HAVE_FT2BUILD_H 1
12341 _ACEOF
12345 done
12347 if test "$ac_cv_header_ft2build_h" = "yes"
12348 then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12350 $as_echo_n "checking for -lfreetype... " >&6; }
12351 if ${ac_cv_lib_soname_freetype+:} false; then :
12352 $as_echo_n "(cached) " >&6
12353 else
12354 ac_check_soname_save_LIBS=$LIBS
12355 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12357 /* end confdefs.h. */
12359 /* Override any GCC internal prototype to avoid an error.
12360 Use char because int might match the return type of a GCC
12361 builtin and then its argument prototype would still apply. */
12362 #ifdef __cplusplus
12363 extern "C"
12364 #endif
12365 char FT_Init_FreeType ();
12367 main ()
12369 return FT_Init_FreeType ();
12371 return 0;
12373 _ACEOF
12374 if ac_fn_c_try_link "$LINENO"; then :
12375 case "$LIBEXT" in
12376 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12377 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'` ;;
12378 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12379 if ${ac_cv_lib_soname_freetype:+false} :; then :
12380 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12381 fi ;;
12382 esac
12384 rm -f core conftest.err conftest.$ac_objext \
12385 conftest$ac_exeext conftest.$ac_ext
12386 LIBS=$ac_check_soname_save_LIBS
12388 if ${ac_cv_lib_soname_freetype:+false} :; then :
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12390 $as_echo "not found" >&6; }
12391 FREETYPE_LIBS=""
12392 else
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12394 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12396 cat >>confdefs.h <<_ACEOF
12397 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12398 _ACEOF
12401 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12403 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12404 #include FT_MODULE_H
12406 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12408 cat >>confdefs.h <<_ACEOF
12409 #define HAVE_FT_TRUETYPEENGINETYPE 1
12410 _ACEOF
12416 else
12417 FREETYPE_CFLAGS=""
12418 FREETYPE_LIBS=""
12420 CPPFLAGS=$ac_save_CPPFLAGS
12421 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12422 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12425 if test "x$ac_cv_lib_soname_freetype" = x; then :
12426 case "x$with_freetype" in
12427 xno) ;;
12428 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12429 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12430 esac
12431 enable_fonts=${enable_fonts:-no}
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12435 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12436 if ${ac_cv_c_ppdev+:} false; then :
12437 $as_echo_n "(cached) " >&6
12438 else
12439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12441 #ifdef HAVE_SYS_IOCTL_H
12442 # include <sys/ioctl.h>
12443 #endif
12444 #include <linux/ppdev.h>
12446 main ()
12448 ioctl (1,PPCLAIM,0)
12450 return 0;
12452 _ACEOF
12453 if ac_fn_c_try_compile "$LINENO"; then :
12454 ac_cv_c_ppdev="yes"
12455 else
12456 ac_cv_c_ppdev="no"
12458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12461 $as_echo "$ac_cv_c_ppdev" >&6; }
12462 if test "$ac_cv_c_ppdev" = "yes"
12463 then
12465 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12469 ac_wine_check_funcs_save_LIBS="$LIBS"
12470 LIBS="$LIBS $PTHREAD_LIBS"
12471 for ac_func in \
12472 pthread_attr_get_np \
12473 pthread_getattr_np \
12474 pthread_getthreadid_np \
12475 pthread_get_stackaddr_np \
12476 pthread_get_stacksize_np
12477 do :
12478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12481 cat >>confdefs.h <<_ACEOF
12482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12483 _ACEOF
12486 done
12488 LIBS="$ac_wine_check_funcs_save_LIBS"
12490 if test "$ac_cv_header_zlib_h" = "yes"
12491 then
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12493 $as_echo_n "checking for inflate in -lz... " >&6; }
12494 if ${ac_cv_lib_z_inflate+:} false; then :
12495 $as_echo_n "(cached) " >&6
12496 else
12497 ac_check_lib_save_LIBS=$LIBS
12498 LIBS="-lz $LIBS"
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12505 #ifdef __cplusplus
12506 extern "C"
12507 #endif
12508 char inflate ();
12510 main ()
12512 return inflate ();
12514 return 0;
12516 _ACEOF
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 ac_cv_lib_z_inflate=yes
12519 else
12520 ac_cv_lib_z_inflate=no
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_lib_save_LIBS
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12527 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12528 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12530 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12532 Z_LIBS="-lz"
12537 if test "x$Z_LIBS" = "x"; then :
12538 case "x$with_zlib" in
12539 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12540 xno) ;;
12541 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12542 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12543 esac
12547 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12548 then
12549 if test "$ac_cv_header_gettext_po_h" = "yes"
12550 then
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12552 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12553 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12554 $as_echo_n "(cached) " >&6
12555 else
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-lgettextpo $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12564 #ifdef __cplusplus
12565 extern "C"
12566 #endif
12567 char po_message_msgctxt ();
12569 main ()
12571 return po_message_msgctxt ();
12573 return 0;
12575 _ACEOF
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12578 else
12579 ac_cv_lib_gettextpo_po_message_msgctxt=no
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12586 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12587 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12589 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12591 GETTEXTPO_LIBS="-lgettextpo"
12596 if test "x$GETTEXTPO_LIBS" = "x"; then :
12597 case "x$with_gettextpo" in
12598 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12599 xno) ;;
12600 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12601 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12602 esac
12605 if test "$srcdir" != .; then :
12606 case "x$with_gettextpo" in
12607 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12608 xno) ;;
12609 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12610 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12611 esac
12616 if test "x$with_pulse" != "xno";
12617 then
12618 if ${PULSE_CFLAGS:+false} :; then :
12619 if ${PKG_CONFIG+:} false; then :
12620 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12624 if ${PULSE_LIBS:+false} :; then :
12625 if ${PKG_CONFIG+:} false; then :
12626 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12631 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12633 ac_save_CPPFLAGS=$CPPFLAGS
12634 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12635 for ac_header in pulse/pulseaudio.h
12636 do :
12637 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12638 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12639 cat >>confdefs.h <<_ACEOF
12640 #define HAVE_PULSE_PULSEAUDIO_H 1
12641 _ACEOF
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12643 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12644 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12645 $as_echo_n "(cached) " >&6
12646 else
12647 ac_check_lib_save_LIBS=$LIBS
12648 LIBS="-lpulse $PULSE_LIBS $LIBS"
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12652 /* Override any GCC internal prototype to avoid an error.
12653 Use char because int might match the return type of a GCC
12654 builtin and then its argument prototype would still apply. */
12655 #ifdef __cplusplus
12656 extern "C"
12657 #endif
12658 char pa_stream_is_corked ();
12660 main ()
12662 return pa_stream_is_corked ();
12664 return 0;
12666 _ACEOF
12667 if ac_fn_c_try_link "$LINENO"; then :
12668 ac_cv_lib_pulse_pa_stream_is_corked=yes
12669 else
12670 ac_cv_lib_pulse_pa_stream_is_corked=no
12672 rm -f core conftest.err conftest.$ac_objext \
12673 conftest$ac_exeext conftest.$ac_ext
12674 LIBS=$ac_check_lib_save_LIBS
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12677 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12678 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12680 else
12681 PULSE_LIBS=""
12684 else
12685 PULSE_LIBS=""
12688 done
12690 CPPFLAGS=$ac_save_CPPFLAGS
12691 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12692 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12695 if test -z "$PULSE_LIBS"; then :
12696 case "x$with_pulse" in
12697 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12698 xno) ;;
12699 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12700 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12701 esac
12702 enable_winepulse_drv=${enable_winepulse_drv:-no}
12705 if test "x$with_gstreamer" != "xno"
12706 then
12707 if ${GSTREAMER_CFLAGS:+false} :; then :
12708 if ${PKG_CONFIG+:} false; then :
12709 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12713 if ${GSTREAMER_LIBS:+false} :; then :
12714 if ${PKG_CONFIG+:} false; then :
12715 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12720 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12721 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12722 ac_save_CPPFLAGS=$CPPFLAGS
12723 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12724 ac_gst_incl=""
12725 for i in $GSTREAMER_CFLAGS
12727 case "$i" in
12728 -I*) ac_gst_incl="$ac_gst_incl $i";;
12729 esac
12730 done
12731 GSTREAMER_CFLAGS=$ac_gst_incl
12732 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12733 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12734 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12736 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12739 #include <gst/gst.h>
12741 main ()
12743 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12745 return 0;
12747 _ACEOF
12748 if ac_fn_c_try_compile "$LINENO"; then :
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12750 $as_echo "yes" >&6; }
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12752 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12753 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12754 $as_echo_n "(cached) " >&6
12755 else
12756 ac_check_lib_save_LIBS=$LIBS
12757 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 /* Override any GCC internal prototype to avoid an error.
12762 Use char because int might match the return type of a GCC
12763 builtin and then its argument prototype would still apply. */
12764 #ifdef __cplusplus
12765 extern "C"
12766 #endif
12767 char gst_pad_new ();
12769 main ()
12771 return gst_pad_new ();
12773 return 0;
12775 _ACEOF
12776 if ac_fn_c_try_link "$LINENO"; then :
12777 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12778 else
12779 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12781 rm -f core conftest.err conftest.$ac_objext \
12782 conftest$ac_exeext conftest.$ac_ext
12783 LIBS=$ac_check_lib_save_LIBS
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12786 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12787 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12791 else
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12793 $as_echo "no" >&6; }
12794 ac_glib2_broken=yes
12795 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12801 CPPFLAGS=$ac_save_CPPFLAGS
12802 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12803 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12806 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 :
12807 case "x$with_gstreamer" in
12808 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12809 xno) ;;
12810 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12811 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12812 esac
12815 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12817 ALSA_LIBS=""
12819 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12820 then
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12822 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12823 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12824 $as_echo_n "(cached) " >&6
12825 else
12826 ac_check_lib_save_LIBS=$LIBS
12827 LIBS="-lasound $LIBS"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 /* Override any GCC internal prototype to avoid an error.
12832 Use char because int might match the return type of a GCC
12833 builtin and then its argument prototype would still apply. */
12834 #ifdef __cplusplus
12835 extern "C"
12836 #endif
12837 char snd_pcm_hw_params_get_access_mask ();
12839 main ()
12841 return snd_pcm_hw_params_get_access_mask ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"; then :
12847 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12848 else
12849 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12851 rm -f core conftest.err conftest.$ac_objext \
12852 conftest$ac_exeext conftest.$ac_ext
12853 LIBS=$ac_check_lib_save_LIBS
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12856 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12857 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12860 #ifdef HAVE_ALSA_ASOUNDLIB_H
12861 #include <alsa/asoundlib.h>
12862 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12863 #include <sys/asoundlib.h>
12864 #endif
12866 main ()
12868 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_compile "$LINENO"; then :
12874 ALSA_LIBS="-lasound"
12876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12880 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12882 if test "x$with_oss" != xno
12883 then
12884 ac_save_CPPFLAGS="$CPPFLAGS"
12885 if test -f /etc/oss.conf
12886 then
12887 . /etc/oss.conf
12889 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12890 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12891 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12892 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12893 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12895 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12897 cat >>confdefs.h <<_ACEOF
12898 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12899 _ACEOF
12901 OSS4_CFLAGS="$ac_oss_incl"
12908 CPPFLAGS="$ac_save_CPPFLAGS"
12910 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12911 case "x$with_oss" in
12912 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12913 xno) ;;
12914 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12915 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12916 esac
12917 enable_wineoss_drv=${enable_wineoss_drv:-no}
12920 if test "x$with_udev" != "xno"
12921 then
12922 if ${UDEV_CFLAGS:+false} :; then :
12923 if ${PKG_CONFIG+:} false; then :
12924 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12928 if ${UDEV_LIBS:+false} :; then :
12929 if ${PKG_CONFIG+:} false; then :
12930 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12935 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12936 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12937 ac_save_CPPFLAGS=$CPPFLAGS
12938 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12939 for ac_header in libudev.h
12940 do :
12941 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12942 if test "x$ac_cv_header_libudev_h" = xyes; then :
12943 cat >>confdefs.h <<_ACEOF
12944 #define HAVE_LIBUDEV_H 1
12945 _ACEOF
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12947 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12948 if ${ac_cv_lib_udev_udev_new+:} false; then :
12949 $as_echo_n "(cached) " >&6
12950 else
12951 ac_check_lib_save_LIBS=$LIBS
12952 LIBS="-ludev $UDEV_LIBS $LIBS"
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12956 /* Override any GCC internal prototype to avoid an error.
12957 Use char because int might match the return type of a GCC
12958 builtin and then its argument prototype would still apply. */
12959 #ifdef __cplusplus
12960 extern "C"
12961 #endif
12962 char udev_new ();
12964 main ()
12966 return udev_new ();
12968 return 0;
12970 _ACEOF
12971 if ac_fn_c_try_link "$LINENO"; then :
12972 ac_cv_lib_udev_udev_new=yes
12973 else
12974 ac_cv_lib_udev_udev_new=no
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_lib_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
12981 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
12982 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
12984 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
12986 else
12987 UDEV_LIBS=""
12990 else
12991 UDEV_LIBS=""
12994 done
12996 CPPFLAGS=$ac_save_CPPFLAGS
12997 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12998 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13001 if test "x$UDEV_LIBS" = "x"; then :
13002 case "x$with_udev" in
13003 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13004 xno) ;;
13005 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13006 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13007 esac
13011 if test "x$with_capi" != "xno"
13012 then
13013 if ${CAPI20_CFLAGS:+false} :; then :
13014 if ${PKG_CONFIG+:} false; then :
13015 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13019 if ${CAPI20_LIBS:+false} :; then :
13020 if ${PKG_CONFIG+:} false; then :
13021 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13026 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13027 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13028 ac_save_CPPFLAGS=$CPPFLAGS
13029 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13030 for ac_header in capi20.h linux/capi.h
13031 do :
13032 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13033 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13036 cat >>confdefs.h <<_ACEOF
13037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13038 _ACEOF
13042 done
13044 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13045 then
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13047 $as_echo_n "checking for -lcapi20... " >&6; }
13048 if ${ac_cv_lib_soname_capi20+:} false; then :
13049 $as_echo_n "(cached) " >&6
13050 else
13051 ac_check_soname_save_LIBS=$LIBS
13052 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13056 /* Override any GCC internal prototype to avoid an error.
13057 Use char because int might match the return type of a GCC
13058 builtin and then its argument prototype would still apply. */
13059 #ifdef __cplusplus
13060 extern "C"
13061 #endif
13062 char capi20_register ();
13064 main ()
13066 return capi20_register ();
13068 return 0;
13070 _ACEOF
13071 if ac_fn_c_try_link "$LINENO"; then :
13072 case "$LIBEXT" in
13073 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13074 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'` ;;
13075 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13076 if ${ac_cv_lib_soname_capi20:+false} :; then :
13077 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13078 fi ;;
13079 esac
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 LIBS=$ac_check_soname_save_LIBS
13085 if ${ac_cv_lib_soname_capi20:+false} :; then :
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13087 $as_echo "not found" >&6; }
13089 else
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13091 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13093 cat >>confdefs.h <<_ACEOF
13094 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13095 _ACEOF
13100 CPPFLAGS=$ac_save_CPPFLAGS
13101 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13102 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13105 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13106 case "x$with_capi" in
13107 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13108 xno) ;;
13109 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13110 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13111 esac
13115 CUPS_CFLAGS=""
13117 if test "x$with_cups" != "xno"
13118 then
13119 ac_save_CPPFLAGS="$CPPFLAGS"
13120 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13121 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13122 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13123 for ac_header in cups/cups.h
13124 do :
13125 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13126 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13127 cat >>confdefs.h <<_ACEOF
13128 #define HAVE_CUPS_CUPS_H 1
13129 _ACEOF
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13131 $as_echo_n "checking for -lcups... " >&6; }
13132 if ${ac_cv_lib_soname_cups+:} false; then :
13133 $as_echo_n "(cached) " >&6
13134 else
13135 ac_check_soname_save_LIBS=$LIBS
13136 LIBS="-lcups $ac_cups_libs $LIBS"
13137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13143 #ifdef __cplusplus
13144 extern "C"
13145 #endif
13146 char cupsGetDefault ();
13148 main ()
13150 return cupsGetDefault ();
13152 return 0;
13154 _ACEOF
13155 if ac_fn_c_try_link "$LINENO"; then :
13156 case "$LIBEXT" in
13157 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13158 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'` ;;
13159 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13160 if ${ac_cv_lib_soname_cups:+false} :; then :
13161 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13162 fi ;;
13163 esac
13165 rm -f core conftest.err conftest.$ac_objext \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_soname_save_LIBS
13169 if ${ac_cv_lib_soname_cups:+false} :; then :
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13171 $as_echo "not found" >&6; }
13173 else
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13175 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13177 cat >>confdefs.h <<_ACEOF
13178 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13179 _ACEOF
13181 CUPS_CFLAGS="$ac_cups_cflags"
13183 for ac_header in cups/ppd.h
13184 do :
13185 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13186 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13187 cat >>confdefs.h <<_ACEOF
13188 #define HAVE_CUPS_PPD_H 1
13189 _ACEOF
13193 done
13197 done
13199 CPPFLAGS="$ac_save_CPPFLAGS"
13201 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13202 case "x$with_cups" in
13203 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13204 xno) ;;
13205 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13206 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13207 esac
13211 if test "x$with_fontconfig" != "xno"
13212 then
13213 if ${FONTCONFIG_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13218 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13219 if ${FONTCONFIG_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13224 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13226 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13228 ac_save_CPPFLAGS=$CPPFLAGS
13229 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13230 for ac_header in fontconfig/fontconfig.h
13231 do :
13232 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13233 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13234 cat >>confdefs.h <<_ACEOF
13235 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13236 _ACEOF
13240 done
13242 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13243 then
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13245 $as_echo_n "checking for -lfontconfig... " >&6; }
13246 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13247 $as_echo_n "(cached) " >&6
13248 else
13249 ac_check_soname_save_LIBS=$LIBS
13250 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char FcInit ();
13262 main ()
13264 return FcInit ();
13266 return 0;
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270 case "$LIBEXT" in
13271 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13274 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13275 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13276 fi ;;
13277 esac
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 LIBS=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13286 FONTCONFIG_CFLAGS=""
13287 else
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13289 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13291 cat >>confdefs.h <<_ACEOF
13292 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13293 _ACEOF
13297 else
13298 FONTCONFIG_CFLAGS=""
13300 CPPFLAGS=$ac_save_CPPFLAGS
13301 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13302 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13305 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13306 case "x$with_fontconfig" in
13307 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13308 xno) ;;
13309 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13310 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13311 esac
13315 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13316 then
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13318 $as_echo_n "checking for -lgsm... " >&6; }
13319 if ${ac_cv_lib_soname_gsm+:} false; then :
13320 $as_echo_n "(cached) " >&6
13321 else
13322 ac_check_soname_save_LIBS=$LIBS
13323 LIBS="-lgsm $LIBS"
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13330 #ifdef __cplusplus
13331 extern "C"
13332 #endif
13333 char gsm_create ();
13335 main ()
13337 return gsm_create ();
13339 return 0;
13341 _ACEOF
13342 if ac_fn_c_try_link "$LINENO"; then :
13343 case "$LIBEXT" in
13344 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13345 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'` ;;
13346 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13347 if ${ac_cv_lib_soname_gsm:+false} :; then :
13348 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13349 fi ;;
13350 esac
13352 rm -f core conftest.err conftest.$ac_objext \
13353 conftest$ac_exeext conftest.$ac_ext
13354 LIBS=$ac_check_soname_save_LIBS
13356 if ${ac_cv_lib_soname_gsm:+false} :; then :
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13358 $as_echo "not found" >&6; }
13360 else
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13362 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13364 cat >>confdefs.h <<_ACEOF
13365 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13366 _ACEOF
13371 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13372 case "x$with_gsm" in
13373 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13374 xno) ;;
13375 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13376 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13377 esac
13381 if test "x$with_jpeg" != "xno"
13382 then
13383 if ${JPEG_CFLAGS:+false} :; then :
13384 if ${PKG_CONFIG+:} false; then :
13385 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13389 if ${JPEG_LIBS:+false} :; then :
13390 if ${PKG_CONFIG+:} false; then :
13391 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13396 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13397 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13398 ac_save_CPPFLAGS=$CPPFLAGS
13399 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13400 for ac_header in jpeglib.h
13401 do :
13402 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13403 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13404 cat >>confdefs.h <<_ACEOF
13405 #define HAVE_JPEGLIB_H 1
13406 _ACEOF
13410 done
13412 if test "$ac_cv_header_jpeglib_h" = "yes"
13413 then
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13415 $as_echo_n "checking for -ljpeg... " >&6; }
13416 if ${ac_cv_lib_soname_jpeg+:} false; then :
13417 $as_echo_n "(cached) " >&6
13418 else
13419 ac_check_soname_save_LIBS=$LIBS
13420 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13422 /* end confdefs.h. */
13424 /* Override any GCC internal prototype to avoid an error.
13425 Use char because int might match the return type of a GCC
13426 builtin and then its argument prototype would still apply. */
13427 #ifdef __cplusplus
13428 extern "C"
13429 #endif
13430 char jpeg_start_decompress ();
13432 main ()
13434 return jpeg_start_decompress ();
13436 return 0;
13438 _ACEOF
13439 if ac_fn_c_try_link "$LINENO"; then :
13440 case "$LIBEXT" in
13441 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13442 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'` ;;
13443 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13444 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13445 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13446 fi ;;
13447 esac
13449 rm -f core conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext conftest.$ac_ext
13451 LIBS=$ac_check_soname_save_LIBS
13453 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13455 $as_echo "not found" >&6; }
13456 JPEG_CFLAGS=""
13457 else
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13459 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13461 cat >>confdefs.h <<_ACEOF
13462 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13463 _ACEOF
13467 else
13468 JPEG_CFLAGS=""
13470 CPPFLAGS=$ac_save_CPPFLAGS
13471 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13472 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13475 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13476 case "x$with_jpeg" in
13477 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13478 xno) ;;
13479 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13480 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13481 esac
13485 if test "x$with_png" != "xno"
13486 then
13487 if ${PNG_CFLAGS:+false} :; then :
13488 if ${PKG_CONFIG+:} false; then :
13489 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13492 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13493 if ${PNG_LIBS:+false} :; then :
13494 if ${PKG_CONFIG+:} false; then :
13495 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13498 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13500 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13501 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13502 ac_save_CPPFLAGS=$CPPFLAGS
13503 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13504 for ac_header in png.h
13505 do :
13506 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13507 if test "x$ac_cv_header_png_h" = xyes; then :
13508 cat >>confdefs.h <<_ACEOF
13509 #define HAVE_PNG_H 1
13510 _ACEOF
13514 done
13516 if test "$ac_cv_header_png_h" = "yes"
13517 then
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13519 $as_echo_n "checking for -lpng... " >&6; }
13520 if ${ac_cv_lib_soname_png+:} false; then :
13521 $as_echo_n "(cached) " >&6
13522 else
13523 ac_check_soname_save_LIBS=$LIBS
13524 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13531 #ifdef __cplusplus
13532 extern "C"
13533 #endif
13534 char png_create_read_struct ();
13536 main ()
13538 return png_create_read_struct ();
13540 return 0;
13542 _ACEOF
13543 if ac_fn_c_try_link "$LINENO"; then :
13544 case "$LIBEXT" in
13545 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13546 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'` ;;
13547 *) 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'`
13548 if ${ac_cv_lib_soname_png:+false} :; then :
13549 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13550 fi ;;
13551 esac
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_png:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13560 PNG_CFLAGS=""
13561 else
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13563 $as_echo "$ac_cv_lib_soname_png" >&6; }
13565 cat >>confdefs.h <<_ACEOF
13566 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13567 _ACEOF
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13571 #include <png.h>
13573 main ()
13575 typeof(png_set_expand_gray_1_2_4_to_8) *p
13577 return 0;
13579 _ACEOF
13580 if ac_fn_c_try_compile "$LINENO"; then :
13582 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13587 else
13588 PNG_CFLAGS=""
13590 CPPFLAGS=$ac_save_CPPFLAGS
13591 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13592 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13595 if test "x$ac_cv_lib_soname_png" = "x"; then :
13596 case "x$with_png" in
13597 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13598 xno) ;;
13599 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13600 This is an error since --with-png was requested." "$LINENO" 5 ;;
13601 esac
13605 if test "x$with_tiff" != "xno"
13606 then
13607 if ${TIFF_CFLAGS:+false} :; then :
13608 if ${PKG_CONFIG+:} false; then :
13609 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13613 if ${TIFF_LIBS:+false} :; then :
13614 if ${PKG_CONFIG+:} false; then :
13615 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13620 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13621 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13622 ac_save_CPPFLAGS=$CPPFLAGS
13623 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13624 for ac_header in tiffio.h
13625 do :
13626 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13627 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13628 cat >>confdefs.h <<_ACEOF
13629 #define HAVE_TIFFIO_H 1
13630 _ACEOF
13634 done
13636 if test "$ac_cv_header_tiffio_h" = "yes"
13637 then
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13639 $as_echo_n "checking for -ltiff... " >&6; }
13640 if ${ac_cv_lib_soname_tiff+:} false; then :
13641 $as_echo_n "(cached) " >&6
13642 else
13643 ac_check_soname_save_LIBS=$LIBS
13644 LIBS="-ltiff $TIFF_LIBS $LIBS"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13648 /* Override any GCC internal prototype to avoid an error.
13649 Use char because int might match the return type of a GCC
13650 builtin and then its argument prototype would still apply. */
13651 #ifdef __cplusplus
13652 extern "C"
13653 #endif
13654 char TIFFClientOpen ();
13656 main ()
13658 return TIFFClientOpen ();
13660 return 0;
13662 _ACEOF
13663 if ac_fn_c_try_link "$LINENO"; then :
13664 case "$LIBEXT" in
13665 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13666 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'` ;;
13667 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13668 if ${ac_cv_lib_soname_tiff:+false} :; then :
13669 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13670 fi ;;
13671 esac
13673 rm -f core conftest.err conftest.$ac_objext \
13674 conftest$ac_exeext conftest.$ac_ext
13675 LIBS=$ac_check_soname_save_LIBS
13677 if ${ac_cv_lib_soname_tiff:+false} :; then :
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13679 $as_echo "not found" >&6; }
13681 else
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13683 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13685 cat >>confdefs.h <<_ACEOF
13686 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13687 _ACEOF
13692 CPPFLAGS=$ac_save_CPPFLAGS
13693 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13694 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13697 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13698 case "x$with_tiff" in
13699 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13700 xno) ;;
13701 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13702 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13703 esac
13707 if test "x$with_mpg123" != "xno"
13708 then
13709 if ${MPG123_CFLAGS:+false} :; then :
13710 if ${PKG_CONFIG+:} false; then :
13711 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13715 if ${MPG123_LIBS:+false} :; then :
13716 if ${PKG_CONFIG+:} false; then :
13717 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13721 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13722 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13723 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13724 ac_save_CPPFLAGS=$CPPFLAGS
13725 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13726 for ac_header in mpg123.h
13727 do :
13728 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13729 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13730 cat >>confdefs.h <<_ACEOF
13731 #define HAVE_MPG123_H 1
13732 _ACEOF
13736 done
13738 if test "$ac_cv_header_mpg123_h" = "yes"
13739 then
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13741 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13742 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13743 $as_echo_n "(cached) " >&6
13744 else
13745 ac_check_lib_save_LIBS=$LIBS
13746 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13750 /* Override any GCC internal prototype to avoid an error.
13751 Use char because int might match the return type of a GCC
13752 builtin and then its argument prototype would still apply. */
13753 #ifdef __cplusplus
13754 extern "C"
13755 #endif
13756 char mpg123_feed ();
13758 main ()
13760 return mpg123_feed ();
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"; then :
13766 ac_cv_lib_mpg123_mpg123_feed=yes
13767 else
13768 ac_cv_lib_mpg123_mpg123_feed=no
13770 rm -f core conftest.err conftest.$ac_objext \
13771 conftest$ac_exeext conftest.$ac_ext
13772 LIBS=$ac_check_lib_save_LIBS
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13775 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13776 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13778 else
13779 MPG123_LIBS=""
13782 else
13783 MPG123_CFLAGS=""
13784 MPG123_LIBS=""
13786 CPPFLAGS=$ac_save_CPPFLAGS
13787 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13788 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13791 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13792 case "x$with_mpg123" in
13793 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13794 xno) ;;
13795 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13796 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13797 esac
13798 enable_winemp3_acm=${enable_winemp3_acm:-no}
13801 if test "$ac_cv_header_AL_al_h" = "yes"
13802 then
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13804 $as_echo_n "checking for -lopenal... " >&6; }
13805 if ${ac_cv_lib_soname_openal+:} false; then :
13806 $as_echo_n "(cached) " >&6
13807 else
13808 ac_check_soname_save_LIBS=$LIBS
13809 LIBS="-lopenal $LIBS"
13810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13816 #ifdef __cplusplus
13817 extern "C"
13818 #endif
13819 char alGetSource3i ();
13821 main ()
13823 return alGetSource3i ();
13825 return 0;
13827 _ACEOF
13828 if ac_fn_c_try_link "$LINENO"; then :
13829 case "$LIBEXT" in
13830 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13831 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'` ;;
13832 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13833 if ${ac_cv_lib_soname_openal:+false} :; then :
13834 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13835 fi ;;
13836 esac
13838 rm -f core conftest.err conftest.$ac_objext \
13839 conftest$ac_exeext conftest.$ac_ext
13840 LIBS=$ac_check_soname_save_LIBS
13842 if ${ac_cv_lib_soname_openal:+false} :; then :
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13844 $as_echo "not found" >&6; }
13846 else
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13848 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13850 cat >>confdefs.h <<_ACEOF
13851 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13852 _ACEOF
13854 OPENAL_LIBS="-lopenal"
13856 ac_cv_lib_openal=yes
13858 cat >>confdefs.h <<_ACEOF
13859 #define HAVE_OPENAL 1
13860 _ACEOF
13864 if test "x$ac_cv_lib_openal" != xyes; then :
13865 case "x$with_openal" in
13866 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13867 xno) ;;
13868 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13869 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13870 esac
13871 enable_openal32=${enable_openal32:-no}
13874 if test "x$ac_cv_lib_openal" = xyes
13875 then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13877 $as_echo_n "checking for openal-soft... " >&6; }
13878 if ${ac_cv_have_openalsoft+:} false; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13883 #include <AL/al.h>
13884 #include <AL/alc.h>
13885 #include <AL/alext.h>
13886 LPALCRENDERSAMPLESSOFT x;
13888 main ()
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_compile "$LINENO"; then :
13896 ac_cv_have_openalsoft=yes
13897 else
13898 ac_cv_have_openalsoft=no
13900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13903 $as_echo "$ac_cv_have_openalsoft" >&6; }
13905 if test "x$ac_cv_have_openalsoft" != xyes
13906 then
13907 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13908 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13909 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13910 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13911 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13912 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13913 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13914 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13915 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13916 enable_xapofx1_1=${enable_xapofx1_1:-no}
13917 enable_xapofx1_2=${enable_xapofx1_2:-no}
13918 enable_xapofx1_3=${enable_xapofx1_3:-no}
13919 enable_xapofx1_4=${enable_xapofx1_4:-no}
13920 enable_xapofx1_5=${enable_xapofx1_5:-no}
13921 enable_xaudio2_0=${enable_xaudio2_0:-no}
13922 enable_xaudio2_1=${enable_xaudio2_1:-no}
13923 enable_xaudio2_2=${enable_xaudio2_2:-no}
13924 enable_xaudio2_3=${enable_xaudio2_3:-no}
13925 enable_xaudio2_4=${enable_xaudio2_4:-no}
13926 enable_xaudio2_5=${enable_xaudio2_5:-no}
13927 enable_xaudio2_6=${enable_xaudio2_6:-no}
13928 enable_xaudio2_7=${enable_xaudio2_7:-no}
13929 enable_xaudio2_8=${enable_xaudio2_8:-no}
13930 enable_xaudio2_9=${enable_xaudio2_9:-no}
13933 if test "$ac_cv_header_kstat_h" = "yes"
13934 then
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13936 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13937 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13938 $as_echo_n "(cached) " >&6
13939 else
13940 ac_check_lib_save_LIBS=$LIBS
13941 LIBS="-lkstat $LIBS"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13948 #ifdef __cplusplus
13949 extern "C"
13950 #endif
13951 char kstat_open ();
13953 main ()
13955 return kstat_open ();
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"; then :
13961 ac_cv_lib_kstat_kstat_open=yes
13962 else
13963 ac_cv_lib_kstat_kstat_open=no
13965 rm -f core conftest.err conftest.$ac_objext \
13966 conftest$ac_exeext conftest.$ac_ext
13967 LIBS=$ac_check_lib_save_LIBS
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13970 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13971 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13973 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13975 KSTAT_LIBS="-lkstat"
13981 if test "$ac_cv_header_libprocstat_h" = "yes"
13982 then
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13984 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13985 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 ac_check_lib_save_LIBS=$LIBS
13989 LIBS="-lprocstat $LIBS"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13993 /* Override any GCC internal prototype to avoid an error.
13994 Use char because int might match the return type of a GCC
13995 builtin and then its argument prototype would still apply. */
13996 #ifdef __cplusplus
13997 extern "C"
13998 #endif
13999 char procstat_open_sysctl ();
14001 main ()
14003 return procstat_open_sysctl ();
14005 return 0;
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 ac_cv_lib_procstat_procstat_open_sysctl=yes
14010 else
14011 ac_cv_lib_procstat_procstat_open_sysctl=no
14013 rm -f core conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 LIBS=$ac_check_lib_save_LIBS
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14018 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14019 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14021 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14023 PROCSTAT_LIBS="-lprocstat"
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14030 $as_echo_n "checking for -lodbc... " >&6; }
14031 if ${ac_cv_lib_soname_odbc+:} false; then :
14032 $as_echo_n "(cached) " >&6
14033 else
14034 ac_check_soname_save_LIBS=$LIBS
14035 LIBS="-lodbc $LIBS"
14036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14042 #ifdef __cplusplus
14043 extern "C"
14044 #endif
14045 char SQLConnect ();
14047 main ()
14049 return SQLConnect ();
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"; then :
14055 case "$LIBEXT" in
14056 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14057 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'` ;;
14058 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14059 if ${ac_cv_lib_soname_odbc:+false} :; then :
14060 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14061 fi ;;
14062 esac
14064 rm -f core conftest.err conftest.$ac_objext \
14065 conftest$ac_exeext conftest.$ac_ext
14066 LIBS=$ac_check_soname_save_LIBS
14068 if ${ac_cv_lib_soname_odbc:+false} :; then :
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14070 $as_echo "not found" >&6; }
14071 cat >>confdefs.h <<_ACEOF
14072 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14073 _ACEOF
14075 else
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14077 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14079 cat >>confdefs.h <<_ACEOF
14080 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14081 _ACEOF
14086 if test "x$with_netapi" != "xno"
14087 then
14088 if ${NETAPI_CFLAGS:+false} :; then :
14089 if ${PKG_CONFIG+:} false; then :
14090 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14094 if ${NETAPI_LIBS:+false} :; then :
14095 if ${PKG_CONFIG+:} false; then :
14096 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14101 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14102 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14103 ac_save_CPPFLAGS=$CPPFLAGS
14104 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14106 $as_echo_n "checking for -lnetapi... " >&6; }
14107 if ${ac_cv_lib_soname_netapi+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_check_soname_save_LIBS=$LIBS
14111 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14115 /* Override any GCC internal prototype to avoid an error.
14116 Use char because int might match the return type of a GCC
14117 builtin and then its argument prototype would still apply. */
14118 #ifdef __cplusplus
14119 extern "C"
14120 #endif
14121 char libnetapi_init ();
14123 main ()
14125 return libnetapi_init ();
14127 return 0;
14129 _ACEOF
14130 if ac_fn_c_try_link "$LINENO"; then :
14131 case "$LIBEXT" in
14132 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14133 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'` ;;
14134 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14135 if ${ac_cv_lib_soname_netapi:+false} :; then :
14136 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14137 fi ;;
14138 esac
14140 rm -f core conftest.err conftest.$ac_objext \
14141 conftest$ac_exeext conftest.$ac_ext
14142 LIBS=$ac_check_soname_save_LIBS
14144 if ${ac_cv_lib_soname_netapi:+false} :; then :
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14146 $as_echo "not found" >&6; }
14147 cat >>confdefs.h <<_ACEOF
14148 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14149 _ACEOF
14151 else
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14153 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14155 cat >>confdefs.h <<_ACEOF
14156 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14157 _ACEOF
14161 CPPFLAGS=$ac_save_CPPFLAGS
14162 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14163 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14167 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14168 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14169 then
14170 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14174 EXTRACFLAGS=""
14176 if test "x${GCC}" = "xyes"
14177 then
14178 EXTRACFLAGS="-Wall -pipe"
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14181 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14182 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 if test "$cross_compiling" = yes; then :
14186 ac_cv_c_gcc_strength_bug="no"
14187 else
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14190 int L[4] = {0,1,2,3};
14192 main ()
14194 static int Array[3];
14195 unsigned int B = 3;
14196 int i;
14197 for(i=0; i<B; i++) Array[i] = i - 3;
14198 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14199 L[i] = 4;
14200 return (Array[1] != -2 || L[2] != 3)
14202 return 0;
14204 _ACEOF
14205 if ac_fn_c_try_run "$LINENO"; then :
14206 ac_cv_c_gcc_strength_bug="no"
14207 else
14208 ac_cv_c_gcc_strength_bug="yes"
14210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14211 conftest.$ac_objext conftest.beam conftest.$ac_ext
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14216 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14217 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14218 then
14219 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14223 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14224 if ${ac_cv_cflags__fno_builtin+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 ac_wine_try_cflags_saved=$CFLAGS
14228 CFLAGS="$CFLAGS -fno-builtin"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 int main(int argc, char **argv) { return 0; }
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"; then :
14234 ac_cv_cflags__fno_builtin=yes
14235 else
14236 ac_cv_cflags__fno_builtin=no
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14240 CFLAGS=$ac_wine_try_cflags_saved
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14243 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14244 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14245 BUILTINFLAG="-fno-builtin"
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14249 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14250 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14251 $as_echo_n "(cached) " >&6
14252 else
14253 ac_wine_try_cflags_saved=$CFLAGS
14254 CFLAGS="$CFLAGS -fno-strict-aliasing"
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 /* end confdefs.h. */
14257 int main(int argc, char **argv) { return 0; }
14258 _ACEOF
14259 if ac_fn_c_try_link "$LINENO"; then :
14260 ac_cv_cflags__fno_strict_aliasing=yes
14261 else
14262 ac_cv_cflags__fno_strict_aliasing=no
14264 rm -f core conftest.err conftest.$ac_objext \
14265 conftest$ac_exeext conftest.$ac_ext
14266 CFLAGS=$ac_wine_try_cflags_saved
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14269 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14270 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14271 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14274 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14275 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14276 $as_echo_n "(cached) " >&6
14277 else
14278 ac_wine_try_cflags_saved=$CFLAGS
14279 CFLAGS="$CFLAGS -fexcess-precision=standard"
14280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14281 /* end confdefs.h. */
14282 int main(int argc, char **argv) { return 0; }
14283 _ACEOF
14284 if ac_fn_c_try_link "$LINENO"; then :
14285 ac_cv_cflags__fexcess_precision_standard=yes
14286 else
14287 ac_cv_cflags__fexcess_precision_standard=no
14289 rm -f core conftest.err conftest.$ac_objext \
14290 conftest$ac_exeext conftest.$ac_ext
14291 CFLAGS=$ac_wine_try_cflags_saved
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14294 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14295 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14296 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14299 saved_CFLAGS=$CFLAGS
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14301 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14302 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14303 $as_echo_n "(cached) " >&6
14304 else
14305 ac_wine_try_cflags_saved=$CFLAGS
14306 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14309 int main(int argc, char **argv) { return 0; }
14310 _ACEOF
14311 if ac_fn_c_try_link "$LINENO"; then :
14312 ac_cv_cflags__Werror_unknown_warning_option=yes
14313 else
14314 ac_cv_cflags__Werror_unknown_warning_option=no
14316 rm -f core conftest.err conftest.$ac_objext \
14317 conftest$ac_exeext conftest.$ac_ext
14318 CFLAGS=$ac_wine_try_cflags_saved
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14321 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14322 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14323 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14326 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14327 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14328 $as_echo_n "(cached) " >&6
14329 else
14330 ac_wine_try_cflags_saved=$CFLAGS
14331 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14334 int main(int argc, char **argv) { return 0; }
14335 _ACEOF
14336 if ac_fn_c_try_link "$LINENO"; then :
14337 ac_cv_cflags__Wdeclaration_after_statement=yes
14338 else
14339 ac_cv_cflags__Wdeclaration_after_statement=no
14341 rm -f core conftest.err conftest.$ac_objext \
14342 conftest$ac_exeext conftest.$ac_ext
14343 CFLAGS=$ac_wine_try_cflags_saved
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14346 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14347 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14348 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14351 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14352 if ${ac_cv_cflags__Wempty_body+:} false; then :
14353 $as_echo_n "(cached) " >&6
14354 else
14355 ac_wine_try_cflags_saved=$CFLAGS
14356 CFLAGS="$CFLAGS -Wempty-body"
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14359 int main(int argc, char **argv) { return 0; }
14360 _ACEOF
14361 if ac_fn_c_try_link "$LINENO"; then :
14362 ac_cv_cflags__Wempty_body=yes
14363 else
14364 ac_cv_cflags__Wempty_body=no
14366 rm -f core conftest.err conftest.$ac_objext \
14367 conftest$ac_exeext conftest.$ac_ext
14368 CFLAGS=$ac_wine_try_cflags_saved
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14371 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14372 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14373 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14376 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14377 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_wine_try_cflags_saved=$CFLAGS
14381 CFLAGS="$CFLAGS -Wignored-qualifiers"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14384 int main(int argc, char **argv) { return 0; }
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_cflags__Wignored_qualifiers=yes
14388 else
14389 ac_cv_cflags__Wignored_qualifiers=no
14391 rm -f core conftest.err conftest.$ac_objext \
14392 conftest$ac_exeext conftest.$ac_ext
14393 CFLAGS=$ac_wine_try_cflags_saved
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14396 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14397 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14398 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14401 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14402 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_wine_try_cflags_saved=$CFLAGS
14406 CFLAGS="$CFLAGS -Wshift-overflow=2"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 int main(int argc, char **argv) { return 0; }
14410 _ACEOF
14411 if ac_fn_c_try_link "$LINENO"; then :
14412 ac_cv_cflags__Wshift_overflow_2=yes
14413 else
14414 ac_cv_cflags__Wshift_overflow_2=no
14416 rm -f core conftest.err conftest.$ac_objext \
14417 conftest$ac_exeext conftest.$ac_ext
14418 CFLAGS=$ac_wine_try_cflags_saved
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14421 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14422 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14423 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14426 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14427 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_wine_try_cflags_saved=$CFLAGS
14431 CFLAGS="$CFLAGS -Wstrict-prototypes"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14434 int main(int argc, char **argv) { return 0; }
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_cflags__Wstrict_prototypes=yes
14438 else
14439 ac_cv_cflags__Wstrict_prototypes=no
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14443 CFLAGS=$ac_wine_try_cflags_saved
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14446 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14447 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14448 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14451 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14452 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 ac_wine_try_cflags_saved=$CFLAGS
14456 CFLAGS="$CFLAGS -Wtype-limits"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 int main(int argc, char **argv) { return 0; }
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"; then :
14462 ac_cv_cflags__Wtype_limits=yes
14463 else
14464 ac_cv_cflags__Wtype_limits=no
14466 rm -f core conftest.err conftest.$ac_objext \
14467 conftest$ac_exeext conftest.$ac_ext
14468 CFLAGS=$ac_wine_try_cflags_saved
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14471 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14472 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14473 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14476 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14477 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 ac_wine_try_cflags_saved=$CFLAGS
14481 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14484 int main(int argc, char **argv) { return 0; }
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 ac_cv_cflags__Wunused_but_set_parameter=yes
14488 else
14489 ac_cv_cflags__Wunused_but_set_parameter=no
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 CFLAGS=$ac_wine_try_cflags_saved
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14496 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14497 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14498 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14501 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14502 if ${ac_cv_cflags__Wvla+:} false; then :
14503 $as_echo_n "(cached) " >&6
14504 else
14505 ac_wine_try_cflags_saved=$CFLAGS
14506 CFLAGS="$CFLAGS -Wvla"
14507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14509 int main(int argc, char **argv) { return 0; }
14510 _ACEOF
14511 if ac_fn_c_try_link "$LINENO"; then :
14512 ac_cv_cflags__Wvla=yes
14513 else
14514 ac_cv_cflags__Wvla=no
14516 rm -f core conftest.err conftest.$ac_objext \
14517 conftest$ac_exeext conftest.$ac_ext
14518 CFLAGS=$ac_wine_try_cflags_saved
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14521 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14522 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14523 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14526 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14527 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_wine_try_cflags_saved=$CFLAGS
14531 CFLAGS="$CFLAGS -Wwrite-strings"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 int main(int argc, char **argv) { return 0; }
14535 _ACEOF
14536 if ac_fn_c_try_link "$LINENO"; then :
14537 ac_cv_cflags__Wwrite_strings=yes
14538 else
14539 ac_cv_cflags__Wwrite_strings=no
14541 rm -f core conftest.err conftest.$ac_objext \
14542 conftest$ac_exeext conftest.$ac_ext
14543 CFLAGS=$ac_wine_try_cflags_saved
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14546 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14547 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14548 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14552 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14553 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14554 $as_echo_n "(cached) " >&6
14555 else
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -Wpointer-arith"
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14560 int main(int argc, char **argv) { return 0; }
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_cflags__Wpointer_arith=yes
14564 else
14565 ac_cv_cflags__Wpointer_arith=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 CFLAGS=$ac_wine_try_cflags_saved
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14572 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14573 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14574 saved_string_h_CFLAGS=$CFLAGS
14575 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14577 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14578 if ${ac_cv_c_string_h_warnings+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583 #include <string.h>
14585 main ()
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_compile "$LINENO"; then :
14593 ac_cv_c_string_h_warnings=no
14594 else
14595 ac_cv_c_string_h_warnings=yes
14597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14600 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14601 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14602 CFLAGS=$saved_string_h_CFLAGS
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14606 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14607 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14608 $as_echo_n "(cached) " >&6
14609 else
14610 ac_wine_try_cflags_saved=$CFLAGS
14611 CFLAGS="$CFLAGS -Wlogical-op"
14612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14614 int main(int argc, char **argv) { return 0; }
14615 _ACEOF
14616 if ac_fn_c_try_link "$LINENO"; then :
14617 ac_cv_cflags__Wlogical_op=yes
14618 else
14619 ac_cv_cflags__Wlogical_op=no
14621 rm -f core conftest.err conftest.$ac_objext \
14622 conftest$ac_exeext conftest.$ac_ext
14623 CFLAGS=$ac_wine_try_cflags_saved
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14626 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14627 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14628 saved_string_h_CFLAGS=$CFLAGS
14629 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14631 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14632 if ${ac_cv_c_logicalop_noisy+:} false; then :
14633 $as_echo_n "(cached) " >&6
14634 else
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14637 #include <string.h>
14638 char*f(const char *h,char n) {return strchr(h,n);}
14640 main ()
14644 return 0;
14646 _ACEOF
14647 if ac_fn_c_try_compile "$LINENO"; then :
14648 ac_cv_c_logicalop_noisy=no
14649 else
14650 ac_cv_c_logicalop_noisy=yes
14652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14655 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14656 CFLAGS=$saved_string_h_CFLAGS
14657 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14660 CFLAGS=$saved_CFLAGS
14662 for ac_flag in $CFLAGS; do
14663 case $ac_flag in
14664 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14665 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14666 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14667 $as_echo_n "(cached) " >&6
14668 else
14669 ac_wine_try_cflags_saved=$CFLAGS
14670 CFLAGS="$CFLAGS -gdwarf-2"
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 int main(int argc, char **argv) { return 0; }
14674 _ACEOF
14675 if ac_fn_c_try_link "$LINENO"; then :
14676 ac_cv_cflags__gdwarf_2=yes
14677 else
14678 ac_cv_cflags__gdwarf_2=no
14680 rm -f core conftest.err conftest.$ac_objext \
14681 conftest$ac_exeext conftest.$ac_ext
14682 CFLAGS=$ac_wine_try_cflags_saved
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14685 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14686 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14687 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14690 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14691 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14692 $as_echo_n "(cached) " >&6
14693 else
14694 ac_wine_try_cflags_saved=$CFLAGS
14695 CFLAGS="$CFLAGS -gstrict-dwarf"
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 int main(int argc, char **argv) { return 0; }
14699 _ACEOF
14700 if ac_fn_c_try_link "$LINENO"; then :
14701 ac_cv_cflags__gstrict_dwarf=yes
14702 else
14703 ac_cv_cflags__gstrict_dwarf=no
14705 rm -f core conftest.err conftest.$ac_objext \
14706 conftest$ac_exeext conftest.$ac_ext
14707 CFLAGS=$ac_wine_try_cflags_saved
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14710 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14711 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14712 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14713 fi ;;
14714 esac
14715 done
14717 case $host_cpu in
14718 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14719 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14720 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14721 $as_echo_n "(cached) " >&6
14722 else
14723 ac_wine_try_cflags_saved=$CFLAGS
14724 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 int main(int argc, char **argv) { return 0; }
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_cflags__fno_omit_frame_pointer=yes
14731 else
14732 ac_cv_cflags__fno_omit_frame_pointer=no
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 CFLAGS=$ac_wine_try_cflags_saved
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14739 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14740 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14741 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14742 fi ;;
14743 esac
14745 case $host in
14746 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14747 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14748 if ${ac_cv_cflags__Wno_format+:} false; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 ac_wine_try_cflags_saved=$CFLAGS
14752 CFLAGS="$CFLAGS -Wno-format"
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 int main(int argc, char **argv) { return 0; }
14756 _ACEOF
14757 if ac_fn_c_try_link "$LINENO"; then :
14758 ac_cv_cflags__Wno_format=yes
14759 else
14760 ac_cv_cflags__Wno_format=no
14762 rm -f core conftest.err conftest.$ac_objext \
14763 conftest$ac_exeext conftest.$ac_ext
14764 CFLAGS=$ac_wine_try_cflags_saved
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14767 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14768 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14769 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14770 fi ;;
14771 esac
14773 if test "x$enable_maintainer_mode" = "xyes"
14774 then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14776 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14777 if ${ac_cv_cflags__Werror+:} false; then :
14778 $as_echo_n "(cached) " >&6
14779 else
14780 ac_wine_try_cflags_saved=$CFLAGS
14781 CFLAGS="$CFLAGS -Werror"
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14784 int main(int argc, char **argv) { return 0; }
14785 _ACEOF
14786 if ac_fn_c_try_link "$LINENO"; then :
14787 ac_cv_cflags__Werror=yes
14788 else
14789 ac_cv_cflags__Werror=no
14791 rm -f core conftest.err conftest.$ac_objext \
14792 conftest$ac_exeext conftest.$ac_ext
14793 CFLAGS=$ac_wine_try_cflags_saved
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14796 $as_echo "$ac_cv_cflags__Werror" >&6; }
14797 if test "x$ac_cv_cflags__Werror" = xyes; then :
14798 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14802 saved_CFLAGS="$CFLAGS"
14803 CFLAGS="$CFLAGS -Werror"
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14805 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14806 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14807 $as_echo_n "(cached) " >&6
14808 else
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14811 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14813 main ()
14817 return 0;
14819 _ACEOF
14820 if ac_fn_c_try_compile "$LINENO"; then :
14821 ac_cv_have_ms_hook_prologue="yes"
14822 else
14823 ac_cv_have_ms_hook_prologue="no"
14825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14828 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14829 CFLAGS="$saved_CFLAGS"
14830 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14831 then
14833 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14835 else
14836 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14843 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14844 if ${ac_cv_c_fortify_enabled+:} false; then :
14845 $as_echo_n "(cached) " >&6
14846 else
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849 #include <string.h>
14851 main ()
14853 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14854 #error Fortify enabled
14855 #endif
14857 return 0;
14859 _ACEOF
14860 if ac_fn_c_try_compile "$LINENO"; then :
14861 ac_cv_c_fortify_enabled=no
14862 else
14863 ac_cv_c_fortify_enabled=yes
14865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14868 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14869 if test "$ac_cv_c_fortify_enabled" = yes
14870 then
14871 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14876 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14877 if ${ac_cv_c_extern_prefix+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 extern int ac_test;
14884 main ()
14886 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"; then :
14892 ac_cv_c_extern_prefix="yes"
14893 else
14894 ac_cv_c_extern_prefix="no"
14896 rm -f core conftest.err conftest.$ac_objext \
14897 conftest$ac_exeext conftest.$ac_ext
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14900 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14902 case $host_cpu in
14903 *i[3456789]86*)
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14905 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14906 if ${ac_cv_c_stdcall_suffix+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14910 /* end confdefs.h. */
14911 #ifndef _MSC_VER
14912 #define __stdcall __attribute__((__stdcall__))
14913 #endif
14914 int __stdcall ac_test(int i) { return i; }
14916 main ()
14918 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_link "$LINENO"; then :
14924 ac_cv_c_stdcall_suffix="yes"
14925 else
14926 ac_cv_c_stdcall_suffix="no"
14928 rm -f core conftest.err conftest.$ac_objext \
14929 conftest$ac_exeext conftest.$ac_ext
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14932 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14933 *) ac_cv_c_stdcall_suffix="no" ;;
14934 esac
14937 if test "$ac_cv_c_extern_prefix" = "yes"
14938 then
14939 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14941 asm_name_prefix="_"
14942 else
14943 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14945 asm_name_prefix=""
14949 if test "$ac_cv_c_stdcall_suffix" = "yes"
14950 then
14951 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14953 else
14954 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14960 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14961 if ${ac_cv_asm_func_def+:} false; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14968 main ()
14970 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_asm_func_def=".def"
14977 else
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14982 main ()
14984 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_link "$LINENO"; then :
14990 ac_cv_asm_func_def=".type @function"
14991 else
14992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 /* end confdefs.h. */
14996 main ()
14998 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15000 return 0;
15002 _ACEOF
15003 if ac_fn_c_try_link "$LINENO"; then :
15004 ac_cv_asm_func_def=".type 2"
15005 else
15006 ac_cv_asm_func_def="unknown"
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15011 rm -f core conftest.err conftest.$ac_objext \
15012 conftest$ac_exeext conftest.$ac_ext
15014 rm -f core conftest.err conftest.$ac_objext \
15015 conftest$ac_exeext conftest.$ac_ext
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15018 $as_echo "$ac_cv_asm_func_def" >&6; }
15021 case "$ac_cv_asm_func_def" in
15022 ".def")
15023 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15025 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15026 ".type @function")
15027 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15029 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15030 ".type 2")
15031 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15033 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15035 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15037 asm_func_header="" ;;
15038 esac
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15041 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15042 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15043 $as_echo_n "(cached) " >&6
15044 else
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15047 asm(".text\n\t.long 0");
15049 main ()
15053 return 0;
15055 _ACEOF
15056 if ac_fn_c_try_compile "$LINENO"; then :
15057 ac_cv_c_asm_outside_funcs="yes"
15058 else
15059 ac_cv_c_asm_outside_funcs="no"
15061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15064 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15067 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15068 if ${ac_cv_c_dot_previous+:} false; then :
15069 $as_echo_n "(cached) " >&6
15070 else
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15075 main ()
15077 asm(".text\nac_test:\t.long 0\n\t.previous");
15079 return 0;
15081 _ACEOF
15082 if ac_fn_c_try_link "$LINENO"; then :
15083 ac_cv_c_dot_previous="yes"
15084 else
15085 ac_cv_c_dot_previous="no"
15087 rm -f core conftest.err conftest.$ac_objext \
15088 conftest$ac_exeext conftest.$ac_ext
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15091 $as_echo "$ac_cv_c_dot_previous" >&6; }
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15094 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15095 if ${ac_cv_c_cfi_support+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 /* end confdefs.h. */
15100 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15102 main ()
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_compile "$LINENO"; then :
15110 ac_cv_c_cfi_support="yes"
15111 else
15112 ac_cv_c_cfi_support="no"
15114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15117 $as_echo "$ac_cv_c_cfi_support" >&6; }
15119 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15120 asm_func_trailer=""
15121 if test "$ac_cv_c_dot_previous" = "yes"
15122 then
15123 asm_func_trailer="\\n\\t.previous"
15125 if test "$ac_cv_c_cfi_support" = "yes"
15126 then
15127 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15128 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15130 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15132 UNWINDFLAGS=-fasynchronous-unwind-tables
15134 else
15135 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15137 if test "x$enable_win64" = "xyes"
15138 then
15139 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15143 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15146 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15147 then
15148 cat >>confdefs.h <<_ACEOF
15149 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15150 _ACEOF
15152 else
15153 cat >>confdefs.h <<_ACEOF
15154 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15155 _ACEOF
15159 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15162 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15166 case $build_os in
15167 cygwin*|mingw32*) TOOLSEXT=".exe"
15169 esac
15171 case $host_os in
15172 linux-android*) ;;
15173 linux*)
15174 case $host_cpu in
15175 *i[3456789]86*|x86_64*)
15176 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15177 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15179 esac
15181 esac
15184 ac_save_CFLAGS="$CFLAGS"
15185 CFLAGS="$CFLAGS $BUILTINFLAG"
15186 for ac_func in \
15187 __res_get_state \
15188 __res_getservers \
15189 _finite \
15190 _isnan \
15191 _pclose \
15192 _popen \
15193 _snprintf \
15194 _spawnvp \
15195 _strdup \
15196 _stricmp \
15197 _strnicmp \
15198 _strtoi64 \
15199 _strtoui64 \
15200 _vsnprintf \
15201 asctime_r \
15202 chsize \
15203 dlopen \
15204 epoll_create \
15205 ffs \
15206 finitef \
15207 fnmatch \
15208 fork \
15209 fpclass \
15210 fstatfs \
15211 fstatvfs \
15212 ftruncate \
15213 futimens \
15214 futimes \
15215 futimesat \
15216 getattrlist \
15217 getopt_long_only \
15218 getpwuid \
15219 gettimeofday \
15220 getuid \
15221 if_nameindex \
15222 isnanf \
15223 kqueue \
15224 lstat \
15225 memmove \
15226 mmap \
15227 pclose \
15228 pipe2 \
15229 poll \
15230 popen \
15231 port_create \
15232 prctl \
15233 pread \
15234 proc_pidinfo \
15235 pwrite \
15236 readdir \
15237 readlink \
15238 sched_yield \
15239 select \
15240 setproctitle \
15241 setprogname \
15242 setrlimit \
15243 settimeofday \
15244 sigaltstack \
15245 sigprocmask \
15246 snprintf \
15247 statfs \
15248 statvfs \
15249 strcasecmp \
15250 strdup \
15251 strerror \
15252 strncasecmp \
15253 strtold \
15254 strtoll \
15255 strtoull \
15256 symlink \
15257 sysinfo \
15258 tcdrain \
15259 thr_kill2 \
15260 timegm \
15261 usleep \
15262 vsnprintf
15264 do :
15265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15267 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15268 cat >>confdefs.h <<_ACEOF
15269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15270 _ACEOF
15273 done
15275 CFLAGS="$ac_save_CFLAGS"
15277 if test "$ac_cv_func_dlopen" = no
15278 then
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15280 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15281 if ${ac_cv_lib_dl_dlopen+:} false; then :
15282 $as_echo_n "(cached) " >&6
15283 else
15284 ac_check_lib_save_LIBS=$LIBS
15285 LIBS="-ldl $LIBS"
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15292 #ifdef __cplusplus
15293 extern "C"
15294 #endif
15295 char dlopen ();
15297 main ()
15299 return dlopen ();
15301 return 0;
15303 _ACEOF
15304 if ac_fn_c_try_link "$LINENO"; then :
15305 ac_cv_lib_dl_dlopen=yes
15306 else
15307 ac_cv_lib_dl_dlopen=no
15309 rm -f core conftest.err conftest.$ac_objext \
15310 conftest$ac_exeext conftest.$ac_ext
15311 LIBS=$ac_check_lib_save_LIBS
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15314 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15315 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15316 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15317 DL_LIBS="-ldl"
15322 ac_wine_check_funcs_save_LIBS="$LIBS"
15323 LIBS="$LIBS $DL_LIBS"
15324 for ac_func in dladdr
15325 do :
15326 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15327 if test "x$ac_cv_func_dladdr" = xyes; then :
15328 cat >>confdefs.h <<_ACEOF
15329 #define HAVE_DLADDR 1
15330 _ACEOF
15333 done
15335 LIBS="$ac_wine_check_funcs_save_LIBS"
15337 if test "$ac_cv_func_poll" = no
15338 then
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15340 $as_echo_n "checking for poll in -lpoll... " >&6; }
15341 if ${ac_cv_lib_poll_poll+:} false; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15344 ac_check_lib_save_LIBS=$LIBS
15345 LIBS="-lpoll $LIBS"
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 #ifdef __cplusplus
15353 extern "C"
15354 #endif
15355 char poll ();
15357 main ()
15359 return poll ();
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_link "$LINENO"; then :
15365 ac_cv_lib_poll_poll=yes
15366 else
15367 ac_cv_lib_poll_poll=no
15369 rm -f core conftest.err conftest.$ac_objext \
15370 conftest$ac_exeext conftest.$ac_ext
15371 LIBS=$ac_check_lib_save_LIBS
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15374 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15375 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15376 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15377 POLL_LIBS="-lpoll"
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15384 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15385 if ${ac_cv_search_gethostbyname+:} false; then :
15386 $as_echo_n "(cached) " >&6
15387 else
15388 ac_func_search_save_LIBS=$LIBS
15389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h. */
15392 /* Override any GCC internal prototype to avoid an error.
15393 Use char because int might match the return type of a GCC
15394 builtin and then its argument prototype would still apply. */
15395 #ifdef __cplusplus
15396 extern "C"
15397 #endif
15398 char gethostbyname ();
15400 main ()
15402 return gethostbyname ();
15404 return 0;
15406 _ACEOF
15407 for ac_lib in '' nsl; do
15408 if test -z "$ac_lib"; then
15409 ac_res="none required"
15410 else
15411 ac_res=-l$ac_lib
15412 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15414 if ac_fn_c_try_link "$LINENO"; then :
15415 ac_cv_search_gethostbyname=$ac_res
15417 rm -f core conftest.err conftest.$ac_objext \
15418 conftest$ac_exeext
15419 if ${ac_cv_search_gethostbyname+:} false; then :
15420 break
15422 done
15423 if ${ac_cv_search_gethostbyname+:} false; then :
15425 else
15426 ac_cv_search_gethostbyname=no
15428 rm conftest.$ac_ext
15429 LIBS=$ac_func_search_save_LIBS
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15432 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15433 ac_res=$ac_cv_search_gethostbyname
15434 if test "$ac_res" != no; then :
15435 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15441 $as_echo_n "checking for library containing connect... " >&6; }
15442 if ${ac_cv_search_connect+:} false; then :
15443 $as_echo_n "(cached) " >&6
15444 else
15445 ac_func_search_save_LIBS=$LIBS
15446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15449 /* Override any GCC internal prototype to avoid an error.
15450 Use char because int might match the return type of a GCC
15451 builtin and then its argument prototype would still apply. */
15452 #ifdef __cplusplus
15453 extern "C"
15454 #endif
15455 char connect ();
15457 main ()
15459 return connect ();
15461 return 0;
15463 _ACEOF
15464 for ac_lib in '' socket; do
15465 if test -z "$ac_lib"; then
15466 ac_res="none required"
15467 else
15468 ac_res=-l$ac_lib
15469 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15471 if ac_fn_c_try_link "$LINENO"; then :
15472 ac_cv_search_connect=$ac_res
15474 rm -f core conftest.err conftest.$ac_objext \
15475 conftest$ac_exeext
15476 if ${ac_cv_search_connect+:} false; then :
15477 break
15479 done
15480 if ${ac_cv_search_connect+:} false; then :
15482 else
15483 ac_cv_search_connect=no
15485 rm conftest.$ac_ext
15486 LIBS=$ac_func_search_save_LIBS
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15489 $as_echo "$ac_cv_search_connect" >&6; }
15490 ac_res=$ac_cv_search_connect
15491 if test "$ac_res" != no; then :
15492 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15498 $as_echo_n "checking for library containing inet_aton... " >&6; }
15499 if ${ac_cv_search_inet_aton+:} false; then :
15500 $as_echo_n "(cached) " >&6
15501 else
15502 ac_func_search_save_LIBS=$LIBS
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15509 #ifdef __cplusplus
15510 extern "C"
15511 #endif
15512 char inet_aton ();
15514 main ()
15516 return inet_aton ();
15518 return 0;
15520 _ACEOF
15521 for ac_lib in '' resolv; do
15522 if test -z "$ac_lib"; then
15523 ac_res="none required"
15524 else
15525 ac_res=-l$ac_lib
15526 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15528 if ac_fn_c_try_link "$LINENO"; then :
15529 ac_cv_search_inet_aton=$ac_res
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext
15533 if ${ac_cv_search_inet_aton+:} false; then :
15534 break
15536 done
15537 if ${ac_cv_search_inet_aton+:} false; then :
15539 else
15540 ac_cv_search_inet_aton=no
15542 rm conftest.$ac_ext
15543 LIBS=$ac_func_search_save_LIBS
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15546 $as_echo "$ac_cv_search_inet_aton" >&6; }
15547 ac_res=$ac_cv_search_inet_aton
15548 if test "$ac_res" != no; then :
15549 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15554 for ac_func in \
15555 getaddrinfo \
15556 getnameinfo \
15557 getnetbyname \
15558 getprotobyname \
15559 getprotobynumber \
15560 getservbyport \
15561 inet_addr \
15562 inet_network \
15563 inet_ntop \
15564 inet_pton \
15565 sendmsg \
15566 socketpair \
15568 do :
15569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15572 cat >>confdefs.h <<_ACEOF
15573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15574 _ACEOF
15577 done
15580 ac_save_LIBS=$LIBS
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15582 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15583 if ${ac_cv_search_clock_gettime+:} false; then :
15584 $as_echo_n "(cached) " >&6
15585 else
15586 ac_func_search_save_LIBS=$LIBS
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 #ifdef __cplusplus
15594 extern "C"
15595 #endif
15596 char clock_gettime ();
15598 main ()
15600 return clock_gettime ();
15602 return 0;
15604 _ACEOF
15605 for ac_lib in '' rt; do
15606 if test -z "$ac_lib"; then
15607 ac_res="none required"
15608 else
15609 ac_res=-l$ac_lib
15610 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 ac_cv_search_clock_gettime=$ac_res
15615 rm -f core conftest.err conftest.$ac_objext \
15616 conftest$ac_exeext
15617 if ${ac_cv_search_clock_gettime+:} false; then :
15618 break
15620 done
15621 if ${ac_cv_search_clock_gettime+:} false; then :
15623 else
15624 ac_cv_search_clock_gettime=no
15626 rm conftest.$ac_ext
15627 LIBS=$ac_func_search_save_LIBS
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15630 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15631 ac_res=$ac_cv_search_clock_gettime
15632 if test "$ac_res" != no; then :
15633 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15635 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15637 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15641 LIBS=$ac_save_LIBS
15643 LDAP_LIBS=""
15645 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15646 then
15647 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15649 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15651 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15652 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15653 $as_echo_n "(cached) " >&6
15654 else
15655 ac_check_lib_save_LIBS=$LIBS
15656 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 #ifdef __cplusplus
15664 extern "C"
15665 #endif
15666 char ldap_initialize ();
15668 main ()
15670 return ldap_initialize ();
15672 return 0;
15674 _ACEOF
15675 if ac_fn_c_try_link "$LINENO"; then :
15676 ac_cv_lib_ldap_r_ldap_initialize=yes
15677 else
15678 ac_cv_lib_ldap_r_ldap_initialize=no
15680 rm -f core conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext conftest.$ac_ext
15682 LIBS=$ac_check_lib_save_LIBS
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15685 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15686 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15688 $as_echo_n "checking for ber_init in -llber... " >&6; }
15689 if ${ac_cv_lib_lber_ber_init+:} false; then :
15690 $as_echo_n "(cached) " >&6
15691 else
15692 ac_check_lib_save_LIBS=$LIBS
15693 LIBS="-llber $PTHREAD_LIBS $LIBS"
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 /* Override any GCC internal prototype to avoid an error.
15698 Use char because int might match the return type of a GCC
15699 builtin and then its argument prototype would still apply. */
15700 #ifdef __cplusplus
15701 extern "C"
15702 #endif
15703 char ber_init ();
15705 main ()
15707 return ber_init ();
15709 return 0;
15711 _ACEOF
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 ac_cv_lib_lber_ber_init=yes
15714 else
15715 ac_cv_lib_lber_ber_init=no
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15719 LIBS=$ac_check_lib_save_LIBS
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15722 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15723 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15725 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15727 LDAP_LIBS="-lldap_r -llber"
15734 ac_wine_check_funcs_save_LIBS="$LIBS"
15735 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15736 for ac_func in \
15737 ldap_count_references \
15738 ldap_first_reference \
15739 ldap_next_reference \
15740 ldap_parse_reference \
15741 ldap_parse_sort_control \
15742 ldap_parse_sortresponse_control \
15743 ldap_parse_vlv_control \
15744 ldap_parse_vlvresponse_control
15745 do :
15746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15748 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15749 cat >>confdefs.h <<_ACEOF
15750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15751 _ACEOF
15754 done
15756 LIBS="$ac_wine_check_funcs_save_LIBS"
15758 if test "x$LDAP_LIBS" = "x"; then :
15759 case "x$with_ldap" in
15760 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15761 xno) ;;
15762 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15763 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15764 esac
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15769 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15770 if ${wine_cv_one_arg_mkdir+:} false; then :
15771 $as_echo_n "(cached) " >&6
15772 else
15773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15774 /* end confdefs.h. */
15775 #include <sys/stat.h>
15777 main ()
15779 mkdir("foo");
15781 return 0;
15783 _ACEOF
15784 if ac_fn_c_try_compile "$LINENO"; then :
15785 wine_cv_one_arg_mkdir=yes
15786 else
15787 wine_cv_one_arg_mkdir=no
15789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15792 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15793 if test "$wine_cv_one_arg_mkdir" = "yes"
15794 then
15796 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15801 $as_echo_n "checking for sched_setaffinity... " >&6; }
15802 if ${wine_cv_have_sched_setaffinity+:} false; then :
15803 $as_echo_n "(cached) " >&6
15804 else
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15807 #define _GNU_SOURCE
15808 #include <sched.h>
15810 main ()
15812 sched_setaffinity(0, 0, 0);
15814 return 0;
15816 _ACEOF
15817 if ac_fn_c_try_link "$LINENO"; then :
15818 wine_cv_have_sched_setaffinity=yes
15819 else
15820 wine_cv_have_sched_setaffinity=no
15822 rm -f core conftest.err conftest.$ac_objext \
15823 conftest$ac_exeext conftest.$ac_ext
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15826 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15827 if test "$wine_cv_have_sched_setaffinity" = "yes"
15828 then
15830 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15835 $as_echo_n "checking for fallocate... " >&6; }
15836 if ${wine_cv_have_fallocate+:} false; then :
15837 $as_echo_n "(cached) " >&6
15838 else
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15841 #define _GNU_SOURCE
15842 #include <fcntl.h>
15844 main ()
15846 fallocate(-1, 0, 0, 0);
15848 return 0;
15850 _ACEOF
15851 if ac_fn_c_try_link "$LINENO"; then :
15852 wine_cv_have_fallocate=yes
15853 else
15854 wine_cv_have_fallocate=no
15856 rm -f core conftest.err conftest.$ac_objext \
15857 conftest$ac_exeext conftest.$ac_ext
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15860 $as_echo "$wine_cv_have_fallocate" >&6; }
15861 if test "$wine_cv_have_fallocate" = "yes"
15862 then
15864 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15870 $as_echo_n "checking for inline... " >&6; }
15871 if ${ac_cv_c_inline+:} false; then :
15872 $as_echo_n "(cached) " >&6
15873 else
15874 ac_cv_c_inline=no
15875 for ac_kw in inline __inline__ __inline; do
15876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15877 /* end confdefs.h. */
15878 #ifndef __cplusplus
15879 typedef int foo_t;
15880 static $ac_kw foo_t static_foo () {return 0; }
15881 $ac_kw foo_t foo () {return 0; }
15882 #endif
15884 _ACEOF
15885 if ac_fn_c_try_compile "$LINENO"; then :
15886 ac_cv_c_inline=$ac_kw
15888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 test "$ac_cv_c_inline" != no && break
15890 done
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15894 $as_echo "$ac_cv_c_inline" >&6; }
15896 case $ac_cv_c_inline in
15897 inline | yes) ;;
15899 case $ac_cv_c_inline in
15900 no) ac_val=;;
15901 *) ac_val=$ac_cv_c_inline;;
15902 esac
15903 cat >>confdefs.h <<_ACEOF
15904 #ifndef __cplusplus
15905 #define inline $ac_val
15906 #endif
15907 _ACEOF
15909 esac
15911 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15912 if test "x$ac_cv_type_mode_t" = xyes; then :
15914 cat >>confdefs.h <<_ACEOF
15915 #define HAVE_MODE_T 1
15916 _ACEOF
15920 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15921 if test "x$ac_cv_type_off_t" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_OFF_T 1
15925 _ACEOF
15929 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15930 if test "x$ac_cv_type_pid_t" = xyes; then :
15932 cat >>confdefs.h <<_ACEOF
15933 #define HAVE_PID_T 1
15934 _ACEOF
15938 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15939 if test "x$ac_cv_type_size_t" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_SIZE_T 1
15943 _ACEOF
15947 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15948 if test "x$ac_cv_type_ssize_t" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_SSIZE_T 1
15952 _ACEOF
15956 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15957 if test "x$ac_cv_type_long_long" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_LONG_LONG 1
15961 _ACEOF
15965 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15966 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_FSBLKCNT_T 1
15970 _ACEOF
15974 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15975 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_FSFILCNT_T 1
15979 _ACEOF
15984 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15985 #include <signal.h>
15987 if test "x$ac_cv_type_sigset_t" = xyes; then :
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_SIGSET_T 1
15991 _ACEOF
15996 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15998 if test "x$ac_cv_type_request_sense" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_REQUEST_SENSE 1
16002 _ACEOF
16008 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16009 #ifdef HAVE_SYS_SOCKET_H
16010 #include <sys/socket.h>
16011 #endif
16012 #ifdef HAVE_SYS_SOCKETVAR_H
16013 #include <sys/socketvar.h>
16014 #endif
16015 #ifdef HAVE_NET_ROUTE_H
16016 #include <net/route.h>
16017 #endif
16018 #ifdef HAVE_NETINET_IN_H
16019 #include <netinet/in.h>
16020 #endif
16021 #ifdef HAVE_NETINET_IN_SYSTM_H
16022 #include <netinet/in_systm.h>
16023 #endif
16024 #ifdef HAVE_NETINET_IP_H
16025 #include <netinet/ip.h>
16026 #endif
16027 #ifdef HAVE_NETINET_IN_PCB_H
16028 #include <netinet/in_pcb.h>
16029 #endif
16031 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_STRUCT_XINPGEN 1
16035 _ACEOF
16041 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16042 #include <link.h>
16043 #endif
16044 #ifdef HAVE_SYS_LINK_H
16045 #include <sys/link.h>
16046 #endif
16048 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_STRUCT_R_DEBUG 1
16052 _ACEOF
16056 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16057 #include <link.h>
16058 #endif
16059 #ifdef HAVE_SYS_LINK_H
16060 #include <sys/link.h>
16061 #endif
16063 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_STRUCT_LINK_MAP 1
16067 _ACEOF
16073 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16074 #include <linux/input.h>
16075 #endif
16077 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16081 _ACEOF
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16088 $as_echo_n "checking for sigaddset... " >&6; }
16089 if ${wine_cv_have_sigaddset+:} false; then :
16090 $as_echo_n "(cached) " >&6
16091 else
16092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 /* end confdefs.h. */
16094 #include <signal.h>
16096 main ()
16098 sigset_t set; sigaddset(&set,SIGTERM);
16100 return 0;
16102 _ACEOF
16103 if ac_fn_c_try_link "$LINENO"; then :
16104 wine_cv_have_sigaddset=yes
16105 else
16106 wine_cv_have_sigaddset=no
16108 rm -f core conftest.err conftest.$ac_objext \
16109 conftest$ac_exeext conftest.$ac_ext
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16112 $as_echo "$wine_cv_have_sigaddset" >&6; }
16113 if test "$wine_cv_have_sigaddset" = "yes"
16114 then
16116 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16122 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16123 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16124 $as_echo_n "(cached) " >&6
16125 else
16126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16127 /* end confdefs.h. */
16128 #include <netdb.h>
16130 main ()
16133 char *name=0;
16134 struct hostent he;
16135 struct hostent *result;
16136 char *buf=0;
16137 int bufsize=0;
16138 int errnr;
16139 char *addr=0;
16140 int addrlen=0;
16141 int addrtype=0;
16142 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16143 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16146 return 0;
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"; then :
16150 wine_cv_linux_gethostbyname_r_6=yes
16151 else
16152 wine_cv_linux_gethostbyname_r_6=no
16155 rm -f core conftest.err conftest.$ac_objext \
16156 conftest$ac_exeext conftest.$ac_ext
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16160 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16161 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16162 then
16164 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16168 if test "$ac_cv_header_linux_joystick_h" = "yes"
16169 then
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16171 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16172 if ${wine_cv_linux_joystick_22_api+:} false; then :
16173 $as_echo_n "(cached) " >&6
16174 else
16175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16176 /* end confdefs.h. */
16178 #include <sys/ioctl.h>
16179 #include <sys/types.h>
16180 #include <linux/joystick.h>
16182 struct js_event blub;
16183 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16184 #error "no 2.2 header"
16185 #endif
16188 main ()
16190 /*empty*/
16192 return 0;
16194 _ACEOF
16195 if ac_fn_c_try_compile "$LINENO"; then :
16196 wine_cv_linux_joystick_22_api=yes
16197 else
16198 wine_cv_linux_joystick_22_api=no
16200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16204 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16205 if test "$wine_cv_linux_joystick_22_api" = "yes"
16206 then
16208 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16214 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16215 #ifdef HAVE_SYS_PARAM_H
16216 # include <sys/param.h>
16217 #endif
16218 #ifdef HAVE_SYS_MOUNT_H
16219 # include <sys/mount.h>
16220 #endif
16221 #ifdef HAVE_SYS_VFS_H
16222 # include <sys/vfs.h>
16223 #endif
16224 #ifdef HAVE_SYS_STATFS_H
16225 # include <sys/statfs.h>
16226 #endif
16228 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_STRUCT_STATFS_F_BFREE 1
16232 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16237 #ifdef HAVE_SYS_PARAM_H
16238 # include <sys/param.h>
16239 #endif
16240 #ifdef HAVE_SYS_MOUNT_H
16241 # include <sys/mount.h>
16242 #endif
16243 #ifdef HAVE_SYS_VFS_H
16244 # include <sys/vfs.h>
16245 #endif
16246 #ifdef HAVE_SYS_STATFS_H
16247 # include <sys/statfs.h>
16248 #endif
16250 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16254 _ACEOF
16258 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16259 #ifdef HAVE_SYS_PARAM_H
16260 # include <sys/param.h>
16261 #endif
16262 #ifdef HAVE_SYS_MOUNT_H
16263 # include <sys/mount.h>
16264 #endif
16265 #ifdef HAVE_SYS_VFS_H
16266 # include <sys/vfs.h>
16267 #endif
16268 #ifdef HAVE_SYS_STATFS_H
16269 # include <sys/statfs.h>
16270 #endif
16272 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16274 cat >>confdefs.h <<_ACEOF
16275 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16276 _ACEOF
16280 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16281 #ifdef HAVE_SYS_PARAM_H
16282 # include <sys/param.h>
16283 #endif
16284 #ifdef HAVE_SYS_MOUNT_H
16285 # include <sys/mount.h>
16286 #endif
16287 #ifdef HAVE_SYS_VFS_H
16288 # include <sys/vfs.h>
16289 #endif
16290 #ifdef HAVE_SYS_STATFS_H
16291 # include <sys/statfs.h>
16292 #endif
16294 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_STATFS_F_FFREE 1
16298 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16303 #ifdef HAVE_SYS_PARAM_H
16304 # include <sys/param.h>
16305 #endif
16306 #ifdef HAVE_SYS_MOUNT_H
16307 # include <sys/mount.h>
16308 #endif
16309 #ifdef HAVE_SYS_VFS_H
16310 # include <sys/vfs.h>
16311 #endif
16312 #ifdef HAVE_SYS_STATFS_H
16313 # include <sys/statfs.h>
16314 #endif
16316 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16320 _ACEOF
16324 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16325 #ifdef HAVE_SYS_PARAM_H
16326 # include <sys/param.h>
16327 #endif
16328 #ifdef HAVE_SYS_MOUNT_H
16329 # include <sys/mount.h>
16330 #endif
16331 #ifdef HAVE_SYS_VFS_H
16332 # include <sys/vfs.h>
16333 #endif
16334 #ifdef HAVE_SYS_STATFS_H
16335 # include <sys/statfs.h>
16336 #endif
16338 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16342 _ACEOF
16348 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16349 #include <sys/statvfs.h>
16350 #endif
16352 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16356 _ACEOF
16362 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16363 #include <dirent.h>
16364 #endif
16366 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16368 cat >>confdefs.h <<_ACEOF
16369 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16370 _ACEOF
16376 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16377 #ifdef HAVE_SYS_SOCKET_H
16378 # include <sys/socket.h>
16379 #endif
16380 #ifdef HAVE_SYS_UN_H
16381 # include <sys/un.h>
16382 #endif
16384 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16388 _ACEOF
16392 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16393 #ifdef HAVE_SYS_SOCKET_H
16394 # include <sys/socket.h>
16395 #endif
16396 #ifdef HAVE_SYS_UN_H
16397 # include <sys/un.h>
16398 #endif
16400 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16402 cat >>confdefs.h <<_ACEOF
16403 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16404 _ACEOF
16408 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16409 #ifdef HAVE_SYS_SOCKET_H
16410 # include <sys/socket.h>
16411 #endif
16412 #ifdef HAVE_SYS_UN_H
16413 # include <sys/un.h>
16414 #endif
16416 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16420 _ACEOF
16426 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16427 #ifdef HAVE_SCSI_SG_H
16428 #include <scsi/sg.h>
16429 #endif
16431 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_SCSIREQ_T_CMD 1
16435 _ACEOF
16439 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>
16440 #ifdef HAVE_SCSI_SG_H
16441 #include <scsi/sg.h>
16442 #endif
16444 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16446 cat >>confdefs.h <<_ACEOF
16447 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16448 _ACEOF
16454 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16456 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_SIGINFO_T_SI_FD 1
16460 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16467 #ifdef HAVE_SYS_MTIO_H
16468 #include <sys/mtio.h>
16469 #endif
16471 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16473 cat >>confdefs.h <<_ACEOF
16474 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16475 _ACEOF
16479 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16480 #ifdef HAVE_SYS_MTIO_H
16481 #include <sys/mtio.h>
16482 #endif
16484 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16488 _ACEOF
16492 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16493 #ifdef HAVE_SYS_MTIO_H
16494 #include <sys/mtio.h>
16495 #endif
16497 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16501 _ACEOF
16507 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16508 #include <getopt.h>
16509 #endif
16511 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16513 cat >>confdefs.h <<_ACEOF
16514 #define HAVE_STRUCT_OPTION_NAME 1
16515 _ACEOF
16521 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16522 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16526 _ACEOF
16530 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16531 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_STRUCT_STAT_ST_MTIM 1
16535 _ACEOF
16539 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16540 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16544 _ACEOF
16548 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16549 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_STRUCT_STAT_ST_CTIM 1
16553 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16558 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16560 cat >>confdefs.h <<_ACEOF
16561 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16562 _ACEOF
16566 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16567 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_STRUCT_STAT_ST_ATIM 1
16571 _ACEOF
16575 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16576 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16580 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16585 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16589 _ACEOF
16593 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16594 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16598 _ACEOF
16602 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16603 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16607 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16612 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16616 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16621 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16625 _ACEOF
16631 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
16632 #include <sys/types.h>
16633 #endif
16634 #ifdef HAVE_NETINET_IN_H
16635 #include <netinet/in.h>
16636 #endif
16638 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16640 cat >>confdefs.h <<_ACEOF
16641 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16642 _ACEOF
16648 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16649 #include <resolv.h>
16650 #endif
16652 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT___RES_STATE 1
16656 _ACEOF
16662 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
16663 #include <resolv.h>
16664 #endif
16666 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16670 _ACEOF
16676 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16677 #include <sys/types.h>
16678 #endif
16679 #ifdef HAVE_NETINET_IN_H
16680 # include <netinet/in.h>
16681 #endif
16682 #ifdef HAVE_ARPA_NAMESER_H
16683 # include <arpa/nameser.h>
16684 #endif
16686 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16688 cat >>confdefs.h <<_ACEOF
16689 #define HAVE_NS_MSG__MSG_PTR 1
16690 _ACEOF
16696 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16697 #include <sys/types.h>
16698 #endif
16699 #ifdef HAVE_NETINET_IP_H
16700 #include <netinet/ip.h>
16701 #endif
16702 #ifdef HAVE_NETINET_IP_ICMP_H
16703 #include <netinet/ip_icmp.h>
16704 #endif
16705 #ifdef HAVE_NETINET_ICMP_VAR_H
16706 #include <netinet/icmp_var.h>
16707 #endif
16709 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16711 cat >>confdefs.h <<_ACEOF
16712 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16713 _ACEOF
16719 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16720 #include <sys/types.h>
16721 #endif
16722 #ifdef HAVE_ALIAS_H
16723 #include <alias.h>
16724 #endif
16725 #ifdef HAVE_SYS_SOCKET_H
16726 #include <sys/socket.h>
16727 #endif
16728 #ifdef HAVE_SYS_SOCKETVAR_H
16729 #include <sys/socketvar.h>
16730 #endif
16731 #ifdef HAVE_SYS_TIMEOUT_H
16732 #include <sys/timeout.h>
16733 #endif
16734 #ifdef HAVE_NETINET_IN_H
16735 #include <netinet/in.h>
16736 #endif
16737 #ifdef HAVE_NETINET_IN_SYSTM_H
16738 #include <netinet/in_systm.h>
16739 #endif
16740 #ifdef HAVE_NETINET_IP_H
16741 #include <netinet/ip.h>
16742 #endif
16743 #ifdef HAVE_NETINET_IP_VAR_H
16744 #include <netinet/ip_var.h>
16745 #endif
16746 #ifdef HAVE_NETINET_IP_ICMP_H
16747 #include <netinet/ip_icmp.h>
16748 #endif
16749 #ifdef HAVE_NETINET_ICMP_VAR_H
16750 #include <netinet/icmp_var.h>
16751 #endif
16753 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16757 _ACEOF
16763 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16764 #include <sys/types.h>
16765 #endif
16766 #ifdef HAVE_SYS_SOCKETVAR_H
16767 #include <sys/socketvar.h>
16768 #endif
16769 #ifdef HAVE_NETINET_IN_H
16770 #include <netinet/in.h>
16771 #endif
16772 #ifdef HAVE_NETINET_IP_VAR_H
16773 #include <netinet/ip_var.h>
16774 #endif
16776 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16778 cat >>confdefs.h <<_ACEOF
16779 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16780 _ACEOF
16786 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
16787 #include <netinet/ip_var.h>
16788 #endif
16790 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16792 cat >>confdefs.h <<_ACEOF
16793 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16794 _ACEOF
16800 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16801 #include <sys/types.h>
16802 #endif
16803 #ifdef HAVE_SYS_SOCKETVAR_H
16804 #include <sys/socketvar.h>
16805 #endif
16806 #ifdef HAVE_NETINET_IN_H
16807 #include <netinet/in.h>
16808 #endif
16809 #ifdef HAVE_NETINET_TCP_H
16810 #include <netinet/tcp.h>
16811 #endif
16812 #ifdef HAVE_NETINET_TCP_VAR_H
16813 #include <netinet/tcp_var.h>
16814 #endif
16816 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16818 cat >>confdefs.h <<_ACEOF
16819 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16820 _ACEOF
16826 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
16827 #include <netinet/tcp_var.h>
16828 #endif
16830 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16832 cat >>confdefs.h <<_ACEOF
16833 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16834 _ACEOF
16840 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16841 #include <sys/types.h>
16842 #endif
16843 #ifdef HAVE_NETINET_IN_H
16844 #include <netinet/in.h>
16845 #endif
16846 #ifdef HAVE_NETINET_IP_VAR_H
16847 #include <netinet/ip_var.h>
16848 #endif
16849 #ifdef HAVE_NETINET_UDP_H
16850 #include <netinet/udp.h>
16851 #endif
16852 #ifdef HAVE_NETINET_UDP_VAR_H
16853 #include <netinet/udp_var.h>
16854 #endif
16856 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16858 cat >>confdefs.h <<_ACEOF
16859 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16860 _ACEOF
16866 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16867 #include <sys/types.h>
16868 #endif
16869 #ifdef HAVE_NET_IF_H
16870 # include <net/if.h>
16871 #endif
16873 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16875 cat >>confdefs.h <<_ACEOF
16876 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16877 _ACEOF
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16884 $as_echo_n "checking for timezone variable... " >&6; }
16885 if ${ac_cv_have_timezone+:} false; then :
16886 $as_echo_n "(cached) " >&6
16887 else
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890 #include <time.h>
16892 main ()
16894 timezone = 1
16896 return 0;
16898 _ACEOF
16899 if ac_fn_c_try_link "$LINENO"; then :
16900 ac_cv_have_timezone="yes"
16901 else
16902 ac_cv_have_timezone="no"
16904 rm -f core conftest.err conftest.$ac_objext \
16905 conftest$ac_exeext conftest.$ac_ext
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16908 $as_echo "$ac_cv_have_timezone" >&6; }
16909 if test "$ac_cv_have_timezone" = "yes"
16910 then
16912 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16916 $as_echo_n "checking for daylight variable... " >&6; }
16917 if ${ac_cv_have_daylight+:} false; then :
16918 $as_echo_n "(cached) " >&6
16919 else
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16922 #include <time.h>
16924 main ()
16926 daylight = 1
16928 return 0;
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_have_daylight="yes"
16933 else
16934 ac_cv_have_daylight="no"
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16940 $as_echo "$ac_cv_have_daylight" >&6; }
16941 if test "$ac_cv_have_daylight" = "yes"
16942 then
16944 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16948 ac_save_LIBS="$LIBS"
16949 LIBS="$LIBS -lm"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16951 $as_echo_n "checking for isfinite... " >&6; }
16952 if ${ac_cv_have_isfinite+:} false; then :
16953 $as_echo_n "(cached) " >&6
16954 else
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16957 #define _GNU_SOURCE
16958 #include <math.h>
16960 main ()
16962 float f = 0.0; return isfinite(f)
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 ac_cv_have_isfinite="yes"
16969 else
16970 ac_cv_have_isfinite="no"
16972 rm -f core conftest.err conftest.$ac_objext \
16973 conftest$ac_exeext conftest.$ac_ext
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16976 $as_echo "$ac_cv_have_isfinite" >&6; }
16977 if test "$ac_cv_have_isfinite" = "yes"
16978 then
16980 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16985 $as_echo_n "checking for isinf... " >&6; }
16986 if ${ac_cv_have_isinf+:} false; then :
16987 $as_echo_n "(cached) " >&6
16988 else
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
16991 #include <math.h>
16993 main ()
16995 float f = 0.0; return isinf(f)
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"; then :
17001 ac_cv_have_isinf="yes"
17002 else
17003 ac_cv_have_isinf="no"
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17009 $as_echo "$ac_cv_have_isinf" >&6; }
17010 if test "$ac_cv_have_isinf" = "yes"
17011 then
17013 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17018 $as_echo_n "checking for isnan... " >&6; }
17019 if ${ac_cv_have_isnan+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 #include <math.h>
17026 main ()
17028 float f = 0.0; return isnan(f)
17030 return 0;
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034 ac_cv_have_isnan="yes"
17035 else
17036 ac_cv_have_isnan="no"
17038 rm -f core conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17042 $as_echo "$ac_cv_have_isnan" >&6; }
17043 if test "$ac_cv_have_isnan" = "yes"
17044 then
17046 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17050 for ac_func in \
17051 asinh \
17052 asinhf \
17053 cbrt \
17054 cbrtf \
17055 erf \
17056 erff \
17057 exp2 \
17058 exp2f \
17059 lgamma \
17060 lgammaf \
17061 llrint \
17062 llrintf \
17063 llround \
17064 llroundf \
17065 log2 \
17066 log2f \
17067 lrint \
17068 lrintf \
17069 lround \
17070 lroundf \
17071 powl \
17072 remainder \
17073 remainderf \
17074 rint \
17075 rintf \
17076 round \
17077 roundf \
17078 trunc \
17079 truncf
17081 do :
17082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17085 cat >>confdefs.h <<_ACEOF
17086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17087 _ACEOF
17090 done
17092 LIBS="$ac_save_LIBS"
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17095 $as_echo_n "checking for __builtin_clz... " >&6; }
17096 if ${ac_cv_have___builtin_clz+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17103 main ()
17105 return __builtin_clz(1)
17107 return 0;
17109 _ACEOF
17110 if ac_fn_c_try_link "$LINENO"; then :
17111 ac_cv_have___builtin_clz="yes"
17112 else
17113 ac_cv_have___builtin_clz="no"
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17119 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17120 if test "$ac_cv_have___builtin_clz" = "yes"
17121 then
17123 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17128 $as_echo_n "checking for __builtin_popcount... " >&6; }
17129 if ${ac_cv_have___builtin_popcount+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17136 main ()
17138 return __builtin_popcount(1)
17140 return 0;
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_have___builtin_popcount="yes"
17145 else
17146 ac_cv_have___builtin_popcount="no"
17148 rm -f core conftest.err conftest.$ac_objext \
17149 conftest$ac_exeext conftest.$ac_ext
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17152 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17153 if test "$ac_cv_have___builtin_popcount" = "yes"
17154 then
17156 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17161 case $host_cpu in
17162 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17163 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17164 if ${ac_cv_cpp_def___i386__+:} false; then :
17165 $as_echo_n "(cached) " >&6
17166 else
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17169 #ifndef __i386__
17171 #endif
17172 _ACEOF
17173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17174 $EGREP "yes" >/dev/null 2>&1; then :
17175 ac_cv_cpp_def___i386__=yes
17176 else
17177 ac_cv_cpp_def___i386__=no
17179 rm -f conftest*
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17183 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17184 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17185 CFLAGS="$CFLAGS -D__i386__"
17186 LINTFLAGS="$LINTFLAGS -D__i386__"
17187 fi ;;
17188 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17189 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17190 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17191 $as_echo_n "(cached) " >&6
17192 else
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195 #ifndef __x86_64__
17197 #endif
17198 _ACEOF
17199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17200 $EGREP "yes" >/dev/null 2>&1; then :
17201 ac_cv_cpp_def___x86_64__=yes
17202 else
17203 ac_cv_cpp_def___x86_64__=no
17205 rm -f conftest*
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17209 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17210 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17211 CFLAGS="$CFLAGS -D__x86_64__"
17212 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17213 fi ;;
17214 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17215 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17216 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 #ifndef __sparc64__
17223 #endif
17224 _ACEOF
17225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17226 $EGREP "yes" >/dev/null 2>&1; then :
17227 ac_cv_cpp_def___sparc64__=yes
17228 else
17229 ac_cv_cpp_def___sparc64__=no
17231 rm -f conftest*
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17235 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17236 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17237 CFLAGS="$CFLAGS -D__sparc64__"
17238 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17239 fi ;;
17240 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17241 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17242 if ${ac_cv_cpp_def___sparc__+:} false; then :
17243 $as_echo_n "(cached) " >&6
17244 else
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17247 #ifndef __sparc__
17249 #endif
17250 _ACEOF
17251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17252 $EGREP "yes" >/dev/null 2>&1; then :
17253 ac_cv_cpp_def___sparc__=yes
17254 else
17255 ac_cv_cpp_def___sparc__=no
17257 rm -f conftest*
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17261 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17262 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17263 CFLAGS="$CFLAGS -D__sparc__"
17264 LINTFLAGS="$LINTFLAGS -D__sparc__"
17265 fi ;;
17266 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17267 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17268 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17269 $as_echo_n "(cached) " >&6
17270 else
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 #ifndef __powerpc64__
17275 #endif
17276 _ACEOF
17277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17278 $EGREP "yes" >/dev/null 2>&1; then :
17279 ac_cv_cpp_def___powerpc64__=yes
17280 else
17281 ac_cv_cpp_def___powerpc64__=no
17283 rm -f conftest*
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17287 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17288 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17289 CFLAGS="$CFLAGS -D__powerpc64__"
17290 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17291 fi ;;
17292 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17293 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17294 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17295 $as_echo_n "(cached) " >&6
17296 else
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h. */
17299 #ifndef __powerpc__
17301 #endif
17302 _ACEOF
17303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17304 $EGREP "yes" >/dev/null 2>&1; then :
17305 ac_cv_cpp_def___powerpc__=yes
17306 else
17307 ac_cv_cpp_def___powerpc__=no
17309 rm -f conftest*
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17313 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17314 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17315 CFLAGS="$CFLAGS -D__powerpc__"
17316 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17317 fi ;;
17318 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17319 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17320 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17321 $as_echo_n "(cached) " >&6
17322 else
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17325 #ifndef __aarch64__
17327 #endif
17328 _ACEOF
17329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17330 $EGREP "yes" >/dev/null 2>&1; then :
17331 ac_cv_cpp_def___aarch64__=yes
17332 else
17333 ac_cv_cpp_def___aarch64__=no
17335 rm -f conftest*
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17339 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17340 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17341 CFLAGS="$CFLAGS -D__aarch64__"
17342 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17343 fi ;;
17344 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17345 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17346 if ${ac_cv_cpp_def___arm__+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 #ifndef __arm__
17353 #endif
17354 _ACEOF
17355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17356 $EGREP "yes" >/dev/null 2>&1; then :
17357 ac_cv_cpp_def___arm__=yes
17358 else
17359 ac_cv_cpp_def___arm__=no
17361 rm -f conftest*
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17365 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17366 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17367 CFLAGS="$CFLAGS -D__arm__"
17368 LINTFLAGS="$LINTFLAGS -D__arm__"
17369 fi ;;
17370 esac
17372 case $host_vendor in
17373 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17374 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17375 if ${ac_cv_cpp_def___sun__+:} false; then :
17376 $as_echo_n "(cached) " >&6
17377 else
17378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17379 /* end confdefs.h. */
17380 #ifndef __sun__
17382 #endif
17383 _ACEOF
17384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17385 $EGREP "yes" >/dev/null 2>&1; then :
17386 ac_cv_cpp_def___sun__=yes
17387 else
17388 ac_cv_cpp_def___sun__=no
17390 rm -f conftest*
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17394 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17395 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17396 CFLAGS="$CFLAGS -D__sun__"
17397 LINTFLAGS="$LINTFLAGS -D__sun__"
17398 fi ;;
17399 esac
17405 ac_config_commands="$ac_config_commands include/stamp-h"
17407 $as_echo_n "creating Makefile rules..." >&6
17409 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17410 SOCKET_LIBS = $SOCKET_LIBS
17411 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17412 IOKIT_LIBS = $IOKIT_LIBS
17413 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17414 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17415 CORESERVICES_LIBS = $CORESERVICES_LIBS
17416 APPKIT_LIBS = $APPKIT_LIBS
17417 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17418 SECURITY_LIBS = $SECURITY_LIBS
17419 COREAUDIO_LIBS = $COREAUDIO_LIBS
17420 OPENAL_LIBS = $OPENAL_LIBS
17421 OPENCL_LIBS = $OPENCL_LIBS
17422 QUICKTIME_LIBS = $QUICKTIME_LIBS
17423 CARBON_LIBS = $CARBON_LIBS
17424 PTHREAD_LIBS = $PTHREAD_LIBS
17425 X_CFLAGS = $X_CFLAGS
17426 X_PRE_LIBS = $X_PRE_LIBS
17427 X_LIBS = $X_LIBS
17428 X_EXTRA_LIBS = $X_EXTRA_LIBS
17429 PCAP_LIBS = $PCAP_LIBS
17430 XML2_CFLAGS = $XML2_CFLAGS
17431 XML2_LIBS = $XML2_LIBS
17432 XSLT_CFLAGS = $XSLT_CFLAGS
17433 XSLT_LIBS = $XSLT_LIBS
17434 DBUS_CFLAGS = $DBUS_CFLAGS
17435 DBUS_LIBS = $DBUS_LIBS
17436 HAL_CFLAGS = $HAL_CFLAGS
17437 HAL_LIBS = $HAL_LIBS
17438 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17439 GNUTLS_LIBS = $GNUTLS_LIBS
17440 SANE_CFLAGS = $SANE_CFLAGS
17441 SANE_LIBS = $SANE_LIBS
17442 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17443 GPHOTO2_LIBS = $GPHOTO2_LIBS
17444 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17445 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17446 RESOLV_LIBS = $RESOLV_LIBS
17447 LCMS2_CFLAGS = $LCMS2_CFLAGS
17448 LCMS2_LIBS = $LCMS2_LIBS
17449 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17450 FREETYPE_LIBS = $FREETYPE_LIBS
17451 Z_LIBS = $Z_LIBS
17452 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17453 PULSE_CFLAGS = $PULSE_CFLAGS
17454 PULSE_LIBS = $PULSE_LIBS
17455 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17456 GSTREAMER_LIBS = $GSTREAMER_LIBS
17457 ALSA_LIBS = $ALSA_LIBS
17458 OSS4_CFLAGS = $OSS4_CFLAGS
17459 UDEV_CFLAGS = $UDEV_CFLAGS
17460 UDEV_LIBS = $UDEV_LIBS
17461 CAPI20_CFLAGS = $CAPI20_CFLAGS
17462 CAPI20_LIBS = $CAPI20_LIBS
17463 CUPS_CFLAGS = $CUPS_CFLAGS
17464 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17465 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17466 JPEG_CFLAGS = $JPEG_CFLAGS
17467 JPEG_LIBS = $JPEG_LIBS
17468 PNG_CFLAGS = $PNG_CFLAGS
17469 PNG_LIBS = $PNG_LIBS
17470 TIFF_CFLAGS = $TIFF_CFLAGS
17471 TIFF_LIBS = $TIFF_LIBS
17472 MPG123_CFLAGS = $MPG123_CFLAGS
17473 MPG123_LIBS = $MPG123_LIBS
17474 KSTAT_LIBS = $KSTAT_LIBS
17475 PROCSTAT_LIBS = $PROCSTAT_LIBS
17476 NETAPI_CFLAGS = $NETAPI_CFLAGS
17477 NETAPI_LIBS = $NETAPI_LIBS
17478 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17479 DL_LIBS = $DL_LIBS
17480 POLL_LIBS = $POLL_LIBS
17481 RT_LIBS = $RT_LIBS
17482 LDAP_LIBS = $LDAP_LIBS
17487 wine_fn_append_rule "
17488 # Rules automatically generated by configure
17490 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17492 .INIT: Makefile
17493 .MAKEFILEDEPS:
17494 all: Makefile
17495 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17496 @./config.status Make.tmp Makefile
17497 depend: \$(MAKEDEP) dummy
17498 \$(MAKEDEP)"
17500 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17501 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17503 if test "x$enable_fonts" != xno; then
17504 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17505 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17506 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17507 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17508 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17509 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17511 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17512 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17513 ac_config_links="$ac_config_links wine:tools/winewrapper"
17514 wine_fn_config_symlink wine
17515 if test "x$enable_win64" != xno; then
17516 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17517 wine_fn_config_symlink wine64
17520 wine_fn_config_dll acledit enable_acledit
17521 wine_fn_config_dll aclui enable_aclui implib
17522 wine_fn_config_dll activeds enable_activeds implib
17523 wine_fn_config_dll actxprxy enable_actxprxy clean
17524 wine_fn_config_lib adsiid
17525 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17526 wine_fn_config_test dlls/advapi32/tests advapi32_test
17527 wine_fn_config_dll advpack enable_advpack implib
17528 wine_fn_config_test dlls/advpack/tests advpack_test
17529 wine_fn_config_dll amstream enable_amstream clean
17530 wine_fn_config_test dlls/amstream/tests amstream_test
17531 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17532 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17533 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17534 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17535 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17536 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17537 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17538 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17539 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17540 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17541 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17542 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17543 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17544 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17545 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17546 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17547 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17548 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17549 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17550 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17551 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17552 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17553 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17554 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17555 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17556 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17557 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17558 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17559 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17560 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17561 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17562 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17563 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17564 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17566 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17567 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17569 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17572 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17573 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17575 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17576 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17577 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17579 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17580 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17582 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17584 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17585 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17586 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17591 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17595 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17598 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17599 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17600 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17601 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17602 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17606 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17608 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17610 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17615 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17616 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17617 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17618 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17619 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17620 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17621 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17622 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17623 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17624 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17625 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17626 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17627 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17628 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17629 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17630 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17631 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17632 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17633 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17634 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17635 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17636 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17637 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17638 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17639 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17640 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17641 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17642 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17643 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17644 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17645 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17646 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17647 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17648 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17649 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17650 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17651 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17652 wine_fn_config_dll apphelp enable_apphelp
17653 wine_fn_config_test dlls/apphelp/tests apphelp_test
17654 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17655 wine_fn_config_dll atl enable_atl clean,implib
17656 wine_fn_config_test dlls/atl/tests atl_test
17657 wine_fn_config_dll atl100 enable_atl100 clean,implib
17658 wine_fn_config_test dlls/atl100/tests atl100_test
17659 wine_fn_config_dll atl110 enable_atl110 clean
17660 wine_fn_config_dll atl80 enable_atl80 clean,implib
17661 wine_fn_config_test dlls/atl80/tests atl80_test
17662 wine_fn_config_dll atl90 enable_atl90 clean
17663 wine_fn_config_dll authz enable_authz
17664 wine_fn_config_dll avicap32 enable_avicap32 implib
17665 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17666 wine_fn_config_test dlls/avifil32/tests avifil32_test
17667 wine_fn_config_dll avifile.dll16 enable_win16
17668 wine_fn_config_dll avrt enable_avrt implib
17669 wine_fn_config_dll bcrypt enable_bcrypt implib
17670 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17671 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17672 wine_fn_config_dll browseui enable_browseui clean
17673 wine_fn_config_test dlls/browseui/tests browseui_test
17674 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17675 wine_fn_config_dll cabinet enable_cabinet implib
17676 wine_fn_config_test dlls/cabinet/tests cabinet_test
17677 wine_fn_config_dll capi2032 enable_capi2032 implib
17678 wine_fn_config_dll cards enable_cards implib
17679 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17680 wine_fn_config_dll clusapi enable_clusapi implib
17681 wine_fn_config_dll combase enable_combase
17682 wine_fn_config_test dlls/combase/tests combase_test
17683 wine_fn_config_dll comcat enable_comcat
17684 wine_fn_config_test dlls/comcat/tests comcat_test
17685 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17686 wine_fn_config_test dlls/comctl32/tests comctl32_test
17687 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17688 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17689 wine_fn_config_dll comm.drv16 enable_win16
17690 wine_fn_config_dll commdlg.dll16 enable_win16
17691 wine_fn_config_dll compobj.dll16 enable_win16
17692 wine_fn_config_dll compstui enable_compstui implib
17693 wine_fn_config_dll comsvcs enable_comsvcs implib
17694 wine_fn_config_dll concrt140 enable_concrt140
17695 wine_fn_config_dll connect enable_connect
17696 wine_fn_config_dll credui enable_credui clean,implib
17697 wine_fn_config_test dlls/credui/tests credui_test
17698 wine_fn_config_dll crtdll enable_crtdll
17699 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17700 wine_fn_config_test dlls/crypt32/tests crypt32_test
17701 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17702 wine_fn_config_dll cryptdll enable_cryptdll implib
17703 wine_fn_config_dll cryptext enable_cryptext
17704 wine_fn_config_dll cryptnet enable_cryptnet implib
17705 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17706 wine_fn_config_dll cryptui enable_cryptui clean,implib
17707 wine_fn_config_test dlls/cryptui/tests cryptui_test
17708 wine_fn_config_dll ctapi32 enable_ctapi32
17709 wine_fn_config_dll ctl3d.dll16 enable_win16
17710 wine_fn_config_dll ctl3d32 enable_ctl3d32
17711 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17712 wine_fn_config_dll d2d1 enable_d2d1 implib
17713 wine_fn_config_test dlls/d2d1/tests d2d1_test
17714 wine_fn_config_dll d3d10 enable_d3d10 implib
17715 wine_fn_config_test dlls/d3d10/tests d3d10_test
17716 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17717 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17718 wine_fn_config_dll d3d10core enable_d3d10core implib
17719 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17720 wine_fn_config_dll d3d11 enable_d3d11 implib
17721 wine_fn_config_test dlls/d3d11/tests d3d11_test
17722 wine_fn_config_dll d3d8 enable_d3d8 implib
17723 wine_fn_config_test dlls/d3d8/tests d3d8_test
17724 wine_fn_config_dll d3d9 enable_d3d9 implib
17725 wine_fn_config_test dlls/d3d9/tests d3d9_test
17726 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17727 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17728 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17729 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17730 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17731 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17732 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17733 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17734 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17735 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17736 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17737 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17738 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17739 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17740 wine_fn_config_dll d3dim enable_d3dim
17741 wine_fn_config_dll d3drm enable_d3drm implib
17742 wine_fn_config_test dlls/d3drm/tests d3drm_test
17743 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17744 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17745 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17746 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17747 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17748 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17749 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17750 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17751 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17752 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17753 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17754 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17755 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17756 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17757 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17758 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17759 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17760 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17761 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17762 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17763 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17764 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17765 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17766 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17767 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17768 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17769 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17770 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17771 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17772 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17773 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17774 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17775 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17776 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17777 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17778 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17779 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17780 wine_fn_config_dll davclnt enable_davclnt
17781 wine_fn_config_dll dbgeng enable_dbgeng implib
17782 wine_fn_config_dll dbghelp enable_dbghelp implib
17783 wine_fn_config_dll dciman32 enable_dciman32 implib
17784 wine_fn_config_dll ddeml.dll16 enable_win16
17785 wine_fn_config_dll ddraw enable_ddraw clean,implib
17786 wine_fn_config_test dlls/ddraw/tests ddraw_test
17787 wine_fn_config_dll ddrawex enable_ddrawex clean
17788 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17789 wine_fn_config_dll devenum enable_devenum clean
17790 wine_fn_config_test dlls/devenum/tests devenum_test
17791 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17792 wine_fn_config_dll difxapi enable_difxapi
17793 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17794 wine_fn_config_test dlls/dinput/tests dinput_test
17795 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17796 wine_fn_config_test dlls/dinput8/tests dinput8_test
17797 wine_fn_config_dll dispdib.dll16 enable_win16
17798 wine_fn_config_dll dispex enable_dispex clean
17799 wine_fn_config_test dlls/dispex/tests dispex_test
17800 wine_fn_config_dll display.drv16 enable_win16
17801 wine_fn_config_dll dmband enable_dmband clean
17802 wine_fn_config_test dlls/dmband/tests dmband_test
17803 wine_fn_config_dll dmcompos enable_dmcompos clean
17804 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17805 wine_fn_config_dll dmime enable_dmime clean
17806 wine_fn_config_test dlls/dmime/tests dmime_test
17807 wine_fn_config_dll dmloader enable_dmloader clean
17808 wine_fn_config_test dlls/dmloader/tests dmloader_test
17809 wine_fn_config_dll dmscript enable_dmscript clean
17810 wine_fn_config_test dlls/dmscript/tests dmscript_test
17811 wine_fn_config_dll dmstyle enable_dmstyle clean
17812 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17813 wine_fn_config_dll dmsynth enable_dmsynth clean
17814 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17815 wine_fn_config_dll dmusic enable_dmusic clean
17816 wine_fn_config_test dlls/dmusic/tests dmusic_test
17817 wine_fn_config_dll dmusic32 enable_dmusic32
17818 wine_fn_config_dll dnsapi enable_dnsapi implib
17819 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17820 wine_fn_config_dll dplay enable_dplay
17821 wine_fn_config_dll dplayx enable_dplayx clean,implib
17822 wine_fn_config_test dlls/dplayx/tests dplayx_test
17823 wine_fn_config_dll dpnaddr enable_dpnaddr
17824 wine_fn_config_dll dpnet enable_dpnet clean,implib
17825 wine_fn_config_test dlls/dpnet/tests dpnet_test
17826 wine_fn_config_dll dpnhpast enable_dpnhpast
17827 wine_fn_config_dll dpnlobby enable_dpnlobby
17828 wine_fn_config_dll dpvoice enable_dpvoice clean
17829 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17830 wine_fn_config_dll dpwsockx enable_dpwsockx
17831 wine_fn_config_dll drmclien enable_drmclien
17832 wine_fn_config_dll dsound enable_dsound clean,implib
17833 wine_fn_config_test dlls/dsound/tests dsound_test
17834 wine_fn_config_dll dssenh enable_dssenh
17835 wine_fn_config_test dlls/dssenh/tests dssenh_test
17836 wine_fn_config_dll dswave enable_dswave clean
17837 wine_fn_config_test dlls/dswave/tests dswave_test
17838 wine_fn_config_dll dwmapi enable_dwmapi implib
17839 wine_fn_config_dll dwrite enable_dwrite implib
17840 wine_fn_config_test dlls/dwrite/tests dwrite_test
17841 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17842 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17843 wine_fn_config_lib dxerr8
17844 wine_fn_config_lib dxerr9
17845 wine_fn_config_dll dxgi enable_dxgi implib
17846 wine_fn_config_test dlls/dxgi/tests dxgi_test
17847 wine_fn_config_lib dxguid
17848 wine_fn_config_dll dxva2 enable_dxva2
17849 wine_fn_config_dll esent enable_esent
17850 wine_fn_config_dll evr enable_evr
17851 wine_fn_config_dll explorerframe enable_explorerframe clean
17852 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17853 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17854 wine_fn_config_dll faultrep enable_faultrep implib
17855 wine_fn_config_test dlls/faultrep/tests faultrep_test
17856 wine_fn_config_dll fltlib enable_fltlib
17857 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17858 wine_fn_config_dll fntcache enable_fntcache
17859 wine_fn_config_dll fontsub enable_fontsub
17860 wine_fn_config_dll fusion enable_fusion
17861 wine_fn_config_test dlls/fusion/tests fusion_test
17862 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17863 wine_fn_config_dll gameux enable_gameux clean
17864 wine_fn_config_test dlls/gameux/tests gameux_test
17865 wine_fn_config_dll gdi.exe16 enable_win16
17866 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17867 wine_fn_config_test dlls/gdi32/tests gdi32_test
17868 wine_fn_config_dll gdiplus enable_gdiplus implib
17869 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17870 wine_fn_config_dll glu32 enable_glu32 implib
17871 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17872 wine_fn_config_dll gpkcsp enable_gpkcsp
17873 wine_fn_config_dll hal enable_hal
17874 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17875 wine_fn_config_dll hid enable_hid implib
17876 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17877 wine_fn_config_dll hlink enable_hlink clean,implib
17878 wine_fn_config_test dlls/hlink/tests hlink_test
17879 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17880 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17881 wine_fn_config_dll httpapi enable_httpapi
17882 wine_fn_config_dll iccvid enable_iccvid clean
17883 wine_fn_config_dll icmp enable_icmp
17884 wine_fn_config_dll ieframe enable_ieframe clean,implib
17885 wine_fn_config_test dlls/ieframe/tests ieframe_test
17886 wine_fn_config_dll ifsmgr.vxd enable_win16
17887 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17888 wine_fn_config_dll imagehlp enable_imagehlp implib
17889 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17890 wine_fn_config_dll imm.dll16 enable_win16
17891 wine_fn_config_dll imm32 enable_imm32 implib
17892 wine_fn_config_test dlls/imm32/tests imm32_test
17893 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17894 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17895 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17896 wine_fn_config_dll inetmib1 enable_inetmib1
17897 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17898 wine_fn_config_dll infosoft enable_infosoft clean
17899 wine_fn_config_test dlls/infosoft/tests infosoft_test
17900 wine_fn_config_dll initpki enable_initpki
17901 wine_fn_config_dll inkobj enable_inkobj
17902 wine_fn_config_dll inseng enable_inseng clean
17903 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17904 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17905 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17906 wine_fn_config_dll itircl enable_itircl
17907 wine_fn_config_dll itss enable_itss clean
17908 wine_fn_config_test dlls/itss/tests itss_test
17909 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17910 wine_fn_config_dll jscript enable_jscript clean
17911 wine_fn_config_test dlls/jscript/tests jscript_test
17912 wine_fn_config_dll jsproxy enable_jsproxy implib
17913 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17914 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17915 wine_fn_config_test dlls/kernel32/tests kernel32_test
17916 wine_fn_config_dll kernelbase enable_kernelbase
17917 wine_fn_config_dll keyboard.drv16 enable_win16
17918 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17919 wine_fn_config_dll ksuser enable_ksuser
17920 wine_fn_config_dll ktmw32 enable_ktmw32
17921 wine_fn_config_dll loadperf enable_loadperf implib
17922 wine_fn_config_dll localspl enable_localspl clean
17923 wine_fn_config_test dlls/localspl/tests localspl_test
17924 wine_fn_config_dll localui enable_localui clean
17925 wine_fn_config_test dlls/localui/tests localui_test
17926 wine_fn_config_dll lz32 enable_lz32 implib
17927 wine_fn_config_test dlls/lz32/tests lz32_test
17928 wine_fn_config_dll lzexpand.dll16 enable_win16
17929 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17930 wine_fn_config_test dlls/mapi32/tests mapi32_test
17931 wine_fn_config_dll mapistub enable_mapistub
17932 wine_fn_config_dll mciavi32 enable_mciavi32
17933 wine_fn_config_dll mcicda enable_mcicda
17934 wine_fn_config_dll mciqtz32 enable_mciqtz32
17935 wine_fn_config_dll mciseq enable_mciseq
17936 wine_fn_config_dll mciwave enable_mciwave
17937 wine_fn_config_dll mf enable_mf
17938 wine_fn_config_dll mfplat enable_mfplat
17939 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17940 wine_fn_config_dll mgmtapi enable_mgmtapi
17941 wine_fn_config_dll midimap enable_midimap
17942 wine_fn_config_dll mlang enable_mlang clean,implib
17943 wine_fn_config_test dlls/mlang/tests mlang_test
17944 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17945 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17946 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17947 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17948 wine_fn_config_dll mmdevldr.vxd enable_win16
17949 wine_fn_config_dll mmsystem.dll16 enable_win16
17950 wine_fn_config_dll monodebg.vxd enable_win16
17951 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17952 wine_fn_config_dll mouse.drv16 enable_win16
17953 wine_fn_config_dll mpr enable_mpr clean,implib
17954 wine_fn_config_test dlls/mpr/tests mpr_test
17955 wine_fn_config_dll mprapi enable_mprapi implib
17956 wine_fn_config_dll msacm.dll16 enable_win16
17957 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17958 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17959 wine_fn_config_test dlls/msacm32/tests msacm32_test
17960 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17961 wine_fn_config_dll msasn1 enable_msasn1 implib
17962 wine_fn_config_dll mscat32 enable_mscat32
17963 wine_fn_config_dll mscms enable_mscms implib
17964 wine_fn_config_test dlls/mscms/tests mscms_test
17965 wine_fn_config_dll mscoree enable_mscoree clean
17966 wine_fn_config_test dlls/mscoree/tests mscoree_test
17967 wine_fn_config_dll msctf enable_msctf clean
17968 wine_fn_config_test dlls/msctf/tests msctf_test
17969 wine_fn_config_dll msctfp enable_msctfp clean
17970 wine_fn_config_dll msdaps enable_msdaps clean
17971 wine_fn_config_dll msdelta enable_msdelta
17972 wine_fn_config_dll msdmo enable_msdmo implib
17973 wine_fn_config_test dlls/msdmo/tests msdmo_test
17974 wine_fn_config_dll msdrm enable_msdrm
17975 wine_fn_config_dll msftedit enable_msftedit
17976 wine_fn_config_dll msg711.acm enable_msg711_acm
17977 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17978 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17979 wine_fn_config_dll mshtml enable_mshtml clean,implib
17980 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17981 wine_fn_config_dll msi enable_msi clean,implib
17982 wine_fn_config_test dlls/msi/tests msi_test
17983 wine_fn_config_dll msident enable_msident clean
17984 wine_fn_config_dll msimg32 enable_msimg32 implib
17985 wine_fn_config_dll msimsg enable_msimsg
17986 wine_fn_config_dll msimtf enable_msimtf clean
17987 wine_fn_config_dll msisip enable_msisip
17988 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17989 wine_fn_config_dll msls31 enable_msls31
17990 wine_fn_config_dll msnet32 enable_msnet32
17991 wine_fn_config_dll mspatcha enable_mspatcha implib
17992 wine_fn_config_dll msports enable_msports
17993 wine_fn_config_dll msrle32 enable_msrle32 clean
17994 wine_fn_config_test dlls/msrle32/tests msrle32_test
17995 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17996 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17997 wine_fn_config_dll mssign32 enable_mssign32
17998 wine_fn_config_dll mssip32 enable_mssip32
17999 wine_fn_config_dll mstask enable_mstask clean
18000 wine_fn_config_test dlls/mstask/tests mstask_test
18001 wine_fn_config_dll msvcirt enable_msvcirt
18002 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18003 wine_fn_config_dll msvcm80 enable_msvcm80
18004 wine_fn_config_dll msvcm90 enable_msvcm90
18005 wine_fn_config_dll msvcp100 enable_msvcp100
18006 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18007 wine_fn_config_dll msvcp110 enable_msvcp110
18008 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18009 wine_fn_config_dll msvcp120 enable_msvcp120
18010 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18011 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18012 wine_fn_config_dll msvcp140 enable_msvcp140
18013 wine_fn_config_dll msvcp60 enable_msvcp60
18014 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18015 wine_fn_config_dll msvcp70 enable_msvcp70
18016 wine_fn_config_dll msvcp71 enable_msvcp71
18017 wine_fn_config_dll msvcp80 enable_msvcp80
18018 wine_fn_config_dll msvcp90 enable_msvcp90
18019 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18020 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18021 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18022 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18023 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18024 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18025 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18026 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18027 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18028 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18029 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18030 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18031 wine_fn_config_dll msvcrt enable_msvcrt implib
18032 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18033 wine_fn_config_dll msvcrt20 enable_msvcrt20
18034 wine_fn_config_dll msvcrt40 enable_msvcrt40
18035 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18036 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18037 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18038 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18039 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18040 wine_fn_config_dll msvideo.dll16 enable_win16
18041 wine_fn_config_dll mswsock enable_mswsock implib
18042 wine_fn_config_dll msxml enable_msxml clean
18043 wine_fn_config_dll msxml2 enable_msxml2 clean
18044 wine_fn_config_dll msxml3 enable_msxml3 clean
18045 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18046 wine_fn_config_dll msxml4 enable_msxml4 clean
18047 wine_fn_config_dll msxml6 enable_msxml6 clean
18048 wine_fn_config_dll ncrypt enable_ncrypt
18049 wine_fn_config_dll nddeapi enable_nddeapi implib
18050 wine_fn_config_dll ndis.sys enable_ndis_sys
18051 wine_fn_config_dll netapi32 enable_netapi32 implib
18052 wine_fn_config_test dlls/netapi32/tests netapi32_test
18053 wine_fn_config_dll netcfgx enable_netcfgx clean
18054 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18055 wine_fn_config_dll netprofm enable_netprofm clean
18056 wine_fn_config_test dlls/netprofm/tests netprofm_test
18057 wine_fn_config_dll newdev enable_newdev implib
18058 wine_fn_config_dll normaliz enable_normaliz implib
18059 wine_fn_config_dll npmshtml enable_npmshtml
18060 wine_fn_config_dll npptools enable_npptools
18061 wine_fn_config_dll ntdll enable_ntdll implib
18062 wine_fn_config_test dlls/ntdll/tests ntdll_test
18063 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18064 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18065 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18066 wine_fn_config_dll ntprint enable_ntprint
18067 wine_fn_config_test dlls/ntprint/tests ntprint_test
18068 wine_fn_config_dll objsel enable_objsel clean
18069 wine_fn_config_dll odbc32 enable_odbc32 implib
18070 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18071 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18072 wine_fn_config_dll odbccu32 enable_odbccu32
18073 wine_fn_config_dll ole2.dll16 enable_win16
18074 wine_fn_config_dll ole2conv.dll16 enable_win16
18075 wine_fn_config_dll ole2disp.dll16 enable_win16
18076 wine_fn_config_dll ole2nls.dll16 enable_win16
18077 wine_fn_config_dll ole2prox.dll16 enable_win16
18078 wine_fn_config_dll ole2thk.dll16 enable_win16
18079 wine_fn_config_dll ole32 enable_ole32 clean,implib
18080 wine_fn_config_test dlls/ole32/tests ole32_test
18081 wine_fn_config_dll oleacc enable_oleacc clean,implib
18082 wine_fn_config_test dlls/oleacc/tests oleacc_test
18083 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18084 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18085 wine_fn_config_dll olecli.dll16 enable_win16
18086 wine_fn_config_dll olecli32 enable_olecli32 implib
18087 wine_fn_config_dll oledb32 enable_oledb32 clean
18088 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18089 wine_fn_config_dll oledlg enable_oledlg clean,implib
18090 wine_fn_config_test dlls/oledlg/tests oledlg_test
18091 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18092 wine_fn_config_dll olesvr.dll16 enable_win16
18093 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18094 wine_fn_config_dll olethk32 enable_olethk32
18095 wine_fn_config_dll openal32 enable_openal32
18096 wine_fn_config_dll opencl enable_opencl
18097 wine_fn_config_dll opengl32 enable_opengl32 implib
18098 wine_fn_config_test dlls/opengl32/tests opengl32_test
18099 wine_fn_config_dll packager enable_packager clean
18100 wine_fn_config_test dlls/packager/tests packager_test
18101 wine_fn_config_dll pdh enable_pdh implib
18102 wine_fn_config_test dlls/pdh/tests pdh_test
18103 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18104 wine_fn_config_dll pidgen enable_pidgen
18105 wine_fn_config_dll powrprof enable_powrprof implib
18106 wine_fn_config_dll printui enable_printui
18107 wine_fn_config_dll prntvpt enable_prntvpt
18108 wine_fn_config_dll propsys enable_propsys clean,implib
18109 wine_fn_config_test dlls/propsys/tests propsys_test
18110 wine_fn_config_dll psapi enable_psapi implib
18111 wine_fn_config_test dlls/psapi/tests psapi_test
18112 wine_fn_config_dll pstorec enable_pstorec clean
18113 wine_fn_config_dll qcap enable_qcap
18114 wine_fn_config_test dlls/qcap/tests qcap_test
18115 wine_fn_config_dll qedit enable_qedit clean
18116 wine_fn_config_test dlls/qedit/tests qedit_test
18117 wine_fn_config_dll qmgr enable_qmgr clean
18118 wine_fn_config_test dlls/qmgr/tests qmgr_test
18119 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18120 wine_fn_config_dll quartz enable_quartz clean,implib
18121 wine_fn_config_test dlls/quartz/tests quartz_test clean
18122 wine_fn_config_dll query enable_query
18123 wine_fn_config_dll rasapi16.dll16 enable_win16
18124 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18125 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18126 wine_fn_config_dll rasdlg enable_rasdlg implib
18127 wine_fn_config_dll regapi enable_regapi
18128 wine_fn_config_dll resutils enable_resutils implib
18129 wine_fn_config_dll riched20 enable_riched20 clean,implib
18130 wine_fn_config_test dlls/riched20/tests riched20_test
18131 wine_fn_config_dll riched32 enable_riched32
18132 wine_fn_config_test dlls/riched32/tests riched32_test
18133 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18134 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18135 wine_fn_config_dll rsabase enable_rsabase
18136 wine_fn_config_dll rsaenh enable_rsaenh implib
18137 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18138 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18139 wine_fn_config_dll rtutils enable_rtutils implib
18140 wine_fn_config_dll samlib enable_samlib
18141 wine_fn_config_dll sane.ds enable_sane_ds clean
18142 wine_fn_config_dll scarddlg enable_scarddlg
18143 wine_fn_config_dll sccbase enable_sccbase
18144 wine_fn_config_dll schannel enable_schannel
18145 wine_fn_config_test dlls/schannel/tests schannel_test
18146 wine_fn_config_dll schedsvc enable_schedsvc clean
18147 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18148 wine_fn_config_dll scrrun enable_scrrun clean
18149 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18150 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18151 wine_fn_config_dll secur32 enable_secur32 implib
18152 wine_fn_config_test dlls/secur32/tests secur32_test
18153 wine_fn_config_dll security enable_security
18154 wine_fn_config_dll sensapi enable_sensapi implib
18155 wine_fn_config_dll serialui enable_serialui clean
18156 wine_fn_config_test dlls/serialui/tests serialui_test
18157 wine_fn_config_dll setupapi enable_setupapi clean,implib
18158 wine_fn_config_test dlls/setupapi/tests setupapi_test
18159 wine_fn_config_dll setupx.dll16 enable_win16
18160 wine_fn_config_dll sfc enable_sfc implib
18161 wine_fn_config_dll sfc_os enable_sfc_os implib
18162 wine_fn_config_dll shdoclc enable_shdoclc clean
18163 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18164 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18165 wine_fn_config_dll shell.dll16 enable_win16
18166 wine_fn_config_dll shell32 enable_shell32 clean,implib
18167 wine_fn_config_test dlls/shell32/tests shell32_test
18168 wine_fn_config_dll shfolder enable_shfolder implib
18169 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18170 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18171 wine_fn_config_dll slbcsp enable_slbcsp
18172 wine_fn_config_dll slc enable_slc implib
18173 wine_fn_config_test dlls/slc/tests slc_test
18174 wine_fn_config_dll snmpapi enable_snmpapi implib
18175 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18176 wine_fn_config_dll softpub enable_softpub
18177 wine_fn_config_dll sound.drv16 enable_win16
18178 wine_fn_config_dll spoolss enable_spoolss implib
18179 wine_fn_config_test dlls/spoolss/tests spoolss_test
18180 wine_fn_config_dll sspicli enable_sspicli
18181 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18182 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18183 wine_fn_config_dll sti enable_sti clean,implib
18184 wine_fn_config_test dlls/sti/tests sti_test
18185 wine_fn_config_dll storage.dll16 enable_win16
18186 wine_fn_config_dll stress.dll16 enable_win16
18187 wine_fn_config_lib strmbase
18188 wine_fn_config_lib strmiids
18189 wine_fn_config_dll svrapi enable_svrapi
18190 wine_fn_config_dll sxs enable_sxs implib
18191 wine_fn_config_test dlls/sxs/tests sxs_test
18192 wine_fn_config_dll system.drv16 enable_win16
18193 wine_fn_config_dll t2embed enable_t2embed implib
18194 wine_fn_config_test dlls/t2embed/tests t2embed_test
18195 wine_fn_config_dll tapi32 enable_tapi32 implib
18196 wine_fn_config_dll taskschd enable_taskschd clean
18197 wine_fn_config_test dlls/taskschd/tests taskschd_test
18198 wine_fn_config_dll tdi.sys enable_tdi_sys
18199 wine_fn_config_dll toolhelp.dll16 enable_win16
18200 wine_fn_config_dll traffic enable_traffic
18201 wine_fn_config_dll twain.dll16 enable_win16
18202 wine_fn_config_dll twain_32 enable_twain_32
18203 wine_fn_config_test dlls/twain_32/tests twain_32_test
18204 wine_fn_config_dll typelib.dll16 enable_win16
18205 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18206 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18207 wine_fn_config_dll unicows enable_unicows implib
18208 wine_fn_config_dll updspapi enable_updspapi
18209 wine_fn_config_dll url enable_url implib
18210 wine_fn_config_dll urlmon enable_urlmon clean,implib
18211 wine_fn_config_test dlls/urlmon/tests urlmon_test
18212 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18213 wine_fn_config_dll user.exe16 enable_win16
18214 wine_fn_config_dll user32 enable_user32 clean,implib
18215 wine_fn_config_test dlls/user32/tests user32_test
18216 wine_fn_config_dll userenv enable_userenv implib
18217 wine_fn_config_test dlls/userenv/tests userenv_test
18218 wine_fn_config_dll usp10 enable_usp10 implib
18219 wine_fn_config_test dlls/usp10/tests usp10_test
18220 wine_fn_config_lib uuid
18221 wine_fn_config_dll uxtheme enable_uxtheme implib
18222 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18223 wine_fn_config_dll vbscript enable_vbscript clean
18224 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18225 wine_fn_config_dll vcomp enable_vcomp
18226 wine_fn_config_test dlls/vcomp/tests vcomp_test
18227 wine_fn_config_dll vcomp100 enable_vcomp100
18228 wine_fn_config_dll vcomp110 enable_vcomp110
18229 wine_fn_config_dll vcomp120 enable_vcomp120
18230 wine_fn_config_dll vcomp140 enable_vcomp140
18231 wine_fn_config_dll vcomp90 enable_vcomp90
18232 wine_fn_config_dll vcruntime140 enable_vcruntime140
18233 wine_fn_config_dll vdhcp.vxd enable_win16
18234 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18235 wine_fn_config_dll ver.dll16 enable_win16
18236 wine_fn_config_dll version enable_version implib
18237 wine_fn_config_test dlls/version/tests version_test
18238 wine_fn_config_dll vmm.vxd enable_win16
18239 wine_fn_config_dll vnbt.vxd enable_win16
18240 wine_fn_config_dll vnetbios.vxd enable_win16
18241 wine_fn_config_dll vssapi enable_vssapi
18242 wine_fn_config_dll vtdapi.vxd enable_win16
18243 wine_fn_config_dll vwin32.vxd enable_win16
18244 wine_fn_config_dll w32skrnl enable_win16
18245 wine_fn_config_dll w32sys.dll16 enable_win16
18246 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18247 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18248 wine_fn_config_dll wbemprox enable_wbemprox clean
18249 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18250 wine_fn_config_dll webservices enable_webservices implib
18251 wine_fn_config_test dlls/webservices/tests webservices_test
18252 wine_fn_config_dll wer enable_wer implib
18253 wine_fn_config_test dlls/wer/tests wer_test
18254 wine_fn_config_dll wevtapi enable_wevtapi
18255 wine_fn_config_dll wiaservc enable_wiaservc clean
18256 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18257 wine_fn_config_dll wimgapi enable_wimgapi
18258 wine_fn_config_dll win32s16.dll16 enable_win16
18259 wine_fn_config_dll win87em.dll16 enable_win16
18260 wine_fn_config_dll winaspi.dll16 enable_win16
18261 wine_fn_config_dll windebug.dll16 enable_win16
18262 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18263 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18264 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18265 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18266 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18267 wine_fn_config_dll winebus.sys enable_winebus_sys
18268 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18269 wine_fn_config_lib winecrt0
18270 wine_fn_config_dll wined3d enable_wined3d implib
18271 wine_fn_config_dll winegstreamer enable_winegstreamer
18272 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18273 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18274 wine_fn_config_dll winemapi enable_winemapi
18275 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18276 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18277 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18278 wine_fn_config_dll wineps16.drv16 enable_win16
18279 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18280 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18281 wine_fn_config_dll winex11.drv enable_winex11_drv
18282 wine_fn_config_dll wing.dll16 enable_win16
18283 wine_fn_config_dll wing32 enable_wing32
18284 wine_fn_config_dll winhttp enable_winhttp clean,implib
18285 wine_fn_config_test dlls/winhttp/tests winhttp_test
18286 wine_fn_config_dll wininet enable_wininet clean,implib
18287 wine_fn_config_test dlls/wininet/tests wininet_test
18288 wine_fn_config_dll winmm enable_winmm clean,implib
18289 wine_fn_config_test dlls/winmm/tests winmm_test
18290 wine_fn_config_dll winnls.dll16 enable_win16
18291 wine_fn_config_dll winnls32 enable_winnls32 implib
18292 wine_fn_config_dll winscard enable_winscard implib
18293 wine_fn_config_dll winsock.dll16 enable_win16
18294 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18295 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18296 wine_fn_config_dll winsta enable_winsta
18297 wine_fn_config_dll wintab.dll16 enable_win16
18298 wine_fn_config_dll wintab32 enable_wintab32 implib
18299 wine_fn_config_test dlls/wintab32/tests wintab32_test
18300 wine_fn_config_dll wintrust enable_wintrust implib
18301 wine_fn_config_test dlls/wintrust/tests wintrust_test
18302 wine_fn_config_dll wlanapi enable_wlanapi
18303 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18304 wine_fn_config_test dlls/wldap32/tests wldap32_test
18305 wine_fn_config_dll wmasf enable_wmasf
18306 wine_fn_config_dll wmi enable_wmi
18307 wine_fn_config_dll wmiutils enable_wmiutils clean
18308 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18309 wine_fn_config_dll wmp enable_wmp clean
18310 wine_fn_config_test dlls/wmp/tests wmp_test
18311 wine_fn_config_dll wmvcore enable_wmvcore
18312 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18313 wine_fn_config_dll wow32 enable_win16 implib
18314 wine_fn_config_dll wpc enable_wpc clean
18315 wine_fn_config_test dlls/wpc/tests wpc_test
18316 wine_fn_config_dll wpcap enable_wpcap
18317 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18318 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18319 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18320 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18321 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18322 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18323 wine_fn_config_dll wsock32 enable_wsock32 implib
18324 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18325 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18326 wine_fn_config_dll wuapi enable_wuapi clean
18327 wine_fn_config_dll wuaueng enable_wuaueng
18328 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18329 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18330 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18331 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18332 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18333 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18334 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18335 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18336 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18337 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18338 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18339 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18340 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18341 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18342 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18343 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18344 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18345 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18346 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18347 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18348 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18349 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18350 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18351 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18352 wine_fn_config_dll xinput1_1 enable_xinput1_1
18353 wine_fn_config_dll xinput1_2 enable_xinput1_2
18354 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18355 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18356 wine_fn_config_dll xinput1_4 enable_xinput1_4
18357 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18358 wine_fn_config_dll xmllite enable_xmllite implib
18359 wine_fn_config_test dlls/xmllite/tests xmllite_test
18360 wine_fn_config_dll xolehlp enable_xolehlp
18361 wine_fn_config_dll xpsprint enable_xpsprint
18362 wine_fn_config_dll xpssvcs enable_xpssvcs
18363 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18364 wine_fn_config_makefile include enable_include clean,install-dev
18365 wine_fn_config_makefile libs/port enable_libs_port
18366 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18367 wine_fn_config_makefile libs/wpp enable_libs_wpp
18368 wine_fn_config_makefile loader enable_loader clean,install-lib
18369 wine_fn_config_makefile po enable_po clean
18370 wine_fn_config_program arp enable_arp install
18371 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18372 wine_fn_config_program attrib enable_attrib clean,install
18373 wine_fn_config_program cabarc enable_cabarc install
18374 wine_fn_config_program cacls enable_cacls install
18375 wine_fn_config_program clock enable_clock clean,install
18376 wine_fn_config_program cmd enable_cmd clean,install
18377 wine_fn_config_test programs/cmd/tests cmd.exe_test
18378 wine_fn_config_program conhost enable_conhost install
18379 wine_fn_config_program control enable_control install
18380 wine_fn_config_program cscript enable_cscript clean,install
18381 wine_fn_config_program dpnsvr enable_dpnsvr install
18382 wine_fn_config_program dxdiag enable_dxdiag clean,install
18383 wine_fn_config_program eject enable_eject install
18384 wine_fn_config_program expand enable_expand install
18385 wine_fn_config_program explorer enable_explorer clean,install
18386 wine_fn_config_program extrac32 enable_extrac32 install
18387 wine_fn_config_program findstr enable_findstr install
18388 wine_fn_config_program fsutil enable_fsutil install
18389 wine_fn_config_program hh enable_hh install
18390 wine_fn_config_program hostname enable_hostname clean,install
18391 wine_fn_config_program icacls enable_icacls install
18392 wine_fn_config_program icinfo enable_icinfo install
18393 wine_fn_config_program iexplore enable_iexplore install
18394 wine_fn_config_program ipconfig enable_ipconfig clean,install
18395 wine_fn_config_program lodctr enable_lodctr install
18396 wine_fn_config_program mofcomp enable_mofcomp install
18397 wine_fn_config_program mshta enable_mshta install
18398 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18399 wine_fn_config_program net enable_net clean,install
18400 wine_fn_config_program netsh enable_netsh install
18401 wine_fn_config_program netstat enable_netstat clean,install
18402 wine_fn_config_program ngen enable_ngen install
18403 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18404 wine_fn_config_program oleview enable_oleview clean,install
18405 wine_fn_config_program ping enable_ping install
18406 wine_fn_config_program plugplay enable_plugplay install
18407 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18408 wine_fn_config_program progman enable_progman clean,install
18409 wine_fn_config_program reg enable_reg clean,install
18410 wine_fn_config_test programs/reg/tests reg.exe_test
18411 wine_fn_config_program regasm enable_regasm install
18412 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18413 wine_fn_config_test programs/regedit/tests regedit.exe_test
18414 wine_fn_config_program regsvcs enable_regsvcs install
18415 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18416 wine_fn_config_program rpcss enable_rpcss clean,install
18417 wine_fn_config_program rundll.exe16 enable_win16 install
18418 wine_fn_config_program rundll32 enable_rundll32 install
18419 wine_fn_config_program sc enable_sc install
18420 wine_fn_config_program schtasks enable_schtasks install
18421 wine_fn_config_program sdbinst enable_sdbinst install
18422 wine_fn_config_program secedit enable_secedit install
18423 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18424 wine_fn_config_program services enable_services clean,install
18425 wine_fn_config_test programs/services/tests services.exe_test
18426 wine_fn_config_program shutdown enable_shutdown install
18427 wine_fn_config_program spoolsv enable_spoolsv install
18428 wine_fn_config_program start enable_start clean,install
18429 wine_fn_config_program svchost enable_svchost install
18430 wine_fn_config_program systeminfo enable_systeminfo install
18431 wine_fn_config_program taskkill enable_taskkill clean,install
18432 wine_fn_config_program tasklist enable_tasklist install
18433 wine_fn_config_program taskmgr enable_taskmgr clean,install
18434 wine_fn_config_program termsv enable_termsv install
18435 wine_fn_config_program uninstaller enable_uninstaller clean,install
18436 wine_fn_config_program unlodctr enable_unlodctr install
18437 wine_fn_config_program view enable_view clean,install
18438 wine_fn_config_program wevtutil enable_wevtutil install
18439 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18440 wine_fn_config_program winebrowser enable_winebrowser install
18441 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18442 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18443 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18444 wine_fn_config_program winedevice enable_winedevice install
18445 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18446 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18447 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18448 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18449 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18450 wine_fn_config_program winetest enable_winetest clean
18451 wine_fn_config_program winevdm enable_win16 install
18452 wine_fn_config_program winhelp.exe16 enable_win16 install
18453 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18454 wine_fn_config_program winoldap.mod16 enable_win16 install
18455 wine_fn_config_program winver enable_winver install
18456 wine_fn_config_program wmic enable_wmic clean,install
18457 wine_fn_config_program wmplayer enable_wmplayer install
18458 wine_fn_config_program wordpad enable_wordpad clean,install
18459 wine_fn_config_program write enable_write clean,install
18460 wine_fn_config_program wscript enable_wscript clean,install
18461 wine_fn_config_test programs/wscript/tests wscript.exe_test
18462 wine_fn_config_program wusa enable_wusa install
18463 wine_fn_config_program xcopy enable_xcopy clean,install
18464 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18465 wine_fn_config_makefile server enable_server clean,install-lib
18466 wine_fn_config_tool tools clean
18467 wine_fn_config_tool tools/sfnt2fon clean
18468 wine_fn_config_tool tools/widl clean,install-dev
18469 wine_fn_config_tool tools/winebuild clean,install-dev
18470 wine_fn_config_tool tools/winedump clean,install-dev
18471 wine_fn_config_tool tools/winegcc clean,install-dev
18472 wine_fn_config_tool tools/winemaker clean,install-dev
18473 wine_fn_config_tool tools/wmc clean,install-dev
18474 wine_fn_config_tool tools/wrc clean,install-dev
18477 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18478 wine_fn_append_file CONFIGURE_TARGETS "tags"
18479 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18480 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18481 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18482 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18483 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18484 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18486 if test "x$enable_tools" != xno
18487 then
18488 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18489 ac_config_commands="$ac_config_commands tools/makedep"
18493 ac_config_commands="$ac_config_commands Makefile"
18496 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18500 if test "x$enable_maintainer_mode" = xyes
18501 then
18502 wine_fn_append_rule "configure: configure.ac aclocal.m4
18503 autoconf --warnings=all
18504 include/config.h.in: include/stamp-h.in
18505 include/stamp-h.in: configure.ac aclocal.m4
18506 autoheader --warnings=all
18507 @echo timestamp > \$@"
18510 if test "x$enable_tools" != xno
18511 then
18512 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18513 @./config.status tools/makedep
18514 Makefile: tools/makedep$ac_exeext"
18515 else
18516 wine_fn_append_rule "\$(MAKEDEP):
18517 @echo \"You need to run make in $TOOLSDIR first\" && false"
18520 if test -n "$with_wine64"
18521 then
18522 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18523 fonts server:
18524 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18525 $with_wine64/loader/wine:
18526 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18527 $with_wine64/loader/wine-preloader:
18528 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18529 clean::
18530 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18531 else
18532 WINELOADER_INSTALL="wine.inf"
18534 wine_fn_append_rule "install install-lib::
18535 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18536 uninstall::
18537 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18538 case $host_os in
18539 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18540 *) wine_fn_append_rule "install install-lib::
18541 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18542 uninstall::
18543 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18544 esac
18547 $as_echo " done" >&6
18548 cat >confcache <<\_ACEOF
18549 # This file is a shell script that caches the results of configure
18550 # tests run on this system so they can be shared between configure
18551 # scripts and configure runs, see configure's option --config-cache.
18552 # It is not useful on other systems. If it contains results you don't
18553 # want to keep, you may remove or edit it.
18555 # config.status only pays attention to the cache file if you give it
18556 # the --recheck option to rerun configure.
18558 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18559 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18560 # following values.
18562 _ACEOF
18564 # The following way of writing the cache mishandles newlines in values,
18565 # but we know of no workaround that is simple, portable, and efficient.
18566 # So, we kill variables containing newlines.
18567 # Ultrix sh set writes to stderr and can't be redirected directly,
18568 # and sets the high bit in the cache file unless we assign to the vars.
18570 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18571 eval ac_val=\$$ac_var
18572 case $ac_val in #(
18573 *${as_nl}*)
18574 case $ac_var in #(
18575 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18576 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18577 esac
18578 case $ac_var in #(
18579 _ | IFS | as_nl) ;; #(
18580 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18581 *) { eval $ac_var=; unset $ac_var;} ;;
18582 esac ;;
18583 esac
18584 done
18586 (set) 2>&1 |
18587 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18588 *${as_nl}ac_space=\ *)
18589 # `set' does not quote correctly, so add quotes: double-quote
18590 # substitution turns \\\\ into \\, and sed turns \\ into \.
18591 sed -n \
18592 "s/'/'\\\\''/g;
18593 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18594 ;; #(
18596 # `set' quotes correctly as required by POSIX, so do not add quotes.
18597 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18599 esac |
18600 sort
18602 sed '
18603 /^ac_cv_env_/b end
18604 t clear
18605 :clear
18606 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18607 t end
18608 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18609 :end' >>confcache
18610 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18611 if test -w "$cache_file"; then
18612 if test "x$cache_file" != "x/dev/null"; then
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18614 $as_echo "$as_me: updating cache $cache_file" >&6;}
18615 if test ! -f "$cache_file" || test -h "$cache_file"; then
18616 cat confcache >"$cache_file"
18617 else
18618 case $cache_file in #(
18619 */* | ?:*)
18620 mv -f confcache "$cache_file"$$ &&
18621 mv -f "$cache_file"$$ "$cache_file" ;; #(
18623 mv -f confcache "$cache_file" ;;
18624 esac
18627 else
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18629 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18632 rm -f confcache
18634 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18635 # Let make expand exec_prefix.
18636 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18638 DEFS=-DHAVE_CONFIG_H
18640 ac_libobjs=
18641 ac_ltlibobjs=
18643 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18644 # 1. Remove the extension, and $U if already installed.
18645 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18646 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18647 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18648 # will be set to the directory where LIBOBJS objects are built.
18649 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18650 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18651 done
18652 LIBOBJS=$ac_libobjs
18654 LTLIBOBJS=$ac_ltlibobjs
18658 : "${CONFIG_STATUS=./config.status}"
18659 ac_write_fail=0
18660 ac_clean_files_save=$ac_clean_files
18661 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18663 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18664 as_write_fail=0
18665 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18666 #! $SHELL
18667 # Generated by $as_me.
18668 # Run this file to recreate the current configuration.
18669 # Compiler output produced by configure, useful for debugging
18670 # configure, is in config.log if it exists.
18672 debug=false
18673 ac_cs_recheck=false
18674 ac_cs_silent=false
18676 SHELL=\${CONFIG_SHELL-$SHELL}
18677 export SHELL
18678 _ASEOF
18679 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18680 ## -------------------- ##
18681 ## M4sh Initialization. ##
18682 ## -------------------- ##
18684 # Be more Bourne compatible
18685 DUALCASE=1; export DUALCASE # for MKS sh
18686 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18687 emulate sh
18688 NULLCMD=:
18689 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18690 # is contrary to our usage. Disable this feature.
18691 alias -g '${1+"$@"}'='"$@"'
18692 setopt NO_GLOB_SUBST
18693 else
18694 case `(set -o) 2>/dev/null` in #(
18695 *posix*) :
18696 set -o posix ;; #(
18697 *) :
18699 esac
18703 as_nl='
18705 export as_nl
18706 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18707 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18708 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18709 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18710 # Prefer a ksh shell builtin over an external printf program on Solaris,
18711 # but without wasting forks for bash or zsh.
18712 if test -z "$BASH_VERSION$ZSH_VERSION" \
18713 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18714 as_echo='print -r --'
18715 as_echo_n='print -rn --'
18716 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18717 as_echo='printf %s\n'
18718 as_echo_n='printf %s'
18719 else
18720 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18721 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18722 as_echo_n='/usr/ucb/echo -n'
18723 else
18724 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18725 as_echo_n_body='eval
18726 arg=$1;
18727 case $arg in #(
18728 *"$as_nl"*)
18729 expr "X$arg" : "X\\(.*\\)$as_nl";
18730 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18731 esac;
18732 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18734 export as_echo_n_body
18735 as_echo_n='sh -c $as_echo_n_body as_echo'
18737 export as_echo_body
18738 as_echo='sh -c $as_echo_body as_echo'
18741 # The user is always right.
18742 if test "${PATH_SEPARATOR+set}" != set; then
18743 PATH_SEPARATOR=:
18744 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18745 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18746 PATH_SEPARATOR=';'
18751 # IFS
18752 # We need space, tab and new line, in precisely that order. Quoting is
18753 # there to prevent editors from complaining about space-tab.
18754 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18755 # splitting by setting IFS to empty value.)
18756 IFS=" "" $as_nl"
18758 # Find who we are. Look in the path if we contain no directory separator.
18759 as_myself=
18760 case $0 in #((
18761 *[\\/]* ) as_myself=$0 ;;
18762 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18763 for as_dir in $PATH
18765 IFS=$as_save_IFS
18766 test -z "$as_dir" && as_dir=.
18767 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18768 done
18769 IFS=$as_save_IFS
18772 esac
18773 # We did not find ourselves, most probably we were run as `sh COMMAND'
18774 # in which case we are not to be found in the path.
18775 if test "x$as_myself" = x; then
18776 as_myself=$0
18778 if test ! -f "$as_myself"; then
18779 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18780 exit 1
18783 # Unset variables that we do not need and which cause bugs (e.g. in
18784 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18785 # suppresses any "Segmentation fault" message there. '((' could
18786 # trigger a bug in pdksh 5.2.14.
18787 for as_var in BASH_ENV ENV MAIL MAILPATH
18788 do eval test x\${$as_var+set} = xset \
18789 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18790 done
18791 PS1='$ '
18792 PS2='> '
18793 PS4='+ '
18795 # NLS nuisances.
18796 LC_ALL=C
18797 export LC_ALL
18798 LANGUAGE=C
18799 export LANGUAGE
18801 # CDPATH.
18802 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18805 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18806 # ----------------------------------------
18807 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18808 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18809 # script with STATUS, using 1 if that was 0.
18810 as_fn_error ()
18812 as_status=$1; test $as_status -eq 0 && as_status=1
18813 if test "$4"; then
18814 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18815 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18817 $as_echo "$as_me: error: $2" >&2
18818 as_fn_exit $as_status
18819 } # as_fn_error
18822 # as_fn_set_status STATUS
18823 # -----------------------
18824 # Set $? to STATUS, without forking.
18825 as_fn_set_status ()
18827 return $1
18828 } # as_fn_set_status
18830 # as_fn_exit STATUS
18831 # -----------------
18832 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18833 as_fn_exit ()
18835 set +e
18836 as_fn_set_status $1
18837 exit $1
18838 } # as_fn_exit
18840 # as_fn_unset VAR
18841 # ---------------
18842 # Portably unset VAR.
18843 as_fn_unset ()
18845 { eval $1=; unset $1;}
18847 as_unset=as_fn_unset
18848 # as_fn_append VAR VALUE
18849 # ----------------------
18850 # Append the text in VALUE to the end of the definition contained in VAR. Take
18851 # advantage of any shell optimizations that allow amortized linear growth over
18852 # repeated appends, instead of the typical quadratic growth present in naive
18853 # implementations.
18854 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18855 eval 'as_fn_append ()
18857 eval $1+=\$2
18859 else
18860 as_fn_append ()
18862 eval $1=\$$1\$2
18864 fi # as_fn_append
18866 # as_fn_arith ARG...
18867 # ------------------
18868 # Perform arithmetic evaluation on the ARGs, and store the result in the
18869 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18870 # must be portable across $(()) and expr.
18871 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18872 eval 'as_fn_arith ()
18874 as_val=$(( $* ))
18876 else
18877 as_fn_arith ()
18879 as_val=`expr "$@" || test $? -eq 1`
18881 fi # as_fn_arith
18884 if expr a : '\(a\)' >/dev/null 2>&1 &&
18885 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18886 as_expr=expr
18887 else
18888 as_expr=false
18891 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18892 as_basename=basename
18893 else
18894 as_basename=false
18897 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18898 as_dirname=dirname
18899 else
18900 as_dirname=false
18903 as_me=`$as_basename -- "$0" ||
18904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18905 X"$0" : 'X\(//\)$' \| \
18906 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18907 $as_echo X/"$0" |
18908 sed '/^.*\/\([^/][^/]*\)\/*$/{
18909 s//\1/
18912 /^X\/\(\/\/\)$/{
18913 s//\1/
18916 /^X\/\(\/\).*/{
18917 s//\1/
18920 s/.*/./; q'`
18922 # Avoid depending upon Character Ranges.
18923 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18924 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18925 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18926 as_cr_digits='0123456789'
18927 as_cr_alnum=$as_cr_Letters$as_cr_digits
18929 ECHO_C= ECHO_N= ECHO_T=
18930 case `echo -n x` in #(((((
18931 -n*)
18932 case `echo 'xy\c'` in
18933 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18934 xy) ECHO_C='\c';;
18935 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18936 ECHO_T=' ';;
18937 esac;;
18939 ECHO_N='-n';;
18940 esac
18942 rm -f conf$$ conf$$.exe conf$$.file
18943 if test -d conf$$.dir; then
18944 rm -f conf$$.dir/conf$$.file
18945 else
18946 rm -f conf$$.dir
18947 mkdir conf$$.dir 2>/dev/null
18949 if (echo >conf$$.file) 2>/dev/null; then
18950 if ln -s conf$$.file conf$$ 2>/dev/null; then
18951 as_ln_s='ln -s'
18952 # ... but there are two gotchas:
18953 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18954 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18955 # In both cases, we have to default to `cp -pR'.
18956 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18957 as_ln_s='cp -pR'
18958 elif ln conf$$.file conf$$ 2>/dev/null; then
18959 as_ln_s=ln
18960 else
18961 as_ln_s='cp -pR'
18963 else
18964 as_ln_s='cp -pR'
18966 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18967 rmdir conf$$.dir 2>/dev/null
18970 # as_fn_mkdir_p
18971 # -------------
18972 # Create "$as_dir" as a directory, including parents if necessary.
18973 as_fn_mkdir_p ()
18976 case $as_dir in #(
18977 -*) as_dir=./$as_dir;;
18978 esac
18979 test -d "$as_dir" || eval $as_mkdir_p || {
18980 as_dirs=
18981 while :; do
18982 case $as_dir in #(
18983 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18984 *) as_qdir=$as_dir;;
18985 esac
18986 as_dirs="'$as_qdir' $as_dirs"
18987 as_dir=`$as_dirname -- "$as_dir" ||
18988 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18989 X"$as_dir" : 'X\(//\)[^/]' \| \
18990 X"$as_dir" : 'X\(//\)$' \| \
18991 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18992 $as_echo X"$as_dir" |
18993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18994 s//\1/
18997 /^X\(\/\/\)[^/].*/{
18998 s//\1/
19001 /^X\(\/\/\)$/{
19002 s//\1/
19005 /^X\(\/\).*/{
19006 s//\1/
19009 s/.*/./; q'`
19010 test -d "$as_dir" && break
19011 done
19012 test -z "$as_dirs" || eval "mkdir $as_dirs"
19013 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19016 } # as_fn_mkdir_p
19017 if mkdir -p . 2>/dev/null; then
19018 as_mkdir_p='mkdir -p "$as_dir"'
19019 else
19020 test -d ./-p && rmdir ./-p
19021 as_mkdir_p=false
19025 # as_fn_executable_p FILE
19026 # -----------------------
19027 # Test if FILE is an executable regular file.
19028 as_fn_executable_p ()
19030 test -f "$1" && test -x "$1"
19031 } # as_fn_executable_p
19032 as_test_x='test -x'
19033 as_executable_p=as_fn_executable_p
19035 # Sed expression to map a string onto a valid CPP name.
19036 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19038 # Sed expression to map a string onto a valid variable name.
19039 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19042 exec 6>&1
19043 ## ----------------------------------- ##
19044 ## Main body of $CONFIG_STATUS script. ##
19045 ## ----------------------------------- ##
19046 _ASEOF
19047 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19050 # Save the log message, to keep $0 and so on meaningful, and to
19051 # report actual input values of CONFIG_FILES etc. instead of their
19052 # values after options handling.
19053 ac_log="
19054 This file was extended by Wine $as_me 1.9.18, which was
19055 generated by GNU Autoconf 2.69. Invocation command line was
19057 CONFIG_FILES = $CONFIG_FILES
19058 CONFIG_HEADERS = $CONFIG_HEADERS
19059 CONFIG_LINKS = $CONFIG_LINKS
19060 CONFIG_COMMANDS = $CONFIG_COMMANDS
19061 $ $0 $@
19063 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19066 _ACEOF
19068 case $ac_config_files in *"
19069 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19070 esac
19072 case $ac_config_headers in *"
19073 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19074 esac
19077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19078 # Files that config.status was made for.
19079 config_files="$ac_config_files"
19080 config_headers="$ac_config_headers"
19081 config_links="$ac_config_links"
19082 config_commands="$ac_config_commands"
19084 _ACEOF
19086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19087 ac_cs_usage="\
19088 \`$as_me' instantiates files and other configuration actions
19089 from templates according to the current configuration. Unless the files
19090 and actions are specified as TAGs, all are instantiated by default.
19092 Usage: $0 [OPTION]... [TAG]...
19094 -h, --help print this help, then exit
19095 -V, --version print version number and configuration settings, then exit
19096 --config print configuration, then exit
19097 -q, --quiet, --silent
19098 do not print progress messages
19099 -d, --debug don't remove temporary files
19100 --recheck update $as_me by reconfiguring in the same conditions
19101 --file=FILE[:TEMPLATE]
19102 instantiate the configuration file FILE
19103 --header=FILE[:TEMPLATE]
19104 instantiate the configuration header FILE
19106 Configuration files:
19107 $config_files
19109 Configuration headers:
19110 $config_headers
19112 Configuration links:
19113 $config_links
19115 Configuration commands:
19116 $config_commands
19118 Report bugs to <wine-devel@winehq.org>.
19119 Wine home page: <http://www.winehq.org>."
19121 _ACEOF
19122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19124 ac_cs_version="\\
19125 Wine config.status 1.9.18
19126 configured by $0, generated by GNU Autoconf 2.69,
19127 with options \\"\$ac_cs_config\\"
19129 Copyright (C) 2012 Free Software Foundation, Inc.
19130 This config.status script is free software; the Free Software Foundation
19131 gives unlimited permission to copy, distribute and modify it."
19133 ac_pwd='$ac_pwd'
19134 srcdir='$srcdir'
19135 test -n "\$AWK" || AWK=awk
19136 _ACEOF
19138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19139 # The default lists apply if the user does not specify any file.
19140 ac_need_defaults=:
19141 while test $# != 0
19143 case $1 in
19144 --*=?*)
19145 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19146 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19147 ac_shift=:
19149 --*=)
19150 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19151 ac_optarg=
19152 ac_shift=:
19155 ac_option=$1
19156 ac_optarg=$2
19157 ac_shift=shift
19159 esac
19161 case $ac_option in
19162 # Handling of the options.
19163 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19164 ac_cs_recheck=: ;;
19165 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19166 $as_echo "$ac_cs_version"; exit ;;
19167 --config | --confi | --conf | --con | --co | --c )
19168 $as_echo "$ac_cs_config"; exit ;;
19169 --debug | --debu | --deb | --de | --d | -d )
19170 debug=: ;;
19171 --file | --fil | --fi | --f )
19172 $ac_shift
19173 case $ac_optarg in
19174 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19175 '') as_fn_error $? "missing file argument" ;;
19176 esac
19177 as_fn_append CONFIG_FILES " '$ac_optarg'"
19178 ac_need_defaults=false;;
19179 --header | --heade | --head | --hea )
19180 $ac_shift
19181 case $ac_optarg in
19182 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19183 esac
19184 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19185 ac_need_defaults=false;;
19186 --he | --h)
19187 # Conflict between --help and --header
19188 as_fn_error $? "ambiguous option: \`$1'
19189 Try \`$0 --help' for more information.";;
19190 --help | --hel | -h )
19191 $as_echo "$ac_cs_usage"; exit ;;
19192 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19193 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19194 ac_cs_silent=: ;;
19196 # This is an error.
19197 -*) as_fn_error $? "unrecognized option: \`$1'
19198 Try \`$0 --help' for more information." ;;
19200 *) as_fn_append ac_config_targets " $1"
19201 ac_need_defaults=false ;;
19203 esac
19204 shift
19205 done
19207 ac_configure_extra_args=
19209 if $ac_cs_silent; then
19210 exec 6>/dev/null
19211 ac_configure_extra_args="$ac_configure_extra_args --silent"
19214 _ACEOF
19215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19216 if \$ac_cs_recheck; then
19217 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19218 shift
19219 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19220 CONFIG_SHELL='$SHELL'
19221 export CONFIG_SHELL
19222 exec "\$@"
19225 _ACEOF
19226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19227 exec 5>>config.log
19229 echo
19230 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19231 ## Running $as_me. ##
19232 _ASBOX
19233 $as_echo "$ac_log"
19234 } >&5
19236 _ACEOF
19237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19239 # INIT-COMMANDS
19241 wine_fn_output_makedep ()
19243 as_dir=tools; as_fn_mkdir_p
19244 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19246 wine_fn_output_makefile ()
19248 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19249 `cat $wine_rules_file`
19250 _WINE_EOF
19251 as_fn_error $? "could not create Makefile" "$LINENO" 5
19254 _ACEOF
19256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19258 # Handling of arguments.
19259 for ac_config_target in $ac_config_targets
19261 case $ac_config_target in
19262 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19263 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19264 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19265 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19266 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19267 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19268 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19269 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19270 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19271 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19272 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19273 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19274 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19276 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19277 esac
19278 done
19281 # If the user did not use the arguments to specify the items to instantiate,
19282 # then the envvar interface is used. Set only those that are not.
19283 # We use the long form for the default assignment because of an extremely
19284 # bizarre bug on SunOS 4.1.3.
19285 if $ac_need_defaults; then
19286 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19287 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19288 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19289 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19292 # Have a temporary directory for convenience. Make it in the build tree
19293 # simply because there is no reason against having it here, and in addition,
19294 # creating and moving files from /tmp can sometimes cause problems.
19295 # Hook for its removal unless debugging.
19296 # Note that there is a small window in which the directory will not be cleaned:
19297 # after its creation but before its name has been assigned to `$tmp'.
19298 $debug ||
19300 tmp= ac_tmp=
19301 trap 'exit_status=$?
19302 : "${ac_tmp:=$tmp}"
19303 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19305 trap 'as_fn_exit 1' 1 2 13 15
19307 # Create a (secure) tmp directory for tmp files.
19310 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19311 test -d "$tmp"
19312 } ||
19314 tmp=./conf$$-$RANDOM
19315 (umask 077 && mkdir "$tmp")
19316 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19317 ac_tmp=$tmp
19319 # Set up the scripts for CONFIG_FILES section.
19320 # No need to generate them if there are no CONFIG_FILES.
19321 # This happens for instance with `./config.status config.h'.
19322 if test -n "$CONFIG_FILES"; then
19325 ac_cr=`echo X | tr X '\015'`
19326 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19327 # But we know of no other shell where ac_cr would be empty at this
19328 # point, so we can use a bashism as a fallback.
19329 if test "x$ac_cr" = x; then
19330 eval ac_cr=\$\'\\r\'
19332 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19333 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19334 ac_cs_awk_cr='\\r'
19335 else
19336 ac_cs_awk_cr=$ac_cr
19339 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19340 _ACEOF
19344 echo "cat >conf$$subs.awk <<_ACEOF" &&
19345 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19346 echo "_ACEOF"
19347 } >conf$$subs.sh ||
19348 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19349 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19350 ac_delim='%!_!# '
19351 for ac_last_try in false false false false false :; do
19352 . ./conf$$subs.sh ||
19353 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19355 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19356 if test $ac_delim_n = $ac_delim_num; then
19357 break
19358 elif $ac_last_try; then
19359 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19360 else
19361 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19363 done
19364 rm -f conf$$subs.sh
19366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19367 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19368 _ACEOF
19369 sed -n '
19371 s/^/S["/; s/!.*/"]=/
19374 s/^[^!]*!//
19375 :repl
19376 t repl
19377 s/'"$ac_delim"'$//
19378 t delim
19381 s/\(.\{148\}\)..*/\1/
19382 t more1
19383 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19386 b repl
19387 :more1
19388 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19391 s/.\{148\}//
19392 t nl
19393 :delim
19395 s/\(.\{148\}\)..*/\1/
19396 t more2
19397 s/["\\]/\\&/g; s/^/"/; s/$/"/
19400 :more2
19401 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19404 s/.\{148\}//
19405 t delim
19406 ' <conf$$subs.awk | sed '
19407 /^[^""]/{
19409 s/\n//
19411 ' >>$CONFIG_STATUS || ac_write_fail=1
19412 rm -f conf$$subs.awk
19413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19414 _ACAWK
19415 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19416 for (key in S) S_is_set[key] = 1
19417 FS = "\a"
19421 line = $ 0
19422 nfields = split(line, field, "@")
19423 substed = 0
19424 len = length(field[1])
19425 for (i = 2; i < nfields; i++) {
19426 key = field[i]
19427 keylen = length(key)
19428 if (S_is_set[key]) {
19429 value = S[key]
19430 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19431 len += length(value) + length(field[++i])
19432 substed = 1
19433 } else
19434 len += 1 + keylen
19437 print line
19440 _ACAWK
19441 _ACEOF
19442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19443 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19444 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19445 else
19447 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19448 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19449 _ACEOF
19451 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19452 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19453 # trailing colons and then remove the whole line if VPATH becomes empty
19454 # (actually we leave an empty line to preserve line numbers).
19455 if test "x$srcdir" = x.; then
19456 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19458 s///
19459 s/^/:/
19460 s/[ ]*$/:/
19461 s/:\$(srcdir):/:/g
19462 s/:\${srcdir}:/:/g
19463 s/:@srcdir@:/:/g
19464 s/^:*//
19465 s/:*$//
19467 s/\(=[ ]*\).*/\1/
19469 s/\n//
19470 s/^[^=]*=[ ]*$//
19474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19475 fi # test -n "$CONFIG_FILES"
19477 # Set up the scripts for CONFIG_HEADERS section.
19478 # No need to generate them if there are no CONFIG_HEADERS.
19479 # This happens for instance with `./config.status Makefile'.
19480 if test -n "$CONFIG_HEADERS"; then
19481 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19482 BEGIN {
19483 _ACEOF
19485 # Transform confdefs.h into an awk script `defines.awk', embedded as
19486 # here-document in config.status, that substitutes the proper values into
19487 # config.h.in to produce config.h.
19489 # Create a delimiter string that does not exist in confdefs.h, to ease
19490 # handling of long lines.
19491 ac_delim='%!_!# '
19492 for ac_last_try in false false :; do
19493 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19494 if test -z "$ac_tt"; then
19495 break
19496 elif $ac_last_try; then
19497 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19498 else
19499 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19501 done
19503 # For the awk script, D is an array of macro values keyed by name,
19504 # likewise P contains macro parameters if any. Preserve backslash
19505 # newline sequences.
19507 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19508 sed -n '
19509 s/.\{148\}/&'"$ac_delim"'/g
19510 t rset
19511 :rset
19512 s/^[ ]*#[ ]*define[ ][ ]*/ /
19513 t def
19515 :def
19516 s/\\$//
19517 t bsnl
19518 s/["\\]/\\&/g
19519 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19520 D["\1"]=" \3"/p
19521 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19523 :bsnl
19524 s/["\\]/\\&/g
19525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19526 D["\1"]=" \3\\\\\\n"\\/p
19527 t cont
19528 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19529 t cont
19531 :cont
19533 s/.\{148\}/&'"$ac_delim"'/g
19534 t clear
19535 :clear
19536 s/\\$//
19537 t bsnlc
19538 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19540 :bsnlc
19541 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19542 b cont
19543 ' <confdefs.h | sed '
19544 s/'"$ac_delim"'/"\\\
19545 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19548 for (key in D) D_is_set[key] = 1
19549 FS = "\a"
19551 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19552 line = \$ 0
19553 split(line, arg, " ")
19554 if (arg[1] == "#") {
19555 defundef = arg[2]
19556 mac1 = arg[3]
19557 } else {
19558 defundef = substr(arg[1], 2)
19559 mac1 = arg[2]
19561 split(mac1, mac2, "(") #)
19562 macro = mac2[1]
19563 prefix = substr(line, 1, index(line, defundef) - 1)
19564 if (D_is_set[macro]) {
19565 # Preserve the white space surrounding the "#".
19566 print prefix "define", macro P[macro] D[macro]
19567 next
19568 } else {
19569 # Replace #undef with comments. This is necessary, for example,
19570 # in the case of _POSIX_SOURCE, which is predefined and required
19571 # on some systems where configure will not decide to define it.
19572 if (defundef == "undef") {
19573 print "/*", prefix defundef, macro, "*/"
19574 next
19578 { print }
19579 _ACAWK
19580 _ACEOF
19581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19582 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19583 fi # test -n "$CONFIG_HEADERS"
19586 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19587 shift
19588 for ac_tag
19590 case $ac_tag in
19591 :[FHLC]) ac_mode=$ac_tag; continue;;
19592 esac
19593 case $ac_mode$ac_tag in
19594 :[FHL]*:*);;
19595 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19596 :[FH]-) ac_tag=-:-;;
19597 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19598 esac
19599 ac_save_IFS=$IFS
19600 IFS=:
19601 set x $ac_tag
19602 IFS=$ac_save_IFS
19603 shift
19604 ac_file=$1
19605 shift
19607 case $ac_mode in
19608 :L) ac_source=$1;;
19609 :[FH])
19610 ac_file_inputs=
19611 for ac_f
19613 case $ac_f in
19614 -) ac_f="$ac_tmp/stdin";;
19615 *) # Look for the file first in the build tree, then in the source tree
19616 # (if the path is not absolute). The absolute path cannot be DOS-style,
19617 # because $ac_f cannot contain `:'.
19618 test -f "$ac_f" ||
19619 case $ac_f in
19620 [\\/$]*) false;;
19621 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19622 esac ||
19623 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19624 esac
19625 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19626 as_fn_append ac_file_inputs " '$ac_f'"
19627 done
19629 # Let's still pretend it is `configure' which instantiates (i.e., don't
19630 # use $as_me), people would be surprised to read:
19631 # /* config.h. Generated by config.status. */
19632 configure_input='Generated from '`
19633 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19634 `' by configure.'
19635 if test x"$ac_file" != x-; then
19636 configure_input="$ac_file. $configure_input"
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19638 $as_echo "$as_me: creating $ac_file" >&6;}
19640 # Neutralize special characters interpreted by sed in replacement strings.
19641 case $configure_input in #(
19642 *\&* | *\|* | *\\* )
19643 ac_sed_conf_input=`$as_echo "$configure_input" |
19644 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19645 *) ac_sed_conf_input=$configure_input;;
19646 esac
19648 case $ac_tag in
19649 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19650 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19651 esac
19653 esac
19655 ac_dir=`$as_dirname -- "$ac_file" ||
19656 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19657 X"$ac_file" : 'X\(//\)[^/]' \| \
19658 X"$ac_file" : 'X\(//\)$' \| \
19659 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19660 $as_echo X"$ac_file" |
19661 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19662 s//\1/
19665 /^X\(\/\/\)[^/].*/{
19666 s//\1/
19669 /^X\(\/\/\)$/{
19670 s//\1/
19673 /^X\(\/\).*/{
19674 s//\1/
19677 s/.*/./; q'`
19678 as_dir="$ac_dir"; as_fn_mkdir_p
19679 ac_builddir=.
19681 case "$ac_dir" in
19682 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19684 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19685 # A ".." for each directory in $ac_dir_suffix.
19686 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19687 case $ac_top_builddir_sub in
19688 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19689 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19690 esac ;;
19691 esac
19692 ac_abs_top_builddir=$ac_pwd
19693 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19694 # for backward compatibility:
19695 ac_top_builddir=$ac_top_build_prefix
19697 case $srcdir in
19698 .) # We are building in place.
19699 ac_srcdir=.
19700 ac_top_srcdir=$ac_top_builddir_sub
19701 ac_abs_top_srcdir=$ac_pwd ;;
19702 [\\/]* | ?:[\\/]* ) # Absolute name.
19703 ac_srcdir=$srcdir$ac_dir_suffix;
19704 ac_top_srcdir=$srcdir
19705 ac_abs_top_srcdir=$srcdir ;;
19706 *) # Relative name.
19707 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19708 ac_top_srcdir=$ac_top_build_prefix$srcdir
19709 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19710 esac
19711 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19714 case $ac_mode in
19717 # CONFIG_FILE
19720 _ACEOF
19722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19723 # If the template does not know about datarootdir, expand it.
19724 # FIXME: This hack should be removed a few years after 2.60.
19725 ac_datarootdir_hack=; ac_datarootdir_seen=
19726 ac_sed_dataroot='
19727 /datarootdir/ {
19731 /@datadir@/p
19732 /@docdir@/p
19733 /@infodir@/p
19734 /@localedir@/p
19735 /@mandir@/p'
19736 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19737 *datarootdir*) ac_datarootdir_seen=yes;;
19738 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19740 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19741 _ACEOF
19742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19743 ac_datarootdir_hack='
19744 s&@datadir@&$datadir&g
19745 s&@docdir@&$docdir&g
19746 s&@infodir@&$infodir&g
19747 s&@localedir@&$localedir&g
19748 s&@mandir@&$mandir&g
19749 s&\\\${datarootdir}&$datarootdir&g' ;;
19750 esac
19751 _ACEOF
19753 # Neutralize VPATH when `$srcdir' = `.'.
19754 # Shell code in configure.ac might set extrasub.
19755 # FIXME: do we really want to maintain this feature?
19756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19757 ac_sed_extra="$ac_vpsub
19758 $extrasub
19759 _ACEOF
19760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19762 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19763 s|@configure_input@|$ac_sed_conf_input|;t t
19764 s&@top_builddir@&$ac_top_builddir_sub&;t t
19765 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19766 s&@srcdir@&$ac_srcdir&;t t
19767 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19768 s&@top_srcdir@&$ac_top_srcdir&;t t
19769 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19770 s&@builddir@&$ac_builddir&;t t
19771 s&@abs_builddir@&$ac_abs_builddir&;t t
19772 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19773 $ac_datarootdir_hack
19775 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19776 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19778 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19779 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19780 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19781 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19783 which seems to be undefined. Please make sure it is defined" >&5
19784 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19785 which seems to be undefined. Please make sure it is defined" >&2;}
19787 rm -f "$ac_tmp/stdin"
19788 case $ac_file in
19789 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19790 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19791 esac \
19792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19796 # CONFIG_HEADER
19798 if test x"$ac_file" != x-; then
19800 $as_echo "/* $configure_input */" \
19801 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19802 } >"$ac_tmp/config.h" \
19803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19804 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19806 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19807 else
19808 rm -f "$ac_file"
19809 mv "$ac_tmp/config.h" "$ac_file" \
19810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19812 else
19813 $as_echo "/* $configure_input */" \
19814 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19815 || as_fn_error $? "could not create -" "$LINENO" 5
19820 # CONFIG_LINK
19823 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19825 else
19826 # Prefer the file from the source tree if names are identical.
19827 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19828 ac_source=$srcdir/$ac_source
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19832 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19834 if test ! -r "$ac_source"; then
19835 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19837 rm -f "$ac_file"
19839 # Try a relative symlink, then a hard link, then a copy.
19840 case $ac_source in
19841 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19842 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19843 esac
19844 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19845 ln "$ac_source" "$ac_file" 2>/dev/null ||
19846 cp -p "$ac_source" "$ac_file" ||
19847 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19850 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19851 $as_echo "$as_me: executing $ac_file commands" >&6;}
19853 esac
19856 case $ac_file$ac_mode in
19857 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19858 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19859 "Makefile":C) wine_fn_output_makefile Makefile ;;
19861 esac
19862 done # for ac_tag
19865 as_fn_exit 0
19866 _ACEOF
19867 ac_clean_files=$ac_clean_files_save
19869 test $ac_write_fail = 0 ||
19870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19873 # configure is writing to config.log, and then calls config.status.
19874 # config.status does its own redirection, appending to config.log.
19875 # Unfortunately, on DOS this fails, as config.log is still kept open
19876 # by configure, so config.status won't be able to write to it; its
19877 # output is simply discarded. So we exec the FD to /dev/null,
19878 # effectively closing config.log, so it can be properly (re)opened and
19879 # appended to by config.status. When coming back to configure, we
19880 # need to make the FD available again.
19881 if test "$no_create" != yes; then
19882 ac_cs_success=:
19883 ac_config_status_args=
19884 test "$silent" = yes &&
19885 ac_config_status_args="$ac_config_status_args --quiet"
19886 exec 5>/dev/null
19887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19888 exec 5>>config.log
19889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19890 # would make configure fail if this is the last instruction.
19891 $ac_cs_success || as_fn_exit 1
19893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19899 if test "$no_create" = "yes"
19900 then
19901 exit 0
19904 ac_save_IFS="$IFS"
19905 if test "x$wine_notices" != x; then
19906 echo >&6
19907 IFS="|"
19908 for msg in $wine_notices; do
19909 IFS="$ac_save_IFS"
19910 if ${msg:+false} :; then :
19912 else
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19914 $as_echo "$as_me: $msg" >&6;}
19916 done
19918 IFS="|"
19919 for msg in $wine_warnings; do
19920 IFS="$ac_save_IFS"
19921 if ${msg:+false} :; then :
19923 else
19924 echo >&2
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19926 $as_echo "$as_me: WARNING: $msg" >&2;}
19928 done
19929 IFS="$ac_save_IFS"
19931 $as_echo "
19932 $as_me: Finished. Do '${ac_make}' to compile Wine.
19933 " >&6