webservices: Implement WsReadCharsUtf8.
[wine.git] / configure
blobc21bda381ed4df0b4fc6a54ec38e3288e8db1b42
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.21.
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.21'
584 PACKAGE_STRING='Wine 1.9.21'
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_appmodel_runtime_l1_1_1
878 enable_api_ms_win_core_apiquery_l1_1_0
879 enable_api_ms_win_core_appcompat_l1_1_1
880 enable_api_ms_win_core_appinit_l1_1_0
881 enable_api_ms_win_core_atoms_l1_1_0
882 enable_api_ms_win_core_bem_l1_1_0
883 enable_api_ms_win_core_com_l1_1_0
884 enable_api_ms_win_core_com_l1_1_1
885 enable_api_ms_win_core_console_l1_1_0
886 enable_api_ms_win_core_console_l2_1_0
887 enable_api_ms_win_core_datetime_l1_1_0
888 enable_api_ms_win_core_datetime_l1_1_1
889 enable_api_ms_win_core_debug_l1_1_0
890 enable_api_ms_win_core_debug_l1_1_1
891 enable_api_ms_win_core_delayload_l1_1_0
892 enable_api_ms_win_core_delayload_l1_1_1
893 enable_api_ms_win_core_errorhandling_l1_1_0
894 enable_api_ms_win_core_errorhandling_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_2
896 enable_api_ms_win_core_fibers_l1_1_0
897 enable_api_ms_win_core_fibers_l1_1_1
898 enable_api_ms_win_core_file_l1_1_0
899 enable_api_ms_win_core_file_l1_2_0
900 enable_api_ms_win_core_file_l1_2_1
901 enable_api_ms_win_core_file_l2_1_0
902 enable_api_ms_win_core_file_l2_1_1
903 enable_api_ms_win_core_handle_l1_1_0
904 enable_api_ms_win_core_heap_l1_1_0
905 enable_api_ms_win_core_heap_l1_2_0
906 enable_api_ms_win_core_heap_obsolete_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_1_0
908 enable_api_ms_win_core_interlocked_l1_2_0
909 enable_api_ms_win_core_io_l1_1_0
910 enable_api_ms_win_core_io_l1_1_1
911 enable_api_ms_win_core_job_l1_1_0
912 enable_api_ms_win_core_job_l2_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_0
914 enable_api_ms_win_core_kernel32_legacy_l1_1_1
915 enable_api_ms_win_core_kernel32_private_l1_1_1
916 enable_api_ms_win_core_libraryloader_l1_1_0
917 enable_api_ms_win_core_libraryloader_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_2_0
919 enable_api_ms_win_core_libraryloader_l1_2_2
920 enable_api_ms_win_core_localization_l1_1_0
921 enable_api_ms_win_core_localization_l1_2_0
922 enable_api_ms_win_core_localization_l1_2_1
923 enable_api_ms_win_core_localization_l2_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_1_0
925 enable_api_ms_win_core_localization_obsolete_l1_2_0
926 enable_api_ms_win_core_localization_private_l1_1_0
927 enable_api_ms_win_core_localregistry_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_0
929 enable_api_ms_win_core_memory_l1_1_1
930 enable_api_ms_win_core_memory_l1_1_2
931 enable_api_ms_win_core_misc_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_1_0
933 enable_api_ms_win_core_namedpipe_l1_2_0
934 enable_api_ms_win_core_namespace_l1_1_0
935 enable_api_ms_win_core_normalization_l1_1_0
936 enable_api_ms_win_core_path_l1_1_0
937 enable_api_ms_win_core_privateprofile_l1_1_1
938 enable_api_ms_win_core_processenvironment_l1_1_0
939 enable_api_ms_win_core_processenvironment_l1_2_0
940 enable_api_ms_win_core_processthreads_l1_1_0
941 enable_api_ms_win_core_processthreads_l1_1_1
942 enable_api_ms_win_core_processthreads_l1_1_2
943 enable_api_ms_win_core_profile_l1_1_0
944 enable_api_ms_win_core_psapi_l1_1_0
945 enable_api_ms_win_core_realtime_l1_1_0
946 enable_api_ms_win_core_registry_l1_1_0
947 enable_api_ms_win_core_registryuserspecific_l1_1_0
948 enable_api_ms_win_core_rtlsupport_l1_1_0
949 enable_api_ms_win_core_rtlsupport_l1_2_0
950 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
951 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
952 enable_api_ms_win_core_sidebyside_l1_1_0
953 enable_api_ms_win_core_string_l1_1_0
954 enable_api_ms_win_core_string_l2_1_0
955 enable_api_ms_win_core_string_obsolete_l1_1_0
956 enable_api_ms_win_core_stringansi_l1_1_0
957 enable_api_ms_win_core_synch_l1_1_0
958 enable_api_ms_win_core_synch_l1_2_0
959 enable_api_ms_win_core_sysinfo_l1_1_0
960 enable_api_ms_win_core_sysinfo_l1_2_0
961 enable_api_ms_win_core_sysinfo_l1_2_1
962 enable_api_ms_win_core_threadpool_l1_1_0
963 enable_api_ms_win_core_threadpool_l1_2_0
964 enable_api_ms_win_core_threadpool_legacy_l1_1_0
965 enable_api_ms_win_core_timezone_l1_1_0
966 enable_api_ms_win_core_toolhelp_l1_1_0
967 enable_api_ms_win_core_url_l1_1_0
968 enable_api_ms_win_core_util_l1_1_0
969 enable_api_ms_win_core_version_l1_1_0
970 enable_api_ms_win_core_version_private_l1_1_0
971 enable_api_ms_win_core_versionansi_l1_1_0
972 enable_api_ms_win_core_windowserrorreporting_l1_1_0
973 enable_api_ms_win_core_winrt_error_l1_1_0
974 enable_api_ms_win_core_winrt_error_l1_1_1
975 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
976 enable_api_ms_win_core_winrt_l1_1_0
977 enable_api_ms_win_core_winrt_registration_l1_1_0
978 enable_api_ms_win_core_winrt_string_l1_1_0
979 enable_api_ms_win_core_wow64_l1_1_0
980 enable_api_ms_win_core_xstate_l1_1_0
981 enable_api_ms_win_core_xstate_l2_1_0
982 enable_api_ms_win_crt_conio_l1_1_0
983 enable_api_ms_win_crt_convert_l1_1_0
984 enable_api_ms_win_crt_environment_l1_1_0
985 enable_api_ms_win_crt_filesystem_l1_1_0
986 enable_api_ms_win_crt_heap_l1_1_0
987 enable_api_ms_win_crt_locale_l1_1_0
988 enable_api_ms_win_crt_math_l1_1_0
989 enable_api_ms_win_crt_multibyte_l1_1_0
990 enable_api_ms_win_crt_private_l1_1_0
991 enable_api_ms_win_crt_process_l1_1_0
992 enable_api_ms_win_crt_runtime_l1_1_0
993 enable_api_ms_win_crt_stdio_l1_1_0
994 enable_api_ms_win_crt_string_l1_1_0
995 enable_api_ms_win_crt_time_l1_1_0
996 enable_api_ms_win_crt_utility_l1_1_0
997 enable_api_ms_win_downlevel_advapi32_l1_1_0
998 enable_api_ms_win_downlevel_advapi32_l2_1_0
999 enable_api_ms_win_downlevel_normaliz_l1_1_0
1000 enable_api_ms_win_downlevel_ole32_l1_1_0
1001 enable_api_ms_win_downlevel_shell32_l1_1_0
1002 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1003 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1004 enable_api_ms_win_downlevel_user32_l1_1_0
1005 enable_api_ms_win_downlevel_version_l1_1_0
1006 enable_api_ms_win_eventing_classicprovider_l1_1_0
1007 enable_api_ms_win_eventing_consumer_l1_1_0
1008 enable_api_ms_win_eventing_controller_l1_1_0
1009 enable_api_ms_win_eventing_provider_l1_1_0
1010 enable_api_ms_win_eventlog_legacy_l1_1_0
1011 enable_api_ms_win_ntuser_dc_access_l1_1_0
1012 enable_api_ms_win_security_audit_l1_1_1
1013 enable_api_ms_win_security_base_l1_1_0
1014 enable_api_ms_win_security_base_l1_2_0
1015 enable_api_ms_win_security_base_private_l1_1_1
1016 enable_api_ms_win_security_lsalookup_l1_1_0
1017 enable_api_ms_win_security_lsalookup_l1_1_1
1018 enable_api_ms_win_security_sddl_l1_1_0
1019 enable_api_ms_win_service_core_l1_1_0
1020 enable_api_ms_win_service_core_l1_1_1
1021 enable_api_ms_win_service_management_l1_1_0
1022 enable_api_ms_win_service_management_l2_1_0
1023 enable_api_ms_win_service_private_l1_1_1
1024 enable_api_ms_win_service_winsvc_l1_1_0
1025 enable_api_ms_win_service_winsvc_l1_2_0
1026 enable_api_ms_win_shell_shellcom_l1_1_0
1027 enable_api_ms_win_shell_shellfolders_l1_1_0
1028 enable_apphelp
1029 enable_appwiz_cpl
1030 enable_atl
1031 enable_atl100
1032 enable_atl110
1033 enable_atl80
1034 enable_atl90
1035 enable_authz
1036 enable_avicap32
1037 enable_avifil32
1038 enable_avrt
1039 enable_bcrypt
1040 enable_bluetoothapis
1041 enable_browseui
1042 enable_bthprops_cpl
1043 enable_cabinet
1044 enable_capi2032
1045 enable_cards
1046 enable_cfgmgr32
1047 enable_clusapi
1048 enable_combase
1049 enable_comcat
1050 enable_comctl32
1051 enable_comdlg32
1052 enable_compstui
1053 enable_comsvcs
1054 enable_concrt140
1055 enable_connect
1056 enable_credui
1057 enable_crtdll
1058 enable_crypt32
1059 enable_cryptdlg
1060 enable_cryptdll
1061 enable_cryptext
1062 enable_cryptnet
1063 enable_cryptui
1064 enable_ctapi32
1065 enable_ctl3d32
1066 enable_d2d1
1067 enable_d3d10
1068 enable_d3d10_1
1069 enable_d3d10core
1070 enable_d3d11
1071 enable_d3d8
1072 enable_d3d9
1073 enable_d3dcompiler_33
1074 enable_d3dcompiler_34
1075 enable_d3dcompiler_35
1076 enable_d3dcompiler_36
1077 enable_d3dcompiler_37
1078 enable_d3dcompiler_38
1079 enable_d3dcompiler_39
1080 enable_d3dcompiler_40
1081 enable_d3dcompiler_41
1082 enable_d3dcompiler_42
1083 enable_d3dcompiler_43
1084 enable_d3dcompiler_46
1085 enable_d3dcompiler_47
1086 enable_d3dim
1087 enable_d3drm
1088 enable_d3dx10_33
1089 enable_d3dx10_34
1090 enable_d3dx10_35
1091 enable_d3dx10_36
1092 enable_d3dx10_37
1093 enable_d3dx10_38
1094 enable_d3dx10_39
1095 enable_d3dx10_40
1096 enable_d3dx10_41
1097 enable_d3dx10_42
1098 enable_d3dx10_43
1099 enable_d3dx11_42
1100 enable_d3dx11_43
1101 enable_d3dx9_24
1102 enable_d3dx9_25
1103 enable_d3dx9_26
1104 enable_d3dx9_27
1105 enable_d3dx9_28
1106 enable_d3dx9_29
1107 enable_d3dx9_30
1108 enable_d3dx9_31
1109 enable_d3dx9_32
1110 enable_d3dx9_33
1111 enable_d3dx9_34
1112 enable_d3dx9_35
1113 enable_d3dx9_36
1114 enable_d3dx9_37
1115 enable_d3dx9_38
1116 enable_d3dx9_39
1117 enable_d3dx9_40
1118 enable_d3dx9_41
1119 enable_d3dx9_42
1120 enable_d3dx9_43
1121 enable_d3dxof
1122 enable_davclnt
1123 enable_dbgeng
1124 enable_dbghelp
1125 enable_dciman32
1126 enable_ddraw
1127 enable_ddrawex
1128 enable_devenum
1129 enable_dhcpcsvc
1130 enable_difxapi
1131 enable_dinput
1132 enable_dinput8
1133 enable_dispex
1134 enable_dmband
1135 enable_dmcompos
1136 enable_dmime
1137 enable_dmloader
1138 enable_dmscript
1139 enable_dmstyle
1140 enable_dmsynth
1141 enable_dmusic
1142 enable_dmusic32
1143 enable_dnsapi
1144 enable_dplay
1145 enable_dplayx
1146 enable_dpnaddr
1147 enable_dpnet
1148 enable_dpnhpast
1149 enable_dpnlobby
1150 enable_dpvoice
1151 enable_dpwsockx
1152 enable_drmclien
1153 enable_dsound
1154 enable_dssenh
1155 enable_dswave
1156 enable_dwmapi
1157 enable_dwrite
1158 enable_dxdiagn
1159 enable_dxgi
1160 enable_dxva2
1161 enable_esent
1162 enable_evr
1163 enable_explorerframe
1164 enable_ext_ms_win_gdi_devcaps_l1_1_0
1165 enable_ext_ms_win_kernel32_package_current_l1_1_0
1166 enable_faultrep
1167 enable_fltlib
1168 enable_fltmgr_sys
1169 enable_fntcache
1170 enable_fontsub
1171 enable_fusion
1172 enable_fwpuclnt
1173 enable_gameux
1174 enable_gdi32
1175 enable_gdiplus
1176 enable_glu32
1177 enable_gphoto2_ds
1178 enable_gpkcsp
1179 enable_hal
1180 enable_hhctrl_ocx
1181 enable_hid
1182 enable_hidclass_sys
1183 enable_hlink
1184 enable_hnetcfg
1185 enable_httpapi
1186 enable_iccvid
1187 enable_icmp
1188 enable_ieframe
1189 enable_imaadp32_acm
1190 enable_imagehlp
1191 enable_imm32
1192 enable_inetcomm
1193 enable_inetcpl_cpl
1194 enable_inetmib1
1195 enable_infosoft
1196 enable_initpki
1197 enable_inkobj
1198 enable_inseng
1199 enable_iphlpapi
1200 enable_iprop
1201 enable_irprops_cpl
1202 enable_itircl
1203 enable_itss
1204 enable_joy_cpl
1205 enable_jscript
1206 enable_jsproxy
1207 enable_kernel32
1208 enable_kernelbase
1209 enable_ksuser
1210 enable_ktmw32
1211 enable_loadperf
1212 enable_localspl
1213 enable_localui
1214 enable_lz32
1215 enable_mapi32
1216 enable_mapistub
1217 enable_mciavi32
1218 enable_mcicda
1219 enable_mciqtz32
1220 enable_mciseq
1221 enable_mciwave
1222 enable_mf
1223 enable_mfplat
1224 enable_mfreadwrite
1225 enable_mgmtapi
1226 enable_midimap
1227 enable_mlang
1228 enable_mmcndmgr
1229 enable_mmdevapi
1230 enable_mountmgr_sys
1231 enable_mpr
1232 enable_mprapi
1233 enable_msacm32_drv
1234 enable_msacm32
1235 enable_msadp32_acm
1236 enable_msasn1
1237 enable_mscat32
1238 enable_mscms
1239 enable_mscoree
1240 enable_msctf
1241 enable_msctfp
1242 enable_msdaps
1243 enable_msdelta
1244 enable_msdmo
1245 enable_msdrm
1246 enable_msftedit
1247 enable_msg711_acm
1248 enable_msgsm32_acm
1249 enable_mshtml_tlb
1250 enable_mshtml
1251 enable_msi
1252 enable_msident
1253 enable_msimg32
1254 enable_msimsg
1255 enable_msimtf
1256 enable_msisip
1257 enable_msisys_ocx
1258 enable_msls31
1259 enable_msnet32
1260 enable_mspatcha
1261 enable_msports
1262 enable_msrle32
1263 enable_msscript_ocx
1264 enable_mssign32
1265 enable_mssip32
1266 enable_mstask
1267 enable_msvcirt
1268 enable_msvcm80
1269 enable_msvcm90
1270 enable_msvcp100
1271 enable_msvcp110
1272 enable_msvcp120
1273 enable_msvcp120_app
1274 enable_msvcp140
1275 enable_msvcp60
1276 enable_msvcp70
1277 enable_msvcp71
1278 enable_msvcp80
1279 enable_msvcp90
1280 enable_msvcr100
1281 enable_msvcr110
1282 enable_msvcr120
1283 enable_msvcr120_app
1284 enable_msvcr70
1285 enable_msvcr71
1286 enable_msvcr80
1287 enable_msvcr90
1288 enable_msvcrt
1289 enable_msvcrt20
1290 enable_msvcrt40
1291 enable_msvcrtd
1292 enable_msvfw32
1293 enable_msvidc32
1294 enable_mswsock
1295 enable_msxml
1296 enable_msxml2
1297 enable_msxml3
1298 enable_msxml4
1299 enable_msxml6
1300 enable_ncrypt
1301 enable_nddeapi
1302 enable_ndis_sys
1303 enable_netapi32
1304 enable_netcfgx
1305 enable_netprofm
1306 enable_newdev
1307 enable_normaliz
1308 enable_npmshtml
1309 enable_npptools
1310 enable_ntdll
1311 enable_ntdsapi
1312 enable_ntoskrnl_exe
1313 enable_ntprint
1314 enable_objsel
1315 enable_odbc32
1316 enable_odbccp32
1317 enable_odbccu32
1318 enable_ole32
1319 enable_oleacc
1320 enable_oleaut32
1321 enable_olecli32
1322 enable_oledb32
1323 enable_oledlg
1324 enable_olepro32
1325 enable_olesvr32
1326 enable_olethk32
1327 enable_openal32
1328 enable_opencl
1329 enable_opengl32
1330 enable_packager
1331 enable_pdh
1332 enable_photometadatahandler
1333 enable_pidgen
1334 enable_powrprof
1335 enable_printui
1336 enable_prntvpt
1337 enable_propsys
1338 enable_psapi
1339 enable_pstorec
1340 enable_qcap
1341 enable_qedit
1342 enable_qmgr
1343 enable_qmgrprxy
1344 enable_quartz
1345 enable_query
1346 enable_rasapi32
1347 enable_rasdlg
1348 enable_regapi
1349 enable_resutils
1350 enable_riched20
1351 enable_riched32
1352 enable_rpcrt4
1353 enable_rsabase
1354 enable_rsaenh
1355 enable_rstrtmgr
1356 enable_rtutils
1357 enable_samlib
1358 enable_sane_ds
1359 enable_scarddlg
1360 enable_sccbase
1361 enable_schannel
1362 enable_schedsvc
1363 enable_scrrun
1364 enable_scsiport_sys
1365 enable_secur32
1366 enable_security
1367 enable_sensapi
1368 enable_serialui
1369 enable_setupapi
1370 enable_sfc
1371 enable_sfc_os
1372 enable_shdoclc
1373 enable_shdocvw
1374 enable_shell32
1375 enable_shfolder
1376 enable_shlwapi
1377 enable_slbcsp
1378 enable_slc
1379 enable_snmpapi
1380 enable_softpub
1381 enable_spoolss
1382 enable_sspicli
1383 enable_stdole2_tlb
1384 enable_stdole32_tlb
1385 enable_sti
1386 enable_svrapi
1387 enable_sxs
1388 enable_t2embed
1389 enable_tapi32
1390 enable_taskschd
1391 enable_tdi_sys
1392 enable_traffic
1393 enable_twain_32
1394 enable_ucrtbase
1395 enable_unicows
1396 enable_updspapi
1397 enable_url
1398 enable_urlmon
1399 enable_usbd_sys
1400 enable_user32
1401 enable_userenv
1402 enable_usp10
1403 enable_uxtheme
1404 enable_vbscript
1405 enable_vcomp
1406 enable_vcomp100
1407 enable_vcomp110
1408 enable_vcomp120
1409 enable_vcomp140
1410 enable_vcomp90
1411 enable_vcruntime140
1412 enable_vdmdbg
1413 enable_version
1414 enable_vssapi
1415 enable_wbemdisp
1416 enable_wbemprox
1417 enable_webservices
1418 enable_wer
1419 enable_wevtapi
1420 enable_wiaservc
1421 enable_wimgapi
1422 enable_windowscodecs
1423 enable_windowscodecsext
1424 enable_winealsa_drv
1425 enable_winebus_sys
1426 enable_winecoreaudio_drv
1427 enable_wined3d
1428 enable_winegstreamer
1429 enable_winehid_sys
1430 enable_winejoystick_drv
1431 enable_winemac_drv
1432 enable_winemapi
1433 enable_winemp3_acm
1434 enable_wineoss_drv
1435 enable_wineps_drv
1436 enable_winepulse_drv
1437 enable_wineqtdecoder
1438 enable_winex11_drv
1439 enable_wing32
1440 enable_winhttp
1441 enable_wininet
1442 enable_winmm
1443 enable_winnls32
1444 enable_winscard
1445 enable_winspool_drv
1446 enable_winsta
1447 enable_wintab32
1448 enable_wintrust
1449 enable_wlanapi
1450 enable_wldap32
1451 enable_wmasf
1452 enable_wmi
1453 enable_wmiutils
1454 enable_wmp
1455 enable_wmvcore
1456 enable_wnaspi32
1457 enable_wpc
1458 enable_wpcap
1459 enable_ws2_32
1460 enable_wshom_ocx
1461 enable_wsnmp32
1462 enable_wsock32
1463 enable_wtsapi32
1464 enable_wuapi
1465 enable_wuaueng
1466 enable_x3daudio1_0
1467 enable_x3daudio1_1
1468 enable_x3daudio1_2
1469 enable_x3daudio1_3
1470 enable_x3daudio1_4
1471 enable_x3daudio1_5
1472 enable_x3daudio1_6
1473 enable_x3daudio1_7
1474 enable_xapofx1_1
1475 enable_xapofx1_2
1476 enable_xapofx1_3
1477 enable_xapofx1_4
1478 enable_xapofx1_5
1479 enable_xaudio2_0
1480 enable_xaudio2_1
1481 enable_xaudio2_2
1482 enable_xaudio2_3
1483 enable_xaudio2_4
1484 enable_xaudio2_5
1485 enable_xaudio2_6
1486 enable_xaudio2_7
1487 enable_xaudio2_8
1488 enable_xaudio2_9
1489 enable_xinput1_1
1490 enable_xinput1_2
1491 enable_xinput1_3
1492 enable_xinput1_4
1493 enable_xinput9_1_0
1494 enable_xmllite
1495 enable_xolehlp
1496 enable_xpsprint
1497 enable_xpssvcs
1498 enable_fonts
1499 enable_include
1500 enable_libs_port
1501 enable_libs_wine
1502 enable_libs_wpp
1503 enable_loader
1504 enable_po
1505 enable_arp
1506 enable_aspnet_regiis
1507 enable_attrib
1508 enable_cabarc
1509 enable_cacls
1510 enable_clock
1511 enable_cmd
1512 enable_conhost
1513 enable_control
1514 enable_cscript
1515 enable_dpnsvr
1516 enable_dxdiag
1517 enable_eject
1518 enable_expand
1519 enable_explorer
1520 enable_extrac32
1521 enable_findstr
1522 enable_fsutil
1523 enable_hh
1524 enable_hostname
1525 enable_icacls
1526 enable_icinfo
1527 enable_iexplore
1528 enable_ipconfig
1529 enable_lodctr
1530 enable_mofcomp
1531 enable_mshta
1532 enable_msiexec
1533 enable_msinfo32
1534 enable_net
1535 enable_netsh
1536 enable_netstat
1537 enable_ngen
1538 enable_notepad
1539 enable_oleview
1540 enable_ping
1541 enable_plugplay
1542 enable_presentationfontcache
1543 enable_progman
1544 enable_reg
1545 enable_regasm
1546 enable_regedit
1547 enable_regsvcs
1548 enable_regsvr32
1549 enable_rpcss
1550 enable_rundll32
1551 enable_sc
1552 enable_schtasks
1553 enable_sdbinst
1554 enable_secedit
1555 enable_servicemodelreg
1556 enable_services
1557 enable_shutdown
1558 enable_spoolsv
1559 enable_start
1560 enable_subst
1561 enable_svchost
1562 enable_systeminfo
1563 enable_taskkill
1564 enable_tasklist
1565 enable_taskmgr
1566 enable_termsv
1567 enable_uninstaller
1568 enable_unlodctr
1569 enable_view
1570 enable_wevtutil
1571 enable_wineboot
1572 enable_winebrowser
1573 enable_winecfg
1574 enable_wineconsole
1575 enable_winedbg
1576 enable_winedevice
1577 enable_winefile
1578 enable_winemenubuilder
1579 enable_winemine
1580 enable_winemsibuilder
1581 enable_winepath
1582 enable_winetest
1583 enable_winhlp32
1584 enable_winver
1585 enable_wmic
1586 enable_wmplayer
1587 enable_wordpad
1588 enable_write
1589 enable_wscript
1590 enable_wusa
1591 enable_xcopy
1592 enable_server
1593 enable_tools
1595 ac_precious_vars='build_alias
1596 host_alias
1597 target_alias
1599 CFLAGS
1600 LDFLAGS
1601 LIBS
1602 CPPFLAGS
1604 CXXFLAGS
1607 XMKMF
1608 XML2_CFLAGS
1609 XML2_LIBS
1610 XSLT_CFLAGS
1611 XSLT_LIBS
1612 DBUS_CFLAGS
1613 DBUS_LIBS
1614 HAL_CFLAGS
1615 HAL_LIBS
1616 GNUTLS_CFLAGS
1617 GNUTLS_LIBS
1618 SANE_CFLAGS
1619 SANE_LIBS
1620 GPHOTO2_CFLAGS
1621 GPHOTO2_LIBS
1622 GPHOTO2_PORT_CFLAGS
1623 GPHOTO2_PORT_LIBS
1624 LCMS2_CFLAGS
1625 LCMS2_LIBS
1626 FREETYPE_CFLAGS
1627 FREETYPE_LIBS
1628 PULSE_CFLAGS
1629 PULSE_LIBS
1630 GSTREAMER_CFLAGS
1631 GSTREAMER_LIBS
1632 UDEV_CFLAGS
1633 UDEV_LIBS
1634 CAPI20_CFLAGS
1635 CAPI20_LIBS
1636 FONTCONFIG_CFLAGS
1637 FONTCONFIG_LIBS
1638 JPEG_CFLAGS
1639 JPEG_LIBS
1640 PNG_CFLAGS
1641 PNG_LIBS
1642 TIFF_CFLAGS
1643 TIFF_LIBS
1644 MPG123_CFLAGS
1645 MPG123_LIBS
1646 NETAPI_CFLAGS
1647 NETAPI_LIBS'
1650 # Initialize some variables set by options.
1651 ac_init_help=
1652 ac_init_version=false
1653 ac_unrecognized_opts=
1654 ac_unrecognized_sep=
1655 # The variables have the same names as the options, with
1656 # dashes changed to underlines.
1657 cache_file=/dev/null
1658 exec_prefix=NONE
1659 no_create=
1660 no_recursion=
1661 prefix=NONE
1662 program_prefix=NONE
1663 program_suffix=NONE
1664 program_transform_name=s,x,x,
1665 silent=
1666 site=
1667 srcdir=
1668 verbose=
1669 x_includes=NONE
1670 x_libraries=NONE
1672 # Installation directory options.
1673 # These are left unexpanded so users can "make install exec_prefix=/foo"
1674 # and all the variables that are supposed to be based on exec_prefix
1675 # by default will actually change.
1676 # Use braces instead of parens because sh, perl, etc. also accept them.
1677 # (The list follows the same order as the GNU Coding Standards.)
1678 bindir='${exec_prefix}/bin'
1679 sbindir='${exec_prefix}/sbin'
1680 libexecdir='${exec_prefix}/libexec'
1681 datarootdir='${prefix}/share'
1682 datadir='${datarootdir}'
1683 sysconfdir='${prefix}/etc'
1684 sharedstatedir='${prefix}/com'
1685 localstatedir='${prefix}/var'
1686 runstatedir='${localstatedir}/run'
1687 includedir='${prefix}/include'
1688 oldincludedir='/usr/include'
1689 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1690 infodir='${datarootdir}/info'
1691 htmldir='${docdir}'
1692 dvidir='${docdir}'
1693 pdfdir='${docdir}'
1694 psdir='${docdir}'
1695 libdir='${exec_prefix}/lib'
1696 localedir='${datarootdir}/locale'
1697 mandir='${datarootdir}/man'
1699 ac_prev=
1700 ac_dashdash=
1701 for ac_option
1703 # If the previous option needs an argument, assign it.
1704 if test -n "$ac_prev"; then
1705 eval $ac_prev=\$ac_option
1706 ac_prev=
1707 continue
1710 case $ac_option in
1711 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1712 *=) ac_optarg= ;;
1713 *) ac_optarg=yes ;;
1714 esac
1716 # Accept the important Cygnus configure options, so we can diagnose typos.
1718 case $ac_dashdash$ac_option in
1720 ac_dashdash=yes ;;
1722 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1723 ac_prev=bindir ;;
1724 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1725 bindir=$ac_optarg ;;
1727 -build | --build | --buil | --bui | --bu)
1728 ac_prev=build_alias ;;
1729 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1730 build_alias=$ac_optarg ;;
1732 -cache-file | --cache-file | --cache-fil | --cache-fi \
1733 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1734 ac_prev=cache_file ;;
1735 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1736 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1737 cache_file=$ac_optarg ;;
1739 --config-cache | -C)
1740 cache_file=config.cache ;;
1742 -datadir | --datadir | --datadi | --datad)
1743 ac_prev=datadir ;;
1744 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1745 datadir=$ac_optarg ;;
1747 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1748 | --dataroo | --dataro | --datar)
1749 ac_prev=datarootdir ;;
1750 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1751 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1752 datarootdir=$ac_optarg ;;
1754 -disable-* | --disable-*)
1755 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1756 # Reject names that are not valid shell variable names.
1757 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1758 as_fn_error $? "invalid feature name: $ac_useropt"
1759 ac_useropt_orig=$ac_useropt
1760 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1761 case $ac_user_opts in
1763 "enable_$ac_useropt"
1764 "*) ;;
1765 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1766 ac_unrecognized_sep=', ';;
1767 esac
1768 eval enable_$ac_useropt=no ;;
1770 -docdir | --docdir | --docdi | --doc | --do)
1771 ac_prev=docdir ;;
1772 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1773 docdir=$ac_optarg ;;
1775 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1776 ac_prev=dvidir ;;
1777 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1778 dvidir=$ac_optarg ;;
1780 -enable-* | --enable-*)
1781 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1784 as_fn_error $? "invalid feature name: $ac_useropt"
1785 ac_useropt_orig=$ac_useropt
1786 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1789 "enable_$ac_useropt"
1790 "*) ;;
1791 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1792 ac_unrecognized_sep=', ';;
1793 esac
1794 eval enable_$ac_useropt=\$ac_optarg ;;
1796 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1797 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1798 | --exec | --exe | --ex)
1799 ac_prev=exec_prefix ;;
1800 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1801 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1802 | --exec=* | --exe=* | --ex=*)
1803 exec_prefix=$ac_optarg ;;
1805 -gas | --gas | --ga | --g)
1806 # Obsolete; use --with-gas.
1807 with_gas=yes ;;
1809 -help | --help | --hel | --he | -h)
1810 ac_init_help=long ;;
1811 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1812 ac_init_help=recursive ;;
1813 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1814 ac_init_help=short ;;
1816 -host | --host | --hos | --ho)
1817 ac_prev=host_alias ;;
1818 -host=* | --host=* | --hos=* | --ho=*)
1819 host_alias=$ac_optarg ;;
1821 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1822 ac_prev=htmldir ;;
1823 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1824 | --ht=*)
1825 htmldir=$ac_optarg ;;
1827 -includedir | --includedir | --includedi | --included | --include \
1828 | --includ | --inclu | --incl | --inc)
1829 ac_prev=includedir ;;
1830 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1831 | --includ=* | --inclu=* | --incl=* | --inc=*)
1832 includedir=$ac_optarg ;;
1834 -infodir | --infodir | --infodi | --infod | --info | --inf)
1835 ac_prev=infodir ;;
1836 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1837 infodir=$ac_optarg ;;
1839 -libdir | --libdir | --libdi | --libd)
1840 ac_prev=libdir ;;
1841 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1842 libdir=$ac_optarg ;;
1844 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1845 | --libexe | --libex | --libe)
1846 ac_prev=libexecdir ;;
1847 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1848 | --libexe=* | --libex=* | --libe=*)
1849 libexecdir=$ac_optarg ;;
1851 -localedir | --localedir | --localedi | --localed | --locale)
1852 ac_prev=localedir ;;
1853 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1854 localedir=$ac_optarg ;;
1856 -localstatedir | --localstatedir | --localstatedi | --localstated \
1857 | --localstate | --localstat | --localsta | --localst | --locals)
1858 ac_prev=localstatedir ;;
1859 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1860 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1861 localstatedir=$ac_optarg ;;
1863 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1864 ac_prev=mandir ;;
1865 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1866 mandir=$ac_optarg ;;
1868 -nfp | --nfp | --nf)
1869 # Obsolete; use --without-fp.
1870 with_fp=no ;;
1872 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1873 | --no-cr | --no-c | -n)
1874 no_create=yes ;;
1876 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1877 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1878 no_recursion=yes ;;
1880 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1881 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1882 | --oldin | --oldi | --old | --ol | --o)
1883 ac_prev=oldincludedir ;;
1884 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1885 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1886 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1887 oldincludedir=$ac_optarg ;;
1889 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1890 ac_prev=prefix ;;
1891 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1892 prefix=$ac_optarg ;;
1894 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1895 | --program-pre | --program-pr | --program-p)
1896 ac_prev=program_prefix ;;
1897 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1898 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1899 program_prefix=$ac_optarg ;;
1901 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1902 | --program-suf | --program-su | --program-s)
1903 ac_prev=program_suffix ;;
1904 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1905 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1906 program_suffix=$ac_optarg ;;
1908 -program-transform-name | --program-transform-name \
1909 | --program-transform-nam | --program-transform-na \
1910 | --program-transform-n | --program-transform- \
1911 | --program-transform | --program-transfor \
1912 | --program-transfo | --program-transf \
1913 | --program-trans | --program-tran \
1914 | --progr-tra | --program-tr | --program-t)
1915 ac_prev=program_transform_name ;;
1916 -program-transform-name=* | --program-transform-name=* \
1917 | --program-transform-nam=* | --program-transform-na=* \
1918 | --program-transform-n=* | --program-transform-=* \
1919 | --program-transform=* | --program-transfor=* \
1920 | --program-transfo=* | --program-transf=* \
1921 | --program-trans=* | --program-tran=* \
1922 | --progr-tra=* | --program-tr=* | --program-t=*)
1923 program_transform_name=$ac_optarg ;;
1925 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1926 ac_prev=pdfdir ;;
1927 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1928 pdfdir=$ac_optarg ;;
1930 -psdir | --psdir | --psdi | --psd | --ps)
1931 ac_prev=psdir ;;
1932 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1933 psdir=$ac_optarg ;;
1935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1936 | -silent | --silent | --silen | --sile | --sil)
1937 silent=yes ;;
1939 -runstatedir | --runstatedir | --runstatedi | --runstated \
1940 | --runstate | --runstat | --runsta | --runst | --runs \
1941 | --run | --ru | --r)
1942 ac_prev=runstatedir ;;
1943 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1944 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1945 | --run=* | --ru=* | --r=*)
1946 runstatedir=$ac_optarg ;;
1948 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1949 ac_prev=sbindir ;;
1950 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1951 | --sbi=* | --sb=*)
1952 sbindir=$ac_optarg ;;
1954 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1955 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1956 | --sharedst | --shareds | --shared | --share | --shar \
1957 | --sha | --sh)
1958 ac_prev=sharedstatedir ;;
1959 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1960 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1961 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1962 | --sha=* | --sh=*)
1963 sharedstatedir=$ac_optarg ;;
1965 -site | --site | --sit)
1966 ac_prev=site ;;
1967 -site=* | --site=* | --sit=*)
1968 site=$ac_optarg ;;
1970 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1971 ac_prev=srcdir ;;
1972 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1973 srcdir=$ac_optarg ;;
1975 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1976 | --syscon | --sysco | --sysc | --sys | --sy)
1977 ac_prev=sysconfdir ;;
1978 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1979 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1980 sysconfdir=$ac_optarg ;;
1982 -target | --target | --targe | --targ | --tar | --ta | --t)
1983 ac_prev=target_alias ;;
1984 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1985 target_alias=$ac_optarg ;;
1987 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1988 verbose=yes ;;
1990 -version | --version | --versio | --versi | --vers | -V)
1991 ac_init_version=: ;;
1993 -with-* | --with-*)
1994 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1995 # Reject names that are not valid shell variable names.
1996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1997 as_fn_error $? "invalid package name: $ac_useropt"
1998 ac_useropt_orig=$ac_useropt
1999 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2000 case $ac_user_opts in
2002 "with_$ac_useropt"
2003 "*) ;;
2004 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2005 ac_unrecognized_sep=', ';;
2006 esac
2007 eval with_$ac_useropt=\$ac_optarg ;;
2009 -without-* | --without-*)
2010 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2011 # Reject names that are not valid shell variable names.
2012 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2013 as_fn_error $? "invalid package name: $ac_useropt"
2014 ac_useropt_orig=$ac_useropt
2015 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2016 case $ac_user_opts in
2018 "with_$ac_useropt"
2019 "*) ;;
2020 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2021 ac_unrecognized_sep=', ';;
2022 esac
2023 eval with_$ac_useropt=no ;;
2025 --x)
2026 # Obsolete; use --with-x.
2027 with_x=yes ;;
2029 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2030 | --x-incl | --x-inc | --x-in | --x-i)
2031 ac_prev=x_includes ;;
2032 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2033 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2034 x_includes=$ac_optarg ;;
2036 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2037 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2038 ac_prev=x_libraries ;;
2039 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2040 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2041 x_libraries=$ac_optarg ;;
2043 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2044 Try \`$0 --help' for more information"
2047 *=*)
2048 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2049 # Reject names that are not valid shell variable names.
2050 case $ac_envvar in #(
2051 '' | [0-9]* | *[!_$as_cr_alnum]* )
2052 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2053 esac
2054 eval $ac_envvar=\$ac_optarg
2055 export $ac_envvar ;;
2058 # FIXME: should be removed in autoconf 3.0.
2059 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2060 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2061 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2062 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2065 esac
2066 done
2068 if test -n "$ac_prev"; then
2069 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2070 as_fn_error $? "missing argument to $ac_option"
2073 if test -n "$ac_unrecognized_opts"; then
2074 case $enable_option_checking in
2075 no) ;;
2076 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2077 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2078 esac
2081 # Check all directory arguments for consistency.
2082 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2083 datadir sysconfdir sharedstatedir localstatedir includedir \
2084 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2085 libdir localedir mandir runstatedir
2087 eval ac_val=\$$ac_var
2088 # Remove trailing slashes.
2089 case $ac_val in
2090 */ )
2091 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2092 eval $ac_var=\$ac_val;;
2093 esac
2094 # Be sure to have absolute directory names.
2095 case $ac_val in
2096 [\\/$]* | ?:[\\/]* ) continue;;
2097 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2098 esac
2099 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2100 done
2102 # There might be people who depend on the old broken behavior: `$host'
2103 # used to hold the argument of --host etc.
2104 # FIXME: To remove some day.
2105 build=$build_alias
2106 host=$host_alias
2107 target=$target_alias
2109 # FIXME: To remove some day.
2110 if test "x$host_alias" != x; then
2111 if test "x$build_alias" = x; then
2112 cross_compiling=maybe
2113 elif test "x$build_alias" != "x$host_alias"; then
2114 cross_compiling=yes
2118 ac_tool_prefix=
2119 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2121 test "$silent" = yes && exec 6>/dev/null
2124 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2125 ac_ls_di=`ls -di .` &&
2126 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2127 as_fn_error $? "working directory cannot be determined"
2128 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2129 as_fn_error $? "pwd does not report name of working directory"
2132 # Find the source files, if location was not specified.
2133 if test -z "$srcdir"; then
2134 ac_srcdir_defaulted=yes
2135 # Try the directory containing this script, then the parent directory.
2136 ac_confdir=`$as_dirname -- "$as_myself" ||
2137 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2138 X"$as_myself" : 'X\(//\)[^/]' \| \
2139 X"$as_myself" : 'X\(//\)$' \| \
2140 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2141 $as_echo X"$as_myself" |
2142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2143 s//\1/
2146 /^X\(\/\/\)[^/].*/{
2147 s//\1/
2150 /^X\(\/\/\)$/{
2151 s//\1/
2154 /^X\(\/\).*/{
2155 s//\1/
2158 s/.*/./; q'`
2159 srcdir=$ac_confdir
2160 if test ! -r "$srcdir/$ac_unique_file"; then
2161 srcdir=..
2163 else
2164 ac_srcdir_defaulted=no
2166 if test ! -r "$srcdir/$ac_unique_file"; then
2167 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2168 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2170 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2171 ac_abs_confdir=`(
2172 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2173 pwd)`
2174 # When building in place, set srcdir=.
2175 if test "$ac_abs_confdir" = "$ac_pwd"; then
2176 srcdir=.
2178 # Remove unnecessary trailing slashes from srcdir.
2179 # Double slashes in file names in object file debugging info
2180 # mess up M-x gdb in Emacs.
2181 case $srcdir in
2182 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2183 esac
2184 for ac_var in $ac_precious_vars; do
2185 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2186 eval ac_env_${ac_var}_value=\$${ac_var}
2187 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2188 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2189 done
2192 # Report the --help message.
2194 if test "$ac_init_help" = "long"; then
2195 # Omit some internal or obsolete options to make the list less imposing.
2196 # This message is too long to be a string in the A/UX 3.1 sh.
2197 cat <<_ACEOF
2198 \`configure' configures Wine 1.9.21 to adapt to many kinds of systems.
2200 Usage: $0 [OPTION]... [VAR=VALUE]...
2202 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2203 VAR=VALUE. See below for descriptions of some of the useful variables.
2205 Defaults for the options are specified in brackets.
2207 Configuration:
2208 -h, --help display this help and exit
2209 --help=short display options specific to this package
2210 --help=recursive display the short help of all the included packages
2211 -V, --version display version information and exit
2212 -q, --quiet, --silent do not print \`checking ...' messages
2213 --cache-file=FILE cache test results in FILE [disabled]
2214 -C, --config-cache alias for \`--cache-file=config.cache'
2215 -n, --no-create do not create output files
2216 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2218 Installation directories:
2219 --prefix=PREFIX install architecture-independent files in PREFIX
2220 [$ac_default_prefix]
2221 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2222 [PREFIX]
2224 By default, \`make install' will install all the files in
2225 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2226 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2227 for instance \`--prefix=\$HOME'.
2229 For better control, use the options below.
2231 Fine tuning of the installation directories:
2232 --bindir=DIR user executables [EPREFIX/bin]
2233 --sbindir=DIR system admin executables [EPREFIX/sbin]
2234 --libexecdir=DIR program executables [EPREFIX/libexec]
2235 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2236 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2237 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2238 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2239 --libdir=DIR object code libraries [EPREFIX/lib]
2240 --includedir=DIR C header files [PREFIX/include]
2241 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2242 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2243 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2244 --infodir=DIR info documentation [DATAROOTDIR/info]
2245 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2246 --mandir=DIR man documentation [DATAROOTDIR/man]
2247 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2248 --htmldir=DIR html documentation [DOCDIR]
2249 --dvidir=DIR dvi documentation [DOCDIR]
2250 --pdfdir=DIR pdf documentation [DOCDIR]
2251 --psdir=DIR ps documentation [DOCDIR]
2252 _ACEOF
2254 cat <<\_ACEOF
2256 X features:
2257 --x-includes=DIR X include files are in DIR
2258 --x-libraries=DIR X library files are in DIR
2260 System types:
2261 --build=BUILD configure for building on BUILD [guessed]
2262 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2263 _ACEOF
2266 if test -n "$ac_init_help"; then
2267 case $ac_init_help in
2268 short | recursive ) echo "Configuration of Wine 1.9.21:";;
2269 esac
2270 cat <<\_ACEOF
2272 Optional Features:
2273 --disable-option-checking ignore unrecognized --enable/--with options
2274 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2275 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2276 --disable-win16 do not include Win16 support
2277 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2278 binaries)
2279 --disable-tests do not build the regression tests
2280 --enable-maintainer-mode
2281 enable maintainer-specific build rules
2282 --disable-largefile omit support for large files
2284 Optional Packages:
2285 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2286 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2287 --without-alsa do not use the Alsa sound support
2288 --without-capi do not use CAPI (ISDN support)
2289 --without-cms do not use CMS (color management support)
2290 --without-coreaudio do not use the CoreAudio sound support
2291 --without-cups do not use CUPS
2292 --without-curses do not use (n)curses
2293 --without-dbus do not use DBus (dynamic device support)
2294 --without-fontconfig do not use fontconfig
2295 --without-freetype do not use the FreeType library
2296 --without-gettext do not use gettext
2297 --with-gettextpo use the GetTextPO library to rebuild po files
2298 --without-gphoto do not use gphoto (Digital Camera support)
2299 --without-glu do not use the GLU library
2300 --without-gnutls do not use GnuTLS (schannel support)
2301 --without-gsm do not use libgsm (GSM 06.10 codec support)
2302 --without-gstreamer do not use GStreamer (codecs support)
2303 --without-hal do not use HAL (dynamic device support)
2304 --without-jpeg do not use JPEG
2305 --without-ldap do not use LDAP
2306 --without-mpg123 do not use the mpg123 library
2307 --without-netapi do not use the Samba NetAPI library
2308 --without-openal do not use OpenAL
2309 --without-opencl do not use OpenCL
2310 --without-opengl do not use OpenGL
2311 --without-osmesa do not use the OSMesa library
2312 --without-oss do not use the OSS sound support
2313 --without-pcap do not use the Packet Capture library
2314 --without-png do not use PNG
2315 --without-pthread do not use the pthread library
2316 --without-pulse do not use PulseAudio sound support
2317 --without-sane do not use SANE (scanner support)
2318 --without-tiff do not use TIFF
2319 --without-udev do not use udev (plug and play support)
2320 --without-v4l do not use v4l1 (v4l support)
2321 --without-xcomposite do not use the Xcomposite extension
2322 --without-xcursor do not use the Xcursor extension
2323 --without-xinerama do not use Xinerama (multi-monitor support)
2324 --without-xinput do not use the Xinput extension
2325 --without-xinput2 do not use the Xinput 2 extension
2326 --without-xml do not use XML
2327 --without-xrandr do not use Xrandr (resolution changes)
2328 --without-xrender do not use the Xrender extension
2329 --without-xshape do not use the Xshape extension
2330 --without-xshm do not use XShm (shared memory extension)
2331 --without-xslt do not use XSLT
2332 --without-xxf86vm do not use XFree video mode extension
2333 --without-zlib do not use Zlib (data compression)
2334 --with-wine-tools=DIR use Wine tools from directory DIR
2335 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2336 --with-x use the X Window System
2338 Some influential environment variables:
2339 CC C compiler command
2340 CFLAGS C compiler flags
2341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2342 nonstandard directory <lib dir>
2343 LIBS libraries to pass to the linker, e.g. -l<library>
2344 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2345 you have headers in a nonstandard directory <include dir>
2346 CXX C++ compiler command
2347 CXXFLAGS C++ compiler flags
2348 CPP C preprocessor
2349 XMKMF Path to xmkmf, Makefile generator for X Window System
2350 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2351 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2352 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2353 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2354 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2355 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2356 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2357 HAL_LIBS Linker flags for hal, overriding pkg-config
2358 GNUTLS_CFLAGS
2359 C compiler flags for gnutls, overriding pkg-config
2360 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2361 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2362 SANE_LIBS Linker flags for libsane, overriding pkg-config
2363 GPHOTO2_CFLAGS
2364 C compiler flags for libgphoto2, overriding pkg-config
2365 GPHOTO2_LIBS
2366 Linker flags for libgphoto2, overriding pkg-config
2367 GPHOTO2_PORT_CFLAGS
2368 C compiler flags for libgphoto2_port, overriding pkg-config
2369 GPHOTO2_PORT_LIBS
2370 Linker flags for libgphoto2_port, overriding pkg-config
2371 LCMS2_CFLAGS
2372 C compiler flags for lcms2, overriding pkg-config
2373 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2374 FREETYPE_CFLAGS
2375 C compiler flags for freetype2, overriding pkg-config
2376 FREETYPE_LIBS
2377 Linker flags for freetype2, overriding pkg-config
2378 PULSE_CFLAGS
2379 C compiler flags for libpulse, overriding pkg-config
2380 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2381 GSTREAMER_CFLAGS
2382 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2383 gstreamer-audio-1.0, overriding pkg-config
2384 GSTREAMER_LIBS
2385 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2386 gstreamer-audio-1.0, overriding pkg-config
2387 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2388 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2389 CAPI20_CFLAGS
2390 C compiler flags for capi20, overriding pkg-config
2391 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2392 FONTCONFIG_CFLAGS
2393 C compiler flags for fontconfig, overriding pkg-config
2394 FONTCONFIG_LIBS
2395 Linker flags for fontconfig, overriding pkg-config
2396 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2397 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2398 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2399 PNG_LIBS Linker flags for libpng, overriding pkg-config
2400 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2401 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2402 MPG123_CFLAGS
2403 C compiler flags for libmpg123, overriding pkg-config
2404 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2405 NETAPI_CFLAGS
2406 C compiler flags for netapi, overriding pkg-config
2407 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2409 Use these variables to override the choices made by `configure' or to help
2410 it to find libraries and programs with nonstandard names/locations.
2412 Report bugs to <wine-devel@winehq.org>.
2413 Wine home page: <http://www.winehq.org>.
2414 _ACEOF
2415 ac_status=$?
2418 if test "$ac_init_help" = "recursive"; then
2419 # If there are subdirs, report their specific --help.
2420 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2421 test -d "$ac_dir" ||
2422 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2423 continue
2424 ac_builddir=.
2426 case "$ac_dir" in
2427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2429 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2430 # A ".." for each directory in $ac_dir_suffix.
2431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2432 case $ac_top_builddir_sub in
2433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2435 esac ;;
2436 esac
2437 ac_abs_top_builddir=$ac_pwd
2438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2439 # for backward compatibility:
2440 ac_top_builddir=$ac_top_build_prefix
2442 case $srcdir in
2443 .) # We are building in place.
2444 ac_srcdir=.
2445 ac_top_srcdir=$ac_top_builddir_sub
2446 ac_abs_top_srcdir=$ac_pwd ;;
2447 [\\/]* | ?:[\\/]* ) # Absolute name.
2448 ac_srcdir=$srcdir$ac_dir_suffix;
2449 ac_top_srcdir=$srcdir
2450 ac_abs_top_srcdir=$srcdir ;;
2451 *) # Relative name.
2452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2453 ac_top_srcdir=$ac_top_build_prefix$srcdir
2454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2455 esac
2456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2458 cd "$ac_dir" || { ac_status=$?; continue; }
2459 # Check for guested configure.
2460 if test -f "$ac_srcdir/configure.gnu"; then
2461 echo &&
2462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2463 elif test -f "$ac_srcdir/configure"; then
2464 echo &&
2465 $SHELL "$ac_srcdir/configure" --help=recursive
2466 else
2467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2468 fi || ac_status=$?
2469 cd "$ac_pwd" || { ac_status=$?; break; }
2470 done
2473 test -n "$ac_init_help" && exit $ac_status
2474 if $ac_init_version; then
2475 cat <<\_ACEOF
2476 Wine configure 1.9.21
2477 generated by GNU Autoconf 2.69
2479 Copyright (C) 2012 Free Software Foundation, Inc.
2480 This configure script is free software; the Free Software Foundation
2481 gives unlimited permission to copy, distribute and modify it.
2482 _ACEOF
2483 exit
2486 ## ------------------------ ##
2487 ## Autoconf initialization. ##
2488 ## ------------------------ ##
2490 # ac_fn_c_try_compile LINENO
2491 # --------------------------
2492 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2493 ac_fn_c_try_compile ()
2495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2496 rm -f conftest.$ac_objext
2497 if { { ac_try="$ac_compile"
2498 case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2501 esac
2502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2503 $as_echo "$ac_try_echo"; } >&5
2504 (eval "$ac_compile") 2>conftest.err
2505 ac_status=$?
2506 if test -s conftest.err; then
2507 grep -v '^ *+' conftest.err >conftest.er1
2508 cat conftest.er1 >&5
2509 mv -f conftest.er1 conftest.err
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2512 test $ac_status = 0; } && {
2513 test -z "$ac_c_werror_flag" ||
2514 test ! -s conftest.err
2515 } && test -s conftest.$ac_objext; then :
2516 ac_retval=0
2517 else
2518 $as_echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2521 ac_retval=1
2523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2524 as_fn_set_status $ac_retval
2526 } # ac_fn_c_try_compile
2528 # ac_fn_cxx_try_compile LINENO
2529 # ----------------------------
2530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2531 ac_fn_cxx_try_compile ()
2533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2534 rm -f conftest.$ac_objext
2535 if { { ac_try="$ac_compile"
2536 case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2541 $as_echo "$ac_try_echo"; } >&5
2542 (eval "$ac_compile") 2>conftest.err
2543 ac_status=$?
2544 if test -s conftest.err; then
2545 grep -v '^ *+' conftest.err >conftest.er1
2546 cat conftest.er1 >&5
2547 mv -f conftest.er1 conftest.err
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; } && {
2551 test -z "$ac_cxx_werror_flag" ||
2552 test ! -s conftest.err
2553 } && test -s conftest.$ac_objext; then :
2554 ac_retval=0
2555 else
2556 $as_echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2559 ac_retval=1
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status $ac_retval
2564 } # ac_fn_cxx_try_compile
2566 # ac_fn_c_try_link LINENO
2567 # -----------------------
2568 # Try to link conftest.$ac_ext, and return whether this succeeded.
2569 ac_fn_c_try_link ()
2571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2572 rm -f conftest.$ac_objext conftest$ac_exeext
2573 if { { ac_try="$ac_link"
2574 case "(($ac_try" in
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2577 esac
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_link") 2>conftest.err
2581 ac_status=$?
2582 if test -s conftest.err; then
2583 grep -v '^ *+' conftest.err >conftest.er1
2584 cat conftest.er1 >&5
2585 mv -f conftest.er1 conftest.err
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; } && {
2589 test -z "$ac_c_werror_flag" ||
2590 test ! -s conftest.err
2591 } && test -s conftest$ac_exeext && {
2592 test "$cross_compiling" = yes ||
2593 test -x conftest$ac_exeext
2594 }; then :
2595 ac_retval=0
2596 else
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 ac_retval=1
2602 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2603 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2604 # interfere with the next link command; also delete a directory that is
2605 # left behind by Apple's compiler. We do this before executing the actions.
2606 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 as_fn_set_status $ac_retval
2610 } # ac_fn_c_try_link
2612 # ac_fn_c_try_cpp LINENO
2613 # ----------------------
2614 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2615 ac_fn_c_try_cpp ()
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 if { { ac_try="$ac_cpp conftest.$ac_ext"
2619 case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2622 esac
2623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2626 ac_status=$?
2627 if test -s conftest.err; then
2628 grep -v '^ *+' conftest.err >conftest.er1
2629 cat conftest.er1 >&5
2630 mv -f conftest.er1 conftest.err
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } > conftest.i && {
2634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2635 test ! -s conftest.err
2636 }; then :
2637 ac_retval=0
2638 else
2639 $as_echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.$ac_ext >&5
2642 ac_retval=1
2644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2645 as_fn_set_status $ac_retval
2647 } # ac_fn_c_try_cpp
2649 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2650 # -------------------------------------------------------
2651 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2652 # the include files in INCLUDES and setting the cache variable VAR
2653 # accordingly.
2654 ac_fn_c_check_header_mongrel ()
2656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2657 if eval \${$3+:} false; then :
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \${$3+:} false; then :
2661 $as_echo_n "(cached) " >&6
2663 eval ac_res=\$$3
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2665 $as_echo "$ac_res" >&6; }
2666 else
2667 # Is the header compilable?
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2669 $as_echo_n "checking $2 usability... " >&6; }
2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2673 #include <$2>
2674 _ACEOF
2675 if ac_fn_c_try_compile "$LINENO"; then :
2676 ac_header_compiler=yes
2677 else
2678 ac_header_compiler=no
2680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2682 $as_echo "$ac_header_compiler" >&6; }
2684 # Is the header present?
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2686 $as_echo_n "checking $2 presence... " >&6; }
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2689 #include <$2>
2690 _ACEOF
2691 if ac_fn_c_try_cpp "$LINENO"; then :
2692 ac_header_preproc=yes
2693 else
2694 ac_header_preproc=no
2696 rm -f conftest.err conftest.i conftest.$ac_ext
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2698 $as_echo "$ac_header_preproc" >&6; }
2700 # So? What about this header?
2701 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2702 yes:no: )
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2704 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2706 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2708 no:yes:* )
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2710 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2712 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2714 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2716 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2718 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2719 ( $as_echo "## ------------------------------------ ##
2720 ## Report this to wine-devel@winehq.org ##
2721 ## ------------------------------------ ##"
2722 ) | sed "s/^/$as_me: WARNING: /" >&2
2724 esac
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2726 $as_echo_n "checking for $2... " >&6; }
2727 if eval \${$3+:} false; then :
2728 $as_echo_n "(cached) " >&6
2729 else
2730 eval "$3=\$ac_header_compiler"
2732 eval ac_res=\$$3
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2738 } # ac_fn_c_check_header_mongrel
2740 # ac_fn_c_try_run LINENO
2741 # ----------------------
2742 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2743 # that executables *can* be run.
2744 ac_fn_c_try_run ()
2746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2747 if { { ac_try="$ac_link"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2753 $as_echo "$ac_try_echo"; } >&5
2754 (eval "$ac_link") 2>&5
2755 ac_status=$?
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2758 { { case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2761 esac
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_try") 2>&5
2765 ac_status=$?
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; }; then :
2768 ac_retval=0
2769 else
2770 $as_echo "$as_me: program exited with status $ac_status" >&5
2771 $as_echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2774 ac_retval=$ac_status
2776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 as_fn_set_status $ac_retval
2780 } # ac_fn_c_try_run
2782 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2783 # -------------------------------------------------------
2784 # Tests whether HEADER exists and can be compiled using the include files in
2785 # INCLUDES, setting the cache variable VAR accordingly.
2786 ac_fn_c_check_header_compile ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2790 $as_echo_n "checking for $2... " >&6; }
2791 if eval \${$3+:} false; then :
2792 $as_echo_n "(cached) " >&6
2793 else
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2797 #include <$2>
2798 _ACEOF
2799 if ac_fn_c_try_compile "$LINENO"; then :
2800 eval "$3=yes"
2801 else
2802 eval "$3=no"
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 eval ac_res=\$$3
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2808 $as_echo "$ac_res" >&6; }
2809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2811 } # ac_fn_c_check_header_compile
2813 # ac_fn_c_check_func LINENO FUNC VAR
2814 # ----------------------------------
2815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2816 ac_fn_c_check_func ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \${$3+:} false; then :
2822 $as_echo_n "(cached) " >&6
2823 else
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2826 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2828 #define $2 innocuous_$2
2830 /* System header to define __stub macros and hopefully few prototypes,
2831 which can conflict with char $2 (); below.
2832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2833 <limits.h> exists even on freestanding compilers. */
2835 #ifdef __STDC__
2836 # include <limits.h>
2837 #else
2838 # include <assert.h>
2839 #endif
2841 #undef $2
2843 /* Override any GCC internal prototype to avoid an error.
2844 Use char because int might match the return type of a GCC
2845 builtin and then its argument prototype would still apply. */
2846 #ifdef __cplusplus
2847 extern "C"
2848 #endif
2849 char $2 ();
2850 /* The GNU C library defines this for functions which it implements
2851 to always fail with ENOSYS. Some functions are actually named
2852 something starting with __ and the normal name is an alias. */
2853 #if defined __stub_$2 || defined __stub___$2
2854 choke me
2855 #endif
2858 main ()
2860 return $2 ();
2862 return 0;
2864 _ACEOF
2865 if ac_fn_c_try_link "$LINENO"; then :
2866 eval "$3=yes"
2867 else
2868 eval "$3=no"
2870 rm -f core conftest.err conftest.$ac_objext \
2871 conftest$ac_exeext conftest.$ac_ext
2873 eval ac_res=\$$3
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2875 $as_echo "$ac_res" >&6; }
2876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2878 } # ac_fn_c_check_func
2880 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2881 # ----------------------------------------------------
2882 # Tries to find if the field MEMBER exists in type AGGR, after including
2883 # INCLUDES, setting cache variable VAR accordingly.
2884 ac_fn_c_check_member ()
2886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2888 $as_echo_n "checking for $2.$3... " >&6; }
2889 if eval \${$4+:} false; then :
2890 $as_echo_n "(cached) " >&6
2891 else
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2896 main ()
2898 static $2 ac_aggr;
2899 if (ac_aggr.$3)
2900 return 0;
2902 return 0;
2904 _ACEOF
2905 if ac_fn_c_try_compile "$LINENO"; then :
2906 eval "$4=yes"
2907 else
2908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909 /* end confdefs.h. */
2912 main ()
2914 static $2 ac_aggr;
2915 if (sizeof ac_aggr.$3)
2916 return 0;
2918 return 0;
2920 _ACEOF
2921 if ac_fn_c_try_compile "$LINENO"; then :
2922 eval "$4=yes"
2923 else
2924 eval "$4=no"
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 eval ac_res=\$$4
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2932 $as_echo "$ac_res" >&6; }
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2935 } # ac_fn_c_check_member
2937 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2938 # -------------------------------------------
2939 # Tests whether TYPE exists after having included INCLUDES, setting cache
2940 # variable VAR accordingly.
2941 ac_fn_c_check_type ()
2943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2945 $as_echo_n "checking for $2... " >&6; }
2946 if eval \${$3+:} false; then :
2947 $as_echo_n "(cached) " >&6
2948 else
2949 eval "$3=no"
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2954 main ()
2956 if (sizeof ($2))
2957 return 0;
2959 return 0;
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2964 /* end confdefs.h. */
2967 main ()
2969 if (sizeof (($2)))
2970 return 0;
2972 return 0;
2974 _ACEOF
2975 if ac_fn_c_try_compile "$LINENO"; then :
2977 else
2978 eval "$3=yes"
2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2984 eval ac_res=\$$3
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2986 $as_echo "$ac_res" >&6; }
2987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2989 } # ac_fn_c_check_type
2990 cat >config.log <<_ACEOF
2991 This file contains any messages produced by compilers while
2992 running configure, to aid debugging if configure makes a mistake.
2994 It was created by Wine $as_me 1.9.21, which was
2995 generated by GNU Autoconf 2.69. Invocation command line was
2997 $ $0 $@
2999 _ACEOF
3000 exec 5>>config.log
3002 cat <<_ASUNAME
3003 ## --------- ##
3004 ## Platform. ##
3005 ## --------- ##
3007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3014 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3016 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3017 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3019 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3020 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3021 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3022 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3024 _ASUNAME
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 for as_dir in $PATH
3029 IFS=$as_save_IFS
3030 test -z "$as_dir" && as_dir=.
3031 $as_echo "PATH: $as_dir"
3032 done
3033 IFS=$as_save_IFS
3035 } >&5
3037 cat >&5 <<_ACEOF
3040 ## ----------- ##
3041 ## Core tests. ##
3042 ## ----------- ##
3044 _ACEOF
3047 # Keep a trace of the command line.
3048 # Strip out --no-create and --no-recursion so they do not pile up.
3049 # Strip out --silent because we don't want to record it for future runs.
3050 # Also quote any args containing shell meta-characters.
3051 # Make two passes to allow for proper duplicate-argument suppression.
3052 ac_configure_args=
3053 ac_configure_args0=
3054 ac_configure_args1=
3055 ac_must_keep_next=false
3056 for ac_pass in 1 2
3058 for ac_arg
3060 case $ac_arg in
3061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3063 | -silent | --silent | --silen | --sile | --sil)
3064 continue ;;
3065 *\'*)
3066 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3067 esac
3068 case $ac_pass in
3069 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3071 as_fn_append ac_configure_args1 " '$ac_arg'"
3072 if test $ac_must_keep_next = true; then
3073 ac_must_keep_next=false # Got value, back to normal.
3074 else
3075 case $ac_arg in
3076 *=* | --config-cache | -C | -disable-* | --disable-* \
3077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3079 | -with-* | --with-* | -without-* | --without-* | --x)
3080 case "$ac_configure_args0 " in
3081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3082 esac
3084 -* ) ac_must_keep_next=true ;;
3085 esac
3087 as_fn_append ac_configure_args " '$ac_arg'"
3089 esac
3090 done
3091 done
3092 { ac_configure_args0=; unset ac_configure_args0;}
3093 { ac_configure_args1=; unset ac_configure_args1;}
3095 # When interrupted or exit'd, cleanup temporary files, and complete
3096 # config.log. We remove comments because anyway the quotes in there
3097 # would cause problems or look ugly.
3098 # WARNING: Use '\'' to represent an apostrophe within the trap.
3099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3100 trap 'exit_status=$?
3101 # Save into config.log some information that might help in debugging.
3103 echo
3105 $as_echo "## ---------------- ##
3106 ## Cache variables. ##
3107 ## ---------------- ##"
3108 echo
3109 # The following way of writing the cache mishandles newlines in values,
3111 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3112 eval ac_val=\$$ac_var
3113 case $ac_val in #(
3114 *${as_nl}*)
3115 case $ac_var in #(
3116 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3118 esac
3119 case $ac_var in #(
3120 _ | IFS | as_nl) ;; #(
3121 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3122 *) { eval $ac_var=; unset $ac_var;} ;;
3123 esac ;;
3124 esac
3125 done
3126 (set) 2>&1 |
3127 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3128 *${as_nl}ac_space=\ *)
3129 sed -n \
3130 "s/'\''/'\''\\\\'\'''\''/g;
3131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3132 ;; #(
3134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3136 esac |
3137 sort
3139 echo
3141 $as_echo "## ----------------- ##
3142 ## Output variables. ##
3143 ## ----------------- ##"
3144 echo
3145 for ac_var in $ac_subst_vars
3147 eval ac_val=\$$ac_var
3148 case $ac_val in
3149 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3150 esac
3151 $as_echo "$ac_var='\''$ac_val'\''"
3152 done | sort
3153 echo
3155 if test -n "$ac_subst_files"; then
3156 $as_echo "## ------------------- ##
3157 ## File substitutions. ##
3158 ## ------------------- ##"
3159 echo
3160 for ac_var in $ac_subst_files
3162 eval ac_val=\$$ac_var
3163 case $ac_val in
3164 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3165 esac
3166 $as_echo "$ac_var='\''$ac_val'\''"
3167 done | sort
3168 echo
3171 if test -s confdefs.h; then
3172 $as_echo "## ----------- ##
3173 ## confdefs.h. ##
3174 ## ----------- ##"
3175 echo
3176 cat confdefs.h
3177 echo
3179 test "$ac_signal" != 0 &&
3180 $as_echo "$as_me: caught signal $ac_signal"
3181 $as_echo "$as_me: exit $exit_status"
3182 } >&5
3183 rm -f core *.core core.conftest.* &&
3184 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3185 exit $exit_status
3187 for ac_signal in 1 2 13 15; do
3188 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3189 done
3190 ac_signal=0
3192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3193 rm -f -r conftest* confdefs.h
3195 $as_echo "/* confdefs.h */" > confdefs.h
3197 # Predefined preprocessor variables.
3199 cat >>confdefs.h <<_ACEOF
3200 #define PACKAGE_NAME "$PACKAGE_NAME"
3201 _ACEOF
3203 cat >>confdefs.h <<_ACEOF
3204 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3205 _ACEOF
3207 cat >>confdefs.h <<_ACEOF
3208 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3209 _ACEOF
3211 cat >>confdefs.h <<_ACEOF
3212 #define PACKAGE_STRING "$PACKAGE_STRING"
3213 _ACEOF
3215 cat >>confdefs.h <<_ACEOF
3216 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3217 _ACEOF
3219 cat >>confdefs.h <<_ACEOF
3220 #define PACKAGE_URL "$PACKAGE_URL"
3221 _ACEOF
3224 # Let the site file select an alternate cache file if it wants to.
3225 # Prefer an explicitly selected file to automatically selected ones.
3226 ac_site_file1=NONE
3227 ac_site_file2=NONE
3228 if test -n "$CONFIG_SITE"; then
3229 # We do not want a PATH search for config.site.
3230 case $CONFIG_SITE in #((
3231 -*) ac_site_file1=./$CONFIG_SITE;;
3232 */*) ac_site_file1=$CONFIG_SITE;;
3233 *) ac_site_file1=./$CONFIG_SITE;;
3234 esac
3235 elif test "x$prefix" != xNONE; then
3236 ac_site_file1=$prefix/share/config.site
3237 ac_site_file2=$prefix/etc/config.site
3238 else
3239 ac_site_file1=$ac_default_prefix/share/config.site
3240 ac_site_file2=$ac_default_prefix/etc/config.site
3242 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3244 test "x$ac_site_file" = xNONE && continue
3245 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3247 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3248 sed 's/^/| /' "$ac_site_file" >&5
3249 . "$ac_site_file" \
3250 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3252 as_fn_error $? "failed to load site script $ac_site_file
3253 See \`config.log' for more details" "$LINENO" 5; }
3255 done
3257 if test -r "$cache_file"; then
3258 # Some versions of bash will fail to source /dev/null (special files
3259 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3260 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3262 $as_echo "$as_me: loading cache $cache_file" >&6;}
3263 case $cache_file in
3264 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3265 *) . "./$cache_file";;
3266 esac
3268 else
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3270 $as_echo "$as_me: creating cache $cache_file" >&6;}
3271 >$cache_file
3274 # Check that the precious variables saved in the cache have kept the same
3275 # value.
3276 ac_cache_corrupted=false
3277 for ac_var in $ac_precious_vars; do
3278 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3279 eval ac_new_set=\$ac_env_${ac_var}_set
3280 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3281 eval ac_new_val=\$ac_env_${ac_var}_value
3282 case $ac_old_set,$ac_new_set in
3283 set,)
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3285 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3286 ac_cache_corrupted=: ;;
3287 ,set)
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3289 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3290 ac_cache_corrupted=: ;;
3291 ,);;
3293 if test "x$ac_old_val" != "x$ac_new_val"; then
3294 # differences in whitespace do not lead to failure.
3295 ac_old_val_w=`echo x $ac_old_val`
3296 ac_new_val_w=`echo x $ac_new_val`
3297 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3299 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3300 ac_cache_corrupted=:
3301 else
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3303 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3304 eval $ac_var=\$ac_old_val
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3307 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3309 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3310 fi;;
3311 esac
3312 # Pass precious variables to config.status.
3313 if test "$ac_new_set" = set; then
3314 case $ac_new_val in
3315 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3316 *) ac_arg=$ac_var=$ac_new_val ;;
3317 esac
3318 case " $ac_configure_args " in
3319 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3320 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3321 esac
3323 done
3324 if $ac_cache_corrupted; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3328 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3329 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3331 ## -------------------- ##
3332 ## Main body of script. ##
3333 ## -------------------- ##
3335 ac_ext=c
3336 ac_cpp='$CPP $CPPFLAGS'
3337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 ac_config_headers="$ac_config_headers include/config.h"
3345 ac_aux_dir=
3346 for ac_dir in tools "$srcdir"/tools; do
3347 if test -f "$ac_dir/install-sh"; then
3348 ac_aux_dir=$ac_dir
3349 ac_install_sh="$ac_aux_dir/install-sh -c"
3350 break
3351 elif test -f "$ac_dir/install.sh"; then
3352 ac_aux_dir=$ac_dir
3353 ac_install_sh="$ac_aux_dir/install.sh -c"
3354 break
3355 elif test -f "$ac_dir/shtool"; then
3356 ac_aux_dir=$ac_dir
3357 ac_install_sh="$ac_aux_dir/shtool install -c"
3358 break
3360 done
3361 if test -z "$ac_aux_dir"; then
3362 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3365 # These three variables are undocumented and unsupported,
3366 # and are intended to be withdrawn in a future Autoconf release.
3367 # They can cause serious problems if a builder's source tree is in a directory
3368 # whose full name contains unusual characters.
3369 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3370 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3371 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3375 libwine_version="1.0"
3379 # Check whether --enable-win16 was given.
3380 if test "${enable_win16+set}" = set; then :
3381 enableval=$enable_win16;
3384 # Check whether --enable-win64 was given.
3385 if test "${enable_win64+set}" = set; then :
3386 enableval=$enable_win64;
3389 # Check whether --enable-tests was given.
3390 if test "${enable_tests+set}" = set; then :
3391 enableval=$enable_tests;
3394 # Check whether --enable-maintainer-mode was given.
3395 if test "${enable_maintainer_mode+set}" = set; then :
3396 enableval=$enable_maintainer_mode;
3401 # Check whether --with-alsa was given.
3402 if test "${with_alsa+set}" = set; then :
3403 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3407 # Check whether --with-capi was given.
3408 if test "${with_capi+set}" = set; then :
3409 withval=$with_capi;
3413 # Check whether --with-cms was given.
3414 if test "${with_cms+set}" = set; then :
3415 withval=$with_cms;
3419 # Check whether --with-coreaudio was given.
3420 if test "${with_coreaudio+set}" = set; then :
3421 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3425 # Check whether --with-cups was given.
3426 if test "${with_cups+set}" = set; then :
3427 withval=$with_cups;
3431 # Check whether --with-curses was given.
3432 if test "${with_curses+set}" = set; then :
3433 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3437 # Check whether --with-dbus was given.
3438 if test "${with_dbus+set}" = set; then :
3439 withval=$with_dbus;
3443 # Check whether --with-fontconfig was given.
3444 if test "${with_fontconfig+set}" = set; then :
3445 withval=$with_fontconfig;
3449 # Check whether --with-freetype was given.
3450 if test "${with_freetype+set}" = set; then :
3451 withval=$with_freetype;
3455 # Check whether --with-gettext was given.
3456 if test "${with_gettext+set}" = set; then :
3457 withval=$with_gettext;
3461 # Check whether --with-gettextpo was given.
3462 if test "${with_gettextpo+set}" = set; then :
3463 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3467 # Check whether --with-gphoto was given.
3468 if test "${with_gphoto+set}" = set; then :
3469 withval=$with_gphoto;
3473 # Check whether --with-glu was given.
3474 if test "${with_glu+set}" = set; then :
3475 withval=$with_glu;
3479 # Check whether --with-gnutls was given.
3480 if test "${with_gnutls+set}" = set; then :
3481 withval=$with_gnutls;
3485 # Check whether --with-gsm was given.
3486 if test "${with_gsm+set}" = set; then :
3487 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3491 # Check whether --with-gstreamer was given.
3492 if test "${with_gstreamer+set}" = set; then :
3493 withval=$with_gstreamer;
3497 # Check whether --with-hal was given.
3498 if test "${with_hal+set}" = set; then :
3499 withval=$with_hal;
3503 # Check whether --with-jpeg was given.
3504 if test "${with_jpeg+set}" = set; then :
3505 withval=$with_jpeg;
3509 # Check whether --with-ldap was given.
3510 if test "${with_ldap+set}" = set; then :
3511 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3515 # Check whether --with-mpg123 was given.
3516 if test "${with_mpg123+set}" = set; then :
3517 withval=$with_mpg123;
3521 # Check whether --with-netapi was given.
3522 if test "${with_netapi+set}" = set; then :
3523 withval=$with_netapi;
3527 # Check whether --with-openal was given.
3528 if test "${with_openal+set}" = set; then :
3529 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3533 # Check whether --with-opencl was given.
3534 if test "${with_opencl+set}" = set; then :
3535 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3539 # Check whether --with-opengl was given.
3540 if test "${with_opengl+set}" = set; then :
3541 withval=$with_opengl;
3545 # Check whether --with-osmesa was given.
3546 if test "${with_osmesa+set}" = set; then :
3547 withval=$with_osmesa;
3551 # Check whether --with-oss was given.
3552 if test "${with_oss+set}" = set; then :
3553 withval=$with_oss;
3557 # Check whether --with-pcap was given.
3558 if test "${with_pcap+set}" = set; then :
3559 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3563 # Check whether --with-png was given.
3564 if test "${with_png+set}" = set; then :
3565 withval=$with_png;
3569 # Check whether --with-pthread was given.
3570 if test "${with_pthread+set}" = set; then :
3571 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3575 # Check whether --with-pulse was given.
3576 if test "${with_pulse+set}" = set; then :
3577 withval=$with_pulse;
3581 # Check whether --with-sane was given.
3582 if test "${with_sane+set}" = set; then :
3583 withval=$with_sane;
3587 # Check whether --with-tiff was given.
3588 if test "${with_tiff+set}" = set; then :
3589 withval=$with_tiff;
3593 # Check whether --with-udev was given.
3594 if test "${with_udev+set}" = set; then :
3595 withval=$with_udev;
3599 # Check whether --with-v4l was given.
3600 if test "${with_v4l+set}" = set; then :
3601 withval=$with_v4l;
3605 # Check whether --with-xcomposite was given.
3606 if test "${with_xcomposite+set}" = set; then :
3607 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3611 # Check whether --with-xcursor was given.
3612 if test "${with_xcursor+set}" = set; then :
3613 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3617 # Check whether --with-xinerama was given.
3618 if test "${with_xinerama+set}" = set; then :
3619 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3623 # Check whether --with-xinput was given.
3624 if test "${with_xinput+set}" = set; then :
3625 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3629 # Check whether --with-xinput2 was given.
3630 if test "${with_xinput2+set}" = set; then :
3631 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3635 # Check whether --with-xml was given.
3636 if test "${with_xml+set}" = set; then :
3637 withval=$with_xml;
3641 # Check whether --with-xrandr was given.
3642 if test "${with_xrandr+set}" = set; then :
3643 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3647 # Check whether --with-xrender was given.
3648 if test "${with_xrender+set}" = set; then :
3649 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3653 # Check whether --with-xshape was given.
3654 if test "${with_xshape+set}" = set; then :
3655 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3659 # Check whether --with-xshm was given.
3660 if test "${with_xshm+set}" = set; then :
3661 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3665 # Check whether --with-xslt was given.
3666 if test "${with_xslt+set}" = set; then :
3667 withval=$with_xslt;
3671 # Check whether --with-xxf86vm was given.
3672 if test "${with_xxf86vm+set}" = set; then :
3673 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
3677 # Check whether --with-zlib was given.
3678 if test "${with_zlib+set}" = set; then :
3679 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3684 # Check whether --with-wine-tools was given.
3685 if test "${with_wine_tools+set}" = set; then :
3686 withval=$with_wine_tools;
3690 # Check whether --with-wine64 was given.
3691 if test "${with_wine64+set}" = set; then :
3692 withval=$with_wine64;
3696 # Make sure we can run config.sub.
3697 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3698 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3701 $as_echo_n "checking build system type... " >&6; }
3702 if ${ac_cv_build+:} false; then :
3703 $as_echo_n "(cached) " >&6
3704 else
3705 ac_build_alias=$build_alias
3706 test "x$ac_build_alias" = x &&
3707 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3708 test "x$ac_build_alias" = x &&
3709 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3710 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3711 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3715 $as_echo "$ac_cv_build" >&6; }
3716 case $ac_cv_build in
3717 *-*-*) ;;
3718 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3719 esac
3720 build=$ac_cv_build
3721 ac_save_IFS=$IFS; IFS='-'
3722 set x $ac_cv_build
3723 shift
3724 build_cpu=$1
3725 build_vendor=$2
3726 shift; shift
3727 # Remember, the first character of IFS is used to create $*,
3728 # except with old shells:
3729 build_os=$*
3730 IFS=$ac_save_IFS
3731 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3735 $as_echo_n "checking host system type... " >&6; }
3736 if ${ac_cv_host+:} false; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test "x$host_alias" = x; then
3740 ac_cv_host=$ac_cv_build
3741 else
3742 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3743 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3748 $as_echo "$ac_cv_host" >&6; }
3749 case $ac_cv_host in
3750 *-*-*) ;;
3751 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3752 esac
3753 host=$ac_cv_host
3754 ac_save_IFS=$IFS; IFS='-'
3755 set x $ac_cv_host
3756 shift
3757 host_cpu=$1
3758 host_vendor=$2
3759 shift; shift
3760 # Remember, the first character of IFS is used to create $*,
3761 # except with old shells:
3762 host_os=$*
3763 IFS=$ac_save_IFS
3764 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3768 case "$srcdir" in
3769 .) ;;
3770 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3771 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3772 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3773 fi ;;
3774 esac
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3778 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3779 set x ${MAKE-make}
3780 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3781 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 cat >conftest.make <<\_ACEOF
3785 SHELL = /bin/sh
3786 all:
3787 @echo '@@@%%%=$(MAKE)=@@@%%%'
3788 _ACEOF
3789 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3790 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3791 *@@@%%%=?*=@@@%%%*)
3792 eval ac_cv_prog_make_${ac_make}_set=yes;;
3794 eval ac_cv_prog_make_${ac_make}_set=no;;
3795 esac
3796 rm -f conftest.make
3798 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3800 $as_echo "yes" >&6; }
3801 SET_MAKE=
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3805 SET_MAKE="MAKE=${MAKE-make}"
3808 ac_ext=c
3809 ac_cpp='$CPP $CPPFLAGS'
3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3815 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817 $as_echo_n "checking for $ac_word... " >&6; }
3818 if ${ac_cv_prog_CC+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820 else
3821 if test -n "$CC"; then
3822 ac_cv_prog_CC="$CC" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3827 IFS=$as_save_IFS
3828 test -z "$as_dir" && as_dir=.
3829 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 break 2
3835 done
3836 done
3837 IFS=$as_save_IFS
3841 CC=$ac_cv_prog_CC
3842 if test -n "$CC"; then
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3844 $as_echo "$CC" >&6; }
3845 else
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3852 if test -z "$ac_cv_prog_CC"; then
3853 ac_ct_CC=$CC
3854 # Extract the first word of "gcc", so it can be a program name with args.
3855 set dummy gcc; ac_word=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857 $as_echo_n "checking for $ac_word... " >&6; }
3858 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 if test -n "$ac_ct_CC"; then
3862 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3863 else
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 for as_dir in $PATH
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_prog_ac_ct_CC="gcc"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 break 2
3875 done
3876 done
3877 IFS=$as_save_IFS
3881 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3882 if test -n "$ac_ct_CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3884 $as_echo "$ac_ct_CC" >&6; }
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3890 if test "x$ac_ct_CC" = x; then
3891 CC=""
3892 else
3893 case $cross_compiling:$ac_tool_warned in
3894 yes:)
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3897 ac_tool_warned=yes ;;
3898 esac
3899 CC=$ac_ct_CC
3901 else
3902 CC="$ac_cv_prog_CC"
3905 if test -z "$CC"; then
3906 if test -n "$ac_tool_prefix"; then
3907 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3908 set dummy ${ac_tool_prefix}cc; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_CC+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 if test -n "$CC"; then
3915 ac_cv_prog_CC="$CC" # Let the user override the test.
3916 else
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918 for as_dir in $PATH
3920 IFS=$as_save_IFS
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_CC="${ac_tool_prefix}cc"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 break 2
3928 done
3929 done
3930 IFS=$as_save_IFS
3934 CC=$ac_cv_prog_CC
3935 if test -n "$CC"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3937 $as_echo "$CC" >&6; }
3938 else
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3946 if test -z "$CC"; then
3947 # Extract the first word of "cc", so it can be a program name with args.
3948 set dummy cc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 ac_prog_rejected=no
3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 for as_dir in $PATH
3961 IFS=$as_save_IFS
3962 test -z "$as_dir" && as_dir=.
3963 for ac_exec_ext in '' $ac_executable_extensions; do
3964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3965 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3966 ac_prog_rejected=yes
3967 continue
3969 ac_cv_prog_CC="cc"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 break 2
3973 done
3974 done
3975 IFS=$as_save_IFS
3977 if test $ac_prog_rejected = yes; then
3978 # We found a bogon in the path, so make sure we never use it.
3979 set dummy $ac_cv_prog_CC
3980 shift
3981 if test $# != 0; then
3982 # We chose a different compiler from the bogus one.
3983 # However, it has the same basename, so the bogon will be chosen
3984 # first if we set CC to just the basename; use the full file name.
3985 shift
3986 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3991 CC=$ac_cv_prog_CC
3992 if test -n "$CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3994 $as_echo "$CC" >&6; }
3995 else
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4002 if test -z "$CC"; then
4003 if test -n "$ac_tool_prefix"; then
4004 for ac_prog in cl.exe
4006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4007 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4009 $as_echo_n "checking for $ac_word... " >&6; }
4010 if ${ac_cv_prog_CC+:} false; then :
4011 $as_echo_n "(cached) " >&6
4012 else
4013 if test -n "$CC"; then
4014 ac_cv_prog_CC="$CC" # Let the user override the test.
4015 else
4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 for as_dir in $PATH
4019 IFS=$as_save_IFS
4020 test -z "$as_dir" && as_dir=.
4021 for ac_exec_ext in '' $ac_executable_extensions; do
4022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4023 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4025 break 2
4027 done
4028 done
4029 IFS=$as_save_IFS
4033 CC=$ac_cv_prog_CC
4034 if test -n "$CC"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4036 $as_echo "$CC" >&6; }
4037 else
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4043 test -n "$CC" && break
4044 done
4046 if test -z "$CC"; then
4047 ac_ct_CC=$CC
4048 for ac_prog in cl.exe
4050 # Extract the first word of "$ac_prog", so it can be a program name with args.
4051 set dummy $ac_prog; ac_word=$2
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053 $as_echo_n "checking for $ac_word... " >&6; }
4054 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4055 $as_echo_n "(cached) " >&6
4056 else
4057 if test -n "$ac_ct_CC"; then
4058 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4059 else
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4061 for as_dir in $PATH
4063 IFS=$as_save_IFS
4064 test -z "$as_dir" && as_dir=.
4065 for ac_exec_ext in '' $ac_executable_extensions; do
4066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4067 ac_cv_prog_ac_ct_CC="$ac_prog"
4068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 break 2
4071 done
4072 done
4073 IFS=$as_save_IFS
4077 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4078 if test -n "$ac_ct_CC"; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4080 $as_echo "$ac_ct_CC" >&6; }
4081 else
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4087 test -n "$ac_ct_CC" && break
4088 done
4090 if test "x$ac_ct_CC" = x; then
4091 CC=""
4092 else
4093 case $cross_compiling:$ac_tool_warned in
4094 yes:)
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4097 ac_tool_warned=yes ;;
4098 esac
4099 CC=$ac_ct_CC
4106 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error $? "no acceptable C compiler found in \$PATH
4109 See \`config.log' for more details" "$LINENO" 5; }
4111 # Provide some information about the compiler.
4112 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4113 set X $ac_compile
4114 ac_compiler=$2
4115 for ac_option in --version -v -V -qversion; do
4116 { { ac_try="$ac_compiler $ac_option >&5"
4117 case "(($ac_try" in
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4120 esac
4121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$ac_try_echo"; } >&5
4123 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4124 ac_status=$?
4125 if test -s conftest.err; then
4126 sed '10a\
4127 ... rest of stderr output deleted ...
4128 10q' conftest.err >conftest.er1
4129 cat conftest.er1 >&5
4131 rm -f conftest.er1 conftest.err
4132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4133 test $ac_status = 0; }
4134 done
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4140 main ()
4144 return 0;
4146 _ACEOF
4147 ac_clean_files_save=$ac_clean_files
4148 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4149 # Try to create an executable without -o first, disregard a.out.
4150 # It will help us diagnose broken compilers, and finding out an intuition
4151 # of exeext.
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4153 $as_echo_n "checking whether the C compiler works... " >&6; }
4154 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4156 # The possible output files:
4157 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4159 ac_rmfiles=
4160 for ac_file in $ac_files
4162 case $ac_file in
4163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4164 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4165 esac
4166 done
4167 rm -f $ac_rmfiles
4169 if { { ac_try="$ac_link_default"
4170 case "(($ac_try" in
4171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4173 esac
4174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4175 $as_echo "$ac_try_echo"; } >&5
4176 (eval "$ac_link_default") 2>&5
4177 ac_status=$?
4178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4179 test $ac_status = 0; }; then :
4180 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4181 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4182 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4183 # so that the user can short-circuit this test for compilers unknown to
4184 # Autoconf.
4185 for ac_file in $ac_files ''
4187 test -f "$ac_file" || continue
4188 case $ac_file in
4189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4191 [ab].out )
4192 # We found the default executable, but exeext='' is most
4193 # certainly right.
4194 break;;
4195 *.* )
4196 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4197 then :; else
4198 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4200 # We set ac_cv_exeext here because the later test for it is not
4201 # safe: cross compilers may not add the suffix if given an `-o'
4202 # argument, so we may need to know it at that point already.
4203 # Even if this section looks crufty: it has the advantage of
4204 # actually working.
4205 break;;
4207 break;;
4208 esac
4209 done
4210 test "$ac_cv_exeext" = no && ac_cv_exeext=
4212 else
4213 ac_file=''
4215 if test -z "$ac_file"; then :
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4218 $as_echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.$ac_ext >&5
4221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4223 as_fn_error 77 "C compiler cannot create executables
4224 See \`config.log' for more details" "$LINENO" 5; }
4225 else
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4227 $as_echo "yes" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4230 $as_echo_n "checking for C compiler default output file name... " >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4232 $as_echo "$ac_file" >&6; }
4233 ac_exeext=$ac_cv_exeext
4235 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4236 ac_clean_files=$ac_clean_files_save
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4238 $as_echo_n "checking for suffix of executables... " >&6; }
4239 if { { ac_try="$ac_link"
4240 case "(($ac_try" in
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4243 esac
4244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245 $as_echo "$ac_try_echo"; } >&5
4246 (eval "$ac_link") 2>&5
4247 ac_status=$?
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }; then :
4250 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4251 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4252 # work properly (i.e., refer to `conftest.exe'), while it won't with
4253 # `rm'.
4254 for ac_file in conftest.exe conftest conftest.*; do
4255 test -f "$ac_file" || continue
4256 case $ac_file in
4257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4258 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4259 break;;
4260 * ) break;;
4261 esac
4262 done
4263 else
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4267 See \`config.log' for more details" "$LINENO" 5; }
4269 rm -f conftest conftest$ac_cv_exeext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4271 $as_echo "$ac_cv_exeext" >&6; }
4273 rm -f conftest.$ac_ext
4274 EXEEXT=$ac_cv_exeext
4275 ac_exeext=$EXEEXT
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4278 #include <stdio.h>
4280 main ()
4282 FILE *f = fopen ("conftest.out", "w");
4283 return ferror (f) || fclose (f) != 0;
4286 return 0;
4288 _ACEOF
4289 ac_clean_files="$ac_clean_files conftest.out"
4290 # Check that the compiler produces executables we can run. If not, either
4291 # the compiler is broken, or we cross compile.
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4293 $as_echo_n "checking whether we are cross compiling... " >&6; }
4294 if test "$cross_compiling" != yes; then
4295 { { ac_try="$ac_link"
4296 case "(($ac_try" in
4297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298 *) ac_try_echo=$ac_try;;
4299 esac
4300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4301 $as_echo "$ac_try_echo"; } >&5
4302 (eval "$ac_link") 2>&5
4303 ac_status=$?
4304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4305 test $ac_status = 0; }
4306 if { ac_try='./conftest$ac_cv_exeext'
4307 { { case "(($ac_try" in
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4310 esac
4311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4312 $as_echo "$ac_try_echo"; } >&5
4313 (eval "$ac_try") 2>&5
4314 ac_status=$?
4315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; }; }; then
4317 cross_compiling=no
4318 else
4319 if test "$cross_compiling" = maybe; then
4320 cross_compiling=yes
4321 else
4322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 as_fn_error $? "cannot run C compiled programs.
4325 If you meant to cross compile, use \`--host'.
4326 See \`config.log' for more details" "$LINENO" 5; }
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4331 $as_echo "$cross_compiling" >&6; }
4333 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4334 ac_clean_files=$ac_clean_files_save
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4336 $as_echo_n "checking for suffix of object files... " >&6; }
4337 if ${ac_cv_objext+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4344 main ()
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.o conftest.obj
4352 if { { ac_try="$ac_compile"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4358 $as_echo "$ac_try_echo"; } >&5
4359 (eval "$ac_compile") 2>&5
4360 ac_status=$?
4361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4362 test $ac_status = 0; }; then :
4363 for ac_file in conftest.o conftest.obj conftest.*; do
4364 test -f "$ac_file" || continue;
4365 case $ac_file in
4366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4367 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4368 break;;
4369 esac
4370 done
4371 else
4372 $as_echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4377 as_fn_error $? "cannot compute suffix of object files: cannot compile
4378 See \`config.log' for more details" "$LINENO" 5; }
4380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4383 $as_echo "$ac_cv_objext" >&6; }
4384 OBJEXT=$ac_cv_objext
4385 ac_objext=$OBJEXT
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4387 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4388 if ${ac_cv_c_compiler_gnu+:} false; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4395 main ()
4397 #ifndef __GNUC__
4398 choke me
4399 #endif
4402 return 0;
4404 _ACEOF
4405 if ac_fn_c_try_compile "$LINENO"; then :
4406 ac_compiler_gnu=yes
4407 else
4408 ac_compiler_gnu=no
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4415 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4416 if test $ac_compiler_gnu = yes; then
4417 GCC=yes
4418 else
4419 GCC=
4421 ac_test_CFLAGS=${CFLAGS+set}
4422 ac_save_CFLAGS=$CFLAGS
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4424 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4425 if ${ac_cv_prog_cc_g+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 ac_save_c_werror_flag=$ac_c_werror_flag
4429 ac_c_werror_flag=yes
4430 ac_cv_prog_cc_g=no
4431 CFLAGS="-g"
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433 /* end confdefs.h. */
4436 main ()
4440 return 0;
4442 _ACEOF
4443 if ac_fn_c_try_compile "$LINENO"; then :
4444 ac_cv_prog_cc_g=yes
4445 else
4446 CFLAGS=""
4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4448 /* end confdefs.h. */
4451 main ()
4455 return 0;
4457 _ACEOF
4458 if ac_fn_c_try_compile "$LINENO"; then :
4460 else
4461 ac_c_werror_flag=$ac_save_c_werror_flag
4462 CFLAGS="-g"
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4467 main ()
4471 return 0;
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475 ac_cv_prog_cc_g=yes
4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482 ac_c_werror_flag=$ac_save_c_werror_flag
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4485 $as_echo "$ac_cv_prog_cc_g" >&6; }
4486 if test "$ac_test_CFLAGS" = set; then
4487 CFLAGS=$ac_save_CFLAGS
4488 elif test $ac_cv_prog_cc_g = yes; then
4489 if test "$GCC" = yes; then
4490 CFLAGS="-g -O2"
4491 else
4492 CFLAGS="-g"
4494 else
4495 if test "$GCC" = yes; then
4496 CFLAGS="-O2"
4497 else
4498 CFLAGS=
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4502 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4503 if ${ac_cv_prog_cc_c89+:} false; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 ac_cv_prog_cc_c89=no
4507 ac_save_CC=$CC
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4510 #include <stdarg.h>
4511 #include <stdio.h>
4512 struct stat;
4513 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4514 struct buf { int x; };
4515 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4516 static char *e (p, i)
4517 char **p;
4518 int i;
4520 return p[i];
4522 static char *f (char * (*g) (char **, int), char **p, ...)
4524 char *s;
4525 va_list v;
4526 va_start (v,p);
4527 s = g (p, va_arg (v,int));
4528 va_end (v);
4529 return s;
4532 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4533 function prototypes and stuff, but not '\xHH' hex character constants.
4534 These don't provoke an error unfortunately, instead are silently treated
4535 as 'x'. The following induces an error, until -std is added to get
4536 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4537 array size at least. It's necessary to write '\x00'==0 to get something
4538 that's true only with -std. */
4539 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4541 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4542 inside strings and character constants. */
4543 #define FOO(x) 'x'
4544 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4546 int test (int i, double x);
4547 struct s1 {int (*f) (int a);};
4548 struct s2 {int (*f) (double a);};
4549 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4550 int argc;
4551 char **argv;
4553 main ()
4555 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4557 return 0;
4559 _ACEOF
4560 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4561 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4563 CC="$ac_save_CC $ac_arg"
4564 if ac_fn_c_try_compile "$LINENO"; then :
4565 ac_cv_prog_cc_c89=$ac_arg
4567 rm -f core conftest.err conftest.$ac_objext
4568 test "x$ac_cv_prog_cc_c89" != "xno" && break
4569 done
4570 rm -f conftest.$ac_ext
4571 CC=$ac_save_CC
4574 # AC_CACHE_VAL
4575 case "x$ac_cv_prog_cc_c89" in
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4578 $as_echo "none needed" >&6; } ;;
4579 xno)
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4581 $as_echo "unsupported" >&6; } ;;
4583 CC="$CC $ac_cv_prog_cc_c89"
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4585 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4586 esac
4587 if test "x$ac_cv_prog_cc_c89" != xno; then :
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597 ac_ext=cpp
4598 ac_cpp='$CXXCPP $CPPFLAGS'
4599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4602 if test -z "$CXX"; then
4603 if test -n "$CCC"; then
4604 CXX=$CCC
4605 else
4606 if test -n "$ac_tool_prefix"; then
4607 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4610 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if ${ac_cv_prog_CXX+:} false; then :
4614 $as_echo_n "(cached) " >&6
4615 else
4616 if test -n "$CXX"; then
4617 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4618 else
4619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 for as_dir in $PATH
4622 IFS=$as_save_IFS
4623 test -z "$as_dir" && as_dir=.
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 break 2
4630 done
4631 done
4632 IFS=$as_save_IFS
4636 CXX=$ac_cv_prog_CXX
4637 if test -n "$CXX"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4639 $as_echo "$CXX" >&6; }
4640 else
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4646 test -n "$CXX" && break
4647 done
4649 if test -z "$CXX"; then
4650 ac_ct_CXX=$CXX
4651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4653 # Extract the first word of "$ac_prog", so it can be a program name with args.
4654 set dummy $ac_prog; ac_word=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4658 $as_echo_n "(cached) " >&6
4659 else
4660 if test -n "$ac_ct_CXX"; then
4661 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4662 else
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4666 IFS=$as_save_IFS
4667 test -z "$as_dir" && as_dir=.
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CXX="$ac_prog"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 break 2
4674 done
4675 done
4676 IFS=$as_save_IFS
4680 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4681 if test -n "$ac_ct_CXX"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4683 $as_echo "$ac_ct_CXX" >&6; }
4684 else
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4690 test -n "$ac_ct_CXX" && break
4691 done
4693 if test "x$ac_ct_CXX" = x; then
4694 CXX="g++"
4695 else
4696 case $cross_compiling:$ac_tool_warned in
4697 yes:)
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4701 esac
4702 CXX=$ac_ct_CXX
4708 # Provide some information about the compiler.
4709 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4710 set X $ac_compile
4711 ac_compiler=$2
4712 for ac_option in --version -v -V -qversion; do
4713 { { ac_try="$ac_compiler $ac_option >&5"
4714 case "(($ac_try" in
4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4716 *) ac_try_echo=$ac_try;;
4717 esac
4718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4719 $as_echo "$ac_try_echo"; } >&5
4720 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4721 ac_status=$?
4722 if test -s conftest.err; then
4723 sed '10a\
4724 ... rest of stderr output deleted ...
4725 10q' conftest.err >conftest.er1
4726 cat conftest.er1 >&5
4728 rm -f conftest.er1 conftest.err
4729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4730 test $ac_status = 0; }
4731 done
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4734 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4735 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4736 $as_echo_n "(cached) " >&6
4737 else
4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4742 main ()
4744 #ifndef __GNUC__
4745 choke me
4746 #endif
4749 return 0;
4751 _ACEOF
4752 if ac_fn_cxx_try_compile "$LINENO"; then :
4753 ac_compiler_gnu=yes
4754 else
4755 ac_compiler_gnu=no
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4762 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4763 if test $ac_compiler_gnu = yes; then
4764 GXX=yes
4765 else
4766 GXX=
4768 ac_test_CXXFLAGS=${CXXFLAGS+set}
4769 ac_save_CXXFLAGS=$CXXFLAGS
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4771 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4772 if ${ac_cv_prog_cxx_g+:} false; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4776 ac_cxx_werror_flag=yes
4777 ac_cv_prog_cxx_g=no
4778 CXXFLAGS="-g"
4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4780 /* end confdefs.h. */
4783 main ()
4787 return 0;
4789 _ACEOF
4790 if ac_fn_cxx_try_compile "$LINENO"; then :
4791 ac_cv_prog_cxx_g=yes
4792 else
4793 CXXFLAGS=""
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4798 main ()
4802 return 0;
4804 _ACEOF
4805 if ac_fn_cxx_try_compile "$LINENO"; then :
4807 else
4808 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4809 CXXFLAGS="-g"
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4814 main ()
4818 return 0;
4820 _ACEOF
4821 if ac_fn_cxx_try_compile "$LINENO"; then :
4822 ac_cv_prog_cxx_g=yes
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4829 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4832 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4833 if test "$ac_test_CXXFLAGS" = set; then
4834 CXXFLAGS=$ac_save_CXXFLAGS
4835 elif test $ac_cv_prog_cxx_g = yes; then
4836 if test "$GXX" = yes; then
4837 CXXFLAGS="-g -O2"
4838 else
4839 CXXFLAGS="-g"
4841 else
4842 if test "$GXX" = yes; then
4843 CXXFLAGS="-O2"
4844 else
4845 CXXFLAGS=
4848 ac_ext=c
4849 ac_cpp='$CPP $CPPFLAGS'
4850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4854 if test -n "$ac_tool_prefix"; then
4855 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4856 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4858 $as_echo_n "checking for $ac_word... " >&6; }
4859 if ${ac_cv_prog_CPPBIN+:} false; then :
4860 $as_echo_n "(cached) " >&6
4861 else
4862 if test -n "$CPPBIN"; then
4863 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4864 else
4865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 for as_dir in $PATH
4868 IFS=$as_save_IFS
4869 test -z "$as_dir" && as_dir=.
4870 for ac_exec_ext in '' $ac_executable_extensions; do
4871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4872 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 break 2
4876 done
4877 done
4878 IFS=$as_save_IFS
4882 CPPBIN=$ac_cv_prog_CPPBIN
4883 if test -n "$CPPBIN"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4885 $as_echo "$CPPBIN" >&6; }
4886 else
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 $as_echo "no" >&6; }
4893 if test -z "$ac_cv_prog_CPPBIN"; then
4894 ac_ct_CPPBIN=$CPPBIN
4895 # Extract the first word of "cpp", so it can be a program name with args.
4896 set dummy cpp; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if test -n "$ac_ct_CPPBIN"; then
4903 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_ac_ct_CPPBIN="cpp"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4923 if test -n "$ac_ct_CPPBIN"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4925 $as_echo "$ac_ct_CPPBIN" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4931 if test "x$ac_ct_CPPBIN" = x; then
4932 CPPBIN="cpp"
4933 else
4934 case $cross_compiling:$ac_tool_warned in
4935 yes:)
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4938 ac_tool_warned=yes ;;
4939 esac
4940 CPPBIN=$ac_ct_CPPBIN
4942 else
4943 CPPBIN="$ac_cv_prog_CPPBIN"
4947 cat >>confdefs.h <<_ACEOF
4948 #define EXEEXT "$ac_exeext"
4949 _ACEOF
4951 if test -n "$ac_tool_prefix"; then
4952 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4953 set dummy ${ac_tool_prefix}ld; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_LD+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 if test -n "$LD"; then
4960 ac_cv_prog_LD="$LD" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_LD="${ac_tool_prefix}ld"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 break 2
4973 done
4974 done
4975 IFS=$as_save_IFS
4979 LD=$ac_cv_prog_LD
4980 if test -n "$LD"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4982 $as_echo "$LD" >&6; }
4983 else
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4990 if test -z "$ac_cv_prog_LD"; then
4991 ac_ct_LD=$LD
4992 # Extract the first word of "ld", so it can be a program name with args.
4993 set dummy ld; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 if test -n "$ac_ct_LD"; then
5000 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5005 IFS=$as_save_IFS
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_ac_ct_LD="ld"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5015 IFS=$as_save_IFS
5019 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5020 if test -n "$ac_ct_LD"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5022 $as_echo "$ac_ct_LD" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5028 if test "x$ac_ct_LD" = x; then
5029 LD=""
5030 else
5031 case $cross_compiling:$ac_tool_warned in
5032 yes:)
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5035 ac_tool_warned=yes ;;
5036 esac
5037 LD=$ac_ct_LD
5039 else
5040 LD="$ac_cv_prog_LD"
5044 case $host in
5045 *-darwin*)
5046 with_fontconfig=${with_fontconfig:-no}
5048 *-mingw32*|*-cygwin*)
5049 enable_win16=${enable_win16:-no}
5050 CFLAGS="$CFLAGS -D_WIN32"
5052 esac
5054 case $host in
5055 x86_64*|amd64*)
5056 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5057 then
5058 CC="$CC -m32"
5059 CXX="$CXX -m32"
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5061 $as_echo_n "checking whether $CC works... " >&6; }
5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5067 main ()
5071 return 0;
5073 _ACEOF
5074 if ac_fn_c_try_link "$LINENO"; then :
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5076 $as_echo "yes" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5080 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5082 rm -f core conftest.err conftest.$ac_objext \
5083 conftest$ac_exeext conftest.$ac_ext
5084 host_cpu="i386"
5085 notice_platform="32-bit "
5086 TARGETFLAGS="-m32"
5088 enable_win16=${enable_win16:-yes}
5089 else
5090 if test "x${GCC}" = "xyes"
5091 then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5093 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095 /* end confdefs.h. */
5096 #include <stdarg.h>
5098 main ()
5100 void func(__builtin_ms_va_list *args);
5102 return 0;
5104 _ACEOF
5105 if ac_fn_c_try_compile "$LINENO"; then :
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5107 $as_echo "yes" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5111 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5115 CC="$CC -m64"
5116 CXX="$CXX -m64"
5117 host_cpu="x86_64"
5118 notice_platform="64-bit "
5119 TARGETFLAGS="-m64"
5123 arm*)
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5125 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5127 /* end confdefs.h. */
5128 int ac_test(int i) { return i; }
5130 main ()
5132 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5134 return 0;
5136 _ACEOF
5137 if ac_fn_c_try_link "$LINENO"; then :
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5139 $as_echo "yes" >&6; }
5140 else
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5142 $as_echo "no" >&6; }
5143 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5145 rm -f core conftest.err conftest.$ac_objext \
5146 conftest$ac_exeext conftest.$ac_ext
5147 CFLAGS="$CFLAGS -marm"
5148 TARGETFLAGS="-marm"
5151 i[3456789]86*)
5152 enable_win16=${enable_win16:-yes}
5154 esac
5156 enable_win16=${enable_win16:-no}
5157 enable_win64=${enable_win64:-no}
5159 enable_winetest=${enable_winetest:-$enable_tests}
5161 if test -n "$with_wine64"
5162 then
5163 if test "x$enable_win64" = "xyes"
5164 then
5165 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5166 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5168 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5169 You should create a separate build directory and run configure from there." "$LINENO" 5
5170 enable_fonts=${enable_fonts:-no}
5171 enable_server=${enable_server:-no}
5172 elif test "x$enable_win64" = "xyes"
5173 then
5174 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5178 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5179 if ${wine_cv_toolsdir+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 wine_cv_toolsdir="$with_wine_tools"
5183 if test -z "$with_wine_tools"; then
5184 if test "$cross_compiling" = "yes"; then
5185 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5186 elif test -n "$with_wine64"; then
5187 wine_cv_toolsdir="$with_wine64"
5190 if test -z "$wine_cv_toolsdir"; then
5191 wine_makedep=tools/makedep
5192 wine_cv_toolsdir="\$(top_builddir)"
5193 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5194 wine_makedep=$wine_cv_toolsdir/tools/makedep
5195 case "$wine_cv_toolsdir" in
5196 /*) ;;
5197 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5198 esac
5199 enable_tools=${enable_tools:-no}
5200 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5201 else
5202 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5206 $as_echo "$wine_cv_toolsdir" >&6; }
5207 TOOLSDIR=$wine_cv_toolsdir
5209 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5210 then
5211 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5215 for ac_prog in flex
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy $ac_prog; ac_word=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if ${ac_cv_prog_FLEX+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 if test -n "$FLEX"; then
5225 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5226 else
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228 for as_dir in $PATH
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5234 ac_cv_prog_FLEX="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 break 2
5238 done
5239 done
5240 IFS=$as_save_IFS
5244 FLEX=$ac_cv_prog_FLEX
5245 if test -n "$FLEX"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5247 $as_echo "$FLEX" >&6; }
5248 else
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$FLEX" && break
5255 done
5256 test -n "$FLEX" || FLEX="none"
5258 if test "$FLEX" = "none"
5259 then
5260 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5263 $as_echo_n "checking whether flex is recent enough... " >&6; }
5264 cat >conftest.l <<EOF
5265 %top{
5266 #include "prediluvian.h"
5270 if $FLEX -t conftest.l >/dev/null 2>&5
5271 then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5273 $as_echo "yes" >&6; }
5274 else
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5276 $as_echo "no" >&6; }
5277 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5280 for ac_prog in bison
5282 # Extract the first word of "$ac_prog", so it can be a program name with args.
5283 set dummy $ac_prog; ac_word=$2
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 $as_echo_n "checking for $ac_word... " >&6; }
5286 if ${ac_cv_prog_BISON+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 if test -n "$BISON"; then
5290 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5291 else
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_BISON="$ac_prog"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2
5303 done
5304 done
5305 IFS=$as_save_IFS
5309 BISON=$ac_cv_prog_BISON
5310 if test -n "$BISON"; then
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5312 $as_echo "$BISON" >&6; }
5313 else
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5315 $as_echo "no" >&6; }
5319 test -n "$BISON" && break
5320 done
5321 test -n "$BISON" || BISON="none"
5323 if test "$BISON" = "none"
5324 then
5325 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5328 if test -n "$ac_tool_prefix"; then
5329 for ac_prog in ar gar
5331 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5332 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5334 $as_echo_n "checking for $ac_word... " >&6; }
5335 if ${ac_cv_prog_AR+:} false; then :
5336 $as_echo_n "(cached) " >&6
5337 else
5338 if test -n "$AR"; then
5339 ac_cv_prog_AR="$AR" # Let the user override the test.
5340 else
5341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5342 for as_dir in $PATH
5344 IFS=$as_save_IFS
5345 test -z "$as_dir" && as_dir=.
5346 for ac_exec_ext in '' $ac_executable_extensions; do
5347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5348 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 break 2
5352 done
5353 done
5354 IFS=$as_save_IFS
5358 AR=$ac_cv_prog_AR
5359 if test -n "$AR"; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5361 $as_echo "$AR" >&6; }
5362 else
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5368 test -n "$AR" && break
5369 done
5371 if test -z "$AR"; then
5372 ac_ct_AR=$AR
5373 for ac_prog in ar gar
5375 # Extract the first word of "$ac_prog", so it can be a program name with args.
5376 set dummy $ac_prog; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if test -n "$ac_ct_AR"; then
5383 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_ac_ct_AR="$ac_prog"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5403 if test -n "$ac_ct_AR"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5405 $as_echo "$ac_ct_AR" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5412 test -n "$ac_ct_AR" && break
5413 done
5415 if test "x$ac_ct_AR" = x; then
5416 AR="ar"
5417 else
5418 case $cross_compiling:$ac_tool_warned in
5419 yes:)
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5422 ac_tool_warned=yes ;;
5423 esac
5424 AR=$ac_ct_AR
5428 if test -n "$ac_tool_prefix"; then
5429 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5430 set dummy ${ac_tool_prefix}strip; ac_word=$2
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5432 $as_echo_n "checking for $ac_word... " >&6; }
5433 if ${ac_cv_prog_STRIP+:} false; then :
5434 $as_echo_n "(cached) " >&6
5435 else
5436 if test -n "$STRIP"; then
5437 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5438 else
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 break 2
5450 done
5451 done
5452 IFS=$as_save_IFS
5456 STRIP=$ac_cv_prog_STRIP
5457 if test -n "$STRIP"; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5459 $as_echo "$STRIP" >&6; }
5460 else
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }
5467 if test -z "$ac_cv_prog_STRIP"; then
5468 ac_ct_STRIP=$STRIP
5469 # Extract the first word of "strip", so it can be a program name with args.
5470 set dummy strip; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$ac_ct_STRIP"; then
5477 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_STRIP="strip"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5497 if test -n "$ac_ct_STRIP"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5499 $as_echo "$ac_ct_STRIP" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5505 if test "x$ac_ct_STRIP" = x; then
5506 STRIP="strip"
5507 else
5508 case $cross_compiling:$ac_tool_warned in
5509 yes:)
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5512 ac_tool_warned=yes ;;
5513 esac
5514 STRIP=$ac_ct_STRIP
5516 else
5517 STRIP="$ac_cv_prog_STRIP"
5520 ARFLAGS=rc
5522 if test -n "$ac_tool_prefix"; then
5523 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5524 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_prog_RANLIB+:} false; then :
5528 $as_echo_n "(cached) " >&6
5529 else
5530 if test -n "$RANLIB"; then
5531 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5532 else
5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5534 for as_dir in $PATH
5536 IFS=$as_save_IFS
5537 test -z "$as_dir" && as_dir=.
5538 for ac_exec_ext in '' $ac_executable_extensions; do
5539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5540 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 break 2
5544 done
5545 done
5546 IFS=$as_save_IFS
5550 RANLIB=$ac_cv_prog_RANLIB
5551 if test -n "$RANLIB"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5553 $as_echo "$RANLIB" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5556 $as_echo "no" >&6; }
5561 if test -z "$ac_cv_prog_RANLIB"; then
5562 ac_ct_RANLIB=$RANLIB
5563 # Extract the first word of "ranlib", so it can be a program name with args.
5564 set dummy ranlib; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$ac_ct_RANLIB"; then
5571 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_ac_ct_RANLIB="ranlib"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5591 if test -n "$ac_ct_RANLIB"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5593 $as_echo "$ac_ct_RANLIB" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5599 if test "x$ac_ct_RANLIB" = x; then
5600 RANLIB=":"
5601 else
5602 case $cross_compiling:$ac_tool_warned in
5603 yes:)
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606 ac_tool_warned=yes ;;
5607 esac
5608 RANLIB=$ac_ct_RANLIB
5610 else
5611 RANLIB="$ac_cv_prog_RANLIB"
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5615 $as_echo_n "checking whether ln -s works... " >&6; }
5616 LN_S=$as_ln_s
5617 if test "$LN_S" = "ln -s"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5619 $as_echo "yes" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5622 $as_echo "no, using $LN_S" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5626 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5627 if ${ac_cv_path_GREP+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if test -z "$GREP"; then
5631 ac_path_GREP_found=false
5632 # Loop through the user's path and test for each of PROGNAME-LIST
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_prog in grep ggrep; do
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5641 as_fn_executable_p "$ac_path_GREP" || continue
5642 # Check for GNU ac_path_GREP and select it if it is found.
5643 # Check for GNU $ac_path_GREP
5644 case `"$ac_path_GREP" --version 2>&1` in
5645 *GNU*)
5646 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5648 ac_count=0
5649 $as_echo_n 0123456789 >"conftest.in"
5650 while :
5652 cat "conftest.in" "conftest.in" >"conftest.tmp"
5653 mv "conftest.tmp" "conftest.in"
5654 cp "conftest.in" "conftest.nl"
5655 $as_echo 'GREP' >> "conftest.nl"
5656 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5657 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5658 as_fn_arith $ac_count + 1 && ac_count=$as_val
5659 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5660 # Best one so far, save it but keep looking for a better one
5661 ac_cv_path_GREP="$ac_path_GREP"
5662 ac_path_GREP_max=$ac_count
5664 # 10*(2^10) chars as input seems more than enough
5665 test $ac_count -gt 10 && break
5666 done
5667 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5668 esac
5670 $ac_path_GREP_found && break 3
5671 done
5672 done
5673 done
5674 IFS=$as_save_IFS
5675 if test -z "$ac_cv_path_GREP"; then
5676 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5678 else
5679 ac_cv_path_GREP=$GREP
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5684 $as_echo "$ac_cv_path_GREP" >&6; }
5685 GREP="$ac_cv_path_GREP"
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5689 $as_echo_n "checking for egrep... " >&6; }
5690 if ${ac_cv_path_EGREP+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5694 then ac_cv_path_EGREP="$GREP -E"
5695 else
5696 if test -z "$EGREP"; then
5697 ac_path_EGREP_found=false
5698 # Loop through the user's path and test for each of PROGNAME-LIST
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_prog in egrep; do
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5707 as_fn_executable_p "$ac_path_EGREP" || continue
5708 # Check for GNU ac_path_EGREP and select it if it is found.
5709 # Check for GNU $ac_path_EGREP
5710 case `"$ac_path_EGREP" --version 2>&1` in
5711 *GNU*)
5712 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5714 ac_count=0
5715 $as_echo_n 0123456789 >"conftest.in"
5716 while :
5718 cat "conftest.in" "conftest.in" >"conftest.tmp"
5719 mv "conftest.tmp" "conftest.in"
5720 cp "conftest.in" "conftest.nl"
5721 $as_echo 'EGREP' >> "conftest.nl"
5722 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5723 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5724 as_fn_arith $ac_count + 1 && ac_count=$as_val
5725 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5726 # Best one so far, save it but keep looking for a better one
5727 ac_cv_path_EGREP="$ac_path_EGREP"
5728 ac_path_EGREP_max=$ac_count
5730 # 10*(2^10) chars as input seems more than enough
5731 test $ac_count -gt 10 && break
5732 done
5733 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5734 esac
5736 $ac_path_EGREP_found && break 3
5737 done
5738 done
5739 done
5740 IFS=$as_save_IFS
5741 if test -z "$ac_cv_path_EGREP"; then
5742 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5744 else
5745 ac_cv_path_EGREP=$EGREP
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5751 $as_echo "$ac_cv_path_EGREP" >&6; }
5752 EGREP="$ac_cv_path_EGREP"
5755 # Extract the first word of "ldconfig", so it can be a program name with args.
5756 set dummy ldconfig; ac_word=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if ${ac_cv_path_LDCONFIG+:} false; then :
5760 $as_echo_n "(cached) " >&6
5761 else
5762 case $LDCONFIG in
5763 [\\/]* | ?:[\\/]*)
5764 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 for as_dir in /sbin /usr/sbin $PATH
5770 IFS=$as_save_IFS
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 break 2
5778 done
5779 done
5780 IFS=$as_save_IFS
5782 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5784 esac
5786 LDCONFIG=$ac_cv_path_LDCONFIG
5787 if test -n "$LDCONFIG"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5789 $as_echo "$LDCONFIG" >&6; }
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 for ac_prog in msgfmt
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy $ac_prog; ac_word=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_prog_MSGFMT+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 if test -n "$MSGFMT"; then
5806 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5807 else
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5809 for as_dir in $PATH
5811 IFS=$as_save_IFS
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5815 ac_cv_prog_MSGFMT="$ac_prog"
5816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 break 2
5819 done
5820 done
5821 IFS=$as_save_IFS
5825 MSGFMT=$ac_cv_prog_MSGFMT
5826 if test -n "$MSGFMT"; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5828 $as_echo "$MSGFMT" >&6; }
5829 else
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5831 $as_echo "no" >&6; }
5835 test -n "$MSGFMT" && break
5836 done
5837 test -n "$MSGFMT" || MSGFMT="false"
5839 if ${ac_tool_prefix+:} false; then :
5840 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5841 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 if test -n "$PKG_CONFIG"; then
5848 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5863 IFS=$as_save_IFS
5867 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5868 if test -n "$PKG_CONFIG"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5870 $as_echo "$PKG_CONFIG" >&6; }
5871 else
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5878 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5879 if test "x$cross_compiling" = xyes; then :
5881 else
5882 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5883 # Extract the first word of "pkg-config", so it can be a program name with args.
5884 set dummy pkg-config; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$PKG_CONFIG"; then
5891 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_PKG_CONFIG="pkg-config"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5911 if test -n "$PKG_CONFIG"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5913 $as_echo "$PKG_CONFIG" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5921 else
5922 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5925 if test "x$enable_maintainer_mode" != "xyes"
5926 then
5927 FONTFORGE=""
5928 RSVG=""
5929 CONVERT=""
5930 ICOTOOL=""
5931 else
5932 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5933 for ac_prog in fontforge
5935 # Extract the first word of "$ac_prog", so it can be a program name with args.
5936 set dummy $ac_prog; ac_word=$2
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5938 $as_echo_n "checking for $ac_word... " >&6; }
5939 if ${ac_cv_prog_FONTFORGE+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 if test -n "$FONTFORGE"; then
5943 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5944 else
5945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5946 for as_dir in $PATH
5948 IFS=$as_save_IFS
5949 test -z "$as_dir" && as_dir=.
5950 for ac_exec_ext in '' $ac_executable_extensions; do
5951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5952 ac_cv_prog_FONTFORGE="$ac_prog"
5953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 break 2
5956 done
5957 done
5958 IFS=$as_save_IFS
5962 FONTFORGE=$ac_cv_prog_FONTFORGE
5963 if test -n "$FONTFORGE"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5965 $as_echo "$FONTFORGE" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5972 test -n "$FONTFORGE" && break
5973 done
5974 test -n "$FONTFORGE" || FONTFORGE="false"
5976 for ac_prog in rsvg-convert rsvg
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy $ac_prog; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_RSVG+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 if test -n "$RSVG"; then
5986 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5991 IFS=$as_save_IFS
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_RSVG="$ac_prog"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 break 2
5999 done
6000 done
6001 IFS=$as_save_IFS
6005 RSVG=$ac_cv_prog_RSVG
6006 if test -n "$RSVG"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6008 $as_echo "$RSVG" >&6; }
6009 else
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6015 test -n "$RSVG" && break
6016 done
6017 test -n "$RSVG" || RSVG="false"
6019 for ac_prog in convert
6021 # Extract the first word of "$ac_prog", so it can be a program name with args.
6022 set dummy $ac_prog; ac_word=$2
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 $as_echo_n "checking for $ac_word... " >&6; }
6025 if ${ac_cv_prog_CONVERT+:} false; then :
6026 $as_echo_n "(cached) " >&6
6027 else
6028 if test -n "$CONVERT"; then
6029 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6030 else
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 for as_dir in $PATH
6034 IFS=$as_save_IFS
6035 test -z "$as_dir" && as_dir=.
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_CONVERT="$ac_prog"
6039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 break 2
6042 done
6043 done
6044 IFS=$as_save_IFS
6048 CONVERT=$ac_cv_prog_CONVERT
6049 if test -n "$CONVERT"; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6051 $as_echo "$CONVERT" >&6; }
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6058 test -n "$CONVERT" && break
6059 done
6060 test -n "$CONVERT" || CONVERT="false"
6062 for ac_prog in icotool
6064 # Extract the first word of "$ac_prog", so it can be a program name with args.
6065 set dummy $ac_prog; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_ICOTOOL+:} false; then :
6069 $as_echo_n "(cached) " >&6
6070 else
6071 if test -n "$ICOTOOL"; then
6072 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_ICOTOOL="$ac_prog"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 break 2
6085 done
6086 done
6087 IFS=$as_save_IFS
6091 ICOTOOL=$ac_cv_prog_ICOTOOL
6092 if test -n "$ICOTOOL"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6094 $as_echo "$ICOTOOL" >&6; }
6095 else
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6101 test -n "$ICOTOOL" && break
6102 done
6103 test -n "$ICOTOOL" || ICOTOOL="false"
6105 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6106 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6108 if test "$CONVERT" = false
6109 then
6110 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6113 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6114 convert_version=`convert --version | head -n1`
6115 if test "x$convert_version" != "x"
6116 then
6117 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6118 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6119 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6120 then
6121 CONVERT=false
6124 if test "$CONVERT" = false
6125 then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6127 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6128 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6131 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6135 if test "$ICOTOOL" = false
6136 then
6137 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6140 $as_echo_n "checking for recent enough icotool... " >&6; }
6141 icotool_version=`icotool --version | head -n1`
6142 if test "x$icotool_version" != "x"
6143 then
6144 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6145 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6146 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6147 then
6148 ICOTOOL=false
6149 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6152 if test "$ICOTOOL" = false
6153 then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6155 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6156 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6157 else
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6159 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6163 with_gettext=yes
6164 with_gettextpo=yes
6165 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6168 test "x$with_gettext" != xno || MSGFMT=false
6169 if test "$MSGFMT" != "false"
6170 then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6172 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6173 cat >conftest.po <<EOF
6174 # comment
6175 msgctxt "ctxt"
6176 msgid "id"
6177 msgstr "str"
6179 if $MSGFMT -o /dev/null conftest.po 2>&5
6180 then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6182 $as_echo "yes" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 MSGFMT=false
6189 if test "$MSGFMT" = false; then :
6190 case "x$with_gettext" in
6191 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6192 xno) ;;
6193 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6194 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6195 esac
6196 enable_po=${enable_po:-no}
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6201 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6202 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6203 $as_echo_n "(cached) " >&6
6204 else
6205 ac_check_lib_save_LIBS=$LIBS
6206 LIBS="-li386 $LIBS"
6207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6210 /* Override any GCC internal prototype to avoid an error.
6211 Use char because int might match the return type of a GCC
6212 builtin and then its argument prototype would still apply. */
6213 #ifdef __cplusplus
6214 extern "C"
6215 #endif
6216 char i386_set_ldt ();
6218 main ()
6220 return i386_set_ldt ();
6222 return 0;
6224 _ACEOF
6225 if ac_fn_c_try_link "$LINENO"; then :
6226 ac_cv_lib_i386_i386_set_ldt=yes
6227 else
6228 ac_cv_lib_i386_i386_set_ldt=no
6230 rm -f core conftest.err conftest.$ac_objext \
6231 conftest$ac_exeext conftest.$ac_ext
6232 LIBS=$ac_check_lib_save_LIBS
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6235 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6236 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6237 cat >>confdefs.h <<_ACEOF
6238 #define HAVE_LIBI386 1
6239 _ACEOF
6241 LIBS="-li386 $LIBS"
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6246 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6247 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6248 $as_echo_n "(cached) " >&6
6249 else
6250 ac_check_lib_save_LIBS=$LIBS
6251 LIBS="-lossaudio $LIBS"
6252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6255 /* Override any GCC internal prototype to avoid an error.
6256 Use char because int might match the return type of a GCC
6257 builtin and then its argument prototype would still apply. */
6258 #ifdef __cplusplus
6259 extern "C"
6260 #endif
6261 char _oss_ioctl ();
6263 main ()
6265 return _oss_ioctl ();
6267 return 0;
6269 _ACEOF
6270 if ac_fn_c_try_link "$LINENO"; then :
6271 ac_cv_lib_ossaudio__oss_ioctl=yes
6272 else
6273 ac_cv_lib_ossaudio__oss_ioctl=no
6275 rm -f core conftest.err conftest.$ac_objext \
6276 conftest$ac_exeext conftest.$ac_ext
6277 LIBS=$ac_check_lib_save_LIBS
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6280 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6281 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6282 cat >>confdefs.h <<_ACEOF
6283 #define HAVE_LIBOSSAUDIO 1
6284 _ACEOF
6286 LIBS="-lossaudio $LIBS"
6291 OPENGL_LIBS=""
6295 # Check whether --enable-largefile was given.
6296 if test "${enable_largefile+set}" = set; then :
6297 enableval=$enable_largefile;
6300 if test "$enable_largefile" != no; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6303 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6304 if ${ac_cv_sys_largefile_CC+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 ac_cv_sys_largefile_CC=no
6308 if test "$GCC" != yes; then
6309 ac_save_CC=$CC
6310 while :; do
6311 # IRIX 6.2 and later do not support large files by default,
6312 # so use the C compiler's -n32 option if that helps.
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #include <sys/types.h>
6316 /* Check that off_t can represent 2**63 - 1 correctly.
6317 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6318 since some C++ compilers masquerading as C compilers
6319 incorrectly reject 9223372036854775807. */
6320 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6321 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6322 && LARGE_OFF_T % 2147483647 == 1)
6323 ? 1 : -1];
6325 main ()
6329 return 0;
6331 _ACEOF
6332 if ac_fn_c_try_compile "$LINENO"; then :
6333 break
6335 rm -f core conftest.err conftest.$ac_objext
6336 CC="$CC -n32"
6337 if ac_fn_c_try_compile "$LINENO"; then :
6338 ac_cv_sys_largefile_CC=' -n32'; break
6340 rm -f core conftest.err conftest.$ac_objext
6341 break
6342 done
6343 CC=$ac_save_CC
6344 rm -f conftest.$ac_ext
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6348 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6349 if test "$ac_cv_sys_largefile_CC" != no; then
6350 CC=$CC$ac_cv_sys_largefile_CC
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6354 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6355 if ${ac_cv_sys_file_offset_bits+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 while :; do
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6362 /* Check that off_t can represent 2**63 - 1 correctly.
6363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6364 since some C++ compilers masquerading as C compilers
6365 incorrectly reject 9223372036854775807. */
6366 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6368 && LARGE_OFF_T % 2147483647 == 1)
6369 ? 1 : -1];
6371 main ()
6375 return 0;
6377 _ACEOF
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 ac_cv_sys_file_offset_bits=no; break
6381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #define _FILE_OFFSET_BITS 64
6385 #include <sys/types.h>
6386 /* Check that off_t can represent 2**63 - 1 correctly.
6387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6388 since some C++ compilers masquerading as C compilers
6389 incorrectly reject 9223372036854775807. */
6390 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6392 && LARGE_OFF_T % 2147483647 == 1)
6393 ? 1 : -1];
6395 main ()
6399 return 0;
6401 _ACEOF
6402 if ac_fn_c_try_compile "$LINENO"; then :
6403 ac_cv_sys_file_offset_bits=64; break
6405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6406 ac_cv_sys_file_offset_bits=unknown
6407 break
6408 done
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6411 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6412 case $ac_cv_sys_file_offset_bits in #(
6413 no | unknown) ;;
6415 cat >>confdefs.h <<_ACEOF
6416 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6417 _ACEOF
6419 esac
6420 rm -rf conftest*
6421 if test $ac_cv_sys_file_offset_bits = unknown; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6423 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6424 if ${ac_cv_sys_large_files+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 while :; do
6428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6429 /* end confdefs.h. */
6430 #include <sys/types.h>
6431 /* Check that off_t can represent 2**63 - 1 correctly.
6432 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6433 since some C++ compilers masquerading as C compilers
6434 incorrectly reject 9223372036854775807. */
6435 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6436 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6437 && LARGE_OFF_T % 2147483647 == 1)
6438 ? 1 : -1];
6440 main ()
6444 return 0;
6446 _ACEOF
6447 if ac_fn_c_try_compile "$LINENO"; then :
6448 ac_cv_sys_large_files=no; break
6450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6452 /* end confdefs.h. */
6453 #define _LARGE_FILES 1
6454 #include <sys/types.h>
6455 /* Check that off_t can represent 2**63 - 1 correctly.
6456 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6457 since some C++ compilers masquerading as C compilers
6458 incorrectly reject 9223372036854775807. */
6459 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6460 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6461 && LARGE_OFF_T % 2147483647 == 1)
6462 ? 1 : -1];
6464 main ()
6468 return 0;
6470 _ACEOF
6471 if ac_fn_c_try_compile "$LINENO"; then :
6472 ac_cv_sys_large_files=1; break
6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6475 ac_cv_sys_large_files=unknown
6476 break
6477 done
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6480 $as_echo "$ac_cv_sys_large_files" >&6; }
6481 case $ac_cv_sys_large_files in #(
6482 no | unknown) ;;
6484 cat >>confdefs.h <<_ACEOF
6485 #define _LARGE_FILES $ac_cv_sys_large_files
6486 _ACEOF
6488 esac
6489 rm -rf conftest*
6496 ac_ext=c
6497 ac_cpp='$CPP $CPPFLAGS'
6498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6502 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6503 # On Suns, sometimes $CPP names a directory.
6504 if test -n "$CPP" && test -d "$CPP"; then
6505 CPP=
6507 if test -z "$CPP"; then
6508 if ${ac_cv_prog_CPP+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 # Double quotes because CPP needs to be expanded
6512 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6514 ac_preproc_ok=false
6515 for ac_c_preproc_warn_flag in '' yes
6517 # Use a header file that comes with gcc, so configuring glibc
6518 # with a fresh cross-compiler works.
6519 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6520 # <limits.h> exists even on freestanding compilers.
6521 # On the NeXT, cc -E runs the code through the compiler's parser,
6522 # not just through cpp. "Syntax error" is here to catch this case.
6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6525 #ifdef __STDC__
6526 # include <limits.h>
6527 #else
6528 # include <assert.h>
6529 #endif
6530 Syntax error
6531 _ACEOF
6532 if ac_fn_c_try_cpp "$LINENO"; then :
6534 else
6535 # Broken: fails on valid input.
6536 continue
6538 rm -f conftest.err conftest.i conftest.$ac_ext
6540 # OK, works on sane cases. Now check whether nonexistent headers
6541 # can be detected and how.
6542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6543 /* end confdefs.h. */
6544 #include <ac_nonexistent.h>
6545 _ACEOF
6546 if ac_fn_c_try_cpp "$LINENO"; then :
6547 # Broken: success on invalid input.
6548 continue
6549 else
6550 # Passes both tests.
6551 ac_preproc_ok=:
6552 break
6554 rm -f conftest.err conftest.i conftest.$ac_ext
6556 done
6557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6558 rm -f conftest.i conftest.err conftest.$ac_ext
6559 if $ac_preproc_ok; then :
6560 break
6563 done
6564 ac_cv_prog_CPP=$CPP
6567 CPP=$ac_cv_prog_CPP
6568 else
6569 ac_cv_prog_CPP=$CPP
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6572 $as_echo "$CPP" >&6; }
6573 ac_preproc_ok=false
6574 for ac_c_preproc_warn_flag in '' yes
6576 # Use a header file that comes with gcc, so configuring glibc
6577 # with a fresh cross-compiler works.
6578 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6579 # <limits.h> exists even on freestanding compilers.
6580 # On the NeXT, cc -E runs the code through the compiler's parser,
6581 # not just through cpp. "Syntax error" is here to catch this case.
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6584 #ifdef __STDC__
6585 # include <limits.h>
6586 #else
6587 # include <assert.h>
6588 #endif
6589 Syntax error
6590 _ACEOF
6591 if ac_fn_c_try_cpp "$LINENO"; then :
6593 else
6594 # Broken: fails on valid input.
6595 continue
6597 rm -f conftest.err conftest.i conftest.$ac_ext
6599 # OK, works on sane cases. Now check whether nonexistent headers
6600 # can be detected and how.
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #include <ac_nonexistent.h>
6604 _ACEOF
6605 if ac_fn_c_try_cpp "$LINENO"; then :
6606 # Broken: success on invalid input.
6607 continue
6608 else
6609 # Passes both tests.
6610 ac_preproc_ok=:
6611 break
6613 rm -f conftest.err conftest.i conftest.$ac_ext
6615 done
6616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6617 rm -f conftest.i conftest.err conftest.$ac_ext
6618 if $ac_preproc_ok; then :
6620 else
6621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6623 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6624 See \`config.log' for more details" "$LINENO" 5; }
6627 ac_ext=c
6628 ac_cpp='$CPP $CPPFLAGS'
6629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6635 $as_echo_n "checking for ANSI C header files... " >&6; }
6636 if ${ac_cv_header_stdc+:} false; then :
6637 $as_echo_n "(cached) " >&6
6638 else
6639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640 /* end confdefs.h. */
6641 #include <stdlib.h>
6642 #include <stdarg.h>
6643 #include <string.h>
6644 #include <float.h>
6647 main ()
6651 return 0;
6653 _ACEOF
6654 if ac_fn_c_try_compile "$LINENO"; then :
6655 ac_cv_header_stdc=yes
6656 else
6657 ac_cv_header_stdc=no
6659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6661 if test $ac_cv_header_stdc = yes; then
6662 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6665 #include <string.h>
6667 _ACEOF
6668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6669 $EGREP "memchr" >/dev/null 2>&1; then :
6671 else
6672 ac_cv_header_stdc=no
6674 rm -f conftest*
6678 if test $ac_cv_header_stdc = yes; then
6679 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <stdlib.h>
6684 _ACEOF
6685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6686 $EGREP "free" >/dev/null 2>&1; then :
6688 else
6689 ac_cv_header_stdc=no
6691 rm -f conftest*
6695 if test $ac_cv_header_stdc = yes; then
6696 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6697 if test "$cross_compiling" = yes; then :
6699 else
6700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6701 /* end confdefs.h. */
6702 #include <ctype.h>
6703 #include <stdlib.h>
6704 #if ((' ' & 0x0FF) == 0x020)
6705 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6706 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6707 #else
6708 # define ISLOWER(c) \
6709 (('a' <= (c) && (c) <= 'i') \
6710 || ('j' <= (c) && (c) <= 'r') \
6711 || ('s' <= (c) && (c) <= 'z'))
6712 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6713 #endif
6715 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6717 main ()
6719 int i;
6720 for (i = 0; i < 256; i++)
6721 if (XOR (islower (i), ISLOWER (i))
6722 || toupper (i) != TOUPPER (i))
6723 return 2;
6724 return 0;
6726 _ACEOF
6727 if ac_fn_c_try_run "$LINENO"; then :
6729 else
6730 ac_cv_header_stdc=no
6732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6733 conftest.$ac_objext conftest.beam conftest.$ac_ext
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6739 $as_echo "$ac_cv_header_stdc" >&6; }
6740 if test $ac_cv_header_stdc = yes; then
6742 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6746 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6747 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6748 inttypes.h stdint.h unistd.h
6749 do :
6750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6751 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6753 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6754 cat >>confdefs.h <<_ACEOF
6755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6756 _ACEOF
6760 done
6763 for ac_header in \
6764 AL/al.h \
6765 ApplicationServices/ApplicationServices.h \
6766 AudioToolbox/AudioConverter.h \
6767 AudioUnit/AudioUnit.h \
6768 AudioUnit/AudioComponent.h \
6769 CL/cl.h \
6770 Carbon/Carbon.h \
6771 CommonCrypto/CommonDigest.h \
6772 CoreAudio/CoreAudio.h \
6773 CoreServices/CoreServices.h \
6774 DiskArbitration/DiskArbitration.h \
6775 IOKit/IOKitLib.h \
6776 IOKit/hid/IOHIDLib.h \
6777 OpenAL/al.h \
6778 OpenCL/opencl.h \
6779 QuickTime/ImageCompression.h \
6780 Security/Security.h \
6781 alias.h \
6782 alsa/asoundlib.h \
6783 arpa/inet.h \
6784 arpa/nameser.h \
6785 asm/types.h \
6786 asm/user.h \
6787 curses.h \
6788 direct.h \
6789 dirent.h \
6790 dlfcn.h \
6791 elf.h \
6792 float.h \
6793 fnmatch.h \
6794 getopt.h \
6795 gettext-po.h \
6796 grp.h \
6797 gsm.h \
6798 gsm/gsm.h \
6799 ieeefp.h \
6800 inet/mib2.h \
6801 io.h \
6802 kstat.h \
6803 lber.h \
6804 ldap.h \
6805 libproc.h \
6806 link.h \
6807 linux/cdrom.h \
6808 linux/compiler.h \
6809 linux/filter.h \
6810 linux/hdreg.h \
6811 linux/hidraw.h \
6812 linux/input.h \
6813 linux/ioctl.h \
6814 linux/joystick.h \
6815 linux/major.h \
6816 linux/param.h \
6817 linux/serial.h \
6818 linux/types.h \
6819 linux/ucdrom.h \
6820 lwp.h \
6821 mach-o/nlist.h \
6822 mach-o/loader.h \
6823 mach/mach.h \
6824 mach/machine.h \
6825 machine/cpu.h \
6826 machine/limits.h \
6827 machine/sysarch.h \
6828 mntent.h \
6829 ncurses.h \
6830 netdb.h \
6831 netinet/in.h \
6832 netinet/in_systm.h \
6833 netinet/tcp.h \
6834 netinet/tcp_fsm.h \
6835 pcap/pcap.h \
6836 poll.h \
6837 port.h \
6838 process.h \
6839 pthread.h \
6840 pwd.h \
6841 sched.h \
6842 scsi/scsi.h \
6843 scsi/scsi_ioctl.h \
6844 scsi/sg.h \
6845 stdbool.h \
6846 stdint.h \
6847 stropts.h \
6848 sys/asoundlib.h \
6849 sys/attr.h \
6850 sys/cdio.h \
6851 sys/elf32.h \
6852 sys/epoll.h \
6853 sys/event.h \
6854 sys/exec_elf.h \
6855 sys/filio.h \
6856 sys/inotify.h \
6857 sys/ioctl.h \
6858 sys/ipc.h \
6859 sys/limits.h \
6860 sys/link.h \
6861 sys/mman.h \
6862 sys/modem.h \
6863 sys/msg.h \
6864 sys/mtio.h \
6865 sys/param.h \
6866 sys/poll.h \
6867 sys/prctl.h \
6868 sys/protosw.h \
6869 sys/ptrace.h \
6870 sys/queue.h \
6871 sys/resource.h \
6872 sys/scsiio.h \
6873 sys/shm.h \
6874 sys/signal.h \
6875 sys/socket.h \
6876 sys/socketvar.h \
6877 sys/sockio.h \
6878 sys/statvfs.h \
6879 sys/strtio.h \
6880 sys/syscall.h \
6881 sys/sysinfo.h \
6882 sys/tihdr.h \
6883 sys/time.h \
6884 sys/timeout.h \
6885 sys/times.h \
6886 sys/uio.h \
6887 sys/user.h \
6888 sys/utsname.h \
6889 sys/vm86.h \
6890 sys/vnode.h \
6891 sys/wait.h \
6892 syscall.h \
6893 termios.h \
6894 unistd.h \
6895 utime.h \
6896 valgrind/memcheck.h \
6897 valgrind/valgrind.h \
6898 zlib.h
6900 do :
6901 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6902 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6903 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6904 cat >>confdefs.h <<_ACEOF
6905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6906 _ACEOF
6910 done
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6913 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6914 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6915 $as_echo_n "(cached) " >&6
6916 else
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6918 /* end confdefs.h. */
6919 #include <sys/types.h>
6921 main ()
6923 return makedev(0, 0);
6925 return 0;
6927 _ACEOF
6928 if ac_fn_c_try_link "$LINENO"; then :
6929 ac_cv_header_sys_types_h_makedev=yes
6930 else
6931 ac_cv_header_sys_types_h_makedev=no
6933 rm -f core conftest.err conftest.$ac_objext \
6934 conftest$ac_exeext conftest.$ac_ext
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6938 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6940 if test $ac_cv_header_sys_types_h_makedev = no; then
6941 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6942 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6944 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6950 if test $ac_cv_header_sys_mkdev_h = no; then
6951 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6952 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6954 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6963 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6964 if ${ac_cv_header_stat_broken+:} false; then :
6965 $as_echo_n "(cached) " >&6
6966 else
6967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6968 /* end confdefs.h. */
6969 #include <sys/types.h>
6970 #include <sys/stat.h>
6972 #if defined S_ISBLK && defined S_IFDIR
6973 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6974 #endif
6976 #if defined S_ISBLK && defined S_IFCHR
6977 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6978 #endif
6980 #if defined S_ISLNK && defined S_IFREG
6981 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6982 #endif
6984 #if defined S_ISSOCK && defined S_IFREG
6985 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6986 #endif
6988 _ACEOF
6989 if ac_fn_c_try_compile "$LINENO"; then :
6990 ac_cv_header_stat_broken=no
6991 else
6992 ac_cv_header_stat_broken=yes
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6997 $as_echo "$ac_cv_header_stat_broken" >&6; }
6998 if test $ac_cv_header_stat_broken = yes; then
7000 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7006 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7007 do :
7008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7009 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7010 #ifdef HAVE_SYS_PARAM_H
7011 # include <sys/param.h>
7012 #endif
7014 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7015 cat >>confdefs.h <<_ACEOF
7016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7017 _ACEOF
7021 done
7024 for ac_header in \
7025 netinet/ip.h \
7026 net/if.h \
7027 net/if_arp.h \
7028 net/if_dl.h \
7029 net/if_types.h \
7030 net/route.h \
7031 netinet/if_ether.h \
7032 netinet/if_inarp.h \
7033 netinet/in_pcb.h \
7034 netinet/ip_icmp.h \
7035 netinet/ip_var.h \
7036 netinet/udp.h \
7037 netipx/ipx.h \
7038 sys/un.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_SYS_SOCKET_H
7044 # include <sys/socket.h>
7045 #endif
7046 #ifdef HAVE_SYS_SOCKETVAR_H
7047 # include <sys/socketvar.h>
7048 #endif
7049 #ifdef HAVE_NET_ROUTE_H
7050 # include <net/route.h>
7051 #endif
7052 #ifdef HAVE_NETINET_IN_H
7053 # include <netinet/in.h>
7054 #endif
7055 #ifdef HAVE_NETINET_IN_SYSTM_H
7056 # include <netinet/in_systm.h>
7057 #endif
7058 #ifdef HAVE_NET_IF_H
7059 # include <net/if.h>
7060 #endif
7061 #ifdef HAVE_NETINET_IP_H
7062 # include <netinet/ip.h>
7063 #endif
7065 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7066 cat >>confdefs.h <<_ACEOF
7067 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7068 _ACEOF
7072 done
7075 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7076 do :
7077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7078 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7079 #ifdef HAVE_ALIAS_H
7080 # include <alias.h>
7081 #endif
7082 #ifdef HAVE_SYS_SOCKET_H
7083 # include <sys/socket.h>
7084 #endif
7085 #ifdef HAVE_SYS_SOCKETVAR_H
7086 # include <sys/socketvar.h>
7087 #endif
7088 #ifdef HAVE_SYS_TIMEOUT_H
7089 # include <sys/timeout.h>
7090 #endif
7091 #ifdef HAVE_NETINET_IN_H
7092 # include <netinet/in.h>
7093 #endif
7094 #ifdef HAVE_NETINET_IN_SYSTM_H
7095 # include <netinet/in_systm.h>
7096 #endif
7097 #ifdef HAVE_NETINET_IP_H
7098 # include <netinet/ip.h>
7099 #endif
7100 #ifdef HAVE_NETINET_IP_VAR_H
7101 # include <netinet/ip_var.h>
7102 #endif
7103 #ifdef HAVE_NETINET_IP_ICMP_H
7104 # include <netinet/ip_icmp.h>
7105 #endif
7106 #ifdef HAVE_NETINET_UDP_H
7107 # include <netinet/udp.h>
7108 #endif
7109 #ifdef HAVE_NETINET_TCP_H
7110 # include <netinet/tcp.h>
7111 #endif
7112 #ifdef HAVE_NETINET_TCP_TIMER_H
7113 #include <netinet/tcp_timer.h>
7114 #endif
7116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7117 cat >>confdefs.h <<_ACEOF
7118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7119 _ACEOF
7123 done
7126 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7127 do :
7128 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7129 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7130 #ifdef HAVE_ASM_TYPES_H
7131 # include <asm/types.h>
7132 #endif
7133 #ifdef HAVE_SYS_SOCKET_H
7134 # include <sys/socket.h>
7135 #endif
7136 #ifdef HAVE_LINUX_TYPES_H
7137 # include <linux/types.h>
7138 #endif
7140 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7141 cat >>confdefs.h <<_ACEOF
7142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7143 _ACEOF
7147 done
7150 for ac_header in mach-o/dyld_images.h
7151 do :
7152 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7153 # include <stdbool.h>
7154 #endif
7155 #ifdef HAVE_STDINT_H
7156 # include <stdint.h>
7157 #endif
7159 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7160 cat >>confdefs.h <<_ACEOF
7161 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7162 _ACEOF
7166 done
7169 for ac_header in resolv.h
7170 do :
7171 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7172 #ifdef HAVE_SYS_SOCKET_H
7173 # include <sys/socket.h>
7174 #endif
7175 #ifdef HAVE_NETINET_IN_H
7176 # include <netinet/in.h>
7177 #endif
7178 #ifdef HAVE_ARPA_NAMESER_H
7179 # include <arpa/nameser.h>
7180 #endif
7182 if test "x$ac_cv_header_resolv_h" = xyes; then :
7183 cat >>confdefs.h <<_ACEOF
7184 #define HAVE_RESOLV_H 1
7185 _ACEOF
7189 done
7192 for ac_header in ifaddrs.h
7193 do :
7194 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7196 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7197 cat >>confdefs.h <<_ACEOF
7198 #define HAVE_IFADDRS_H 1
7199 _ACEOF
7203 done
7206 for ac_header in sys/ucontext.h
7207 do :
7208 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7210 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7211 cat >>confdefs.h <<_ACEOF
7212 #define HAVE_SYS_UCONTEXT_H 1
7213 _ACEOF
7217 done
7220 for ac_header in sys/thr.h
7221 do :
7222 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7223 #ifdef HAVE_SYS_UCONTEXT_H
7224 #include <sys/ucontext.h>
7225 #endif
7227 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7228 cat >>confdefs.h <<_ACEOF
7229 #define HAVE_SYS_THR_H 1
7230 _ACEOF
7234 done
7237 for ac_header in pthread_np.h
7238 do :
7239 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7240 #include <pthread.h>
7241 #endif
7243 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7244 cat >>confdefs.h <<_ACEOF
7245 #define HAVE_PTHREAD_NP_H 1
7246 _ACEOF
7250 done
7253 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7254 do :
7255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7256 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7257 #include <sys/time.h>
7258 #endif
7259 #include <sys/types.h>
7260 #ifdef HAVE_ASM_TYPES_H
7261 #include <asm/types.h>
7262 #endif
7264 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7265 cat >>confdefs.h <<_ACEOF
7266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7267 _ACEOF
7271 done
7274 for ac_header in libprocstat.h
7275 do :
7276 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7277 #include <sys/param.h>
7278 #endif
7279 #ifdef HAVE_SYS_QUEUE_H
7280 #include <sys/queue.h>
7281 #endif
7282 #ifdef HAVE_SYS_SOCKET_H
7283 #include <sys/socket.h>
7284 #endif
7286 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7287 cat >>confdefs.h <<_ACEOF
7288 #define HAVE_LIBPROCSTAT_H 1
7289 _ACEOF
7293 done
7297 dlldir="\${libdir}/wine"
7299 DLLFLAGS="-D_REENTRANT"
7301 LDRPATH_INSTALL=""
7303 LDRPATH_LOCAL=""
7305 LDEXECFLAGS=""
7307 LIBEXT="so"
7308 DLLEXT=".so"
7309 IMPLIBEXT="def"
7310 # Extract the first word of "ldd", so it can be a program name with args.
7311 set dummy ldd; ac_word=$2
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313 $as_echo_n "checking for $ac_word... " >&6; }
7314 if ${ac_cv_path_LDD+:} false; then :
7315 $as_echo_n "(cached) " >&6
7316 else
7317 case $LDD in
7318 [\\/]* | ?:[\\/]*)
7319 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 as_dummy="/sbin:/usr/sbin:$PATH"
7324 for as_dir in $as_dummy
7326 IFS=$as_save_IFS
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7330 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 break 2
7334 done
7335 done
7336 IFS=$as_save_IFS
7338 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7340 esac
7342 LDD=$ac_cv_path_LDD
7343 if test -n "$LDD"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7345 $as_echo "$LDD" >&6; }
7346 else
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7352 if test -n "$ac_tool_prefix"; then
7353 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7354 set dummy ${ac_tool_prefix}otool; ac_word=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_OTOOL+:} false; then :
7358 $as_echo_n "(cached) " >&6
7359 else
7360 if test -n "$OTOOL"; then
7361 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7362 else
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7364 for as_dir in $PATH
7366 IFS=$as_save_IFS
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 break 2
7374 done
7375 done
7376 IFS=$as_save_IFS
7380 OTOOL=$ac_cv_prog_OTOOL
7381 if test -n "$OTOOL"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7383 $as_echo "$OTOOL" >&6; }
7384 else
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7391 if test -z "$ac_cv_prog_OTOOL"; then
7392 ac_ct_OTOOL=$OTOOL
7393 # Extract the first word of "otool", so it can be a program name with args.
7394 set dummy otool; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7398 $as_echo_n "(cached) " >&6
7399 else
7400 if test -n "$ac_ct_OTOOL"; then
7401 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7406 IFS=$as_save_IFS
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_ac_ct_OTOOL="otool"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7421 if test -n "$ac_ct_OTOOL"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7423 $as_echo "$ac_ct_OTOOL" >&6; }
7424 else
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7429 if test "x$ac_ct_OTOOL" = x; then
7430 OTOOL="otool"
7431 else
7432 case $cross_compiling:$ac_tool_warned in
7433 yes:)
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7436 ac_tool_warned=yes ;;
7437 esac
7438 OTOOL=$ac_ct_OTOOL
7440 else
7441 OTOOL="$ac_cv_prog_OTOOL"
7444 if test -n "$ac_tool_prefix"; then
7445 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7446 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7448 $as_echo_n "checking for $ac_word... " >&6; }
7449 if ${ac_cv_prog_READELF+:} false; then :
7450 $as_echo_n "(cached) " >&6
7451 else
7452 if test -n "$READELF"; then
7453 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7454 else
7455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7456 for as_dir in $PATH
7458 IFS=$as_save_IFS
7459 test -z "$as_dir" && as_dir=.
7460 for ac_exec_ext in '' $ac_executable_extensions; do
7461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7462 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 break 2
7466 done
7467 done
7468 IFS=$as_save_IFS
7472 READELF=$ac_cv_prog_READELF
7473 if test -n "$READELF"; then
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7475 $as_echo "$READELF" >&6; }
7476 else
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7478 $as_echo "no" >&6; }
7483 if test -z "$ac_cv_prog_READELF"; then
7484 ac_ct_READELF=$READELF
7485 # Extract the first word of "readelf", so it can be a program name with args.
7486 set dummy readelf; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7490 $as_echo_n "(cached) " >&6
7491 else
7492 if test -n "$ac_ct_READELF"; then
7493 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7494 else
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 for as_dir in $PATH
7498 IFS=$as_save_IFS
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_ac_ct_READELF="readelf"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 break 2
7506 done
7507 done
7508 IFS=$as_save_IFS
7512 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7513 if test -n "$ac_ct_READELF"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7515 $as_echo "$ac_ct_READELF" >&6; }
7516 else
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7521 if test "x$ac_ct_READELF" = x; then
7522 READELF="true"
7523 else
7524 case $cross_compiling:$ac_tool_warned in
7525 yes:)
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7528 ac_tool_warned=yes ;;
7529 esac
7530 READELF=$ac_ct_READELF
7532 else
7533 READELF="$ac_cv_prog_READELF"
7536 wine_rules_file=conf$$rules.make
7537 rm -f $wine_rules_file
7538 SUBDIRS=""
7540 DISABLED_SUBDIRS=""
7542 CONFIGURE_TARGETS=""
7544 ALL_TEST_RESOURCES=""
7547 wine_fn_append_file ()
7549 as_fn_append $1 " \\$as_nl $2"
7552 wine_fn_append_rule ()
7554 $as_echo "$1" >>$wine_rules_file
7557 wine_fn_has_flag ()
7559 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7562 wine_fn_all_rules ()
7564 wine_fn_append_file SUBDIRS $ac_dir
7565 wine_fn_append_rule \
7566 "all: $ac_dir
7567 .PHONY: $ac_dir
7568 $ac_dir: dummy
7569 @cd $ac_dir && \$(MAKE)"
7572 wine_fn_install_rules ()
7574 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7576 wine_fn_append_rule \
7577 ".PHONY: $ac_dir/install $ac_dir/uninstall
7578 $ac_dir/install:: $ac_dir
7579 @cd $ac_dir && \$(MAKE) install
7580 $ac_dir/uninstall::
7581 @cd $ac_dir && \$(MAKE) uninstall
7582 install:: $ac_dir/install
7583 __uninstall__: $ac_dir/uninstall"
7585 if wine_fn_has_flag install-lib
7586 then
7587 wine_fn_append_rule \
7588 ".PHONY: $ac_dir/install-lib
7589 $ac_dir/install-lib:: $ac_dir
7590 @cd $ac_dir && \$(MAKE) install-lib
7591 install-lib:: $ac_dir/install-lib"
7594 if wine_fn_has_flag install-dev
7595 then
7596 wine_fn_append_rule \
7597 ".PHONY: $ac_dir/install-dev
7598 $ac_dir/install-dev:: $ac_dir
7599 @cd $ac_dir && \$(MAKE) install-dev
7600 install-dev:: $ac_dir/install-dev"
7604 wine_fn_clean_rules ()
7606 ac_clean=$@
7608 if wine_fn_has_flag clean
7609 then
7610 wine_fn_append_rule \
7611 "$ac_dir/clean: dummy
7612 @cd $ac_dir && \$(MAKE) clean"
7613 else
7614 wine_fn_append_rule \
7615 "$ac_dir/clean: dummy
7616 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7618 wine_fn_append_rule \
7619 "__clean__: $ac_dir/clean
7620 .PHONY: $ac_dir/clean"
7623 wine_fn_disabled_rules ()
7625 ac_clean=$@
7627 wine_fn_append_file SUBDIRS $ac_dir
7628 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7629 wine_fn_append_rule \
7630 "__clean__: $ac_dir/clean
7631 .PHONY: $ac_dir/clean
7632 $ac_dir/clean: dummy
7633 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7636 wine_fn_config_makefile ()
7638 ac_dir=$1
7639 ac_enable=$2
7640 ac_flags=$3
7642 case $ac_dir in
7643 fonts|server) test -z "$with_wine64" || return ;;
7644 esac
7645 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7646 wine_fn_disabled_rules; return
7648 wine_fn_all_rules
7649 wine_fn_install_rules
7650 wine_fn_clean_rules
7653 wine_fn_config_lib ()
7655 ac_name=$1
7656 ac_flags=$2
7657 ac_dir=dlls/$ac_name
7658 ac_deps="include"
7660 if test "x$enable_tools" = xno; then :
7662 else
7663 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7665 wine_fn_all_rules
7666 wine_fn_clean_rules
7668 wine_fn_append_rule \
7669 ".PHONY: $ac_dir/install $ac_dir/uninstall
7670 $ac_dir/install:: $ac_dir
7671 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7672 $ac_dir/uninstall::
7673 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7674 install install-dev:: $ac_dir/install
7675 __uninstall__: $ac_dir/uninstall
7676 __builddeps__: $ac_dir
7677 $ac_dir: $ac_deps"
7680 wine_fn_config_dll ()
7682 ac_name=$1
7683 ac_dir=dlls/$ac_name
7684 ac_enable=$2
7685 ac_flags=$3
7686 ac_implib=${4:-$ac_name}
7687 ac_file=$ac_dir/lib$ac_implib
7688 ac_dll=$ac_name
7689 ac_deps="include"
7690 ac_implibflags=""
7692 if test "x$enable_tools" = xno; then :
7694 else
7695 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7697 case $ac_name in
7698 *16) ac_implibflags=" -m16" ;;
7699 *.*) ;;
7700 *) ac_dll=$ac_dll.dll ;;
7701 esac
7703 ac_clean=
7704 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7705 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7707 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7708 if test "$ac_enable" != enable_win16
7709 then
7710 wine_fn_clean_rules $ac_clean
7711 wine_fn_append_file SUBDIRS $ac_dir
7712 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7713 else
7714 wine_fn_disabled_rules $ac_clean
7715 return
7717 else
7718 wine_fn_all_rules
7719 wine_fn_clean_rules $ac_clean
7720 wine_fn_append_rule \
7721 "$ac_dir: __builddeps__
7722 manpages htmlpages sgmlpages xmlpages::
7723 @cd $ac_dir && \$(MAKE) \$@
7724 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7725 install install-lib:: $ac_dir/install-lib
7726 __uninstall__: $ac_dir/uninstall"
7727 if test -n "$DLLEXT"
7728 then
7729 wine_fn_append_rule \
7730 "$ac_dir/install-lib:: $ac_dir
7731 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7732 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7733 $ac_dir/uninstall::
7734 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7735 else
7736 wine_fn_append_rule \
7737 "$ac_dir/install-lib:: $ac_dir
7738 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7739 $ac_dir/uninstall::
7740 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7744 if wine_fn_has_flag staticimplib
7745 then
7746 wine_fn_append_rule \
7747 "__builddeps__: $ac_file.a
7748 $ac_file.a $ac_file.cross.a: $ac_deps
7749 $ac_file.a: dummy
7750 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7751 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7752 $ac_dir/install-dev:: $ac_file.a
7753 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7754 $ac_dir/uninstall::
7755 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7756 install install-dev:: $ac_dir/install-dev
7757 __uninstall__: $ac_dir/uninstall"
7759 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7760 then
7761 wine_fn_append_rule \
7762 "__builddeps__: $ac_file.cross.a
7763 $ac_file.cross.a: dummy
7764 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7767 elif wine_fn_has_flag implib
7768 then
7769 wine_fn_append_rule \
7770 "__builddeps__: $ac_file.$IMPLIBEXT
7771 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7772 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7773 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7774 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7775 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7776 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7777 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7778 $ac_dir/uninstall::
7779 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7780 install install-dev:: $ac_dir/install-dev
7781 __uninstall__: $ac_dir/uninstall"
7782 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7783 then
7784 wine_fn_append_rule \
7785 "__builddeps__: $ac_file.cross.a
7786 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7787 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7792 wine_fn_config_program ()
7794 ac_name=$1
7795 ac_dir=programs/$ac_name
7796 ac_enable=$2
7797 ac_flags=$3
7798 ac_program=$ac_name
7800 case $ac_name in
7801 *.*) ;;
7802 *) ac_program=$ac_program.exe ;;
7803 esac
7805 ac_clean=
7806 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7807 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7809 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7810 wine_fn_disabled_rules $ac_clean; return
7813 wine_fn_all_rules
7814 wine_fn_clean_rules $ac_clean
7815 wine_fn_append_rule "$ac_dir: __builddeps__"
7817 wine_fn_has_flag install || return
7818 wine_fn_append_rule \
7819 ".PHONY: $ac_dir/install $ac_dir/uninstall
7820 install install-lib:: $ac_dir/install
7821 __uninstall__: $ac_dir/uninstall"
7823 if test -n "$DLLEXT"
7824 then
7825 wine_fn_append_rule \
7826 "$ac_dir/install:: $ac_dir
7827 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7828 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7829 $ac_dir/uninstall::
7830 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7832 if test -z "$with_wine64" && wine_fn_has_flag installbin
7833 then
7834 wine_fn_append_rule \
7835 "$ac_dir/install:: __tooldeps__
7836 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7837 $ac_dir/uninstall::
7838 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7840 else
7841 wine_fn_append_rule \
7842 "$ac_dir/install:: $ac_dir
7843 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7844 $ac_dir/uninstall::
7845 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7848 if test -z "$with_wine64" && wine_fn_has_flag manpage
7849 then
7850 wine_fn_append_rule \
7851 "$ac_dir/install:: $ac_dir
7852 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7853 $ac_dir/uninstall::
7854 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7858 wine_fn_config_test ()
7860 ac_dir=$1
7861 ac_name=$2
7862 ac_flags=$3
7864 ac_clean=
7865 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7866 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7868 if test "x$enable_tests" = xno; then :
7869 wine_fn_disabled_rules $ac_clean; return
7872 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7873 wine_fn_all_rules
7874 wine_fn_clean_rules $ac_clean
7876 wine_fn_append_rule \
7877 "$ac_dir: __builddeps__
7878 programs/winetest: $ac_dir
7879 check test: $ac_dir/test
7880 .PHONY: $ac_dir/test
7881 $ac_dir/test: dummy
7882 @cd $ac_dir && \$(MAKE) test
7883 testclean::
7884 \$(RM) $ac_dir/*.ok"
7886 if test -n "$CROSSTARGET"
7887 then
7888 wine_fn_append_rule \
7889 "crosstest: $ac_dir/crosstest
7890 .PHONY: $ac_dir/crosstest
7891 $ac_dir/crosstest: __builddeps__ dummy
7892 @cd $ac_dir && \$(MAKE) crosstest"
7896 wine_fn_config_tool ()
7898 ac_dir=$1
7899 ac_flags=$2
7900 if test "x$enable_tools" = xno; then :
7901 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7904 wine_fn_all_rules
7905 wine_fn_install_rules
7906 wine_fn_clean_rules
7908 wine_fn_append_rule "__tooldeps__: $ac_dir"
7909 wine_fn_append_rule "$ac_dir: libs/port"
7910 case $ac_dir in
7911 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7912 esac
7915 wine_fn_config_symlink ()
7917 ac_linkdir=
7918 if test "x$1" = "x-d"
7919 then
7920 ac_linkdir=$2
7921 shift; shift
7923 ac_links=$@
7924 wine_fn_append_rule \
7925 "$ac_links:
7926 @./config.status \$@"
7927 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7928 test -n "$ac_linkdir" || return
7929 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7932 wine_binary="wine"
7933 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7934 WINELOADER_PROGRAMS="$wine_binary"
7936 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7938 case $host_os in
7939 cygwin*|mingw32*)
7940 if test -n "$ac_tool_prefix"; then
7941 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7942 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_DLLTOOL+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 if test -n "$DLLTOOL"; then
7949 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7950 else
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 for as_dir in $PATH
7954 IFS=$as_save_IFS
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7960 break 2
7962 done
7963 done
7964 IFS=$as_save_IFS
7968 DLLTOOL=$ac_cv_prog_DLLTOOL
7969 if test -n "$DLLTOOL"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7971 $as_echo "$DLLTOOL" >&6; }
7972 else
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7979 if test -z "$ac_cv_prog_DLLTOOL"; then
7980 ac_ct_DLLTOOL=$DLLTOOL
7981 # Extract the first word of "dlltool", so it can be a program name with args.
7982 set dummy dlltool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 if test -n "$ac_ct_DLLTOOL"; then
7989 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7990 else
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 for as_dir in $PATH
7994 IFS=$as_save_IFS
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 break 2
8002 done
8003 done
8004 IFS=$as_save_IFS
8008 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8009 if test -n "$ac_ct_DLLTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8011 $as_echo "$ac_ct_DLLTOOL" >&6; }
8012 else
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8017 if test "x$ac_ct_DLLTOOL" = x; then
8018 DLLTOOL="false"
8019 else
8020 case $cross_compiling:$ac_tool_warned in
8021 yes:)
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8024 ac_tool_warned=yes ;;
8025 esac
8026 DLLTOOL=$ac_ct_DLLTOOL
8028 else
8029 DLLTOOL="$ac_cv_prog_DLLTOOL"
8032 LIBEXT="dll"
8033 DLLEXT=""
8034 IMPLIBEXT="a"
8035 enable_iphlpapi=${enable_iphlpapi:-no}
8036 enable_kernel32=${enable_kernel32:-no}
8037 enable_msvcrt=${enable_msvcrt:-no}
8038 enable_ntdll=${enable_ntdll:-no}
8039 enable_ws2_32=${enable_ws2_32:-no}
8040 enable_loader=${enable_loader:-no}
8041 enable_server=${enable_server:-no}
8042 with_x=${with_x:-no}
8043 with_pthread=${with_pthread:-no}
8045 crtlibs=""
8046 case $host_os in
8047 mingw32*)
8048 crtlibs="-lmsvcrt"
8049 SOCKET_LIBS="-lws2_32"
8051 esac
8053 LIBWINE_SHAREDLIB="libwine.dll"
8055 LIBWINE_IMPORTLIB="libwine.a"
8057 LIBWINE_INSTALL_LIB="libwine.dll"
8059 LIBWINE_INSTALL_DEV="libwine.a"
8061 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8063 LIBWINE_DEPENDS="wine.def"
8067 darwin*|macosx*)
8068 for ac_header in libunwind.h
8069 do :
8070 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8072 cat >>confdefs.h <<_ACEOF
8073 #define HAVE_LIBUNWIND_H 1
8074 _ACEOF
8078 done
8080 LIBEXT="dylib"
8081 DLLFLAGS="$DLLFLAGS -fPIC"
8082 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8083 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8084 COREFOUNDATION_LIBS="-framework CoreFoundation"
8086 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8088 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8090 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8092 CORESERVICES_LIBS="-framework CoreServices"
8094 APPKIT_LIBS="-framework AppKit"
8096 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8098 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8099 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8100 $as_echo_n "(cached) " >&6
8101 else
8102 ac_wine_try_cflags_saved=$CFLAGS
8103 CFLAGS="$CFLAGS -Wl,-no_pie"
8104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8105 /* end confdefs.h. */
8106 int main(int argc, char **argv) { return 0; }
8107 _ACEOF
8108 if ac_fn_c_try_link "$LINENO"; then :
8109 ac_cv_cflags__Wl__no_pie=yes
8110 else
8111 ac_cv_cflags__Wl__no_pie=no
8113 rm -f core conftest.err conftest.$ac_objext \
8114 conftest$ac_exeext conftest.$ac_ext
8115 CFLAGS=$ac_wine_try_cflags_saved
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8118 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8119 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8120 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8122 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8123 then
8124 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8127 if test "$ac_cv_header_Security_Security_h" = "yes"
8128 then
8129 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8131 ac_save_LIBS="$LIBS"
8132 LIBS="$LIBS $SECURITY_LIBS"
8133 for ac_func in SSLCopyPeerCertificates
8134 do :
8135 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8136 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8137 cat >>confdefs.h <<_ACEOF
8138 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8139 _ACEOF
8142 done
8144 LIBS="$ac_save_LIBS"
8145 with_gnutls=${with_gnutls:-no}
8147 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8148 then
8149 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8150 then
8151 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8153 else
8154 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8157 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8158 ac_save_LIBS="$LIBS"
8159 LIBS="$LIBS $COREAUDIO_LIBS"
8160 for ac_func in AUGraphAddNode
8161 do :
8162 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8163 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8164 cat >>confdefs.h <<_ACEOF
8165 #define HAVE_AUGRAPHADDNODE 1
8166 _ACEOF
8169 done
8171 LIBS="$ac_save_LIBS"
8173 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8174 then
8175 OPENAL_LIBS="-framework OpenAL"
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_OPENAL 1
8180 _ACEOF
8182 ac_cv_lib_openal=yes
8184 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8185 then
8186 OPENCL_LIBS="-framework OpenCL"
8188 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8190 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8191 then
8192 ac_save_LIBS="$LIBS"
8193 LIBS="$LIBS $IOKIT_LIBS"
8194 for ac_func in IOHIDManagerCreate
8195 do :
8196 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8197 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8198 cat >>confdefs.h <<_ACEOF
8199 #define HAVE_IOHIDMANAGERCREATE 1
8200 _ACEOF
8203 done
8205 LIBS="$ac_save_LIBS"
8207 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8208 then
8209 ac_save_LIBS="$LIBS"
8210 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8212 $as_echo_n "checking for the QuickTime framework... " >&6; }
8213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8214 /* end confdefs.h. */
8215 #include <QuickTime/ImageCompression.h>
8217 main ()
8219 CodecManagerVersion(NULL);
8221 return 0;
8223 _ACEOF
8224 if ac_fn_c_try_link "$LINENO"; then :
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8226 $as_echo "yes" >&6; }
8227 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8229 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 ac_cv_header_QuickTime_ImageCompression_h=no
8235 rm -f core conftest.err conftest.$ac_objext \
8236 conftest$ac_exeext conftest.$ac_ext
8237 LIBS="$ac_save_LIBS"
8239 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8240 then
8241 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8243 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8244 then
8245 CARBON_LIBS="-framework Carbon"
8249 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8250 then
8251 ac_save_LIBS="$LIBS"
8252 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8253 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8254 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8255 enable_winemac_drv=${enable_winemac_drv:-yes}
8258 LIBS="$ac_save_LIBS"
8261 if test "x$enable_win16" = "xyes"
8262 then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8264 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8265 if test "$cross_compiling" = yes; then :
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8267 $as_echo "cross-compiling, assuming yes" >&6; }
8268 else
8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 asm(".text\n"
8272 "bad:\tnop;nop\n"
8273 "good:\tnop;nop\n\t"
8274 ".globl _testfunc\n"
8275 "_testfunc:\tcallw good");
8276 extern void testfunc();
8278 main ()
8280 unsigned short *p = (unsigned short *)testfunc;
8281 return p[0] != 0xe866 || p[1] != 0xfffa
8283 return 0;
8285 _ACEOF
8286 if ac_fn_c_try_run "$LINENO"; then :
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8288 $as_echo "yes" >&6; }
8289 else
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8291 $as_echo "no" >&6; }
8292 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
8294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8295 conftest.$ac_objext conftest.beam conftest.$ac_ext
8300 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8302 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8304 LIBWINE_INSTALL_DEV="libwine.dylib"
8306 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8308 WINELOADER_DEPENDS="wine_info.plist"
8312 linux-android*)
8313 DLLFLAGS="$DLLFLAGS -fPIC"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8315 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8316 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8317 $as_echo_n "(cached) " >&6
8318 else
8319 ac_wine_try_cflags_saved=$CFLAGS
8320 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 int main(int argc, char **argv) { return 0; }
8324 _ACEOF
8325 if ac_fn_c_try_link "$LINENO"; then :
8326 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8327 else
8328 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8330 rm -f core conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 CFLAGS=$ac_wine_try_cflags_saved
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8335 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8336 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8337 LDEXECFLAGS="-Wl,--export-dynamic"
8339 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8341 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8342 if eval \${$as_ac_var+:} false; then :
8343 $as_echo_n "(cached) " >&6
8344 else
8345 ac_wine_try_cflags_saved=$CFLAGS
8346 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8348 /* end confdefs.h. */
8349 int main(int argc, char **argv) { return 0; }
8350 _ACEOF
8351 if ac_fn_c_try_link "$LINENO"; then :
8352 eval "$as_ac_var=yes"
8353 else
8354 eval "$as_ac_var=no"
8356 rm -f core conftest.err conftest.$ac_objext \
8357 conftest$ac_exeext conftest.$ac_ext
8358 CFLAGS=$ac_wine_try_cflags_saved
8360 eval ac_res=\$$as_ac_var
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8362 $as_echo "$ac_res" >&6; }
8363 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8364 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8365 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8366 else
8367 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8369 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8370 if eval \${$as_ac_var+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 ac_wine_try_cflags_saved=$CFLAGS
8374 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8377 int main(int argc, char **argv) { return 0; }
8378 _ACEOF
8379 if ac_fn_c_try_link "$LINENO"; then :
8380 eval "$as_ac_var=yes"
8381 else
8382 eval "$as_ac_var=no"
8384 rm -f core conftest.err conftest.$ac_objext \
8385 conftest$ac_exeext conftest.$ac_ext
8386 CFLAGS=$ac_wine_try_cflags_saved
8388 eval ac_res=\$$as_ac_var
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8390 $as_echo "$ac_res" >&6; }
8391 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8392 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8393 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8398 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8399 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8400 $as_echo_n "(cached) " >&6
8401 else
8402 ac_wine_try_cflags_saved=$CFLAGS
8403 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* end confdefs.h. */
8406 int main(int argc, char **argv) { return 0; }
8407 _ACEOF
8408 if ac_fn_c_try_link "$LINENO"; then :
8409 ac_cv_cflags__Wl___enable_new_dtags=yes
8410 else
8411 ac_cv_cflags__Wl___enable_new_dtags=no
8413 rm -f core conftest.err conftest.$ac_objext \
8414 conftest$ac_exeext conftest.$ac_ext
8415 CFLAGS=$ac_wine_try_cflags_saved
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8418 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8419 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8420 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8423 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8424 if ${ac_cv_cflags__Wl__pie+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 ac_wine_try_cflags_saved=$CFLAGS
8428 CFLAGS="$CFLAGS -Wl,-pie"
8429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8431 int main(int argc, char **argv) { return 0; }
8432 _ACEOF
8433 if ac_fn_c_try_link "$LINENO"; then :
8434 ac_cv_cflags__Wl__pie=yes
8435 else
8436 ac_cv_cflags__Wl__pie=no
8438 rm -f core conftest.err conftest.$ac_objext \
8439 conftest$ac_exeext conftest.$ac_ext
8440 CFLAGS=$ac_wine_try_cflags_saved
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8443 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8444 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8445 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8448 LIBWINE_SHAREDLIB="libwine.so"
8450 LIBWINE_INSTALL_LIB="libwine.so"
8452 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8457 DLLFLAGS="$DLLFLAGS -fPIC"
8458 LDEXECFLAGS=""
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8460 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8461 if ${ac_cv_c_dll_gnuelf+:} false; then :
8462 $as_echo_n "(cached) " >&6
8463 else
8464 ac_wine_try_cflags_saved=$CFLAGS
8465 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8468 void myfunc() {}
8469 _ACEOF
8470 if ac_fn_c_try_link "$LINENO"; then :
8471 ac_cv_c_dll_gnuelf="yes"
8472 else
8473 ac_cv_c_dll_gnuelf="no"
8475 rm -f core conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 CFLAGS=$ac_wine_try_cflags_saved
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8480 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8481 if test "$ac_cv_c_dll_gnuelf" = "yes"
8482 then
8483 LIBWINE_LDFLAGS="-shared"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8485 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8486 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8487 $as_echo_n "(cached) " >&6
8488 else
8489 ac_wine_try_cflags_saved=$CFLAGS
8490 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8493 int main(int argc, char **argv) { return 0; }
8494 _ACEOF
8495 if ac_fn_c_try_link "$LINENO"; then :
8496 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8497 else
8498 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8500 rm -f core conftest.err conftest.$ac_objext \
8501 conftest$ac_exeext conftest.$ac_ext
8502 CFLAGS=$ac_wine_try_cflags_saved
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8505 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8506 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8507 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8508 else
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8510 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8511 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8512 $as_echo_n "(cached) " >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 int main(int argc, char **argv) { return 0; }
8519 _ACEOF
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8522 else
8523 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8525 rm -f core conftest.err conftest.$ac_objext \
8526 conftest$ac_exeext conftest.$ac_ext
8527 CFLAGS=$ac_wine_try_cflags_saved
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8530 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8531 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8532 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8536 echo '{ global: *; };' >conftest.map
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8538 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8539 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8540 $as_echo_n "(cached) " >&6
8541 else
8542 ac_wine_try_cflags_saved=$CFLAGS
8543 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8546 int main(int argc, char **argv) { return 0; }
8547 _ACEOF
8548 if ac_fn_c_try_link "$LINENO"; then :
8549 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8550 else
8551 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8553 rm -f core conftest.err conftest.$ac_objext \
8554 conftest$ac_exeext conftest.$ac_ext
8555 CFLAGS=$ac_wine_try_cflags_saved
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8558 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8559 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8560 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8562 rm -f conftest.map
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8565 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8566 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8567 $as_echo_n "(cached) " >&6
8568 else
8569 ac_wine_try_cflags_saved=$CFLAGS
8570 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 int main(int argc, char **argv) { return 0; }
8574 _ACEOF
8575 if ac_fn_c_try_link "$LINENO"; then :
8576 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8577 else
8578 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8580 rm -f core conftest.err conftest.$ac_objext \
8581 conftest$ac_exeext conftest.$ac_ext
8582 CFLAGS=$ac_wine_try_cflags_saved
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8585 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8586 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8587 LDEXECFLAGS="-Wl,--export-dynamic"
8590 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8592 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8593 if eval \${$as_ac_var+:} false; then :
8594 $as_echo_n "(cached) " >&6
8595 else
8596 ac_wine_try_cflags_saved=$CFLAGS
8597 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8599 /* end confdefs.h. */
8600 int main(int argc, char **argv) { return 0; }
8601 _ACEOF
8602 if ac_fn_c_try_link "$LINENO"; then :
8603 eval "$as_ac_var=yes"
8604 else
8605 eval "$as_ac_var=no"
8607 rm -f core conftest.err conftest.$ac_objext \
8608 conftest$ac_exeext conftest.$ac_ext
8609 CFLAGS=$ac_wine_try_cflags_saved
8611 eval ac_res=\$$as_ac_var
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8613 $as_echo "$ac_res" >&6; }
8614 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8615 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8616 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8617 else
8618 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8620 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8621 if eval \${$as_ac_var+:} false; then :
8622 $as_echo_n "(cached) " >&6
8623 else
8624 ac_wine_try_cflags_saved=$CFLAGS
8625 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8628 int main(int argc, char **argv) { return 0; }
8629 _ACEOF
8630 if ac_fn_c_try_link "$LINENO"; then :
8631 eval "$as_ac_var=yes"
8632 else
8633 eval "$as_ac_var=no"
8635 rm -f core conftest.err conftest.$ac_objext \
8636 conftest$ac_exeext conftest.$ac_ext
8637 CFLAGS=$ac_wine_try_cflags_saved
8639 eval ac_res=\$$as_ac_var
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8641 $as_echo "$ac_res" >&6; }
8642 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8643 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8644 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8649 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8650 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8658 _ACEOF
8659 if ac_fn_c_try_link "$LINENO"; then :
8660 ac_cv_cflags__Wl___enable_new_dtags=yes
8661 else
8662 ac_cv_cflags__Wl___enable_new_dtags=no
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8669 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8670 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8671 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8674 case $host_cpu in
8675 *i[3456789]86* | x86_64)
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8677 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8678 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8679 $as_echo_n "(cached) " >&6
8680 else
8681 ac_wine_try_cflags_saved=$CFLAGS
8682 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8685 int main(int argc, char **argv) { return 0; }
8686 _ACEOF
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8689 else
8690 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 CFLAGS=$ac_wine_try_cflags_saved
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8697 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8698 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8699 case $host_os in
8700 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8701 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8702 esac
8703 else
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8705 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8706 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8707 $as_echo_n "(cached) " >&6
8708 else
8709 ac_wine_try_cflags_saved=$CFLAGS
8710 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 int main(int argc, char **argv) { return 0; }
8714 _ACEOF
8715 if ac_fn_c_try_link "$LINENO"; then :
8716 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8717 else
8718 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8720 rm -f core conftest.err conftest.$ac_objext \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8725 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8726 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8727 case $host_os in
8728 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8729 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8730 esac
8732 # Extract the first word of "prelink", so it can be a program name with args.
8733 set dummy prelink; ac_word=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8735 $as_echo_n "checking for $ac_word... " >&6; }
8736 if ${ac_cv_path_PRELINK+:} false; then :
8737 $as_echo_n "(cached) " >&6
8738 else
8739 case $PRELINK in
8740 [\\/]* | ?:[\\/]*)
8741 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8745 for as_dir in /sbin /usr/sbin $PATH
8747 IFS=$as_save_IFS
8748 test -z "$as_dir" && as_dir=.
8749 for ac_exec_ext in '' $ac_executable_extensions; do
8750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8751 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8753 break 2
8755 done
8756 done
8757 IFS=$as_save_IFS
8759 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8761 esac
8763 PRELINK=$ac_cv_path_PRELINK
8764 if test -n "$PRELINK"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8766 $as_echo "$PRELINK" >&6; }
8767 else
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8769 $as_echo "no" >&6; }
8773 if test "x$PRELINK" = xfalse
8774 then
8775 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8779 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8780 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8781 $as_echo_n "(cached) " >&6
8782 else
8783 ac_wine_try_cflags_saved=$CFLAGS
8784 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8787 int main(int argc, char **argv) { return 0; }
8788 _ACEOF
8789 if ac_fn_c_try_link "$LINENO"; then :
8790 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8791 else
8792 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8794 rm -f core conftest.err conftest.$ac_objext \
8795 conftest$ac_exeext conftest.$ac_ext
8796 CFLAGS=$ac_wine_try_cflags_saved
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8799 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8800 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8801 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8804 esac
8806 else
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8808 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8809 if ${ac_cv_c_dll_unixware+:} false; then :
8810 $as_echo_n "(cached) " >&6
8811 else
8812 ac_wine_try_cflags_saved=$CFLAGS
8813 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 /* end confdefs.h. */
8816 void myfunc() {}
8817 _ACEOF
8818 if ac_fn_c_try_link "$LINENO"; then :
8819 ac_cv_c_dll_unixware="yes"
8820 else
8821 ac_cv_c_dll_unixware="no"
8823 rm -f core conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 CFLAGS=$ac_wine_try_cflags_saved
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8828 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8829 if test "$ac_cv_c_dll_unixware" = "yes"
8830 then
8831 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8834 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8836 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8838 LIBWINE_INSTALL_DEV="libwine.so"
8840 LIBWINE_DEPENDS="wine.map"
8843 esac
8845 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8846 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8847 enable_winemac_drv=${enable_winemac_drv:-no}
8848 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8850 CROSSTARGET=""
8852 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8853 then
8854 case "$host_cpu" in
8855 arm*)
8856 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8857 i[3456789]86*)
8858 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
8859 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8860 mingw32-gcc" ;;
8861 x86_64)
8862 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
8863 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8865 ac_prefix_list="" ;;
8866 esac
8867 for ac_prog in $ac_prefix_list
8869 # Extract the first word of "$ac_prog", so it can be a program name with args.
8870 set dummy $ac_prog; ac_word=$2
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8872 $as_echo_n "checking for $ac_word... " >&6; }
8873 if ${ac_cv_prog_CROSSCC+:} false; then :
8874 $as_echo_n "(cached) " >&6
8875 else
8876 if test -n "$CROSSCC"; then
8877 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8878 else
8879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880 for as_dir in $PATH
8882 IFS=$as_save_IFS
8883 test -z "$as_dir" && as_dir=.
8884 for ac_exec_ext in '' $ac_executable_extensions; do
8885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8886 ac_cv_prog_CROSSCC="$ac_prog"
8887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8888 break 2
8890 done
8891 done
8892 IFS=$as_save_IFS
8896 CROSSCC=$ac_cv_prog_CROSSCC
8897 if test -n "$CROSSCC"; then
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8899 $as_echo "$CROSSCC" >&6; }
8900 else
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8902 $as_echo "no" >&6; }
8906 test -n "$CROSSCC" && break
8907 done
8908 test -n "$CROSSCC" || CROSSCC="false"
8910 if test "$CROSSCC" != "false"
8911 then
8912 ac_save_CC="$CC"
8913 CC="$CROSSCC"
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8915 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8920 main ()
8924 return 0;
8926 _ACEOF
8927 if ac_fn_c_try_compile "$LINENO"; then :
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8929 $as_echo "yes" >&6; }
8930 set x $CROSSCC
8931 shift
8932 while test $# -ge 1
8934 case "$1" in
8935 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8936 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8937 esac
8938 shift
8939 done
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8945 CC="$ac_save_CC"
8950 if test "$ac_cv_header_pthread_h" = "yes"
8951 then
8952 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8953 if test "x$ac_cv_func_pthread_create" = xyes; then :
8955 else
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8957 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8958 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8959 $as_echo_n "(cached) " >&6
8960 else
8961 ac_check_lib_save_LIBS=$LIBS
8962 LIBS="-lpthread $LIBS"
8963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h. */
8966 /* Override any GCC internal prototype to avoid an error.
8967 Use char because int might match the return type of a GCC
8968 builtin and then its argument prototype would still apply. */
8969 #ifdef __cplusplus
8970 extern "C"
8971 #endif
8972 char pthread_create ();
8974 main ()
8976 return pthread_create ();
8978 return 0;
8980 _ACEOF
8981 if ac_fn_c_try_link "$LINENO"; then :
8982 ac_cv_lib_pthread_pthread_create=yes
8983 else
8984 ac_cv_lib_pthread_pthread_create=no
8986 rm -f core conftest.err conftest.$ac_objext \
8987 conftest$ac_exeext conftest.$ac_ext
8988 LIBS=$ac_check_lib_save_LIBS
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8991 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8992 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8993 PTHREAD_LIBS="-lpthread"
9000 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9001 case "x$with_pthread" in
9002 xno) ;;
9003 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9004 Wine cannot support threads without libpthread.
9005 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9006 esac
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9012 $as_echo_n "checking for X... " >&6; }
9015 # Check whether --with-x was given.
9016 if test "${with_x+set}" = set; then :
9017 withval=$with_x;
9020 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9021 if test "x$with_x" = xno; then
9022 # The user explicitly disabled X.
9023 have_x=disabled
9024 else
9025 case $x_includes,$x_libraries in #(
9026 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9027 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9028 $as_echo_n "(cached) " >&6
9029 else
9030 # One or both of the vars are not set, and there is no cached value.
9031 ac_x_includes=no ac_x_libraries=no
9032 rm -f -r conftest.dir
9033 if mkdir conftest.dir; then
9034 cd conftest.dir
9035 cat >Imakefile <<'_ACEOF'
9036 incroot:
9037 @echo incroot='${INCROOT}'
9038 usrlibdir:
9039 @echo usrlibdir='${USRLIBDIR}'
9040 libdir:
9041 @echo libdir='${LIBDIR}'
9042 _ACEOF
9043 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9044 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9045 for ac_var in incroot usrlibdir libdir; do
9046 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9047 done
9048 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9049 for ac_extension in a so sl dylib la dll; do
9050 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9051 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9052 ac_im_usrlibdir=$ac_im_libdir; break
9054 done
9055 # Screen out bogus values from the imake configuration. They are
9056 # bogus both because they are the default anyway, and because
9057 # using them would break gcc on systems where it needs fixed includes.
9058 case $ac_im_incroot in
9059 /usr/include) ac_x_includes= ;;
9060 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9061 esac
9062 case $ac_im_usrlibdir in
9063 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9064 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9065 esac
9067 cd ..
9068 rm -f -r conftest.dir
9071 # Standard set of common directories for X headers.
9072 # Check X11 before X11Rn because it is often a symlink to the current release.
9073 ac_x_header_dirs='
9074 /usr/X11/include
9075 /usr/X11R7/include
9076 /usr/X11R6/include
9077 /usr/X11R5/include
9078 /usr/X11R4/include
9080 /usr/include/X11
9081 /usr/include/X11R7
9082 /usr/include/X11R6
9083 /usr/include/X11R5
9084 /usr/include/X11R4
9086 /usr/local/X11/include
9087 /usr/local/X11R7/include
9088 /usr/local/X11R6/include
9089 /usr/local/X11R5/include
9090 /usr/local/X11R4/include
9092 /usr/local/include/X11
9093 /usr/local/include/X11R7
9094 /usr/local/include/X11R6
9095 /usr/local/include/X11R5
9096 /usr/local/include/X11R4
9098 /usr/X386/include
9099 /usr/x386/include
9100 /usr/XFree86/include/X11
9102 /usr/include
9103 /usr/local/include
9104 /usr/unsupported/include
9105 /usr/athena/include
9106 /usr/local/x11r5/include
9107 /usr/lpp/Xamples/include
9109 /usr/openwin/include
9110 /usr/openwin/share/include'
9112 if test "$ac_x_includes" = no; then
9113 # Guess where to find include files, by looking for Xlib.h.
9114 # First, try using that file with no special directory specified.
9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9117 #include <X11/Xlib.h>
9118 _ACEOF
9119 if ac_fn_c_try_cpp "$LINENO"; then :
9120 # We can compile using X headers with no special include directory.
9121 ac_x_includes=
9122 else
9123 for ac_dir in $ac_x_header_dirs; do
9124 if test -r "$ac_dir/X11/Xlib.h"; then
9125 ac_x_includes=$ac_dir
9126 break
9128 done
9130 rm -f conftest.err conftest.i conftest.$ac_ext
9131 fi # $ac_x_includes = no
9133 if test "$ac_x_libraries" = no; then
9134 # Check for the libraries.
9135 # See if we find them without any special options.
9136 # Don't add to $LIBS permanently.
9137 ac_save_LIBS=$LIBS
9138 LIBS="-lX11 $LIBS"
9139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9141 #include <X11/Xlib.h>
9143 main ()
9145 XrmInitialize ()
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 LIBS=$ac_save_LIBS
9152 # We can link X programs with no special library path.
9153 ac_x_libraries=
9154 else
9155 LIBS=$ac_save_LIBS
9156 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9158 # Don't even attempt the hair of trying to link an X program!
9159 for ac_extension in a so sl dylib la dll; do
9160 if test -r "$ac_dir/libX11.$ac_extension"; then
9161 ac_x_libraries=$ac_dir
9162 break 2
9164 done
9165 done
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 fi # $ac_x_libraries = no
9171 case $ac_x_includes,$ac_x_libraries in #(
9172 no,* | *,no | *\'*)
9173 # Didn't find X, or a directory has "'" in its name.
9174 ac_cv_have_x="have_x=no";; #(
9176 # Record where we found X for the cache.
9177 ac_cv_have_x="have_x=yes\
9178 ac_x_includes='$ac_x_includes'\
9179 ac_x_libraries='$ac_x_libraries'"
9180 esac
9182 ;; #(
9183 *) have_x=yes;;
9184 esac
9185 eval "$ac_cv_have_x"
9186 fi # $with_x != no
9188 if test "$have_x" != yes; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9190 $as_echo "$have_x" >&6; }
9191 no_x=yes
9192 else
9193 # If each of the values was on the command line, it overrides each guess.
9194 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9195 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9196 # Update the cache value to reflect the command line values.
9197 ac_cv_have_x="have_x=yes\
9198 ac_x_includes='$x_includes'\
9199 ac_x_libraries='$x_libraries'"
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9201 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9204 if test "$no_x" = yes; then
9205 # Not all programs may use this symbol, but it does not hurt to define it.
9207 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9209 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9210 else
9211 if test -n "$x_includes"; then
9212 X_CFLAGS="$X_CFLAGS -I$x_includes"
9215 # It would also be nice to do this for all -L options, not just this one.
9216 if test -n "$x_libraries"; then
9217 X_LIBS="$X_LIBS -L$x_libraries"
9218 # For Solaris; some versions of Sun CC require a space after -R and
9219 # others require no space. Words are not sufficient . . . .
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9221 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9222 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9223 ac_xsave_c_werror_flag=$ac_c_werror_flag
9224 ac_c_werror_flag=yes
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9229 main ()
9233 return 0;
9235 _ACEOF
9236 if ac_fn_c_try_link "$LINENO"; then :
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 $as_echo "no" >&6; }
9239 X_LIBS="$X_LIBS -R$x_libraries"
9240 else
9241 LIBS="$ac_xsave_LIBS -R $x_libraries"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9246 main ()
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9255 $as_echo "yes" >&6; }
9256 X_LIBS="$X_LIBS -R $x_libraries"
9257 else
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9259 $as_echo "neither works" >&6; }
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 ac_c_werror_flag=$ac_xsave_c_werror_flag
9267 LIBS=$ac_xsave_LIBS
9270 # Check for system-dependent libraries X programs must link with.
9271 # Do this before checking for the system-independent R6 libraries
9272 # (-lICE), since we may need -lsocket or whatever for X linking.
9274 if test "$ISC" = yes; then
9275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9276 else
9277 # Martyn Johnson says this is needed for Ultrix, if the X
9278 # libraries were built with DECnet support. And Karl Berry says
9279 # the Alpha needs dnet_stub (dnet does not exist).
9280 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282 /* end confdefs.h. */
9284 /* Override any GCC internal prototype to avoid an error.
9285 Use char because int might match the return type of a GCC
9286 builtin and then its argument prototype would still apply. */
9287 #ifdef __cplusplus
9288 extern "C"
9289 #endif
9290 char XOpenDisplay ();
9292 main ()
9294 return XOpenDisplay ();
9296 return 0;
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9301 else
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9303 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9304 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9305 $as_echo_n "(cached) " >&6
9306 else
9307 ac_check_lib_save_LIBS=$LIBS
9308 LIBS="-ldnet $LIBS"
9309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9310 /* end confdefs.h. */
9312 /* Override any GCC internal prototype to avoid an error.
9313 Use char because int might match the return type of a GCC
9314 builtin and then its argument prototype would still apply. */
9315 #ifdef __cplusplus
9316 extern "C"
9317 #endif
9318 char dnet_ntoa ();
9320 main ()
9322 return dnet_ntoa ();
9324 return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 ac_cv_lib_dnet_dnet_ntoa=yes
9329 else
9330 ac_cv_lib_dnet_dnet_ntoa=no
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 LIBS=$ac_check_lib_save_LIBS
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9337 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9338 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9339 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9342 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9344 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9345 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9346 $as_echo_n "(cached) " >&6
9347 else
9348 ac_check_lib_save_LIBS=$LIBS
9349 LIBS="-ldnet_stub $LIBS"
9350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9351 /* end confdefs.h. */
9353 /* Override any GCC internal prototype to avoid an error.
9354 Use char because int might match the return type of a GCC
9355 builtin and then its argument prototype would still apply. */
9356 #ifdef __cplusplus
9357 extern "C"
9358 #endif
9359 char dnet_ntoa ();
9361 main ()
9363 return dnet_ntoa ();
9365 return 0;
9367 _ACEOF
9368 if ac_fn_c_try_link "$LINENO"; then :
9369 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9370 else
9371 ac_cv_lib_dnet_stub_dnet_ntoa=no
9373 rm -f core conftest.err conftest.$ac_objext \
9374 conftest$ac_exeext conftest.$ac_ext
9375 LIBS=$ac_check_lib_save_LIBS
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9378 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9379 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9380 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9385 rm -f core conftest.err conftest.$ac_objext \
9386 conftest$ac_exeext conftest.$ac_ext
9387 LIBS="$ac_xsave_LIBS"
9389 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9390 # to get the SysV transport functions.
9391 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9392 # needs -lnsl.
9393 # The nsl library prevents programs from opening the X display
9394 # on Irix 5.2, according to T.E. Dickey.
9395 # The functions gethostbyname, getservbyname, and inet_addr are
9396 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9397 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9398 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9402 if test $ac_cv_func_gethostbyname = no; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9404 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9405 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9406 $as_echo_n "(cached) " >&6
9407 else
9408 ac_check_lib_save_LIBS=$LIBS
9409 LIBS="-lnsl $LIBS"
9410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 /* Override any GCC internal prototype to avoid an error.
9414 Use char because int might match the return type of a GCC
9415 builtin and then its argument prototype would still apply. */
9416 #ifdef __cplusplus
9417 extern "C"
9418 #endif
9419 char gethostbyname ();
9421 main ()
9423 return gethostbyname ();
9425 return 0;
9427 _ACEOF
9428 if ac_fn_c_try_link "$LINENO"; then :
9429 ac_cv_lib_nsl_gethostbyname=yes
9430 else
9431 ac_cv_lib_nsl_gethostbyname=no
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_lib_save_LIBS
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9438 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9439 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9443 if test $ac_cv_lib_nsl_gethostbyname = no; then
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9445 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9446 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9447 $as_echo_n "(cached) " >&6
9448 else
9449 ac_check_lib_save_LIBS=$LIBS
9450 LIBS="-lbsd $LIBS"
9451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 /* end confdefs.h. */
9454 /* Override any GCC internal prototype to avoid an error.
9455 Use char because int might match the return type of a GCC
9456 builtin and then its argument prototype would still apply. */
9457 #ifdef __cplusplus
9458 extern "C"
9459 #endif
9460 char gethostbyname ();
9462 main ()
9464 return gethostbyname ();
9466 return 0;
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 ac_cv_lib_bsd_gethostbyname=yes
9471 else
9472 ac_cv_lib_bsd_gethostbyname=no
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS=$ac_check_lib_save_LIBS
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9479 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9480 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9487 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9488 # socket/setsockopt and other routines are undefined under SCO ODT
9489 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9490 # on later versions), says Simon Leinen: it contains gethostby*
9491 # variants that don't use the name server (or something). -lsocket
9492 # must be given before -lnsl if both are needed. We assume that
9493 # if connect needs -lnsl, so does gethostbyname.
9494 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9495 if test "x$ac_cv_func_connect" = xyes; then :
9499 if test $ac_cv_func_connect = no; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9501 $as_echo_n "checking for connect in -lsocket... " >&6; }
9502 if ${ac_cv_lib_socket_connect+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_check_lib_save_LIBS=$LIBS
9506 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9513 #ifdef __cplusplus
9514 extern "C"
9515 #endif
9516 char connect ();
9518 main ()
9520 return connect ();
9522 return 0;
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"; then :
9526 ac_cv_lib_socket_connect=yes
9527 else
9528 ac_cv_lib_socket_connect=no
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 LIBS=$ac_check_lib_save_LIBS
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9535 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9536 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9537 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9542 # Guillermo Gomez says -lposix is necessary on A/UX.
9543 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9544 if test "x$ac_cv_func_remove" = xyes; then :
9548 if test $ac_cv_func_remove = no; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9550 $as_echo_n "checking for remove in -lposix... " >&6; }
9551 if ${ac_cv_lib_posix_remove+:} false; then :
9552 $as_echo_n "(cached) " >&6
9553 else
9554 ac_check_lib_save_LIBS=$LIBS
9555 LIBS="-lposix $LIBS"
9556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9559 /* Override any GCC internal prototype to avoid an error.
9560 Use char because int might match the return type of a GCC
9561 builtin and then its argument prototype would still apply. */
9562 #ifdef __cplusplus
9563 extern "C"
9564 #endif
9565 char remove ();
9567 main ()
9569 return remove ();
9571 return 0;
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 ac_cv_lib_posix_remove=yes
9576 else
9577 ac_cv_lib_posix_remove=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_lib_save_LIBS
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9584 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9585 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9586 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9591 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9592 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9593 if test "x$ac_cv_func_shmat" = xyes; then :
9597 if test $ac_cv_func_shmat = no; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9599 $as_echo_n "checking for shmat in -lipc... " >&6; }
9600 if ${ac_cv_lib_ipc_shmat+:} false; then :
9601 $as_echo_n "(cached) " >&6
9602 else
9603 ac_check_lib_save_LIBS=$LIBS
9604 LIBS="-lipc $LIBS"
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9608 /* Override any GCC internal prototype to avoid an error.
9609 Use char because int might match the return type of a GCC
9610 builtin and then its argument prototype would still apply. */
9611 #ifdef __cplusplus
9612 extern "C"
9613 #endif
9614 char shmat ();
9616 main ()
9618 return shmat ();
9620 return 0;
9622 _ACEOF
9623 if ac_fn_c_try_link "$LINENO"; then :
9624 ac_cv_lib_ipc_shmat=yes
9625 else
9626 ac_cv_lib_ipc_shmat=no
9628 rm -f core conftest.err conftest.$ac_objext \
9629 conftest$ac_exeext conftest.$ac_ext
9630 LIBS=$ac_check_lib_save_LIBS
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9633 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9634 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9635 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9641 # Check for libraries that X11R6 Xt/Xaw programs need.
9642 ac_save_LDFLAGS=$LDFLAGS
9643 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9644 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9645 # check for ICE first), but we must link in the order -lSM -lICE or
9646 # we get undefined symbols. So assume we have SM if we have ICE.
9647 # These have to be linked with before -lX11, unlike the other
9648 # libraries we check for below, so use a different variable.
9649 # John Interrante, Karl Berry
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9651 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9652 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 ac_check_lib_save_LIBS=$LIBS
9656 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9660 /* Override any GCC internal prototype to avoid an error.
9661 Use char because int might match the return type of a GCC
9662 builtin and then its argument prototype would still apply. */
9663 #ifdef __cplusplus
9664 extern "C"
9665 #endif
9666 char IceConnectionNumber ();
9668 main ()
9670 return IceConnectionNumber ();
9672 return 0;
9674 _ACEOF
9675 if ac_fn_c_try_link "$LINENO"; then :
9676 ac_cv_lib_ICE_IceConnectionNumber=yes
9677 else
9678 ac_cv_lib_ICE_IceConnectionNumber=no
9680 rm -f core conftest.err conftest.$ac_objext \
9681 conftest$ac_exeext conftest.$ac_ext
9682 LIBS=$ac_check_lib_save_LIBS
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9685 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9686 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9687 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9690 LDFLAGS=$ac_save_LDFLAGS
9695 if test "$have_x" = "yes"
9696 then
9697 ac_save_CPPFLAGS="$CPPFLAGS"
9698 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9701 $as_echo_n "checking for -lX11... " >&6; }
9702 if ${ac_cv_lib_soname_X11+:} false; then :
9703 $as_echo_n "(cached) " >&6
9704 else
9705 ac_check_soname_save_LIBS=$LIBS
9706 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9708 /* end confdefs.h. */
9710 /* Override any GCC internal prototype to avoid an error.
9711 Use char because int might match the return type of a GCC
9712 builtin and then its argument prototype would still apply. */
9713 #ifdef __cplusplus
9714 extern "C"
9715 #endif
9716 char XCreateWindow ();
9718 main ()
9720 return XCreateWindow ();
9722 return 0;
9724 _ACEOF
9725 if ac_fn_c_try_link "$LINENO"; then :
9726 case "$LIBEXT" in
9727 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9730 if ${ac_cv_lib_soname_X11:+false} :; then :
9731 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9732 fi ;;
9733 esac
9735 rm -f core conftest.err conftest.$ac_objext \
9736 conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_soname_save_LIBS
9739 if ${ac_cv_lib_soname_X11:+false} :; then :
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9741 $as_echo "not found" >&6; }
9743 else
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9745 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9747 cat >>confdefs.h <<_ACEOF
9748 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9749 _ACEOF
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9754 $as_echo_n "checking for -lXext... " >&6; }
9755 if ${ac_cv_lib_soname_Xext+:} false; then :
9756 $as_echo_n "(cached) " >&6
9757 else
9758 ac_check_soname_save_LIBS=$LIBS
9759 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9763 /* Override any GCC internal prototype to avoid an error.
9764 Use char because int might match the return type of a GCC
9765 builtin and then its argument prototype would still apply. */
9766 #ifdef __cplusplus
9767 extern "C"
9768 #endif
9769 char XextCreateExtension ();
9771 main ()
9773 return XextCreateExtension ();
9775 return 0;
9777 _ACEOF
9778 if ac_fn_c_try_link "$LINENO"; then :
9779 case "$LIBEXT" in
9780 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9781 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'` ;;
9782 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9783 if ${ac_cv_lib_soname_Xext:+false} :; then :
9784 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9785 fi ;;
9786 esac
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 LIBS=$ac_check_soname_save_LIBS
9792 if ${ac_cv_lib_soname_Xext:+false} :; then :
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9794 $as_echo "not found" >&6; }
9796 else
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9798 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9800 cat >>confdefs.h <<_ACEOF
9801 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9802 _ACEOF
9804 X_LIBS="$X_LIBS -lXext"
9806 X_LIBS="$X_LIBS -lX11"
9808 for ac_header in X11/Xlib.h \
9809 X11/XKBlib.h \
9810 X11/Xutil.h \
9811 X11/Xcursor/Xcursor.h \
9812 X11/extensions/shape.h \
9813 X11/extensions/XInput.h \
9814 X11/extensions/XInput2.h \
9815 X11/extensions/XShm.h \
9816 X11/extensions/Xcomposite.h \
9817 X11/extensions/Xinerama.h \
9818 X11/extensions/Xrandr.h \
9819 X11/extensions/Xrender.h \
9820 X11/extensions/xf86vmode.h \
9821 X11/extensions/xf86vmproto.h
9822 do :
9823 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9824 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9825 # include <X11/Xlib.h>
9826 #endif
9827 #ifdef HAVE_X11_XUTIL_H
9828 # include <X11/Xutil.h>
9829 #endif
9831 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9832 cat >>confdefs.h <<_ACEOF
9833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9834 _ACEOF
9838 done
9841 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9842 then
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9844 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9845 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9846 $as_echo_n "(cached) " >&6
9847 else
9848 ac_check_lib_save_LIBS=$LIBS
9849 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9853 /* Override any GCC internal prototype to avoid an error.
9854 Use char because int might match the return type of a GCC
9855 builtin and then its argument prototype would still apply. */
9856 #ifdef __cplusplus
9857 extern "C"
9858 #endif
9859 char XkbQueryExtension ();
9861 main ()
9863 return XkbQueryExtension ();
9865 return 0;
9867 _ACEOF
9868 if ac_fn_c_try_link "$LINENO"; then :
9869 ac_cv_lib_X11_XkbQueryExtension=yes
9870 else
9871 ac_cv_lib_X11_XkbQueryExtension=no
9873 rm -f core conftest.err conftest.$ac_objext \
9874 conftest$ac_exeext conftest.$ac_ext
9875 LIBS=$ac_check_lib_save_LIBS
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9878 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9879 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9881 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9887 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9888 then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9890 $as_echo_n "checking for -lXcursor... " >&6; }
9891 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 ac_check_soname_save_LIBS=$LIBS
9895 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9902 #ifdef __cplusplus
9903 extern "C"
9904 #endif
9905 char XcursorImageLoadCursor ();
9907 main ()
9909 return XcursorImageLoadCursor ();
9911 return 0;
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 case "$LIBEXT" in
9916 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9919 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9920 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9921 fi ;;
9922 esac
9924 rm -f core conftest.err conftest.$ac_objext \
9925 conftest$ac_exeext conftest.$ac_ext
9926 LIBS=$ac_check_soname_save_LIBS
9928 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9930 $as_echo "not found" >&6; }
9932 else
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9934 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9936 cat >>confdefs.h <<_ACEOF
9937 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9938 _ACEOF
9943 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9944 case "x$with_xcursor" in
9945 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9946 xno) ;;
9947 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9948 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9949 esac
9953 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9954 then
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9956 $as_echo_n "checking for -lXi... " >&6; }
9957 if ${ac_cv_lib_soname_Xi+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_check_soname_save_LIBS=$LIBS
9961 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9965 /* Override any GCC internal prototype to avoid an error.
9966 Use char because int might match the return type of a GCC
9967 builtin and then its argument prototype would still apply. */
9968 #ifdef __cplusplus
9969 extern "C"
9970 #endif
9971 char XOpenDevice ();
9973 main ()
9975 return XOpenDevice ();
9977 return 0;
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 case "$LIBEXT" in
9982 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9983 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'` ;;
9984 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9985 if ${ac_cv_lib_soname_Xi:+false} :; then :
9986 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9987 fi ;;
9988 esac
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_soname_save_LIBS
9994 if ${ac_cv_lib_soname_Xi:+false} :; then :
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9996 $as_echo "not found" >&6; }
9998 else
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10000 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10002 cat >>confdefs.h <<_ACEOF
10003 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10004 _ACEOF
10009 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10010 case "x$with_xinput" in
10011 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10012 xno) ;;
10013 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10014 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10015 esac
10019 if test "x$ac_cv_lib_soname_Xi" != x
10020 then
10021 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10022 case "x$with_xinput2" in
10023 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10024 xno) ;;
10025 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10026 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10027 esac
10032 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10033 then
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10035 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10036 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10037 $as_echo_n "(cached) " >&6
10038 else
10039 ac_check_lib_save_LIBS=$LIBS
10040 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10044 /* Override any GCC internal prototype to avoid an error.
10045 Use char because int might match the return type of a GCC
10046 builtin and then its argument prototype would still apply. */
10047 #ifdef __cplusplus
10048 extern "C"
10049 #endif
10050 char XShmQueryExtension ();
10052 main ()
10054 return XShmQueryExtension ();
10056 return 0;
10058 _ACEOF
10059 if ac_fn_c_try_link "$LINENO"; then :
10060 ac_cv_lib_Xext_XShmQueryExtension=yes
10061 else
10062 ac_cv_lib_Xext_XShmQueryExtension=no
10064 rm -f core conftest.err conftest.$ac_objext \
10065 conftest$ac_exeext conftest.$ac_ext
10066 LIBS=$ac_check_lib_save_LIBS
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10069 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10070 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10072 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10077 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10078 case "x$with_xshm" in
10079 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10080 xno) ;;
10081 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10082 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10083 esac
10087 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10088 then
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10090 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10091 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_check_lib_save_LIBS=$LIBS
10095 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10102 #ifdef __cplusplus
10103 extern "C"
10104 #endif
10105 char XShapeQueryExtension ();
10107 main ()
10109 return XShapeQueryExtension ();
10111 return 0;
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"; then :
10115 ac_cv_lib_Xext_XShapeQueryExtension=yes
10116 else
10117 ac_cv_lib_Xext_XShapeQueryExtension=no
10119 rm -f core conftest.err conftest.$ac_objext \
10120 conftest$ac_exeext conftest.$ac_ext
10121 LIBS=$ac_check_lib_save_LIBS
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10124 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10125 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10127 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10132 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10133 case "x$with_xshape" in
10134 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10135 xno) ;;
10136 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10137 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10138 esac
10142 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10143 then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10145 $as_echo_n "checking for -lXxf86vm... " >&6; }
10146 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10147 $as_echo_n "(cached) " >&6
10148 else
10149 ac_check_soname_save_LIBS=$LIBS
10150 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10154 /* Override any GCC internal prototype to avoid an error.
10155 Use char because int might match the return type of a GCC
10156 builtin and then its argument prototype would still apply. */
10157 #ifdef __cplusplus
10158 extern "C"
10159 #endif
10160 char XF86VidModeQueryExtension ();
10162 main ()
10164 return XF86VidModeQueryExtension ();
10166 return 0;
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"; then :
10170 case "$LIBEXT" in
10171 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10172 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'` ;;
10173 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10174 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10175 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10176 fi ;;
10177 esac
10179 rm -f core conftest.err conftest.$ac_objext \
10180 conftest$ac_exeext conftest.$ac_ext
10181 LIBS=$ac_check_soname_save_LIBS
10183 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10185 $as_echo "not found" >&6; }
10187 else
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10189 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10191 cat >>confdefs.h <<_ACEOF
10192 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10193 _ACEOF
10198 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10199 case "x$with_xxf86vm" in
10200 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10201 xno) ;;
10202 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10203 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10204 esac
10208 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10209 then
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10211 $as_echo_n "checking for -lXrender... " >&6; }
10212 if ${ac_cv_lib_soname_Xrender+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_check_soname_save_LIBS=$LIBS
10216 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10223 #ifdef __cplusplus
10224 extern "C"
10225 #endif
10226 char XRenderQueryExtension ();
10228 main ()
10230 return XRenderQueryExtension ();
10232 return 0;
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 case "$LIBEXT" in
10237 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10238 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'` ;;
10239 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10240 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10241 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10242 fi ;;
10243 esac
10245 rm -f core conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_soname_save_LIBS
10249 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10251 $as_echo "not found" >&6; }
10253 else
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10255 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10257 cat >>confdefs.h <<_ACEOF
10258 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10259 _ACEOF
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10262 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10263 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 ac_check_lib_save_LIBS=$LIBS
10267 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269 /* end confdefs.h. */
10271 /* Override any GCC internal prototype to avoid an error.
10272 Use char because int might match the return type of a GCC
10273 builtin and then its argument prototype would still apply. */
10274 #ifdef __cplusplus
10275 extern "C"
10276 #endif
10277 char XRenderSetPictureTransform ();
10279 main ()
10281 return XRenderSetPictureTransform ();
10283 return 0;
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10288 else
10289 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_lib_save_LIBS
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10296 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10297 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10299 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10304 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10305 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10306 $as_echo_n "(cached) " >&6
10307 else
10308 ac_check_lib_save_LIBS=$LIBS
10309 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10316 #ifdef __cplusplus
10317 extern "C"
10318 #endif
10319 char XRenderCreateLinearGradient ();
10321 main ()
10323 return XRenderCreateLinearGradient ();
10325 return 0;
10327 _ACEOF
10328 if ac_fn_c_try_link "$LINENO"; then :
10329 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10330 else
10331 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10333 rm -f core conftest.err conftest.$ac_objext \
10334 conftest$ac_exeext conftest.$ac_ext
10335 LIBS=$ac_check_lib_save_LIBS
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10338 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10339 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10341 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10348 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10349 case "x$with_xrender" in
10350 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10351 xno) ;;
10352 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10353 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10354 esac
10358 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10359 then
10360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10361 /* end confdefs.h. */
10362 #include <X11/Xlib.h>
10363 #include <X11/extensions/Xrandr.h>
10365 main ()
10367 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10369 return 0;
10371 _ACEOF
10372 if ac_fn_c_try_compile "$LINENO"; then :
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10374 $as_echo_n "checking for -lXrandr... " >&6; }
10375 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10376 $as_echo_n "(cached) " >&6
10377 else
10378 ac_check_soname_save_LIBS=$LIBS
10379 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10383 /* Override any GCC internal prototype to avoid an error.
10384 Use char because int might match the return type of a GCC
10385 builtin and then its argument prototype would still apply. */
10386 #ifdef __cplusplus
10387 extern "C"
10388 #endif
10389 char XRRQueryExtension ();
10391 main ()
10393 return XRRQueryExtension ();
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_link "$LINENO"; then :
10399 case "$LIBEXT" in
10400 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10401 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'` ;;
10402 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10403 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10404 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10405 fi ;;
10406 esac
10408 rm -f core conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_soname_save_LIBS
10412 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10414 $as_echo "not found" >&6; }
10416 else
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10418 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10420 cat >>confdefs.h <<_ACEOF
10421 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10422 _ACEOF
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 #include <X11/Xlib.h>
10427 #include <X11/extensions/Xrandr.h>
10429 main ()
10431 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10433 return 0;
10435 _ACEOF
10436 if ac_fn_c_try_compile "$LINENO"; then :
10438 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10446 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10447 case "x$with_xrandr" in
10448 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10449 xno) ;;
10450 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10451 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10452 esac
10456 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10457 then
10458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10459 /* end confdefs.h. */
10460 #include <X11/Xlib.h>
10461 #include <X11/extensions/Xinerama.h>
10463 main ()
10465 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10467 return 0;
10469 _ACEOF
10470 if ac_fn_c_try_compile "$LINENO"; then :
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10472 $as_echo_n "checking for -lXinerama... " >&6; }
10473 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_check_soname_save_LIBS=$LIBS
10477 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10484 #ifdef __cplusplus
10485 extern "C"
10486 #endif
10487 char XineramaQueryScreens ();
10489 main ()
10491 return XineramaQueryScreens ();
10493 return 0;
10495 _ACEOF
10496 if ac_fn_c_try_link "$LINENO"; then :
10497 case "$LIBEXT" in
10498 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10499 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'` ;;
10500 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10501 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10502 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10503 fi ;;
10504 esac
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LIBS=$ac_check_soname_save_LIBS
10510 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10512 $as_echo "not found" >&6; }
10514 else
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10516 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10518 cat >>confdefs.h <<_ACEOF
10519 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10520 _ACEOF
10525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10527 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10528 case "x$with_xinerama" in
10529 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10530 xno) ;;
10531 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10532 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10533 esac
10537 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10538 then
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10540 $as_echo_n "checking for -lXcomposite... " >&6; }
10541 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10542 $as_echo_n "(cached) " >&6
10543 else
10544 ac_check_soname_save_LIBS=$LIBS
10545 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10549 /* Override any GCC internal prototype to avoid an error.
10550 Use char because int might match the return type of a GCC
10551 builtin and then its argument prototype would still apply. */
10552 #ifdef __cplusplus
10553 extern "C"
10554 #endif
10555 char XCompositeRedirectWindow ();
10557 main ()
10559 return XCompositeRedirectWindow ();
10561 return 0;
10563 _ACEOF
10564 if ac_fn_c_try_link "$LINENO"; then :
10565 case "$LIBEXT" in
10566 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10567 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'` ;;
10568 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10569 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10570 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10571 fi ;;
10572 esac
10574 rm -f core conftest.err conftest.$ac_objext \
10575 conftest$ac_exeext conftest.$ac_ext
10576 LIBS=$ac_check_soname_save_LIBS
10578 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10580 $as_echo "not found" >&6; }
10582 else
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10584 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10586 cat >>confdefs.h <<_ACEOF
10587 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10588 _ACEOF
10593 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10594 case "x$with_xcomposite" in
10595 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10596 xno) ;;
10597 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10598 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10599 esac
10603 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10604 #include <X11/Xlib.h>
10605 #endif
10607 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10609 cat >>confdefs.h <<_ACEOF
10610 #define HAVE_XICCALLBACK_CALLBACK 1
10611 _ACEOF
10615 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10616 #include <X11/Xlib.h>
10617 #endif
10619 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10621 cat >>confdefs.h <<_ACEOF
10622 #define HAVE_XEVENT_XCOOKIE 1
10623 _ACEOF
10630 opengl_msg=""
10631 if test "x$with_opengl" != "xno"
10632 then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10634 $as_echo_n "checking for -lGL... " >&6; }
10635 if ${ac_cv_lib_soname_GL+:} false; then :
10636 $as_echo_n "(cached) " >&6
10637 else
10638 ac_check_soname_save_LIBS=$LIBS
10639 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10643 /* Override any GCC internal prototype to avoid an error.
10644 Use char because int might match the return type of a GCC
10645 builtin and then its argument prototype would still apply. */
10646 #ifdef __cplusplus
10647 extern "C"
10648 #endif
10649 char glXCreateContext ();
10651 main ()
10653 return glXCreateContext ();
10655 return 0;
10657 _ACEOF
10658 if ac_fn_c_try_link "$LINENO"; then :
10659 case "$LIBEXT" in
10660 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10661 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'` ;;
10662 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10663 if ${ac_cv_lib_soname_GL:+false} :; then :
10664 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10665 fi ;;
10666 esac
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 LIBS=$ac_check_soname_save_LIBS
10672 if ${ac_cv_lib_soname_GL:+false} :; then :
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10674 $as_echo "not found" >&6; }
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10676 $as_echo_n "checking for -lGL... " >&6; }
10677 if ${ac_cv_lib_soname_GL+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_check_soname_save_LIBS=$LIBS
10681 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"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 char glXCreateContext ();
10693 main ()
10695 return glXCreateContext ();
10697 return 0;
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701 case "$LIBEXT" in
10702 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10703 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'` ;;
10704 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10705 if ${ac_cv_lib_soname_GL:+false} :; then :
10706 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10707 fi ;;
10708 esac
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_soname_save_LIBS
10714 if ${ac_cv_lib_soname_GL:+false} :; then :
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10716 $as_echo "not found" >&6; }
10717 if test -f /usr/X11R6/lib/libGL.a
10718 then
10719 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10720 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10721 else
10722 opengl_msg="No OpenGL library found on this system."
10724 else
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10726 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10728 cat >>confdefs.h <<_ACEOF
10729 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10730 _ACEOF
10732 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"
10734 else
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10736 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10738 cat >>confdefs.h <<_ACEOF
10739 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10740 _ACEOF
10742 OPENGL_LIBS="-lGL"
10744 if test "x$with_glu" != "xno"
10745 then
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10747 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10748 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10749 $as_echo_n "(cached) " >&6
10750 else
10751 ac_check_lib_save_LIBS=$LIBS
10752 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10756 /* Override any GCC internal prototype to avoid an error.
10757 Use char because int might match the return type of a GCC
10758 builtin and then its argument prototype would still apply. */
10759 #ifdef __cplusplus
10760 extern "C"
10761 #endif
10762 char gluLookAt ();
10764 main ()
10766 return gluLookAt ();
10768 return 0;
10770 _ACEOF
10771 if ac_fn_c_try_link "$LINENO"; then :
10772 ac_cv_lib_GLU_gluLookAt=yes
10773 else
10774 ac_cv_lib_GLU_gluLookAt=no
10776 rm -f core conftest.err conftest.$ac_objext \
10777 conftest$ac_exeext conftest.$ac_ext
10778 LIBS=$ac_check_lib_save_LIBS
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10781 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10782 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10786 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10787 case "x$with_glu" in
10788 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10789 xno) ;;
10790 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10791 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10792 esac
10797 if test "x$with_osmesa" != "xno"
10798 then
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10800 $as_echo_n "checking for -lOSMesa... " >&6; }
10801 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10802 $as_echo_n "(cached) " >&6
10803 else
10804 ac_check_soname_save_LIBS=$LIBS
10805 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10812 #ifdef __cplusplus
10813 extern "C"
10814 #endif
10815 char glAccum ();
10817 main ()
10819 return glAccum ();
10821 return 0;
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825 case "$LIBEXT" in
10826 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10827 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'` ;;
10828 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10829 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10830 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10831 fi ;;
10832 esac
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10836 LIBS=$ac_check_soname_save_LIBS
10838 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10840 $as_echo "not found" >&6; }
10842 else
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10844 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10846 cat >>confdefs.h <<_ACEOF
10847 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10848 _ACEOF
10852 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10853 case "x$with_osmesa" in
10854 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10855 xno) ;;
10856 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10857 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10858 esac
10863 if test -n "$opengl_msg"; then :
10864 case "x$with_opengl" in
10865 x) as_fn_append wine_warnings "|$opengl_msg
10866 OpenGL and Direct3D won't be supported." ;;
10867 xno) ;;
10868 *) as_fn_error $? "$opengl_msg
10869 OpenGL and Direct3D won't be supported.
10870 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10871 esac
10875 CPPFLAGS="$ac_save_CPPFLAGS"
10876 else
10877 X_CFLAGS=""
10878 X_LIBS=""
10880 if test "x$X_LIBS" = "x"; then :
10881 case "x$with_x" in
10882 xno) ;;
10883 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10884 without X support, which probably isn't what you want. You will need
10885 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10886 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10887 esac
10888 enable_winex11_drv=${enable_winex11_drv:-no}
10891 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10893 if test "$ac_cv_header_CL_cl_h" = "yes"
10894 then
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10896 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10897 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10898 $as_echo_n "(cached) " >&6
10899 else
10900 ac_check_lib_save_LIBS=$LIBS
10901 LIBS="-lOpenCL $LIBS"
10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10905 /* Override any GCC internal prototype to avoid an error.
10906 Use char because int might match the return type of a GCC
10907 builtin and then its argument prototype would still apply. */
10908 #ifdef __cplusplus
10909 extern "C"
10910 #endif
10911 char clGetPlatformInfo ();
10913 main ()
10915 return clGetPlatformInfo ();
10917 return 0;
10919 _ACEOF
10920 if ac_fn_c_try_link "$LINENO"; then :
10921 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10922 else
10923 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10925 rm -f core conftest.err conftest.$ac_objext \
10926 conftest$ac_exeext conftest.$ac_ext
10927 LIBS=$ac_check_lib_save_LIBS
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10930 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10931 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10932 OPENCL_LIBS="-lOpenCL"
10937 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10938 case "x$with_opencl" in
10939 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10940 xno) ;;
10941 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10942 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10943 esac
10944 enable_opencl=${enable_opencl:-no}
10947 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10948 then
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10950 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10951 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10952 $as_echo_n "(cached) " >&6
10953 else
10954 ac_check_lib_save_LIBS=$LIBS
10955 LIBS="-lpcap $LIBS"
10956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10959 /* Override any GCC internal prototype to avoid an error.
10960 Use char because int might match the return type of a GCC
10961 builtin and then its argument prototype would still apply. */
10962 #ifdef __cplusplus
10963 extern "C"
10964 #endif
10965 char pcap_create ();
10967 main ()
10969 return pcap_create ();
10971 return 0;
10973 _ACEOF
10974 if ac_fn_c_try_link "$LINENO"; then :
10975 ac_cv_lib_pcap_pcap_create=yes
10976 else
10977 ac_cv_lib_pcap_pcap_create=no
10979 rm -f core conftest.err conftest.$ac_objext \
10980 conftest$ac_exeext conftest.$ac_ext
10981 LIBS=$ac_check_lib_save_LIBS
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10984 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10985 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10986 PCAP_LIBS="-lpcap"
10991 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10992 case "x$with_pcap" in
10993 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10994 xno) ;;
10995 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10996 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10997 esac
10998 enable_wpcap=${enable_wpcap:-no}
11002 if test "x$with_xml" != "xno"
11003 then
11004 if ${XML2_CFLAGS:+false} :; then :
11005 if ${PKG_CONFIG+:} false; then :
11006 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11009 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11010 if ${XML2_LIBS:+false} :; then :
11011 if ${PKG_CONFIG+:} false; then :
11012 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11015 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11016 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11017 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11018 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11019 ac_save_CPPFLAGS=$CPPFLAGS
11020 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11021 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11022 do :
11023 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11024 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11025 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11026 cat >>confdefs.h <<_ACEOF
11027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11028 _ACEOF
11032 done
11034 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"
11035 then
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11037 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11038 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11039 $as_echo_n "(cached) " >&6
11040 else
11041 ac_check_lib_save_LIBS=$LIBS
11042 LIBS="-lxml2 $XML2_LIBS $LIBS"
11043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11049 #ifdef __cplusplus
11050 extern "C"
11051 #endif
11052 char xmlParseMemory ();
11054 main ()
11056 return xmlParseMemory ();
11058 return 0;
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 ac_cv_lib_xml2_xmlParseMemory=yes
11063 else
11064 ac_cv_lib_xml2_xmlParseMemory=no
11066 rm -f core conftest.err conftest.$ac_objext \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11071 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11072 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11074 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11076 else
11077 XML2_LIBS=""
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11081 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11082 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11083 $as_echo_n "(cached) " >&6
11084 else
11085 ac_check_lib_save_LIBS=$LIBS
11086 LIBS="-lxml2 $XML2_LIBS $LIBS"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11090 /* Override any GCC internal prototype to avoid an error.
11091 Use char because int might match the return type of a GCC
11092 builtin and then its argument prototype would still apply. */
11093 #ifdef __cplusplus
11094 extern "C"
11095 #endif
11096 char xmlReadMemory ();
11098 main ()
11100 return xmlReadMemory ();
11102 return 0;
11104 _ACEOF
11105 if ac_fn_c_try_link "$LINENO"; then :
11106 ac_cv_lib_xml2_xmlReadMemory=yes
11107 else
11108 ac_cv_lib_xml2_xmlReadMemory=no
11110 rm -f core conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 LIBS=$ac_check_lib_save_LIBS
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11115 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11116 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11118 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11123 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11124 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11125 $as_echo_n "(cached) " >&6
11126 else
11127 ac_check_lib_save_LIBS=$LIBS
11128 LIBS="-lxml2 $XML2_LIBS $LIBS"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11135 #ifdef __cplusplus
11136 extern "C"
11137 #endif
11138 char xmlNewDocPI ();
11140 main ()
11142 return xmlNewDocPI ();
11144 return 0;
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"; then :
11148 ac_cv_lib_xml2_xmlNewDocPI=yes
11149 else
11150 ac_cv_lib_xml2_xmlNewDocPI=no
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11157 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11158 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11160 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11165 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11166 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11167 $as_echo_n "(cached) " >&6
11168 else
11169 ac_check_lib_save_LIBS=$LIBS
11170 LIBS="-lxml2 $XML2_LIBS $LIBS"
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11174 /* Override any GCC internal prototype to avoid an error.
11175 Use char because int might match the return type of a GCC
11176 builtin and then its argument prototype would still apply. */
11177 #ifdef __cplusplus
11178 extern "C"
11179 #endif
11180 char xmlSchemaSetParserStructuredErrors ();
11182 main ()
11184 return xmlSchemaSetParserStructuredErrors ();
11186 return 0;
11188 _ACEOF
11189 if ac_fn_c_try_link "$LINENO"; then :
11190 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11191 else
11192 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11194 rm -f core conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_lib_save_LIBS
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11199 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11200 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11202 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11207 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11208 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11209 $as_echo_n "(cached) " >&6
11210 else
11211 ac_check_lib_save_LIBS=$LIBS
11212 LIBS="-lxml2 $XML2_LIBS $LIBS"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11219 #ifdef __cplusplus
11220 extern "C"
11221 #endif
11222 char xmlSchemaSetValidStructuredErrors ();
11224 main ()
11226 return xmlSchemaSetValidStructuredErrors ();
11228 return 0;
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"; then :
11232 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11233 else
11234 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_lib_save_LIBS
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11241 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11242 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11244 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11249 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11250 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11251 $as_echo_n "(cached) " >&6
11252 else
11253 ac_check_lib_save_LIBS=$LIBS
11254 LIBS="-lxml2 $XML2_LIBS $LIBS"
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h. */
11258 /* Override any GCC internal prototype to avoid an error.
11259 Use char because int might match the return type of a GCC
11260 builtin and then its argument prototype would still apply. */
11261 #ifdef __cplusplus
11262 extern "C"
11263 #endif
11264 char xmlFirstElementChild ();
11266 main ()
11268 return xmlFirstElementChild ();
11270 return 0;
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"; then :
11274 ac_cv_lib_xml2_xmlFirstElementChild=yes
11275 else
11276 ac_cv_lib_xml2_xmlFirstElementChild=no
11278 rm -f core conftest.err conftest.$ac_objext \
11279 conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_lib_save_LIBS
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11283 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11284 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11286 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11290 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11292 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11294 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11298 else
11299 XML2_CFLAGS=""
11300 XML2_LIBS=""
11302 CPPFLAGS=$ac_save_CPPFLAGS
11303 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11304 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11307 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11308 case "x$with_xml" in
11309 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11310 xno) ;;
11311 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11312 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11313 esac
11317 if test "x$with_xslt" != "xno"
11318 then
11319 if ${XSLT_CFLAGS:+false} :; then :
11320 if ${PKG_CONFIG+:} false; then :
11321 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11324 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11325 if ${XSLT_LIBS:+false} :; then :
11326 if ${PKG_CONFIG+:} false; then :
11327 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11330 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11331 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11332 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11333 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11334 ac_save_CPPFLAGS=$CPPFLAGS
11335 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11336 for ac_header in libxslt/pattern.h libxslt/transform.h
11337 do :
11338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11339 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11340 # include <libxslt/pattern.h>
11341 #endif
11343 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11344 cat >>confdefs.h <<_ACEOF
11345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11346 _ACEOF
11350 done
11352 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11353 then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11355 $as_echo_n "checking for -lxslt... " >&6; }
11356 if ${ac_cv_lib_soname_xslt+:} false; then :
11357 $as_echo_n "(cached) " >&6
11358 else
11359 ac_check_soname_save_LIBS=$LIBS
11360 LIBS="-lxslt $XSLT_LIBS $LIBS"
11361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h. */
11364 /* Override any GCC internal prototype to avoid an error.
11365 Use char because int might match the return type of a GCC
11366 builtin and then its argument prototype would still apply. */
11367 #ifdef __cplusplus
11368 extern "C"
11369 #endif
11370 char xsltCompilePattern ();
11372 main ()
11374 return xsltCompilePattern ();
11376 return 0;
11378 _ACEOF
11379 if ac_fn_c_try_link "$LINENO"; then :
11380 case "$LIBEXT" in
11381 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11382 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'` ;;
11383 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11384 if ${ac_cv_lib_soname_xslt:+false} :; then :
11385 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11386 fi ;;
11387 esac
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_soname_save_LIBS
11393 if ${ac_cv_lib_soname_xslt:+false} :; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11395 $as_echo "not found" >&6; }
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11399 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11401 cat >>confdefs.h <<_ACEOF
11402 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11403 _ACEOF
11407 else
11408 XSLT_CFLAGS=""
11410 CPPFLAGS=$ac_save_CPPFLAGS
11411 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11412 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11415 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11416 case "x$with_xslt" in
11417 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11418 xno) ;;
11419 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11420 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11421 esac
11425 if test "x$with_dbus" != "xno"
11426 then
11427 if ${DBUS_CFLAGS:+false} :; then :
11428 if ${PKG_CONFIG+:} false; then :
11429 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11433 if ${DBUS_LIBS:+false} :; then :
11434 if ${PKG_CONFIG+:} false; then :
11435 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11440 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11441 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11442 ac_save_CPPFLAGS=$CPPFLAGS
11443 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11444 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11445 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11447 $as_echo_n "checking for -ldbus-1... " >&6; }
11448 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11449 $as_echo_n "(cached) " >&6
11450 else
11451 ac_check_soname_save_LIBS=$LIBS
11452 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11459 #ifdef __cplusplus
11460 extern "C"
11461 #endif
11462 char dbus_connection_close ();
11464 main ()
11466 return dbus_connection_close ();
11468 return 0;
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"; then :
11472 case "$LIBEXT" in
11473 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11474 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'` ;;
11475 *) 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'`
11476 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11477 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11478 fi ;;
11479 esac
11481 rm -f core conftest.err conftest.$ac_objext \
11482 conftest$ac_exeext conftest.$ac_ext
11483 LIBS=$ac_check_soname_save_LIBS
11485 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11487 $as_echo "not found" >&6; }
11488 DBUS_CFLAGS=""
11489 else
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11491 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11493 cat >>confdefs.h <<_ACEOF
11494 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11495 _ACEOF
11499 else
11500 DBUS_CFLAGS=""
11504 CPPFLAGS=$ac_save_CPPFLAGS
11505 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11506 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11509 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11510 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11511 case "x$with_dbus" in
11512 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11513 xno) ;;
11514 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11515 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11516 esac
11520 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11521 then
11522 if ${HAL_CFLAGS:+false} :; then :
11523 if ${PKG_CONFIG+:} false; then :
11524 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11528 if ${HAL_LIBS:+false} :; then :
11529 if ${PKG_CONFIG+:} false; then :
11530 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11534 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11535 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11536 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11537 ac_save_CPPFLAGS=$CPPFLAGS
11538 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11539 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11540 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11542 $as_echo_n "checking for -lhal... " >&6; }
11543 if ${ac_cv_lib_soname_hal+:} false; then :
11544 $as_echo_n "(cached) " >&6
11545 else
11546 ac_check_soname_save_LIBS=$LIBS
11547 LIBS="-lhal $HAL_LIBS $LIBS"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11554 #ifdef __cplusplus
11555 extern "C"
11556 #endif
11557 char libhal_ctx_new ();
11559 main ()
11561 return libhal_ctx_new ();
11563 return 0;
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"; then :
11567 case "$LIBEXT" in
11568 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11571 if ${ac_cv_lib_soname_hal:+false} :; then :
11572 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11573 fi ;;
11574 esac
11576 rm -f core conftest.err conftest.$ac_objext \
11577 conftest$ac_exeext conftest.$ac_ext
11578 LIBS=$ac_check_soname_save_LIBS
11580 if ${ac_cv_lib_soname_hal:+false} :; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11582 $as_echo "not found" >&6; }
11583 HAL_CFLAGS=""
11584 else
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11586 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11588 cat >>confdefs.h <<_ACEOF
11589 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11590 _ACEOF
11594 else
11595 HAL_CFLAGS=""
11599 CPPFLAGS=$ac_save_CPPFLAGS
11600 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11601 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11603 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11604 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11605 case "x$with_hal" in
11606 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11607 xno) ;;
11608 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11609 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11610 esac
11615 if test "x$with_gnutls" != "xno"
11616 then
11617 if ${GNUTLS_CFLAGS:+false} :; then :
11618 if ${PKG_CONFIG+:} false; then :
11619 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11623 if ${GNUTLS_LIBS:+false} :; then :
11624 if ${PKG_CONFIG+:} false; then :
11625 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11630 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11631 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11632 ac_save_CPPFLAGS=$CPPFLAGS
11633 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11634 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11635 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11638 #include <gnutls/gnutls.h>
11639 #include <gnutls/crypto.h>
11641 main ()
11643 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11645 return 0;
11647 _ACEOF
11648 if ac_fn_c_try_compile "$LINENO"; then :
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11650 $as_echo_n "checking for -lgnutls... " >&6; }
11651 if ${ac_cv_lib_soname_gnutls+:} false; then :
11652 $as_echo_n "(cached) " >&6
11653 else
11654 ac_check_soname_save_LIBS=$LIBS
11655 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11662 #ifdef __cplusplus
11663 extern "C"
11664 #endif
11665 char gnutls_global_init ();
11667 main ()
11669 return gnutls_global_init ();
11671 return 0;
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"; then :
11675 case "$LIBEXT" in
11676 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11677 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'` ;;
11678 *) 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'`
11679 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11680 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'`
11681 fi ;;
11682 esac
11684 rm -f core conftest.err conftest.$ac_objext \
11685 conftest$ac_exeext conftest.$ac_ext
11686 LIBS=$ac_check_soname_save_LIBS
11688 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11690 $as_echo "not found" >&6; }
11691 GNUTLS_CFLAGS=""
11692 else
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11694 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11696 cat >>confdefs.h <<_ACEOF
11697 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11698 _ACEOF
11702 ac_wine_check_funcs_save_LIBS="$LIBS"
11703 LIBS="$LIBS $GNUTLS_LIBS"
11704 for ac_func in gnutls_hash
11705 do :
11706 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11707 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11708 cat >>confdefs.h <<_ACEOF
11709 #define HAVE_GNUTLS_HASH 1
11710 _ACEOF
11712 else
11713 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11715 done
11717 LIBS="$ac_wine_check_funcs_save_LIBS"
11719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11720 else
11721 GNUTLS_CFLAGS=""
11725 CPPFLAGS=$ac_save_CPPFLAGS
11726 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11727 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11730 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11731 case "x$with_gnutls" in
11732 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11733 xno) ;;
11734 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11735 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11736 esac
11740 CURSES_LIBS=""
11741 if test "$ac_cv_header_ncurses_h" = "yes"
11742 then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11744 $as_echo_n "checking for -lncurses... " >&6; }
11745 if ${ac_cv_lib_soname_ncurses+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_soname_save_LIBS=$LIBS
11749 LIBS="-lncurses $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char waddch ();
11761 main ()
11763 return waddch ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 case "$LIBEXT" in
11770 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) 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'`
11773 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11774 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11775 fi ;;
11776 esac
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_soname_save_LIBS
11782 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11786 else
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11788 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11792 _ACEOF
11794 CURSES_LIBS="-lncurses"
11796 elif test "$ac_cv_header_curses_h" = "yes"
11797 then
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11799 $as_echo_n "checking for -lcurses... " >&6; }
11800 if ${ac_cv_lib_soname_curses+:} false; then :
11801 $as_echo_n "(cached) " >&6
11802 else
11803 ac_check_soname_save_LIBS=$LIBS
11804 LIBS="-lcurses $LIBS"
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11811 #ifdef __cplusplus
11812 extern "C"
11813 #endif
11814 char waddch ();
11816 main ()
11818 return waddch ();
11820 return 0;
11822 _ACEOF
11823 if ac_fn_c_try_link "$LINENO"; then :
11824 case "$LIBEXT" in
11825 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11826 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'` ;;
11827 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11828 if ${ac_cv_lib_soname_curses:+false} :; then :
11829 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11830 fi ;;
11831 esac
11833 rm -f core conftest.err conftest.$ac_objext \
11834 conftest$ac_exeext conftest.$ac_ext
11835 LIBS=$ac_check_soname_save_LIBS
11837 if ${ac_cv_lib_soname_curses:+false} :; then :
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11839 $as_echo "not found" >&6; }
11841 else
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11843 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11845 cat >>confdefs.h <<_ACEOF
11846 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11847 _ACEOF
11849 CURSES_LIBS="-lcurses"
11852 ac_save_LIBS="$LIBS"
11853 LIBS="$LIBS $CURSES_LIBS"
11854 for ac_func in mousemask
11855 do :
11856 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11857 if test "x$ac_cv_func_mousemask" = xyes; then :
11858 cat >>confdefs.h <<_ACEOF
11859 #define HAVE_MOUSEMASK 1
11860 _ACEOF
11863 done
11865 LIBS="$ac_save_LIBS"
11866 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11867 case "x$with_curses" in
11868 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11869 xno) ;;
11870 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11871 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11872 esac
11876 if test "x$with_sane" != "xno"
11877 then
11878 if ${SANE_CFLAGS:+false} :; then :
11879 if ${PKG_CONFIG+:} false; then :
11880 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11883 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11884 if ${SANE_LIBS:+false} :; then :
11885 if ${PKG_CONFIG+:} false; then :
11886 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11889 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11891 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11892 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11893 ac_save_CPPFLAGS=$CPPFLAGS
11894 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11895 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11896 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11898 $as_echo_n "checking for -lsane... " >&6; }
11899 if ${ac_cv_lib_soname_sane+:} false; then :
11900 $as_echo_n "(cached) " >&6
11901 else
11902 ac_check_soname_save_LIBS=$LIBS
11903 LIBS="-lsane $SANE_LIBS $LIBS"
11904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11905 /* end confdefs.h. */
11907 /* Override any GCC internal prototype to avoid an error.
11908 Use char because int might match the return type of a GCC
11909 builtin and then its argument prototype would still apply. */
11910 #ifdef __cplusplus
11911 extern "C"
11912 #endif
11913 char sane_init ();
11915 main ()
11917 return sane_init ();
11919 return 0;
11921 _ACEOF
11922 if ac_fn_c_try_link "$LINENO"; then :
11923 case "$LIBEXT" in
11924 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11925 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'` ;;
11926 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11927 if ${ac_cv_lib_soname_sane:+false} :; then :
11928 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11929 fi ;;
11930 esac
11932 rm -f core conftest.err conftest.$ac_objext \
11933 conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_soname_save_LIBS
11936 if ${ac_cv_lib_soname_sane:+false} :; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11938 $as_echo "not found" >&6; }
11939 SANE_CFLAGS=""
11940 else
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11942 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11944 cat >>confdefs.h <<_ACEOF
11945 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11946 _ACEOF
11950 else
11951 SANE_CFLAGS=""
11955 CPPFLAGS=$ac_save_CPPFLAGS
11956 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11957 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11960 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11961 case "x$with_sane" in
11962 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11963 xno) ;;
11964 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11965 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11966 esac
11970 if test "x$with_v4l" != "xno"
11971 then
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11973 $as_echo_n "checking for -lv4l1... " >&6; }
11974 if ${ac_cv_lib_soname_v4l1+:} false; then :
11975 $as_echo_n "(cached) " >&6
11976 else
11977 ac_check_soname_save_LIBS=$LIBS
11978 LIBS="-lv4l1 $LIBS"
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11982 /* Override any GCC internal prototype to avoid an error.
11983 Use char because int might match the return type of a GCC
11984 builtin and then its argument prototype would still apply. */
11985 #ifdef __cplusplus
11986 extern "C"
11987 #endif
11988 char v4l1_open ();
11990 main ()
11992 return v4l1_open ();
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_link "$LINENO"; then :
11998 case "$LIBEXT" in
11999 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12000 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'` ;;
12001 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12002 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12003 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12004 fi ;;
12005 esac
12007 rm -f core conftest.err conftest.$ac_objext \
12008 conftest$ac_exeext conftest.$ac_ext
12009 LIBS=$ac_check_soname_save_LIBS
12011 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12013 $as_echo "not found" >&6; }
12015 else
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12017 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12019 cat >>confdefs.h <<_ACEOF
12020 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12021 _ACEOF
12026 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12027 case "x$with_v4l" in
12028 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12029 xno) ;;
12030 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12031 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12032 esac
12036 if test "x$with_gphoto" != "xno"
12037 then
12038 if ${GPHOTO2_CFLAGS:+false} :; then :
12039 if ${PKG_CONFIG+:} false; then :
12040 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12043 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12044 if ${GPHOTO2_LIBS:+false} :; then :
12045 if ${PKG_CONFIG+:} false; then :
12046 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12049 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12050 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12051 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12052 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12053 ac_save_CPPFLAGS=$CPPFLAGS
12054 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12055 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12056 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12058 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12059 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12060 $as_echo_n "(cached) " >&6
12061 else
12062 ac_check_lib_save_LIBS=$LIBS
12063 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char gp_camera_new ();
12075 main ()
12077 return gp_camera_new ();
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 ac_cv_lib_gphoto2_gp_camera_new=yes
12084 else
12085 ac_cv_lib_gphoto2_gp_camera_new=no
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_lib_save_LIBS
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12092 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12093 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12095 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12097 else
12098 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12101 else
12102 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12106 CPPFLAGS=$ac_save_CPPFLAGS
12107 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12108 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12110 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12111 if ${PKG_CONFIG+:} false; then :
12112 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12115 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12116 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12117 if ${PKG_CONFIG+:} false; then :
12118 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12121 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12122 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12123 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12124 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12125 ac_save_CPPFLAGS=$CPPFLAGS
12126 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12127 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12128 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12130 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12131 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12132 $as_echo_n "(cached) " >&6
12133 else
12134 ac_check_lib_save_LIBS=$LIBS
12135 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12139 /* Override any GCC internal prototype to avoid an error.
12140 Use char because int might match the return type of a GCC
12141 builtin and then its argument prototype would still apply. */
12142 #ifdef __cplusplus
12143 extern "C"
12144 #endif
12145 char gp_port_info_list_new ();
12147 main ()
12149 return gp_port_info_list_new ();
12151 return 0;
12153 _ACEOF
12154 if ac_fn_c_try_link "$LINENO"; then :
12155 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12156 else
12157 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12159 rm -f core conftest.err conftest.$ac_objext \
12160 conftest$ac_exeext conftest.$ac_ext
12161 LIBS=$ac_check_lib_save_LIBS
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12164 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12165 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12167 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12169 else
12170 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12173 else
12174 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12178 CPPFLAGS=$ac_save_CPPFLAGS
12179 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12180 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12183 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12184 case "x$with_gphoto" in
12185 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12186 xno) ;;
12187 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12188 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12189 esac
12192 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12193 case "x$with_gphoto" in
12194 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12195 xno) ;;
12196 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12197 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12198 esac
12203 if test "$ac_cv_header_resolv_h" = "yes"
12204 then
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12206 $as_echo_n "checking for resolver library... " >&6; }
12207 if ${ac_cv_have_resolv+:} false; then :
12208 $as_echo_n "(cached) " >&6
12209 else
12210 ac_save_LIBS="$LIBS"
12211 for lib in '' -lresolv
12213 LIBS="$lib $ac_save_LIBS"
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12216 #ifdef HAVE_NETINET_IN_H
12217 #include <netinet/in.h>
12218 #endif
12219 #include <resolv.h>
12221 main ()
12223 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_link "$LINENO"; then :
12229 ac_cv_have_resolv=${lib:-"none required"}
12230 else
12231 ac_cv_have_resolv="not found"
12233 rm -f core conftest.err conftest.$ac_objext \
12234 conftest$ac_exeext conftest.$ac_ext
12235 test "x$ac_cv_have_resolv" = "xnot found" || break
12236 done
12237 LIBS="$ac_save_LIBS"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12240 $as_echo "$ac_cv_have_resolv" >&6; }
12242 case "$ac_cv_have_resolv" in
12243 "not found") ;;
12244 "none required")
12246 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12249 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12251 RESOLV_LIBS=$ac_cv_have_resolv
12253 esac
12256 if test "x$with_cms" != "xno"
12257 then
12258 if ${LCMS2_CFLAGS:+false} :; then :
12259 if ${PKG_CONFIG+:} false; then :
12260 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12264 if ${LCMS2_LIBS:+false} :; then :
12265 if ${PKG_CONFIG+:} false; then :
12266 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12270 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12271 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12272 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12273 ac_save_CPPFLAGS=$CPPFLAGS
12274 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12275 for ac_header in lcms2.h
12276 do :
12277 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12278 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12279 cat >>confdefs.h <<_ACEOF
12280 #define HAVE_LCMS2_H 1
12281 _ACEOF
12285 done
12287 if test "$ac_cv_header_lcms2_h" = "yes"
12288 then
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12290 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12291 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12294 ac_check_lib_save_LIBS=$LIBS
12295 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12302 #ifdef __cplusplus
12303 extern "C"
12304 #endif
12305 char cmsOpenProfileFromFile ();
12307 main ()
12309 return cmsOpenProfileFromFile ();
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_link "$LINENO"; then :
12315 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12316 else
12317 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12319 rm -f core conftest.err conftest.$ac_objext \
12320 conftest$ac_exeext conftest.$ac_ext
12321 LIBS=$ac_check_lib_save_LIBS
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12324 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12325 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12327 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12329 else
12330 LCMS2_LIBS=""
12333 else
12334 LCMS2_CFLAGS=""
12335 LCMS2_LIBS=""
12337 CPPFLAGS=$ac_save_CPPFLAGS
12338 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12339 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12342 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12343 case "x$with_cms" in
12344 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12345 xno) ;;
12346 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12347 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12348 esac
12352 if test "x$with_freetype" != "xno"
12353 then
12354 if ${FREETYPE_CFLAGS:+false} :; then :
12355 if ${PKG_CONFIG+:} false; then :
12356 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12359 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12360 if ${FREETYPE_LIBS:+false} :; then :
12361 if ${PKG_CONFIG+:} false; then :
12362 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12365 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12366 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12367 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12368 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12369 ac_save_CPPFLAGS=$CPPFLAGS
12370 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12371 for ac_header in ft2build.h
12372 do :
12373 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12374 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12375 cat >>confdefs.h <<_ACEOF
12376 #define HAVE_FT2BUILD_H 1
12377 _ACEOF
12381 done
12383 if test "$ac_cv_header_ft2build_h" = "yes"
12384 then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12386 $as_echo_n "checking for -lfreetype... " >&6; }
12387 if ${ac_cv_lib_soname_freetype+:} false; then :
12388 $as_echo_n "(cached) " >&6
12389 else
12390 ac_check_soname_save_LIBS=$LIBS
12391 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393 /* end confdefs.h. */
12395 /* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12398 #ifdef __cplusplus
12399 extern "C"
12400 #endif
12401 char FT_Init_FreeType ();
12403 main ()
12405 return FT_Init_FreeType ();
12407 return 0;
12409 _ACEOF
12410 if ac_fn_c_try_link "$LINENO"; then :
12411 case "$LIBEXT" in
12412 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12413 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'` ;;
12414 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12415 if ${ac_cv_lib_soname_freetype:+false} :; then :
12416 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12417 fi ;;
12418 esac
12420 rm -f core conftest.err conftest.$ac_objext \
12421 conftest$ac_exeext conftest.$ac_ext
12422 LIBS=$ac_check_soname_save_LIBS
12424 if ${ac_cv_lib_soname_freetype:+false} :; then :
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12426 $as_echo "not found" >&6; }
12427 FREETYPE_LIBS=""
12428 else
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12430 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12432 cat >>confdefs.h <<_ACEOF
12433 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12434 _ACEOF
12437 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12439 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12440 #include FT_MODULE_H
12442 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12444 cat >>confdefs.h <<_ACEOF
12445 #define HAVE_FT_TRUETYPEENGINETYPE 1
12446 _ACEOF
12452 else
12453 FREETYPE_CFLAGS=""
12454 FREETYPE_LIBS=""
12456 CPPFLAGS=$ac_save_CPPFLAGS
12457 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12458 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12461 if test "x$ac_cv_lib_soname_freetype" = x; then :
12462 case "x$with_freetype" in
12463 xno) ;;
12464 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12465 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12466 esac
12467 enable_fonts=${enable_fonts:-no}
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12471 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12472 if ${ac_cv_c_ppdev+:} false; then :
12473 $as_echo_n "(cached) " >&6
12474 else
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12477 #ifdef HAVE_SYS_IOCTL_H
12478 # include <sys/ioctl.h>
12479 #endif
12480 #include <linux/ppdev.h>
12482 main ()
12484 ioctl (1,PPCLAIM,0)
12486 return 0;
12488 _ACEOF
12489 if ac_fn_c_try_compile "$LINENO"; then :
12490 ac_cv_c_ppdev="yes"
12491 else
12492 ac_cv_c_ppdev="no"
12494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12497 $as_echo "$ac_cv_c_ppdev" >&6; }
12498 if test "$ac_cv_c_ppdev" = "yes"
12499 then
12501 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12505 ac_wine_check_funcs_save_LIBS="$LIBS"
12506 LIBS="$LIBS $PTHREAD_LIBS"
12507 for ac_func in \
12508 pthread_attr_get_np \
12509 pthread_getattr_np \
12510 pthread_getthreadid_np \
12511 pthread_get_stackaddr_np \
12512 pthread_get_stacksize_np
12513 do :
12514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12517 cat >>confdefs.h <<_ACEOF
12518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12519 _ACEOF
12522 done
12524 LIBS="$ac_wine_check_funcs_save_LIBS"
12526 if test "$ac_cv_header_zlib_h" = "yes"
12527 then
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12529 $as_echo_n "checking for inflate in -lz... " >&6; }
12530 if ${ac_cv_lib_z_inflate+:} false; then :
12531 $as_echo_n "(cached) " >&6
12532 else
12533 ac_check_lib_save_LIBS=$LIBS
12534 LIBS="-lz $LIBS"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12541 #ifdef __cplusplus
12542 extern "C"
12543 #endif
12544 char inflate ();
12546 main ()
12548 return inflate ();
12550 return 0;
12552 _ACEOF
12553 if ac_fn_c_try_link "$LINENO"; then :
12554 ac_cv_lib_z_inflate=yes
12555 else
12556 ac_cv_lib_z_inflate=no
12558 rm -f core conftest.err conftest.$ac_objext \
12559 conftest$ac_exeext conftest.$ac_ext
12560 LIBS=$ac_check_lib_save_LIBS
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12563 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12564 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12566 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12568 Z_LIBS="-lz"
12573 if test "x$Z_LIBS" = "x"; then :
12574 case "x$with_zlib" in
12575 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12576 xno) ;;
12577 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12578 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12579 esac
12583 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12584 then
12585 if test "$ac_cv_header_gettext_po_h" = "yes"
12586 then
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12588 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12589 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12590 $as_echo_n "(cached) " >&6
12591 else
12592 ac_check_lib_save_LIBS=$LIBS
12593 LIBS="-lgettextpo $LIBS"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 /* Override any GCC internal prototype to avoid an error.
12598 Use char because int might match the return type of a GCC
12599 builtin and then its argument prototype would still apply. */
12600 #ifdef __cplusplus
12601 extern "C"
12602 #endif
12603 char po_message_msgctxt ();
12605 main ()
12607 return po_message_msgctxt ();
12609 return 0;
12611 _ACEOF
12612 if ac_fn_c_try_link "$LINENO"; then :
12613 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12614 else
12615 ac_cv_lib_gettextpo_po_message_msgctxt=no
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_lib_save_LIBS
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12622 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12623 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12625 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12627 GETTEXTPO_LIBS="-lgettextpo"
12632 if test "x$GETTEXTPO_LIBS" = "x"; then :
12633 case "x$with_gettextpo" in
12634 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12635 xno) ;;
12636 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12637 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12638 esac
12641 if test "$srcdir" != .; then :
12642 case "x$with_gettextpo" in
12643 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12644 xno) ;;
12645 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12646 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12647 esac
12652 if test "x$with_pulse" != "xno";
12653 then
12654 if ${PULSE_CFLAGS:+false} :; then :
12655 if ${PKG_CONFIG+:} false; then :
12656 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12660 if ${PULSE_LIBS:+false} :; then :
12661 if ${PKG_CONFIG+:} false; then :
12662 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12667 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12668 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12669 ac_save_CPPFLAGS=$CPPFLAGS
12670 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12671 for ac_header in pulse/pulseaudio.h
12672 do :
12673 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12674 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12675 cat >>confdefs.h <<_ACEOF
12676 #define HAVE_PULSE_PULSEAUDIO_H 1
12677 _ACEOF
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12679 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12680 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12681 $as_echo_n "(cached) " >&6
12682 else
12683 ac_check_lib_save_LIBS=$LIBS
12684 LIBS="-lpulse $PULSE_LIBS $LIBS"
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 /* end confdefs.h. */
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12691 #ifdef __cplusplus
12692 extern "C"
12693 #endif
12694 char pa_stream_is_corked ();
12696 main ()
12698 return pa_stream_is_corked ();
12700 return 0;
12702 _ACEOF
12703 if ac_fn_c_try_link "$LINENO"; then :
12704 ac_cv_lib_pulse_pa_stream_is_corked=yes
12705 else
12706 ac_cv_lib_pulse_pa_stream_is_corked=no
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_lib_save_LIBS
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12713 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12714 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12716 else
12717 PULSE_LIBS=""
12720 else
12721 PULSE_LIBS=""
12724 done
12726 CPPFLAGS=$ac_save_CPPFLAGS
12727 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12728 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12731 if test -z "$PULSE_LIBS"; then :
12732 case "x$with_pulse" in
12733 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12734 xno) ;;
12735 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12736 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12737 esac
12738 enable_winepulse_drv=${enable_winepulse_drv:-no}
12741 if test "x$with_gstreamer" != "xno"
12742 then
12743 if ${GSTREAMER_CFLAGS:+false} :; then :
12744 if ${PKG_CONFIG+:} false; then :
12745 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12749 if ${GSTREAMER_LIBS:+false} :; then :
12750 if ${PKG_CONFIG+:} false; then :
12751 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12756 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12757 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12758 ac_save_CPPFLAGS=$CPPFLAGS
12759 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12760 ac_gst_incl=""
12761 for i in $GSTREAMER_CFLAGS
12763 case "$i" in
12764 -I*) ac_gst_incl="$ac_gst_incl $i";;
12765 esac
12766 done
12767 GSTREAMER_CFLAGS=$ac_gst_incl
12768 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12769 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12770 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12772 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 /* end confdefs.h. */
12775 #include <gst/gst.h>
12777 main ()
12779 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_compile "$LINENO"; then :
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12786 $as_echo "yes" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12788 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12789 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12790 $as_echo_n "(cached) " >&6
12791 else
12792 ac_check_lib_save_LIBS=$LIBS
12793 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12795 /* end confdefs.h. */
12797 /* Override any GCC internal prototype to avoid an error.
12798 Use char because int might match the return type of a GCC
12799 builtin and then its argument prototype would still apply. */
12800 #ifdef __cplusplus
12801 extern "C"
12802 #endif
12803 char gst_pad_new ();
12805 main ()
12807 return gst_pad_new ();
12809 return 0;
12811 _ACEOF
12812 if ac_fn_c_try_link "$LINENO"; then :
12813 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12814 else
12815 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12817 rm -f core conftest.err conftest.$ac_objext \
12818 conftest$ac_exeext conftest.$ac_ext
12819 LIBS=$ac_check_lib_save_LIBS
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12822 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12823 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12827 else
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12829 $as_echo "no" >&6; }
12830 ac_glib2_broken=yes
12831 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12837 CPPFLAGS=$ac_save_CPPFLAGS
12838 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12839 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12842 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 :
12843 case "x$with_gstreamer" in
12844 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12845 xno) ;;
12846 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12847 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12848 esac
12851 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12853 ALSA_LIBS=""
12855 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12856 then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12858 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12859 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12860 $as_echo_n "(cached) " >&6
12861 else
12862 ac_check_lib_save_LIBS=$LIBS
12863 LIBS="-lasound $LIBS"
12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12870 #ifdef __cplusplus
12871 extern "C"
12872 #endif
12873 char snd_pcm_hw_params_get_access_mask ();
12875 main ()
12877 return snd_pcm_hw_params_get_access_mask ();
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_link "$LINENO"; then :
12883 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12884 else
12885 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12887 rm -f core conftest.err conftest.$ac_objext \
12888 conftest$ac_exeext conftest.$ac_ext
12889 LIBS=$ac_check_lib_save_LIBS
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12892 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12893 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12896 #ifdef HAVE_ALSA_ASOUNDLIB_H
12897 #include <alsa/asoundlib.h>
12898 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12899 #include <sys/asoundlib.h>
12900 #endif
12902 main ()
12904 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_compile "$LINENO"; then :
12910 ALSA_LIBS="-lasound"
12912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12916 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12918 if test "x$with_oss" != xno
12919 then
12920 ac_save_CPPFLAGS="$CPPFLAGS"
12921 if test -f /etc/oss.conf
12922 then
12923 . /etc/oss.conf
12925 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12926 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12927 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12928 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12929 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12931 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12933 cat >>confdefs.h <<_ACEOF
12934 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12935 _ACEOF
12937 OSS4_CFLAGS="$ac_oss_incl"
12944 CPPFLAGS="$ac_save_CPPFLAGS"
12946 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12947 case "x$with_oss" in
12948 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12949 xno) ;;
12950 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12951 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12952 esac
12953 enable_wineoss_drv=${enable_wineoss_drv:-no}
12956 if test "x$with_udev" != "xno"
12957 then
12958 if ${UDEV_CFLAGS:+false} :; then :
12959 if ${PKG_CONFIG+:} false; then :
12960 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12964 if ${UDEV_LIBS:+false} :; then :
12965 if ${PKG_CONFIG+:} false; then :
12966 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12971 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12972 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12973 ac_save_CPPFLAGS=$CPPFLAGS
12974 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12975 for ac_header in libudev.h
12976 do :
12977 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12978 if test "x$ac_cv_header_libudev_h" = xyes; then :
12979 cat >>confdefs.h <<_ACEOF
12980 #define HAVE_LIBUDEV_H 1
12981 _ACEOF
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12983 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12984 if ${ac_cv_lib_udev_udev_new+:} false; then :
12985 $as_echo_n "(cached) " >&6
12986 else
12987 ac_check_lib_save_LIBS=$LIBS
12988 LIBS="-ludev $UDEV_LIBS $LIBS"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
12995 #ifdef __cplusplus
12996 extern "C"
12997 #endif
12998 char udev_new ();
13000 main ()
13002 return udev_new ();
13004 return 0;
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"; then :
13008 ac_cv_lib_udev_udev_new=yes
13009 else
13010 ac_cv_lib_udev_udev_new=no
13012 rm -f core conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13014 LIBS=$ac_check_lib_save_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13017 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13018 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13020 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13022 else
13023 UDEV_LIBS=""
13026 else
13027 UDEV_LIBS=""
13030 done
13032 CPPFLAGS=$ac_save_CPPFLAGS
13033 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13034 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13037 if test "x$UDEV_LIBS" = "x"; then :
13038 case "x$with_udev" in
13039 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13040 xno) ;;
13041 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13042 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13043 esac
13047 if test "x$with_capi" != "xno"
13048 then
13049 if ${CAPI20_CFLAGS:+false} :; then :
13050 if ${PKG_CONFIG+:} false; then :
13051 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13055 if ${CAPI20_LIBS:+false} :; then :
13056 if ${PKG_CONFIG+:} false; then :
13057 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13062 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13063 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13064 ac_save_CPPFLAGS=$CPPFLAGS
13065 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13066 for ac_header in capi20.h linux/capi.h
13067 do :
13068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13071 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13072 cat >>confdefs.h <<_ACEOF
13073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13074 _ACEOF
13078 done
13080 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13081 then
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13083 $as_echo_n "checking for -lcapi20... " >&6; }
13084 if ${ac_cv_lib_soname_capi20+:} false; then :
13085 $as_echo_n "(cached) " >&6
13086 else
13087 ac_check_soname_save_LIBS=$LIBS
13088 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char capi20_register ();
13100 main ()
13102 return capi20_register ();
13104 return 0;
13106 _ACEOF
13107 if ac_fn_c_try_link "$LINENO"; then :
13108 case "$LIBEXT" in
13109 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13110 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'` ;;
13111 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13112 if ${ac_cv_lib_soname_capi20:+false} :; then :
13113 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13114 fi ;;
13115 esac
13117 rm -f core conftest.err conftest.$ac_objext \
13118 conftest$ac_exeext conftest.$ac_ext
13119 LIBS=$ac_check_soname_save_LIBS
13121 if ${ac_cv_lib_soname_capi20:+false} :; then :
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13123 $as_echo "not found" >&6; }
13125 else
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13127 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13129 cat >>confdefs.h <<_ACEOF
13130 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13131 _ACEOF
13136 CPPFLAGS=$ac_save_CPPFLAGS
13137 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13138 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13141 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13142 case "x$with_capi" in
13143 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13144 xno) ;;
13145 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13146 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13147 esac
13151 CUPS_CFLAGS=""
13153 if test "x$with_cups" != "xno"
13154 then
13155 ac_save_CPPFLAGS="$CPPFLAGS"
13156 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13157 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13158 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13159 for ac_header in cups/cups.h
13160 do :
13161 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13162 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13163 cat >>confdefs.h <<_ACEOF
13164 #define HAVE_CUPS_CUPS_H 1
13165 _ACEOF
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13167 $as_echo_n "checking for -lcups... " >&6; }
13168 if ${ac_cv_lib_soname_cups+:} false; then :
13169 $as_echo_n "(cached) " >&6
13170 else
13171 ac_check_soname_save_LIBS=$LIBS
13172 LIBS="-lcups $ac_cups_libs $LIBS"
13173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174 /* end confdefs.h. */
13176 /* Override any GCC internal prototype to avoid an error.
13177 Use char because int might match the return type of a GCC
13178 builtin and then its argument prototype would still apply. */
13179 #ifdef __cplusplus
13180 extern "C"
13181 #endif
13182 char cupsGetDefault ();
13184 main ()
13186 return cupsGetDefault ();
13188 return 0;
13190 _ACEOF
13191 if ac_fn_c_try_link "$LINENO"; then :
13192 case "$LIBEXT" in
13193 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13194 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'` ;;
13195 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13196 if ${ac_cv_lib_soname_cups:+false} :; then :
13197 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13198 fi ;;
13199 esac
13201 rm -f core conftest.err conftest.$ac_objext \
13202 conftest$ac_exeext conftest.$ac_ext
13203 LIBS=$ac_check_soname_save_LIBS
13205 if ${ac_cv_lib_soname_cups:+false} :; then :
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13207 $as_echo "not found" >&6; }
13209 else
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13211 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13213 cat >>confdefs.h <<_ACEOF
13214 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13215 _ACEOF
13217 CUPS_CFLAGS="$ac_cups_cflags"
13219 for ac_header in cups/ppd.h
13220 do :
13221 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13222 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13223 cat >>confdefs.h <<_ACEOF
13224 #define HAVE_CUPS_PPD_H 1
13225 _ACEOF
13229 done
13233 done
13235 CPPFLAGS="$ac_save_CPPFLAGS"
13237 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13238 case "x$with_cups" in
13239 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13240 xno) ;;
13241 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13242 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13243 esac
13247 if test "x$with_fontconfig" != "xno"
13248 then
13249 if ${FONTCONFIG_CFLAGS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13254 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13255 if ${FONTCONFIG_LIBS:+false} :; then :
13256 if ${PKG_CONFIG+:} false; then :
13257 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13260 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13262 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13263 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13264 ac_save_CPPFLAGS=$CPPFLAGS
13265 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13266 for ac_header in fontconfig/fontconfig.h
13267 do :
13268 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13269 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13270 cat >>confdefs.h <<_ACEOF
13271 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13272 _ACEOF
13276 done
13278 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13279 then
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13281 $as_echo_n "checking for -lfontconfig... " >&6; }
13282 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13283 $as_echo_n "(cached) " >&6
13284 else
13285 ac_check_soname_save_LIBS=$LIBS
13286 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13288 /* end confdefs.h. */
13290 /* Override any GCC internal prototype to avoid an error.
13291 Use char because int might match the return type of a GCC
13292 builtin and then its argument prototype would still apply. */
13293 #ifdef __cplusplus
13294 extern "C"
13295 #endif
13296 char FcInit ();
13298 main ()
13300 return FcInit ();
13302 return 0;
13304 _ACEOF
13305 if ac_fn_c_try_link "$LINENO"; then :
13306 case "$LIBEXT" in
13307 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13308 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'` ;;
13309 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13310 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13311 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13312 fi ;;
13313 esac
13315 rm -f core conftest.err conftest.$ac_objext \
13316 conftest$ac_exeext conftest.$ac_ext
13317 LIBS=$ac_check_soname_save_LIBS
13319 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13321 $as_echo "not found" >&6; }
13322 FONTCONFIG_CFLAGS=""
13323 else
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13325 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13327 cat >>confdefs.h <<_ACEOF
13328 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13329 _ACEOF
13333 else
13334 FONTCONFIG_CFLAGS=""
13336 CPPFLAGS=$ac_save_CPPFLAGS
13337 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13338 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13341 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13342 case "x$with_fontconfig" in
13343 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13344 xno) ;;
13345 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13346 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13347 esac
13351 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13352 then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13354 $as_echo_n "checking for -lgsm... " >&6; }
13355 if ${ac_cv_lib_soname_gsm+:} false; then :
13356 $as_echo_n "(cached) " >&6
13357 else
13358 ac_check_soname_save_LIBS=$LIBS
13359 LIBS="-lgsm $LIBS"
13360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13363 /* Override any GCC internal prototype to avoid an error.
13364 Use char because int might match the return type of a GCC
13365 builtin and then its argument prototype would still apply. */
13366 #ifdef __cplusplus
13367 extern "C"
13368 #endif
13369 char gsm_create ();
13371 main ()
13373 return gsm_create ();
13375 return 0;
13377 _ACEOF
13378 if ac_fn_c_try_link "$LINENO"; then :
13379 case "$LIBEXT" in
13380 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13381 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'` ;;
13382 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13383 if ${ac_cv_lib_soname_gsm:+false} :; then :
13384 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13385 fi ;;
13386 esac
13388 rm -f core conftest.err conftest.$ac_objext \
13389 conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_soname_save_LIBS
13392 if ${ac_cv_lib_soname_gsm:+false} :; then :
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13394 $as_echo "not found" >&6; }
13396 else
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13398 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13400 cat >>confdefs.h <<_ACEOF
13401 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13402 _ACEOF
13407 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13408 case "x$with_gsm" in
13409 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13410 xno) ;;
13411 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13412 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13413 esac
13417 if test "x$with_jpeg" != "xno"
13418 then
13419 if ${JPEG_CFLAGS:+false} :; then :
13420 if ${PKG_CONFIG+:} false; then :
13421 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13425 if ${JPEG_LIBS:+false} :; then :
13426 if ${PKG_CONFIG+:} false; then :
13427 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13432 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13433 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13434 ac_save_CPPFLAGS=$CPPFLAGS
13435 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13436 for ac_header in jpeglib.h
13437 do :
13438 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13439 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13440 cat >>confdefs.h <<_ACEOF
13441 #define HAVE_JPEGLIB_H 1
13442 _ACEOF
13446 done
13448 if test "$ac_cv_header_jpeglib_h" = "yes"
13449 then
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13451 $as_echo_n "checking for -ljpeg... " >&6; }
13452 if ${ac_cv_lib_soname_jpeg+:} false; then :
13453 $as_echo_n "(cached) " >&6
13454 else
13455 ac_check_soname_save_LIBS=$LIBS
13456 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13460 /* Override any GCC internal prototype to avoid an error.
13461 Use char because int might match the return type of a GCC
13462 builtin and then its argument prototype would still apply. */
13463 #ifdef __cplusplus
13464 extern "C"
13465 #endif
13466 char jpeg_start_decompress ();
13468 main ()
13470 return jpeg_start_decompress ();
13472 return 0;
13474 _ACEOF
13475 if ac_fn_c_try_link "$LINENO"; then :
13476 case "$LIBEXT" in
13477 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13478 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'` ;;
13479 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13480 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13481 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13482 fi ;;
13483 esac
13485 rm -f core conftest.err conftest.$ac_objext \
13486 conftest$ac_exeext conftest.$ac_ext
13487 LIBS=$ac_check_soname_save_LIBS
13489 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13491 $as_echo "not found" >&6; }
13492 JPEG_CFLAGS=""
13493 else
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13495 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13497 cat >>confdefs.h <<_ACEOF
13498 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13499 _ACEOF
13503 else
13504 JPEG_CFLAGS=""
13506 CPPFLAGS=$ac_save_CPPFLAGS
13507 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13508 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13511 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13512 case "x$with_jpeg" in
13513 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13514 xno) ;;
13515 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13516 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13517 esac
13521 if test "x$with_png" != "xno"
13522 then
13523 if ${PNG_CFLAGS:+false} :; then :
13524 if ${PKG_CONFIG+:} false; then :
13525 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13528 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13529 if ${PNG_LIBS:+false} :; then :
13530 if ${PKG_CONFIG+:} false; then :
13531 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13534 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13536 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13537 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13538 ac_save_CPPFLAGS=$CPPFLAGS
13539 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13540 for ac_header in png.h
13541 do :
13542 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13543 if test "x$ac_cv_header_png_h" = xyes; then :
13544 cat >>confdefs.h <<_ACEOF
13545 #define HAVE_PNG_H 1
13546 _ACEOF
13550 done
13552 if test "$ac_cv_header_png_h" = "yes"
13553 then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13555 $as_echo_n "checking for -lpng... " >&6; }
13556 if ${ac_cv_lib_soname_png+:} false; then :
13557 $as_echo_n "(cached) " >&6
13558 else
13559 ac_check_soname_save_LIBS=$LIBS
13560 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13562 /* end confdefs.h. */
13564 /* Override any GCC internal prototype to avoid an error.
13565 Use char because int might match the return type of a GCC
13566 builtin and then its argument prototype would still apply. */
13567 #ifdef __cplusplus
13568 extern "C"
13569 #endif
13570 char png_create_read_struct ();
13572 main ()
13574 return png_create_read_struct ();
13576 return 0;
13578 _ACEOF
13579 if ac_fn_c_try_link "$LINENO"; then :
13580 case "$LIBEXT" in
13581 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13582 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'` ;;
13583 *) 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'`
13584 if ${ac_cv_lib_soname_png:+false} :; then :
13585 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13586 fi ;;
13587 esac
13589 rm -f core conftest.err conftest.$ac_objext \
13590 conftest$ac_exeext conftest.$ac_ext
13591 LIBS=$ac_check_soname_save_LIBS
13593 if ${ac_cv_lib_soname_png:+false} :; then :
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13595 $as_echo "not found" >&6; }
13596 PNG_CFLAGS=""
13597 else
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13599 $as_echo "$ac_cv_lib_soname_png" >&6; }
13601 cat >>confdefs.h <<_ACEOF
13602 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13603 _ACEOF
13605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13606 /* end confdefs.h. */
13607 #include <png.h>
13609 main ()
13611 typeof(png_set_expand_gray_1_2_4_to_8) *p
13613 return 0;
13615 _ACEOF
13616 if ac_fn_c_try_compile "$LINENO"; then :
13618 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13623 else
13624 PNG_CFLAGS=""
13626 CPPFLAGS=$ac_save_CPPFLAGS
13627 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13628 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13631 if test "x$ac_cv_lib_soname_png" = "x"; then :
13632 case "x$with_png" in
13633 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13634 xno) ;;
13635 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13636 This is an error since --with-png was requested." "$LINENO" 5 ;;
13637 esac
13641 if test "x$with_tiff" != "xno"
13642 then
13643 if ${TIFF_CFLAGS:+false} :; then :
13644 if ${PKG_CONFIG+:} false; then :
13645 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13649 if ${TIFF_LIBS:+false} :; then :
13650 if ${PKG_CONFIG+:} false; then :
13651 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13656 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13657 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13658 ac_save_CPPFLAGS=$CPPFLAGS
13659 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13660 for ac_header in tiffio.h
13661 do :
13662 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13663 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13664 cat >>confdefs.h <<_ACEOF
13665 #define HAVE_TIFFIO_H 1
13666 _ACEOF
13670 done
13672 if test "$ac_cv_header_tiffio_h" = "yes"
13673 then
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13675 $as_echo_n "checking for -ltiff... " >&6; }
13676 if ${ac_cv_lib_soname_tiff+:} false; then :
13677 $as_echo_n "(cached) " >&6
13678 else
13679 ac_check_soname_save_LIBS=$LIBS
13680 LIBS="-ltiff $TIFF_LIBS $LIBS"
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13687 #ifdef __cplusplus
13688 extern "C"
13689 #endif
13690 char TIFFClientOpen ();
13692 main ()
13694 return TIFFClientOpen ();
13696 return 0;
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 case "$LIBEXT" in
13701 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13702 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'` ;;
13703 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13704 if ${ac_cv_lib_soname_tiff:+false} :; then :
13705 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13706 fi ;;
13707 esac
13709 rm -f core conftest.err conftest.$ac_objext \
13710 conftest$ac_exeext conftest.$ac_ext
13711 LIBS=$ac_check_soname_save_LIBS
13713 if ${ac_cv_lib_soname_tiff:+false} :; then :
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13715 $as_echo "not found" >&6; }
13717 else
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13719 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13721 cat >>confdefs.h <<_ACEOF
13722 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13723 _ACEOF
13728 CPPFLAGS=$ac_save_CPPFLAGS
13729 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13730 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13733 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13734 case "x$with_tiff" in
13735 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13736 xno) ;;
13737 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13738 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13739 esac
13743 if test "x$with_mpg123" != "xno"
13744 then
13745 if ${MPG123_CFLAGS:+false} :; then :
13746 if ${PKG_CONFIG+:} false; then :
13747 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13751 if ${MPG123_LIBS:+false} :; then :
13752 if ${PKG_CONFIG+:} false; then :
13753 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13757 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13758 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13759 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13760 ac_save_CPPFLAGS=$CPPFLAGS
13761 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13762 for ac_header in mpg123.h
13763 do :
13764 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13765 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13766 cat >>confdefs.h <<_ACEOF
13767 #define HAVE_MPG123_H 1
13768 _ACEOF
13772 done
13774 if test "$ac_cv_header_mpg123_h" = "yes"
13775 then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13777 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13778 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13779 $as_echo_n "(cached) " >&6
13780 else
13781 ac_check_lib_save_LIBS=$LIBS
13782 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13789 #ifdef __cplusplus
13790 extern "C"
13791 #endif
13792 char mpg123_feed ();
13794 main ()
13796 return mpg123_feed ();
13798 return 0;
13800 _ACEOF
13801 if ac_fn_c_try_link "$LINENO"; then :
13802 ac_cv_lib_mpg123_mpg123_feed=yes
13803 else
13804 ac_cv_lib_mpg123_mpg123_feed=no
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 LIBS=$ac_check_lib_save_LIBS
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13811 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13812 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13814 else
13815 MPG123_LIBS=""
13818 else
13819 MPG123_CFLAGS=""
13820 MPG123_LIBS=""
13822 CPPFLAGS=$ac_save_CPPFLAGS
13823 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13824 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13827 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13828 case "x$with_mpg123" in
13829 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13830 xno) ;;
13831 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13832 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13833 esac
13834 enable_winemp3_acm=${enable_winemp3_acm:-no}
13837 if test "$ac_cv_header_AL_al_h" = "yes"
13838 then
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13840 $as_echo_n "checking for -lopenal... " >&6; }
13841 if ${ac_cv_lib_soname_openal+:} false; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 ac_check_soname_save_LIBS=$LIBS
13845 LIBS="-lopenal $LIBS"
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char alGetSource3i ();
13857 main ()
13859 return alGetSource3i ();
13861 return 0;
13863 _ACEOF
13864 if ac_fn_c_try_link "$LINENO"; then :
13865 case "$LIBEXT" in
13866 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13867 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'` ;;
13868 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13869 if ${ac_cv_lib_soname_openal:+false} :; then :
13870 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13871 fi ;;
13872 esac
13874 rm -f core conftest.err conftest.$ac_objext \
13875 conftest$ac_exeext conftest.$ac_ext
13876 LIBS=$ac_check_soname_save_LIBS
13878 if ${ac_cv_lib_soname_openal:+false} :; then :
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13880 $as_echo "not found" >&6; }
13882 else
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13884 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13886 cat >>confdefs.h <<_ACEOF
13887 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13888 _ACEOF
13890 OPENAL_LIBS="-lopenal"
13892 ac_cv_lib_openal=yes
13894 cat >>confdefs.h <<_ACEOF
13895 #define HAVE_OPENAL 1
13896 _ACEOF
13900 if test "x$ac_cv_lib_openal" != xyes; then :
13901 case "x$with_openal" in
13902 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13903 xno) ;;
13904 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13905 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13906 esac
13907 enable_openal32=${enable_openal32:-no}
13910 if test "x$ac_cv_lib_openal" = xyes
13911 then
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13913 $as_echo_n "checking for openal-soft... " >&6; }
13914 if ${ac_cv_have_openalsoft+:} false; then :
13915 $as_echo_n "(cached) " >&6
13916 else
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 #include <AL/al.h>
13920 #include <AL/alc.h>
13921 #include <AL/alext.h>
13922 LPALCRENDERSAMPLESSOFT x;
13924 main ()
13928 return 0;
13930 _ACEOF
13931 if ac_fn_c_try_compile "$LINENO"; then :
13932 ac_cv_have_openalsoft=yes
13933 else
13934 ac_cv_have_openalsoft=no
13936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13939 $as_echo "$ac_cv_have_openalsoft" >&6; }
13941 if test "x$ac_cv_have_openalsoft" != xyes
13942 then
13943 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13944 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13945 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13946 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13947 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13948 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13949 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13950 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13951 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13952 enable_xapofx1_1=${enable_xapofx1_1:-no}
13953 enable_xapofx1_2=${enable_xapofx1_2:-no}
13954 enable_xapofx1_3=${enable_xapofx1_3:-no}
13955 enable_xapofx1_4=${enable_xapofx1_4:-no}
13956 enable_xapofx1_5=${enable_xapofx1_5:-no}
13957 enable_xaudio2_0=${enable_xaudio2_0:-no}
13958 enable_xaudio2_1=${enable_xaudio2_1:-no}
13959 enable_xaudio2_2=${enable_xaudio2_2:-no}
13960 enable_xaudio2_3=${enable_xaudio2_3:-no}
13961 enable_xaudio2_4=${enable_xaudio2_4:-no}
13962 enable_xaudio2_5=${enable_xaudio2_5:-no}
13963 enable_xaudio2_6=${enable_xaudio2_6:-no}
13964 enable_xaudio2_7=${enable_xaudio2_7:-no}
13965 enable_xaudio2_8=${enable_xaudio2_8:-no}
13966 enable_xaudio2_9=${enable_xaudio2_9:-no}
13969 if test "$ac_cv_header_kstat_h" = "yes"
13970 then
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13972 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13973 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 ac_check_lib_save_LIBS=$LIBS
13977 LIBS="-lkstat $LIBS"
13978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13981 /* Override any GCC internal prototype to avoid an error.
13982 Use char because int might match the return type of a GCC
13983 builtin and then its argument prototype would still apply. */
13984 #ifdef __cplusplus
13985 extern "C"
13986 #endif
13987 char kstat_open ();
13989 main ()
13991 return kstat_open ();
13993 return 0;
13995 _ACEOF
13996 if ac_fn_c_try_link "$LINENO"; then :
13997 ac_cv_lib_kstat_kstat_open=yes
13998 else
13999 ac_cv_lib_kstat_kstat_open=no
14001 rm -f core conftest.err conftest.$ac_objext \
14002 conftest$ac_exeext conftest.$ac_ext
14003 LIBS=$ac_check_lib_save_LIBS
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14006 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14007 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14009 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14011 KSTAT_LIBS="-lkstat"
14017 if test "$ac_cv_header_libprocstat_h" = "yes"
14018 then
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14020 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14021 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14022 $as_echo_n "(cached) " >&6
14023 else
14024 ac_check_lib_save_LIBS=$LIBS
14025 LIBS="-lprocstat $LIBS"
14026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14029 /* Override any GCC internal prototype to avoid an error.
14030 Use char because int might match the return type of a GCC
14031 builtin and then its argument prototype would still apply. */
14032 #ifdef __cplusplus
14033 extern "C"
14034 #endif
14035 char procstat_open_sysctl ();
14037 main ()
14039 return procstat_open_sysctl ();
14041 return 0;
14043 _ACEOF
14044 if ac_fn_c_try_link "$LINENO"; then :
14045 ac_cv_lib_procstat_procstat_open_sysctl=yes
14046 else
14047 ac_cv_lib_procstat_procstat_open_sysctl=no
14049 rm -f core conftest.err conftest.$ac_objext \
14050 conftest$ac_exeext conftest.$ac_ext
14051 LIBS=$ac_check_lib_save_LIBS
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14054 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14055 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14057 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14059 PROCSTAT_LIBS="-lprocstat"
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14066 $as_echo_n "checking for -lodbc... " >&6; }
14067 if ${ac_cv_lib_soname_odbc+:} false; then :
14068 $as_echo_n "(cached) " >&6
14069 else
14070 ac_check_soname_save_LIBS=$LIBS
14071 LIBS="-lodbc $LIBS"
14072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14075 /* Override any GCC internal prototype to avoid an error.
14076 Use char because int might match the return type of a GCC
14077 builtin and then its argument prototype would still apply. */
14078 #ifdef __cplusplus
14079 extern "C"
14080 #endif
14081 char SQLConnect ();
14083 main ()
14085 return SQLConnect ();
14087 return 0;
14089 _ACEOF
14090 if ac_fn_c_try_link "$LINENO"; then :
14091 case "$LIBEXT" in
14092 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14093 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'` ;;
14094 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14095 if ${ac_cv_lib_soname_odbc:+false} :; then :
14096 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14097 fi ;;
14098 esac
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 LIBS=$ac_check_soname_save_LIBS
14104 if ${ac_cv_lib_soname_odbc:+false} :; then :
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14106 $as_echo "not found" >&6; }
14107 cat >>confdefs.h <<_ACEOF
14108 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14109 _ACEOF
14111 else
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14113 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14115 cat >>confdefs.h <<_ACEOF
14116 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14117 _ACEOF
14122 if test "x$with_netapi" != "xno"
14123 then
14124 if ${NETAPI_CFLAGS:+false} :; then :
14125 if ${PKG_CONFIG+:} false; then :
14126 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14130 if ${NETAPI_LIBS:+false} :; then :
14131 if ${PKG_CONFIG+:} false; then :
14132 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14137 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14138 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14139 ac_save_CPPFLAGS=$CPPFLAGS
14140 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14142 $as_echo_n "checking for -lnetapi... " >&6; }
14143 if ${ac_cv_lib_soname_netapi+:} false; then :
14144 $as_echo_n "(cached) " >&6
14145 else
14146 ac_check_soname_save_LIBS=$LIBS
14147 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14151 /* Override any GCC internal prototype to avoid an error.
14152 Use char because int might match the return type of a GCC
14153 builtin and then its argument prototype would still apply. */
14154 #ifdef __cplusplus
14155 extern "C"
14156 #endif
14157 char libnetapi_init ();
14159 main ()
14161 return libnetapi_init ();
14163 return 0;
14165 _ACEOF
14166 if ac_fn_c_try_link "$LINENO"; then :
14167 case "$LIBEXT" in
14168 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14169 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'` ;;
14170 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14171 if ${ac_cv_lib_soname_netapi:+false} :; then :
14172 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14173 fi ;;
14174 esac
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 LIBS=$ac_check_soname_save_LIBS
14180 if ${ac_cv_lib_soname_netapi:+false} :; then :
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14182 $as_echo "not found" >&6; }
14183 cat >>confdefs.h <<_ACEOF
14184 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14185 _ACEOF
14187 else
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14189 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14191 cat >>confdefs.h <<_ACEOF
14192 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14193 _ACEOF
14197 CPPFLAGS=$ac_save_CPPFLAGS
14198 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14199 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14203 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14204 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14205 then
14206 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14210 EXTRACFLAGS=""
14212 if test "x${GCC}" = "xyes"
14213 then
14214 EXTRACFLAGS="-Wall -pipe"
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14217 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14218 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14219 $as_echo_n "(cached) " >&6
14220 else
14221 if test "$cross_compiling" = yes; then :
14222 ac_cv_c_gcc_strength_bug="no"
14223 else
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14226 int L[4] = {0,1,2,3};
14228 main ()
14230 static int Array[3];
14231 unsigned int B = 3;
14232 int i;
14233 for(i=0; i<B; i++) Array[i] = i - 3;
14234 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14235 L[i] = 4;
14236 return (Array[1] != -2 || L[2] != 3)
14238 return 0;
14240 _ACEOF
14241 if ac_fn_c_try_run "$LINENO"; then :
14242 ac_cv_c_gcc_strength_bug="no"
14243 else
14244 ac_cv_c_gcc_strength_bug="yes"
14246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14247 conftest.$ac_objext conftest.beam conftest.$ac_ext
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14252 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14253 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14254 then
14255 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14259 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14260 if ${ac_cv_cflags__fno_builtin+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 ac_wine_try_cflags_saved=$CFLAGS
14264 CFLAGS="$CFLAGS -fno-builtin"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14267 int main(int argc, char **argv) { return 0; }
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_cflags__fno_builtin=yes
14271 else
14272 ac_cv_cflags__fno_builtin=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 CFLAGS=$ac_wine_try_cflags_saved
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14279 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14280 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14281 BUILTINFLAG="-fno-builtin"
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14285 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14286 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14287 $as_echo_n "(cached) " >&6
14288 else
14289 ac_wine_try_cflags_saved=$CFLAGS
14290 CFLAGS="$CFLAGS -fno-strict-aliasing"
14291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 /* end confdefs.h. */
14293 int main(int argc, char **argv) { return 0; }
14294 _ACEOF
14295 if ac_fn_c_try_link "$LINENO"; then :
14296 ac_cv_cflags__fno_strict_aliasing=yes
14297 else
14298 ac_cv_cflags__fno_strict_aliasing=no
14300 rm -f core conftest.err conftest.$ac_objext \
14301 conftest$ac_exeext conftest.$ac_ext
14302 CFLAGS=$ac_wine_try_cflags_saved
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14305 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14306 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14307 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14310 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14311 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14312 $as_echo_n "(cached) " >&6
14313 else
14314 ac_wine_try_cflags_saved=$CFLAGS
14315 CFLAGS="$CFLAGS -fexcess-precision=standard"
14316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 int main(int argc, char **argv) { return 0; }
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 ac_cv_cflags__fexcess_precision_standard=yes
14322 else
14323 ac_cv_cflags__fexcess_precision_standard=no
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14327 CFLAGS=$ac_wine_try_cflags_saved
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14330 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14331 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14332 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14335 saved_CFLAGS=$CFLAGS
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14337 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14338 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14339 $as_echo_n "(cached) " >&6
14340 else
14341 ac_wine_try_cflags_saved=$CFLAGS
14342 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14345 int main(int argc, char **argv) { return 0; }
14346 _ACEOF
14347 if ac_fn_c_try_link "$LINENO"; then :
14348 ac_cv_cflags__Werror_unknown_warning_option=yes
14349 else
14350 ac_cv_cflags__Werror_unknown_warning_option=no
14352 rm -f core conftest.err conftest.$ac_objext \
14353 conftest$ac_exeext conftest.$ac_ext
14354 CFLAGS=$ac_wine_try_cflags_saved
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14357 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14358 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14359 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14362 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14363 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 ac_wine_try_cflags_saved=$CFLAGS
14367 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14370 int main(int argc, char **argv) { return 0; }
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_cflags__Wdeclaration_after_statement=yes
14374 else
14375 ac_cv_cflags__Wdeclaration_after_statement=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 CFLAGS=$ac_wine_try_cflags_saved
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14382 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14383 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14384 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14387 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14388 if ${ac_cv_cflags__Wempty_body+:} false; then :
14389 $as_echo_n "(cached) " >&6
14390 else
14391 ac_wine_try_cflags_saved=$CFLAGS
14392 CFLAGS="$CFLAGS -Wempty-body"
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14395 int main(int argc, char **argv) { return 0; }
14396 _ACEOF
14397 if ac_fn_c_try_link "$LINENO"; then :
14398 ac_cv_cflags__Wempty_body=yes
14399 else
14400 ac_cv_cflags__Wempty_body=no
14402 rm -f core conftest.err conftest.$ac_objext \
14403 conftest$ac_exeext conftest.$ac_ext
14404 CFLAGS=$ac_wine_try_cflags_saved
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14407 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14408 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14409 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14412 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14413 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14414 $as_echo_n "(cached) " >&6
14415 else
14416 ac_wine_try_cflags_saved=$CFLAGS
14417 CFLAGS="$CFLAGS -Wignored-qualifiers"
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 int main(int argc, char **argv) { return 0; }
14421 _ACEOF
14422 if ac_fn_c_try_link "$LINENO"; then :
14423 ac_cv_cflags__Wignored_qualifiers=yes
14424 else
14425 ac_cv_cflags__Wignored_qualifiers=no
14427 rm -f core conftest.err conftest.$ac_objext \
14428 conftest$ac_exeext conftest.$ac_ext
14429 CFLAGS=$ac_wine_try_cflags_saved
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14432 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14433 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14434 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14437 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14438 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 ac_wine_try_cflags_saved=$CFLAGS
14442 CFLAGS="$CFLAGS -Wshift-overflow=2"
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 int main(int argc, char **argv) { return 0; }
14446 _ACEOF
14447 if ac_fn_c_try_link "$LINENO"; then :
14448 ac_cv_cflags__Wshift_overflow_2=yes
14449 else
14450 ac_cv_cflags__Wshift_overflow_2=no
14452 rm -f core conftest.err conftest.$ac_objext \
14453 conftest$ac_exeext conftest.$ac_ext
14454 CFLAGS=$ac_wine_try_cflags_saved
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14457 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14458 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14459 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14462 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14463 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 ac_wine_try_cflags_saved=$CFLAGS
14467 CFLAGS="$CFLAGS -Wstrict-prototypes"
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14470 int main(int argc, char **argv) { return 0; }
14471 _ACEOF
14472 if ac_fn_c_try_link "$LINENO"; then :
14473 ac_cv_cflags__Wstrict_prototypes=yes
14474 else
14475 ac_cv_cflags__Wstrict_prototypes=no
14477 rm -f core conftest.err conftest.$ac_objext \
14478 conftest$ac_exeext conftest.$ac_ext
14479 CFLAGS=$ac_wine_try_cflags_saved
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14482 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14483 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14484 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14487 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14488 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14489 $as_echo_n "(cached) " >&6
14490 else
14491 ac_wine_try_cflags_saved=$CFLAGS
14492 CFLAGS="$CFLAGS -Wtype-limits"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14495 int main(int argc, char **argv) { return 0; }
14496 _ACEOF
14497 if ac_fn_c_try_link "$LINENO"; then :
14498 ac_cv_cflags__Wtype_limits=yes
14499 else
14500 ac_cv_cflags__Wtype_limits=no
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 CFLAGS=$ac_wine_try_cflags_saved
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14507 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14508 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14509 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14512 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14513 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 ac_wine_try_cflags_saved=$CFLAGS
14517 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14519 /* end confdefs.h. */
14520 int main(int argc, char **argv) { return 0; }
14521 _ACEOF
14522 if ac_fn_c_try_link "$LINENO"; then :
14523 ac_cv_cflags__Wunused_but_set_parameter=yes
14524 else
14525 ac_cv_cflags__Wunused_but_set_parameter=no
14527 rm -f core conftest.err conftest.$ac_objext \
14528 conftest$ac_exeext conftest.$ac_ext
14529 CFLAGS=$ac_wine_try_cflags_saved
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14532 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14533 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14534 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14537 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14538 if ${ac_cv_cflags__Wvla+:} false; then :
14539 $as_echo_n "(cached) " >&6
14540 else
14541 ac_wine_try_cflags_saved=$CFLAGS
14542 CFLAGS="$CFLAGS -Wvla"
14543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14545 int main(int argc, char **argv) { return 0; }
14546 _ACEOF
14547 if ac_fn_c_try_link "$LINENO"; then :
14548 ac_cv_cflags__Wvla=yes
14549 else
14550 ac_cv_cflags__Wvla=no
14552 rm -f core conftest.err conftest.$ac_objext \
14553 conftest$ac_exeext conftest.$ac_ext
14554 CFLAGS=$ac_wine_try_cflags_saved
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14557 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14558 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14559 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14562 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14563 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14564 $as_echo_n "(cached) " >&6
14565 else
14566 ac_wine_try_cflags_saved=$CFLAGS
14567 CFLAGS="$CFLAGS -Wwrite-strings"
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14570 int main(int argc, char **argv) { return 0; }
14571 _ACEOF
14572 if ac_fn_c_try_link "$LINENO"; then :
14573 ac_cv_cflags__Wwrite_strings=yes
14574 else
14575 ac_cv_cflags__Wwrite_strings=no
14577 rm -f core conftest.err conftest.$ac_objext \
14578 conftest$ac_exeext conftest.$ac_ext
14579 CFLAGS=$ac_wine_try_cflags_saved
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14582 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14583 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14584 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14588 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14589 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 ac_wine_try_cflags_saved=$CFLAGS
14593 CFLAGS="$CFLAGS -Wpointer-arith"
14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14595 /* end confdefs.h. */
14596 int main(int argc, char **argv) { return 0; }
14597 _ACEOF
14598 if ac_fn_c_try_link "$LINENO"; then :
14599 ac_cv_cflags__Wpointer_arith=yes
14600 else
14601 ac_cv_cflags__Wpointer_arith=no
14603 rm -f core conftest.err conftest.$ac_objext \
14604 conftest$ac_exeext conftest.$ac_ext
14605 CFLAGS=$ac_wine_try_cflags_saved
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14608 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14609 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14610 saved_string_h_CFLAGS=$CFLAGS
14611 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14613 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14614 if ${ac_cv_c_string_h_warnings+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 /* end confdefs.h. */
14619 #include <string.h>
14621 main ()
14625 return 0;
14627 _ACEOF
14628 if ac_fn_c_try_compile "$LINENO"; then :
14629 ac_cv_c_string_h_warnings=no
14630 else
14631 ac_cv_c_string_h_warnings=yes
14633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14636 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14637 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14638 CFLAGS=$saved_string_h_CFLAGS
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14642 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14643 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14644 $as_echo_n "(cached) " >&6
14645 else
14646 ac_wine_try_cflags_saved=$CFLAGS
14647 CFLAGS="$CFLAGS -Wlogical-op"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14650 int main(int argc, char **argv) { return 0; }
14651 _ACEOF
14652 if ac_fn_c_try_link "$LINENO"; then :
14653 ac_cv_cflags__Wlogical_op=yes
14654 else
14655 ac_cv_cflags__Wlogical_op=no
14657 rm -f core conftest.err conftest.$ac_objext \
14658 conftest$ac_exeext conftest.$ac_ext
14659 CFLAGS=$ac_wine_try_cflags_saved
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14662 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14663 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14664 saved_string_h_CFLAGS=$CFLAGS
14665 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14667 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14668 if ${ac_cv_c_logicalop_noisy+:} false; then :
14669 $as_echo_n "(cached) " >&6
14670 else
14671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 /* end confdefs.h. */
14673 #include <string.h>
14674 char*f(const char *h,char n) {return strchr(h,n);}
14676 main ()
14680 return 0;
14682 _ACEOF
14683 if ac_fn_c_try_compile "$LINENO"; then :
14684 ac_cv_c_logicalop_noisy=no
14685 else
14686 ac_cv_c_logicalop_noisy=yes
14688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14691 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14692 CFLAGS=$saved_string_h_CFLAGS
14693 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14696 CFLAGS=$saved_CFLAGS
14698 for ac_flag in $CFLAGS; do
14699 case $ac_flag in
14700 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14701 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14702 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14703 $as_echo_n "(cached) " >&6
14704 else
14705 ac_wine_try_cflags_saved=$CFLAGS
14706 CFLAGS="$CFLAGS -gdwarf-2"
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 int main(int argc, char **argv) { return 0; }
14710 _ACEOF
14711 if ac_fn_c_try_link "$LINENO"; then :
14712 ac_cv_cflags__gdwarf_2=yes
14713 else
14714 ac_cv_cflags__gdwarf_2=no
14716 rm -f core conftest.err conftest.$ac_objext \
14717 conftest$ac_exeext conftest.$ac_ext
14718 CFLAGS=$ac_wine_try_cflags_saved
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14721 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14722 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14723 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14726 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14727 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729 else
14730 ac_wine_try_cflags_saved=$CFLAGS
14731 CFLAGS="$CFLAGS -gstrict-dwarf"
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14734 int main(int argc, char **argv) { return 0; }
14735 _ACEOF
14736 if ac_fn_c_try_link "$LINENO"; then :
14737 ac_cv_cflags__gstrict_dwarf=yes
14738 else
14739 ac_cv_cflags__gstrict_dwarf=no
14741 rm -f core conftest.err conftest.$ac_objext \
14742 conftest$ac_exeext conftest.$ac_ext
14743 CFLAGS=$ac_wine_try_cflags_saved
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14746 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14747 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14748 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14749 fi ;;
14750 esac
14751 done
14753 case $host_cpu in
14754 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14755 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14756 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14757 $as_echo_n "(cached) " >&6
14758 else
14759 ac_wine_try_cflags_saved=$CFLAGS
14760 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 int main(int argc, char **argv) { return 0; }
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_cflags__fno_omit_frame_pointer=yes
14767 else
14768 ac_cv_cflags__fno_omit_frame_pointer=no
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14772 CFLAGS=$ac_wine_try_cflags_saved
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14775 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14776 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14777 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14778 fi ;;
14779 esac
14781 case $host in
14782 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14783 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14784 if ${ac_cv_cflags__Wno_format+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 ac_wine_try_cflags_saved=$CFLAGS
14788 CFLAGS="$CFLAGS -Wno-format"
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14791 int main(int argc, char **argv) { return 0; }
14792 _ACEOF
14793 if ac_fn_c_try_link "$LINENO"; then :
14794 ac_cv_cflags__Wno_format=yes
14795 else
14796 ac_cv_cflags__Wno_format=no
14798 rm -f core conftest.err conftest.$ac_objext \
14799 conftest$ac_exeext conftest.$ac_ext
14800 CFLAGS=$ac_wine_try_cflags_saved
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14803 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14804 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14805 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14806 fi ;;
14807 esac
14809 if test "x$enable_maintainer_mode" = "xyes"
14810 then
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14812 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14813 if ${ac_cv_cflags__Werror+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 ac_wine_try_cflags_saved=$CFLAGS
14817 CFLAGS="$CFLAGS -Werror"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 int main(int argc, char **argv) { return 0; }
14821 _ACEOF
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_cflags__Werror=yes
14824 else
14825 ac_cv_cflags__Werror=no
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829 CFLAGS=$ac_wine_try_cflags_saved
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14832 $as_echo "$ac_cv_cflags__Werror" >&6; }
14833 if test "x$ac_cv_cflags__Werror" = xyes; then :
14834 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14838 saved_CFLAGS="$CFLAGS"
14839 CFLAGS="$CFLAGS -Werror"
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14841 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14842 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14843 $as_echo_n "(cached) " >&6
14844 else
14845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14846 /* end confdefs.h. */
14847 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14849 main ()
14853 return 0;
14855 _ACEOF
14856 if ac_fn_c_try_compile "$LINENO"; then :
14857 ac_cv_have_ms_hook_prologue="yes"
14858 else
14859 ac_cv_have_ms_hook_prologue="no"
14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14864 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14865 CFLAGS="$saved_CFLAGS"
14866 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14867 then
14869 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14871 else
14872 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14879 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14880 if ${ac_cv_c_fortify_enabled+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14885 #include <string.h>
14887 main ()
14889 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14890 #error Fortify enabled
14891 #endif
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_compile "$LINENO"; then :
14897 ac_cv_c_fortify_enabled=no
14898 else
14899 ac_cv_c_fortify_enabled=yes
14901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14904 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14905 if test "$ac_cv_c_fortify_enabled" = yes
14906 then
14907 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14912 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14913 if ${ac_cv_c_extern_prefix+:} false; then :
14914 $as_echo_n "(cached) " >&6
14915 else
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14918 extern int ac_test;
14920 main ()
14922 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14924 return 0;
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"; then :
14928 ac_cv_c_extern_prefix="yes"
14929 else
14930 ac_cv_c_extern_prefix="no"
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext conftest.$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14936 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14938 case $host_cpu in
14939 *i[3456789]86*)
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14941 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14942 if ${ac_cv_c_stdcall_suffix+:} false; then :
14943 $as_echo_n "(cached) " >&6
14944 else
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14947 #ifndef _MSC_VER
14948 #define __stdcall __attribute__((__stdcall__))
14949 #endif
14950 int __stdcall ac_test(int i) { return i; }
14952 main ()
14954 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14956 return 0;
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_c_stdcall_suffix="yes"
14961 else
14962 ac_cv_c_stdcall_suffix="no"
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14968 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14969 *) ac_cv_c_stdcall_suffix="no" ;;
14970 esac
14973 if test "$ac_cv_c_extern_prefix" = "yes"
14974 then
14975 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14977 asm_name_prefix="_"
14978 else
14979 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14981 asm_name_prefix=""
14985 if test "$ac_cv_c_stdcall_suffix" = "yes"
14986 then
14987 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14989 else
14990 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14996 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14997 if ${ac_cv_asm_func_def+:} false; then :
14998 $as_echo_n "(cached) " >&6
14999 else
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15004 main ()
15006 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15008 return 0;
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 ac_cv_asm_func_def=".def"
15013 else
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15018 main ()
15020 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15022 return 0;
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"; then :
15026 ac_cv_asm_func_def=".type @function"
15027 else
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15032 main ()
15034 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15036 return 0;
15038 _ACEOF
15039 if ac_fn_c_try_link "$LINENO"; then :
15040 ac_cv_asm_func_def=".type 2"
15041 else
15042 ac_cv_asm_func_def="unknown"
15044 rm -f core conftest.err conftest.$ac_objext \
15045 conftest$ac_exeext conftest.$ac_ext
15047 rm -f core conftest.err conftest.$ac_objext \
15048 conftest$ac_exeext conftest.$ac_ext
15050 rm -f core conftest.err conftest.$ac_objext \
15051 conftest$ac_exeext conftest.$ac_ext
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15054 $as_echo "$ac_cv_asm_func_def" >&6; }
15057 case "$ac_cv_asm_func_def" in
15058 ".def")
15059 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15061 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15062 ".type @function")
15063 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15065 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15066 ".type 2")
15067 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15069 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15071 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15073 asm_func_header="" ;;
15074 esac
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15077 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15078 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15079 $as_echo_n "(cached) " >&6
15080 else
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 asm(".text\n\t.long 0");
15085 main ()
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_compile "$LINENO"; then :
15093 ac_cv_c_asm_outside_funcs="yes"
15094 else
15095 ac_cv_c_asm_outside_funcs="no"
15097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15100 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15103 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15104 if ${ac_cv_c_dot_previous+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15108 /* end confdefs.h. */
15111 main ()
15113 asm(".text\nac_test:\t.long 0\n\t.previous");
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_link "$LINENO"; then :
15119 ac_cv_c_dot_previous="yes"
15120 else
15121 ac_cv_c_dot_previous="no"
15123 rm -f core conftest.err conftest.$ac_objext \
15124 conftest$ac_exeext conftest.$ac_ext
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15127 $as_echo "$ac_cv_c_dot_previous" >&6; }
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15130 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15131 if ${ac_cv_c_cfi_support+:} false; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15138 main ()
15142 return 0;
15144 _ACEOF
15145 if ac_fn_c_try_compile "$LINENO"; then :
15146 ac_cv_c_cfi_support="yes"
15147 else
15148 ac_cv_c_cfi_support="no"
15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15153 $as_echo "$ac_cv_c_cfi_support" >&6; }
15155 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15156 asm_func_trailer=""
15157 if test "$ac_cv_c_dot_previous" = "yes"
15158 then
15159 asm_func_trailer="\\n\\t.previous"
15161 if test "$ac_cv_c_cfi_support" = "yes"
15162 then
15163 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15164 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15166 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15168 UNWINDFLAGS=-fasynchronous-unwind-tables
15170 else
15171 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15173 if test "x$enable_win64" = "xyes"
15174 then
15175 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15179 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15182 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15183 then
15184 cat >>confdefs.h <<_ACEOF
15185 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15186 _ACEOF
15188 else
15189 cat >>confdefs.h <<_ACEOF
15190 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15191 _ACEOF
15195 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15198 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15202 case $build_os in
15203 cygwin*|mingw32*) TOOLSEXT=".exe"
15205 esac
15207 case $host_os in
15208 linux-android*) ;;
15209 linux*)
15210 case $host_cpu in
15211 *i[3456789]86*|x86_64*)
15212 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15213 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15215 esac
15217 esac
15220 ac_save_CFLAGS="$CFLAGS"
15221 CFLAGS="$CFLAGS $BUILTINFLAG"
15222 for ac_func in \
15223 __res_get_state \
15224 __res_getservers \
15225 _finite \
15226 _isnan \
15227 _pclose \
15228 _popen \
15229 _snprintf \
15230 _spawnvp \
15231 _strdup \
15232 _stricmp \
15233 _strnicmp \
15234 _strtoi64 \
15235 _strtoui64 \
15236 _vsnprintf \
15237 asctime_r \
15238 chsize \
15239 dlopen \
15240 epoll_create \
15241 ffs \
15242 finitef \
15243 fnmatch \
15244 fork \
15245 fpclass \
15246 fstatfs \
15247 fstatvfs \
15248 ftruncate \
15249 futimens \
15250 futimes \
15251 futimesat \
15252 getattrlist \
15253 getopt_long_only \
15254 getpwuid \
15255 gettimeofday \
15256 getuid \
15257 if_nameindex \
15258 isnanf \
15259 kqueue \
15260 lstat \
15261 memmove \
15262 mmap \
15263 pclose \
15264 pipe2 \
15265 poll \
15266 popen \
15267 port_create \
15268 prctl \
15269 pread \
15270 proc_pidinfo \
15271 pwrite \
15272 readdir \
15273 readlink \
15274 sched_yield \
15275 select \
15276 setproctitle \
15277 setprogname \
15278 setrlimit \
15279 settimeofday \
15280 sigaltstack \
15281 sigprocmask \
15282 snprintf \
15283 statfs \
15284 statvfs \
15285 strcasecmp \
15286 strdup \
15287 strerror \
15288 strncasecmp \
15289 strtold \
15290 strtoll \
15291 strtoull \
15292 symlink \
15293 sysinfo \
15294 tcdrain \
15295 thr_kill2 \
15296 timegm \
15297 usleep \
15298 vsnprintf
15300 do :
15301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15304 cat >>confdefs.h <<_ACEOF
15305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15306 _ACEOF
15309 done
15311 CFLAGS="$ac_save_CFLAGS"
15313 if test "$ac_cv_func_dlopen" = no
15314 then
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15316 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15317 if ${ac_cv_lib_dl_dlopen+:} false; then :
15318 $as_echo_n "(cached) " >&6
15319 else
15320 ac_check_lib_save_LIBS=$LIBS
15321 LIBS="-ldl $LIBS"
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15328 #ifdef __cplusplus
15329 extern "C"
15330 #endif
15331 char dlopen ();
15333 main ()
15335 return dlopen ();
15337 return 0;
15339 _ACEOF
15340 if ac_fn_c_try_link "$LINENO"; then :
15341 ac_cv_lib_dl_dlopen=yes
15342 else
15343 ac_cv_lib_dl_dlopen=no
15345 rm -f core conftest.err conftest.$ac_objext \
15346 conftest$ac_exeext conftest.$ac_ext
15347 LIBS=$ac_check_lib_save_LIBS
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15350 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15351 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15352 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15353 DL_LIBS="-ldl"
15358 ac_wine_check_funcs_save_LIBS="$LIBS"
15359 LIBS="$LIBS $DL_LIBS"
15360 for ac_func in dladdr
15361 do :
15362 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15363 if test "x$ac_cv_func_dladdr" = xyes; then :
15364 cat >>confdefs.h <<_ACEOF
15365 #define HAVE_DLADDR 1
15366 _ACEOF
15369 done
15371 LIBS="$ac_wine_check_funcs_save_LIBS"
15373 if test "$ac_cv_func_poll" = no
15374 then
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15376 $as_echo_n "checking for poll in -lpoll... " >&6; }
15377 if ${ac_cv_lib_poll_poll+:} false; then :
15378 $as_echo_n "(cached) " >&6
15379 else
15380 ac_check_lib_save_LIBS=$LIBS
15381 LIBS="-lpoll $LIBS"
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15388 #ifdef __cplusplus
15389 extern "C"
15390 #endif
15391 char poll ();
15393 main ()
15395 return poll ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"; then :
15401 ac_cv_lib_poll_poll=yes
15402 else
15403 ac_cv_lib_poll_poll=no
15405 rm -f core conftest.err conftest.$ac_objext \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_check_lib_save_LIBS
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15410 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15411 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15412 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15413 POLL_LIBS="-lpoll"
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15420 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15421 if ${ac_cv_search_gethostbyname+:} false; then :
15422 $as_echo_n "(cached) " >&6
15423 else
15424 ac_func_search_save_LIBS=$LIBS
15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15428 /* Override any GCC internal prototype to avoid an error.
15429 Use char because int might match the return type of a GCC
15430 builtin and then its argument prototype would still apply. */
15431 #ifdef __cplusplus
15432 extern "C"
15433 #endif
15434 char gethostbyname ();
15436 main ()
15438 return gethostbyname ();
15440 return 0;
15442 _ACEOF
15443 for ac_lib in '' nsl; do
15444 if test -z "$ac_lib"; then
15445 ac_res="none required"
15446 else
15447 ac_res=-l$ac_lib
15448 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15450 if ac_fn_c_try_link "$LINENO"; then :
15451 ac_cv_search_gethostbyname=$ac_res
15453 rm -f core conftest.err conftest.$ac_objext \
15454 conftest$ac_exeext
15455 if ${ac_cv_search_gethostbyname+:} false; then :
15456 break
15458 done
15459 if ${ac_cv_search_gethostbyname+:} false; then :
15461 else
15462 ac_cv_search_gethostbyname=no
15464 rm conftest.$ac_ext
15465 LIBS=$ac_func_search_save_LIBS
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15468 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15469 ac_res=$ac_cv_search_gethostbyname
15470 if test "$ac_res" != no; then :
15471 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15477 $as_echo_n "checking for library containing connect... " >&6; }
15478 if ${ac_cv_search_connect+:} false; then :
15479 $as_echo_n "(cached) " >&6
15480 else
15481 ac_func_search_save_LIBS=$LIBS
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15485 /* Override any GCC internal prototype to avoid an error.
15486 Use char because int might match the return type of a GCC
15487 builtin and then its argument prototype would still apply. */
15488 #ifdef __cplusplus
15489 extern "C"
15490 #endif
15491 char connect ();
15493 main ()
15495 return connect ();
15497 return 0;
15499 _ACEOF
15500 for ac_lib in '' socket; do
15501 if test -z "$ac_lib"; then
15502 ac_res="none required"
15503 else
15504 ac_res=-l$ac_lib
15505 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15507 if ac_fn_c_try_link "$LINENO"; then :
15508 ac_cv_search_connect=$ac_res
15510 rm -f core conftest.err conftest.$ac_objext \
15511 conftest$ac_exeext
15512 if ${ac_cv_search_connect+:} false; then :
15513 break
15515 done
15516 if ${ac_cv_search_connect+:} false; then :
15518 else
15519 ac_cv_search_connect=no
15521 rm conftest.$ac_ext
15522 LIBS=$ac_func_search_save_LIBS
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15525 $as_echo "$ac_cv_search_connect" >&6; }
15526 ac_res=$ac_cv_search_connect
15527 if test "$ac_res" != no; then :
15528 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15534 $as_echo_n "checking for library containing inet_aton... " >&6; }
15535 if ${ac_cv_search_inet_aton+:} false; then :
15536 $as_echo_n "(cached) " >&6
15537 else
15538 ac_func_search_save_LIBS=$LIBS
15539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 /* Override any GCC internal prototype to avoid an error.
15543 Use char because int might match the return type of a GCC
15544 builtin and then its argument prototype would still apply. */
15545 #ifdef __cplusplus
15546 extern "C"
15547 #endif
15548 char inet_aton ();
15550 main ()
15552 return inet_aton ();
15554 return 0;
15556 _ACEOF
15557 for ac_lib in '' resolv; do
15558 if test -z "$ac_lib"; then
15559 ac_res="none required"
15560 else
15561 ac_res=-l$ac_lib
15562 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15564 if ac_fn_c_try_link "$LINENO"; then :
15565 ac_cv_search_inet_aton=$ac_res
15567 rm -f core conftest.err conftest.$ac_objext \
15568 conftest$ac_exeext
15569 if ${ac_cv_search_inet_aton+:} false; then :
15570 break
15572 done
15573 if ${ac_cv_search_inet_aton+:} false; then :
15575 else
15576 ac_cv_search_inet_aton=no
15578 rm conftest.$ac_ext
15579 LIBS=$ac_func_search_save_LIBS
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15582 $as_echo "$ac_cv_search_inet_aton" >&6; }
15583 ac_res=$ac_cv_search_inet_aton
15584 if test "$ac_res" != no; then :
15585 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15590 for ac_func in \
15591 getaddrinfo \
15592 getnameinfo \
15593 getnetbyname \
15594 getprotobyname \
15595 getprotobynumber \
15596 getservbyport \
15597 inet_addr \
15598 inet_network \
15599 inet_ntop \
15600 inet_pton \
15601 sendmsg \
15602 socketpair \
15604 do :
15605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15606 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15607 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15608 cat >>confdefs.h <<_ACEOF
15609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15610 _ACEOF
15613 done
15616 ac_save_LIBS=$LIBS
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15618 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15619 if ${ac_cv_search_clock_gettime+:} false; then :
15620 $as_echo_n "(cached) " >&6
15621 else
15622 ac_func_search_save_LIBS=$LIBS
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15626 /* Override any GCC internal prototype to avoid an error.
15627 Use char because int might match the return type of a GCC
15628 builtin and then its argument prototype would still apply. */
15629 #ifdef __cplusplus
15630 extern "C"
15631 #endif
15632 char clock_gettime ();
15634 main ()
15636 return clock_gettime ();
15638 return 0;
15640 _ACEOF
15641 for ac_lib in '' rt; do
15642 if test -z "$ac_lib"; then
15643 ac_res="none required"
15644 else
15645 ac_res=-l$ac_lib
15646 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15648 if ac_fn_c_try_link "$LINENO"; then :
15649 ac_cv_search_clock_gettime=$ac_res
15651 rm -f core conftest.err conftest.$ac_objext \
15652 conftest$ac_exeext
15653 if ${ac_cv_search_clock_gettime+:} false; then :
15654 break
15656 done
15657 if ${ac_cv_search_clock_gettime+:} false; then :
15659 else
15660 ac_cv_search_clock_gettime=no
15662 rm conftest.$ac_ext
15663 LIBS=$ac_func_search_save_LIBS
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15666 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15667 ac_res=$ac_cv_search_clock_gettime
15668 if test "$ac_res" != no; then :
15669 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15671 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15673 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15677 LIBS=$ac_save_LIBS
15679 LDAP_LIBS=""
15681 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15682 then
15683 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15685 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15687 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15688 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15689 $as_echo_n "(cached) " >&6
15690 else
15691 ac_check_lib_save_LIBS=$LIBS
15692 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15694 /* end confdefs.h. */
15696 /* Override any GCC internal prototype to avoid an error.
15697 Use char because int might match the return type of a GCC
15698 builtin and then its argument prototype would still apply. */
15699 #ifdef __cplusplus
15700 extern "C"
15701 #endif
15702 char ldap_initialize ();
15704 main ()
15706 return ldap_initialize ();
15708 return 0;
15710 _ACEOF
15711 if ac_fn_c_try_link "$LINENO"; then :
15712 ac_cv_lib_ldap_r_ldap_initialize=yes
15713 else
15714 ac_cv_lib_ldap_r_ldap_initialize=no
15716 rm -f core conftest.err conftest.$ac_objext \
15717 conftest$ac_exeext conftest.$ac_ext
15718 LIBS=$ac_check_lib_save_LIBS
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15721 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15722 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15724 $as_echo_n "checking for ber_init in -llber... " >&6; }
15725 if ${ac_cv_lib_lber_ber_init+:} false; then :
15726 $as_echo_n "(cached) " >&6
15727 else
15728 ac_check_lib_save_LIBS=$LIBS
15729 LIBS="-llber $PTHREAD_LIBS $LIBS"
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15733 /* Override any GCC internal prototype to avoid an error.
15734 Use char because int might match the return type of a GCC
15735 builtin and then its argument prototype would still apply. */
15736 #ifdef __cplusplus
15737 extern "C"
15738 #endif
15739 char ber_init ();
15741 main ()
15743 return ber_init ();
15745 return 0;
15747 _ACEOF
15748 if ac_fn_c_try_link "$LINENO"; then :
15749 ac_cv_lib_lber_ber_init=yes
15750 else
15751 ac_cv_lib_lber_ber_init=no
15753 rm -f core conftest.err conftest.$ac_objext \
15754 conftest$ac_exeext conftest.$ac_ext
15755 LIBS=$ac_check_lib_save_LIBS
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15758 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15759 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15761 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15763 LDAP_LIBS="-lldap_r -llber"
15770 ac_wine_check_funcs_save_LIBS="$LIBS"
15771 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15772 for ac_func in \
15773 ldap_count_references \
15774 ldap_first_reference \
15775 ldap_next_reference \
15776 ldap_parse_reference \
15777 ldap_parse_sort_control \
15778 ldap_parse_sortresponse_control \
15779 ldap_parse_vlv_control \
15780 ldap_parse_vlvresponse_control
15781 do :
15782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15787 _ACEOF
15790 done
15792 LIBS="$ac_wine_check_funcs_save_LIBS"
15794 if test "x$LDAP_LIBS" = "x"; then :
15795 case "x$with_ldap" in
15796 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15797 xno) ;;
15798 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15799 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15800 esac
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15805 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15806 if ${wine_cv_one_arg_mkdir+:} false; then :
15807 $as_echo_n "(cached) " >&6
15808 else
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15811 #include <sys/stat.h>
15813 main ()
15815 mkdir("foo");
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_compile "$LINENO"; then :
15821 wine_cv_one_arg_mkdir=yes
15822 else
15823 wine_cv_one_arg_mkdir=no
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15828 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15829 if test "$wine_cv_one_arg_mkdir" = "yes"
15830 then
15832 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15837 $as_echo_n "checking for sched_setaffinity... " >&6; }
15838 if ${wine_cv_have_sched_setaffinity+:} false; then :
15839 $as_echo_n "(cached) " >&6
15840 else
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15843 #define _GNU_SOURCE
15844 #include <sched.h>
15846 main ()
15848 sched_setaffinity(0, 0, 0);
15850 return 0;
15852 _ACEOF
15853 if ac_fn_c_try_link "$LINENO"; then :
15854 wine_cv_have_sched_setaffinity=yes
15855 else
15856 wine_cv_have_sched_setaffinity=no
15858 rm -f core conftest.err conftest.$ac_objext \
15859 conftest$ac_exeext conftest.$ac_ext
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15862 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15863 if test "$wine_cv_have_sched_setaffinity" = "yes"
15864 then
15866 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15871 $as_echo_n "checking for fallocate... " >&6; }
15872 if ${wine_cv_have_fallocate+:} false; then :
15873 $as_echo_n "(cached) " >&6
15874 else
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 #define _GNU_SOURCE
15878 #include <fcntl.h>
15880 main ()
15882 fallocate(-1, 0, 0, 0);
15884 return 0;
15886 _ACEOF
15887 if ac_fn_c_try_link "$LINENO"; then :
15888 wine_cv_have_fallocate=yes
15889 else
15890 wine_cv_have_fallocate=no
15892 rm -f core conftest.err conftest.$ac_objext \
15893 conftest$ac_exeext conftest.$ac_ext
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15896 $as_echo "$wine_cv_have_fallocate" >&6; }
15897 if test "$wine_cv_have_fallocate" = "yes"
15898 then
15900 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15906 $as_echo_n "checking for inline... " >&6; }
15907 if ${ac_cv_c_inline+:} false; then :
15908 $as_echo_n "(cached) " >&6
15909 else
15910 ac_cv_c_inline=no
15911 for ac_kw in inline __inline__ __inline; do
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15914 #ifndef __cplusplus
15915 typedef int foo_t;
15916 static $ac_kw foo_t static_foo () {return 0; }
15917 $ac_kw foo_t foo () {return 0; }
15918 #endif
15920 _ACEOF
15921 if ac_fn_c_try_compile "$LINENO"; then :
15922 ac_cv_c_inline=$ac_kw
15924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925 test "$ac_cv_c_inline" != no && break
15926 done
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15930 $as_echo "$ac_cv_c_inline" >&6; }
15932 case $ac_cv_c_inline in
15933 inline | yes) ;;
15935 case $ac_cv_c_inline in
15936 no) ac_val=;;
15937 *) ac_val=$ac_cv_c_inline;;
15938 esac
15939 cat >>confdefs.h <<_ACEOF
15940 #ifndef __cplusplus
15941 #define inline $ac_val
15942 #endif
15943 _ACEOF
15945 esac
15947 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15948 if test "x$ac_cv_type_mode_t" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_MODE_T 1
15952 _ACEOF
15956 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15957 if test "x$ac_cv_type_off_t" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_OFF_T 1
15961 _ACEOF
15965 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15966 if test "x$ac_cv_type_pid_t" = xyes; then :
15968 cat >>confdefs.h <<_ACEOF
15969 #define HAVE_PID_T 1
15970 _ACEOF
15974 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15975 if test "x$ac_cv_type_size_t" = xyes; then :
15977 cat >>confdefs.h <<_ACEOF
15978 #define HAVE_SIZE_T 1
15979 _ACEOF
15983 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15984 if test "x$ac_cv_type_ssize_t" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_SSIZE_T 1
15988 _ACEOF
15992 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15993 if test "x$ac_cv_type_long_long" = xyes; then :
15995 cat >>confdefs.h <<_ACEOF
15996 #define HAVE_LONG_LONG 1
15997 _ACEOF
16001 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16002 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16004 cat >>confdefs.h <<_ACEOF
16005 #define HAVE_FSBLKCNT_T 1
16006 _ACEOF
16010 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16011 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_FSFILCNT_T 1
16015 _ACEOF
16020 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16021 #include <signal.h>
16023 if test "x$ac_cv_type_sigset_t" = xyes; then :
16025 cat >>confdefs.h <<_ACEOF
16026 #define HAVE_SIGSET_T 1
16027 _ACEOF
16032 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16034 if test "x$ac_cv_type_request_sense" = xyes; then :
16036 cat >>confdefs.h <<_ACEOF
16037 #define HAVE_REQUEST_SENSE 1
16038 _ACEOF
16044 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16045 #ifdef HAVE_SYS_SOCKET_H
16046 #include <sys/socket.h>
16047 #endif
16048 #ifdef HAVE_SYS_SOCKETVAR_H
16049 #include <sys/socketvar.h>
16050 #endif
16051 #ifdef HAVE_NET_ROUTE_H
16052 #include <net/route.h>
16053 #endif
16054 #ifdef HAVE_NETINET_IN_H
16055 #include <netinet/in.h>
16056 #endif
16057 #ifdef HAVE_NETINET_IN_SYSTM_H
16058 #include <netinet/in_systm.h>
16059 #endif
16060 #ifdef HAVE_NETINET_IP_H
16061 #include <netinet/ip.h>
16062 #endif
16063 #ifdef HAVE_NETINET_IN_PCB_H
16064 #include <netinet/in_pcb.h>
16065 #endif
16067 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16069 cat >>confdefs.h <<_ACEOF
16070 #define HAVE_STRUCT_XINPGEN 1
16071 _ACEOF
16077 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16078 #include <link.h>
16079 #endif
16080 #ifdef HAVE_SYS_LINK_H
16081 #include <sys/link.h>
16082 #endif
16084 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define HAVE_STRUCT_R_DEBUG 1
16088 _ACEOF
16092 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16093 #include <link.h>
16094 #endif
16095 #ifdef HAVE_SYS_LINK_H
16096 #include <sys/link.h>
16097 #endif
16099 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_LINK_MAP 1
16103 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16110 #include <linux/input.h>
16111 #endif
16113 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16117 _ACEOF
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16124 $as_echo_n "checking for sigaddset... " >&6; }
16125 if ${wine_cv_have_sigaddset+:} false; then :
16126 $as_echo_n "(cached) " >&6
16127 else
16128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16130 #include <signal.h>
16132 main ()
16134 sigset_t set; sigaddset(&set,SIGTERM);
16136 return 0;
16138 _ACEOF
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 wine_cv_have_sigaddset=yes
16141 else
16142 wine_cv_have_sigaddset=no
16144 rm -f core conftest.err conftest.$ac_objext \
16145 conftest$ac_exeext conftest.$ac_ext
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16148 $as_echo "$wine_cv_have_sigaddset" >&6; }
16149 if test "$wine_cv_have_sigaddset" = "yes"
16150 then
16152 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16158 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16159 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16160 $as_echo_n "(cached) " >&6
16161 else
16162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16164 #include <netdb.h>
16166 main ()
16169 char *name=0;
16170 struct hostent he;
16171 struct hostent *result;
16172 char *buf=0;
16173 int bufsize=0;
16174 int errnr;
16175 char *addr=0;
16176 int addrlen=0;
16177 int addrtype=0;
16178 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16179 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16182 return 0;
16184 _ACEOF
16185 if ac_fn_c_try_link "$LINENO"; then :
16186 wine_cv_linux_gethostbyname_r_6=yes
16187 else
16188 wine_cv_linux_gethostbyname_r_6=no
16191 rm -f core conftest.err conftest.$ac_objext \
16192 conftest$ac_exeext conftest.$ac_ext
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16196 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16197 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16198 then
16200 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16204 if test "$ac_cv_header_linux_joystick_h" = "yes"
16205 then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16207 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16208 if ${wine_cv_linux_joystick_22_api+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 #include <sys/ioctl.h>
16215 #include <sys/types.h>
16216 #include <linux/joystick.h>
16218 struct js_event blub;
16219 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16220 #error "no 2.2 header"
16221 #endif
16224 main ()
16226 /*empty*/
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_compile "$LINENO"; then :
16232 wine_cv_linux_joystick_22_api=yes
16233 else
16234 wine_cv_linux_joystick_22_api=no
16236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16240 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16241 if test "$wine_cv_linux_joystick_22_api" = "yes"
16242 then
16244 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16250 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16251 #ifdef HAVE_SYS_PARAM_H
16252 # include <sys/param.h>
16253 #endif
16254 #ifdef HAVE_SYS_MOUNT_H
16255 # include <sys/mount.h>
16256 #endif
16257 #ifdef HAVE_SYS_VFS_H
16258 # include <sys/vfs.h>
16259 #endif
16260 #ifdef HAVE_SYS_STATFS_H
16261 # include <sys/statfs.h>
16262 #endif
16264 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16266 cat >>confdefs.h <<_ACEOF
16267 #define HAVE_STRUCT_STATFS_F_BFREE 1
16268 _ACEOF
16272 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_PARAM_H
16274 # include <sys/param.h>
16275 #endif
16276 #ifdef HAVE_SYS_MOUNT_H
16277 # include <sys/mount.h>
16278 #endif
16279 #ifdef HAVE_SYS_VFS_H
16280 # include <sys/vfs.h>
16281 #endif
16282 #ifdef HAVE_SYS_STATFS_H
16283 # include <sys/statfs.h>
16284 #endif
16286 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16290 _ACEOF
16294 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16295 #ifdef HAVE_SYS_PARAM_H
16296 # include <sys/param.h>
16297 #endif
16298 #ifdef HAVE_SYS_MOUNT_H
16299 # include <sys/mount.h>
16300 #endif
16301 #ifdef HAVE_SYS_VFS_H
16302 # include <sys/vfs.h>
16303 #endif
16304 #ifdef HAVE_SYS_STATFS_H
16305 # include <sys/statfs.h>
16306 #endif
16308 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16312 _ACEOF
16316 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16317 #ifdef HAVE_SYS_PARAM_H
16318 # include <sys/param.h>
16319 #endif
16320 #ifdef HAVE_SYS_MOUNT_H
16321 # include <sys/mount.h>
16322 #endif
16323 #ifdef HAVE_SYS_VFS_H
16324 # include <sys/vfs.h>
16325 #endif
16326 #ifdef HAVE_SYS_STATFS_H
16327 # include <sys/statfs.h>
16328 #endif
16330 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16332 cat >>confdefs.h <<_ACEOF
16333 #define HAVE_STRUCT_STATFS_F_FFREE 1
16334 _ACEOF
16338 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16339 #ifdef HAVE_SYS_PARAM_H
16340 # include <sys/param.h>
16341 #endif
16342 #ifdef HAVE_SYS_MOUNT_H
16343 # include <sys/mount.h>
16344 #endif
16345 #ifdef HAVE_SYS_VFS_H
16346 # include <sys/vfs.h>
16347 #endif
16348 #ifdef HAVE_SYS_STATFS_H
16349 # include <sys/statfs.h>
16350 #endif
16352 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16356 _ACEOF
16360 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16361 #ifdef HAVE_SYS_PARAM_H
16362 # include <sys/param.h>
16363 #endif
16364 #ifdef HAVE_SYS_MOUNT_H
16365 # include <sys/mount.h>
16366 #endif
16367 #ifdef HAVE_SYS_VFS_H
16368 # include <sys/vfs.h>
16369 #endif
16370 #ifdef HAVE_SYS_STATFS_H
16371 # include <sys/statfs.h>
16372 #endif
16374 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16378 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16385 #include <sys/statvfs.h>
16386 #endif
16388 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16392 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16399 #include <dirent.h>
16400 #endif
16402 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16406 _ACEOF
16412 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16413 #ifdef HAVE_SYS_SOCKET_H
16414 # include <sys/socket.h>
16415 #endif
16416 #ifdef HAVE_SYS_UN_H
16417 # include <sys/un.h>
16418 #endif
16420 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16424 _ACEOF
16428 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16429 #ifdef HAVE_SYS_SOCKET_H
16430 # include <sys/socket.h>
16431 #endif
16432 #ifdef HAVE_SYS_UN_H
16433 # include <sys/un.h>
16434 #endif
16436 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16440 _ACEOF
16444 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16445 #ifdef HAVE_SYS_SOCKET_H
16446 # include <sys/socket.h>
16447 #endif
16448 #ifdef HAVE_SYS_UN_H
16449 # include <sys/un.h>
16450 #endif
16452 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16456 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16463 #ifdef HAVE_SCSI_SG_H
16464 #include <scsi/sg.h>
16465 #endif
16467 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16469 cat >>confdefs.h <<_ACEOF
16470 #define HAVE_SCSIREQ_T_CMD 1
16471 _ACEOF
16475 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>
16476 #ifdef HAVE_SCSI_SG_H
16477 #include <scsi/sg.h>
16478 #endif
16480 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16484 _ACEOF
16490 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16492 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_SIGINFO_T_SI_FD 1
16496 _ACEOF
16502 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16503 #ifdef HAVE_SYS_MTIO_H
16504 #include <sys/mtio.h>
16505 #endif
16507 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16511 _ACEOF
16515 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16516 #ifdef HAVE_SYS_MTIO_H
16517 #include <sys/mtio.h>
16518 #endif
16520 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16524 _ACEOF
16528 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16529 #ifdef HAVE_SYS_MTIO_H
16530 #include <sys/mtio.h>
16531 #endif
16533 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16535 cat >>confdefs.h <<_ACEOF
16536 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16537 _ACEOF
16543 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16544 #include <getopt.h>
16545 #endif
16547 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_STRUCT_OPTION_NAME 1
16551 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16558 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16560 cat >>confdefs.h <<_ACEOF
16561 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16562 _ACEOF
16566 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16567 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_STRUCT_STAT_ST_MTIM 1
16571 _ACEOF
16575 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16576 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16580 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16585 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_STAT_ST_CTIM 1
16589 _ACEOF
16593 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16594 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16598 _ACEOF
16602 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16603 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_STAT_ST_ATIM 1
16607 _ACEOF
16611 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16612 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16614 cat >>confdefs.h <<_ACEOF
16615 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16616 _ACEOF
16620 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16621 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16625 _ACEOF
16629 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16630 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16634 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16639 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16643 _ACEOF
16647 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16648 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16650 cat >>confdefs.h <<_ACEOF
16651 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16652 _ACEOF
16656 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16657 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16659 cat >>confdefs.h <<_ACEOF
16660 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16661 _ACEOF
16667 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
16668 #include <sys/types.h>
16669 #endif
16670 #ifdef HAVE_NETINET_IN_H
16671 #include <netinet/in.h>
16672 #endif
16674 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16678 _ACEOF
16684 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16685 #include <resolv.h>
16686 #endif
16688 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT___RES_STATE 1
16692 _ACEOF
16698 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
16699 #include <resolv.h>
16700 #endif
16702 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16706 _ACEOF
16712 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16713 #include <sys/types.h>
16714 #endif
16715 #ifdef HAVE_NETINET_IN_H
16716 # include <netinet/in.h>
16717 #endif
16718 #ifdef HAVE_ARPA_NAMESER_H
16719 # include <arpa/nameser.h>
16720 #endif
16722 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_NS_MSG__MSG_PTR 1
16726 _ACEOF
16732 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16733 #include <sys/types.h>
16734 #endif
16735 #ifdef HAVE_NETINET_IP_H
16736 #include <netinet/ip.h>
16737 #endif
16738 #ifdef HAVE_NETINET_IP_ICMP_H
16739 #include <netinet/ip_icmp.h>
16740 #endif
16741 #ifdef HAVE_NETINET_ICMP_VAR_H
16742 #include <netinet/icmp_var.h>
16743 #endif
16745 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16747 cat >>confdefs.h <<_ACEOF
16748 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16749 _ACEOF
16755 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16756 #include <sys/types.h>
16757 #endif
16758 #ifdef HAVE_ALIAS_H
16759 #include <alias.h>
16760 #endif
16761 #ifdef HAVE_SYS_SOCKET_H
16762 #include <sys/socket.h>
16763 #endif
16764 #ifdef HAVE_SYS_SOCKETVAR_H
16765 #include <sys/socketvar.h>
16766 #endif
16767 #ifdef HAVE_SYS_TIMEOUT_H
16768 #include <sys/timeout.h>
16769 #endif
16770 #ifdef HAVE_NETINET_IN_H
16771 #include <netinet/in.h>
16772 #endif
16773 #ifdef HAVE_NETINET_IN_SYSTM_H
16774 #include <netinet/in_systm.h>
16775 #endif
16776 #ifdef HAVE_NETINET_IP_H
16777 #include <netinet/ip.h>
16778 #endif
16779 #ifdef HAVE_NETINET_IP_VAR_H
16780 #include <netinet/ip_var.h>
16781 #endif
16782 #ifdef HAVE_NETINET_IP_ICMP_H
16783 #include <netinet/ip_icmp.h>
16784 #endif
16785 #ifdef HAVE_NETINET_ICMP_VAR_H
16786 #include <netinet/icmp_var.h>
16787 #endif
16789 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16791 cat >>confdefs.h <<_ACEOF
16792 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16793 _ACEOF
16799 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16800 #include <sys/types.h>
16801 #endif
16802 #ifdef HAVE_SYS_SOCKETVAR_H
16803 #include <sys/socketvar.h>
16804 #endif
16805 #ifdef HAVE_NETINET_IN_H
16806 #include <netinet/in.h>
16807 #endif
16808 #ifdef HAVE_NETINET_IP_VAR_H
16809 #include <netinet/ip_var.h>
16810 #endif
16812 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16814 cat >>confdefs.h <<_ACEOF
16815 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16816 _ACEOF
16822 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
16823 #include <netinet/ip_var.h>
16824 #endif
16826 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16828 cat >>confdefs.h <<_ACEOF
16829 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16830 _ACEOF
16836 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16837 #include <sys/types.h>
16838 #endif
16839 #ifdef HAVE_SYS_SOCKETVAR_H
16840 #include <sys/socketvar.h>
16841 #endif
16842 #ifdef HAVE_NETINET_IN_H
16843 #include <netinet/in.h>
16844 #endif
16845 #ifdef HAVE_NETINET_TCP_H
16846 #include <netinet/tcp.h>
16847 #endif
16848 #ifdef HAVE_NETINET_TCP_VAR_H
16849 #include <netinet/tcp_var.h>
16850 #endif
16852 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16854 cat >>confdefs.h <<_ACEOF
16855 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16856 _ACEOF
16862 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
16863 #include <netinet/tcp_var.h>
16864 #endif
16866 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16868 cat >>confdefs.h <<_ACEOF
16869 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16870 _ACEOF
16876 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16877 #include <sys/types.h>
16878 #endif
16879 #ifdef HAVE_NETINET_IN_H
16880 #include <netinet/in.h>
16881 #endif
16882 #ifdef HAVE_NETINET_IP_VAR_H
16883 #include <netinet/ip_var.h>
16884 #endif
16885 #ifdef HAVE_NETINET_UDP_H
16886 #include <netinet/udp.h>
16887 #endif
16888 #ifdef HAVE_NETINET_UDP_VAR_H
16889 #include <netinet/udp_var.h>
16890 #endif
16892 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16894 cat >>confdefs.h <<_ACEOF
16895 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16896 _ACEOF
16902 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16903 #include <sys/types.h>
16904 #endif
16905 #ifdef HAVE_NET_IF_H
16906 # include <net/if.h>
16907 #endif
16909 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16911 cat >>confdefs.h <<_ACEOF
16912 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16913 _ACEOF
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16920 $as_echo_n "checking for timezone variable... " >&6; }
16921 if ${ac_cv_have_timezone+:} false; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16926 #include <time.h>
16928 main ()
16930 timezone = 1
16932 return 0;
16934 _ACEOF
16935 if ac_fn_c_try_link "$LINENO"; then :
16936 ac_cv_have_timezone="yes"
16937 else
16938 ac_cv_have_timezone="no"
16940 rm -f core conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext conftest.$ac_ext
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16944 $as_echo "$ac_cv_have_timezone" >&6; }
16945 if test "$ac_cv_have_timezone" = "yes"
16946 then
16948 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16952 $as_echo_n "checking for daylight variable... " >&6; }
16953 if ${ac_cv_have_daylight+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #include <time.h>
16960 main ()
16962 daylight = 1
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 ac_cv_have_daylight="yes"
16969 else
16970 ac_cv_have_daylight="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_daylight" >&5
16976 $as_echo "$ac_cv_have_daylight" >&6; }
16977 if test "$ac_cv_have_daylight" = "yes"
16978 then
16980 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16984 ac_save_LIBS="$LIBS"
16985 LIBS="$LIBS -lm"
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16987 $as_echo_n "checking for isfinite... " >&6; }
16988 if ${ac_cv_have_isfinite+:} false; then :
16989 $as_echo_n "(cached) " >&6
16990 else
16991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16993 #define _GNU_SOURCE
16994 #include <math.h>
16996 main ()
16998 float f = 0.0; return isfinite(f)
17000 return 0;
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"; then :
17004 ac_cv_have_isfinite="yes"
17005 else
17006 ac_cv_have_isfinite="no"
17008 rm -f core conftest.err conftest.$ac_objext \
17009 conftest$ac_exeext conftest.$ac_ext
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17012 $as_echo "$ac_cv_have_isfinite" >&6; }
17013 if test "$ac_cv_have_isfinite" = "yes"
17014 then
17016 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17021 $as_echo_n "checking for isinf... " >&6; }
17022 if ${ac_cv_have_isinf+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <math.h>
17029 main ()
17031 float f = 0.0; return isinf(f)
17033 return 0;
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_have_isinf="yes"
17038 else
17039 ac_cv_have_isinf="no"
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17045 $as_echo "$ac_cv_have_isinf" >&6; }
17046 if test "$ac_cv_have_isinf" = "yes"
17047 then
17049 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17054 $as_echo_n "checking for isnan... " >&6; }
17055 if ${ac_cv_have_isnan+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 #include <math.h>
17062 main ()
17064 float f = 0.0; return isnan(f)
17066 return 0;
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"; then :
17070 ac_cv_have_isnan="yes"
17071 else
17072 ac_cv_have_isnan="no"
17074 rm -f core conftest.err conftest.$ac_objext \
17075 conftest$ac_exeext conftest.$ac_ext
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17078 $as_echo "$ac_cv_have_isnan" >&6; }
17079 if test "$ac_cv_have_isnan" = "yes"
17080 then
17082 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17086 for ac_func in \
17087 asinh \
17088 asinhf \
17089 cbrt \
17090 cbrtf \
17091 erf \
17092 erff \
17093 exp2 \
17094 exp2f \
17095 lgamma \
17096 lgammaf \
17097 llrint \
17098 llrintf \
17099 llround \
17100 llroundf \
17101 log2 \
17102 log2f \
17103 lrint \
17104 lrintf \
17105 lround \
17106 lroundf \
17107 powl \
17108 remainder \
17109 remainderf \
17110 rint \
17111 rintf \
17112 round \
17113 roundf \
17114 trunc \
17115 truncf
17117 do :
17118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17120 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17121 cat >>confdefs.h <<_ACEOF
17122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17123 _ACEOF
17126 done
17128 LIBS="$ac_save_LIBS"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17131 $as_echo_n "checking for __builtin_clz... " >&6; }
17132 if ${ac_cv_have___builtin_clz+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17139 main ()
17141 return __builtin_clz(1)
17143 return 0;
17145 _ACEOF
17146 if ac_fn_c_try_link "$LINENO"; then :
17147 ac_cv_have___builtin_clz="yes"
17148 else
17149 ac_cv_have___builtin_clz="no"
17151 rm -f core conftest.err conftest.$ac_objext \
17152 conftest$ac_exeext conftest.$ac_ext
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17155 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17156 if test "$ac_cv_have___builtin_clz" = "yes"
17157 then
17159 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17164 $as_echo_n "checking for __builtin_popcount... " >&6; }
17165 if ${ac_cv_have___builtin_popcount+:} false; then :
17166 $as_echo_n "(cached) " >&6
17167 else
17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17172 main ()
17174 return __builtin_popcount(1)
17176 return 0;
17178 _ACEOF
17179 if ac_fn_c_try_link "$LINENO"; then :
17180 ac_cv_have___builtin_popcount="yes"
17181 else
17182 ac_cv_have___builtin_popcount="no"
17184 rm -f core conftest.err conftest.$ac_objext \
17185 conftest$ac_exeext conftest.$ac_ext
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17188 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17189 if test "$ac_cv_have___builtin_popcount" = "yes"
17190 then
17192 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17197 case $host_cpu in
17198 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17199 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17200 if ${ac_cv_cpp_def___i386__+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 #ifndef __i386__
17207 #endif
17208 _ACEOF
17209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17210 $EGREP "yes" >/dev/null 2>&1; then :
17211 ac_cv_cpp_def___i386__=yes
17212 else
17213 ac_cv_cpp_def___i386__=no
17215 rm -f conftest*
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17219 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17220 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17221 CFLAGS="$CFLAGS -D__i386__"
17222 LINTFLAGS="$LINTFLAGS -D__i386__"
17223 fi ;;
17224 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17225 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17226 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17231 #ifndef __x86_64__
17233 #endif
17234 _ACEOF
17235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17236 $EGREP "yes" >/dev/null 2>&1; then :
17237 ac_cv_cpp_def___x86_64__=yes
17238 else
17239 ac_cv_cpp_def___x86_64__=no
17241 rm -f conftest*
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17245 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17246 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17247 CFLAGS="$CFLAGS -D__x86_64__"
17248 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17249 fi ;;
17250 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17251 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17252 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 #ifndef __sparc64__
17259 #endif
17260 _ACEOF
17261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17262 $EGREP "yes" >/dev/null 2>&1; then :
17263 ac_cv_cpp_def___sparc64__=yes
17264 else
17265 ac_cv_cpp_def___sparc64__=no
17267 rm -f conftest*
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17271 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17272 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17273 CFLAGS="$CFLAGS -D__sparc64__"
17274 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17275 fi ;;
17276 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17277 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17278 if ${ac_cv_cpp_def___sparc__+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17283 #ifndef __sparc__
17285 #endif
17286 _ACEOF
17287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17288 $EGREP "yes" >/dev/null 2>&1; then :
17289 ac_cv_cpp_def___sparc__=yes
17290 else
17291 ac_cv_cpp_def___sparc__=no
17293 rm -f conftest*
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17297 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17298 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17299 CFLAGS="$CFLAGS -D__sparc__"
17300 LINTFLAGS="$LINTFLAGS -D__sparc__"
17301 fi ;;
17302 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17303 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17304 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #ifndef __powerpc64__
17311 #endif
17312 _ACEOF
17313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17314 $EGREP "yes" >/dev/null 2>&1; then :
17315 ac_cv_cpp_def___powerpc64__=yes
17316 else
17317 ac_cv_cpp_def___powerpc64__=no
17319 rm -f conftest*
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17323 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17324 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17325 CFLAGS="$CFLAGS -D__powerpc64__"
17326 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17327 fi ;;
17328 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17329 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17330 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 #ifndef __powerpc__
17337 #endif
17338 _ACEOF
17339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17340 $EGREP "yes" >/dev/null 2>&1; then :
17341 ac_cv_cpp_def___powerpc__=yes
17342 else
17343 ac_cv_cpp_def___powerpc__=no
17345 rm -f conftest*
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17349 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17350 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17351 CFLAGS="$CFLAGS -D__powerpc__"
17352 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17353 fi ;;
17354 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17355 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17356 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17357 $as_echo_n "(cached) " >&6
17358 else
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #ifndef __aarch64__
17363 #endif
17364 _ACEOF
17365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17366 $EGREP "yes" >/dev/null 2>&1; then :
17367 ac_cv_cpp_def___aarch64__=yes
17368 else
17369 ac_cv_cpp_def___aarch64__=no
17371 rm -f conftest*
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17375 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17376 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17377 CFLAGS="$CFLAGS -D__aarch64__"
17378 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17379 fi ;;
17380 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17381 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17382 if ${ac_cv_cpp_def___arm__+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #ifndef __arm__
17389 #endif
17390 _ACEOF
17391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17392 $EGREP "yes" >/dev/null 2>&1; then :
17393 ac_cv_cpp_def___arm__=yes
17394 else
17395 ac_cv_cpp_def___arm__=no
17397 rm -f conftest*
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17401 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17402 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17403 CFLAGS="$CFLAGS -D__arm__"
17404 LINTFLAGS="$LINTFLAGS -D__arm__"
17405 fi ;;
17406 esac
17408 case $host_vendor in
17409 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17410 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17411 if ${ac_cv_cpp_def___sun__+:} false; then :
17412 $as_echo_n "(cached) " >&6
17413 else
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 #ifndef __sun__
17418 #endif
17419 _ACEOF
17420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17421 $EGREP "yes" >/dev/null 2>&1; then :
17422 ac_cv_cpp_def___sun__=yes
17423 else
17424 ac_cv_cpp_def___sun__=no
17426 rm -f conftest*
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17430 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17431 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17432 CFLAGS="$CFLAGS -D__sun__"
17433 LINTFLAGS="$LINTFLAGS -D__sun__"
17434 fi ;;
17435 esac
17441 ac_config_commands="$ac_config_commands include/stamp-h"
17443 $as_echo_n "creating Makefile rules..." >&6
17445 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17446 SOCKET_LIBS = $SOCKET_LIBS
17447 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17448 IOKIT_LIBS = $IOKIT_LIBS
17449 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17450 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17451 CORESERVICES_LIBS = $CORESERVICES_LIBS
17452 APPKIT_LIBS = $APPKIT_LIBS
17453 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17454 SECURITY_LIBS = $SECURITY_LIBS
17455 COREAUDIO_LIBS = $COREAUDIO_LIBS
17456 OPENAL_LIBS = $OPENAL_LIBS
17457 OPENCL_LIBS = $OPENCL_LIBS
17458 QUICKTIME_LIBS = $QUICKTIME_LIBS
17459 CARBON_LIBS = $CARBON_LIBS
17460 PTHREAD_LIBS = $PTHREAD_LIBS
17461 X_CFLAGS = $X_CFLAGS
17462 X_PRE_LIBS = $X_PRE_LIBS
17463 X_LIBS = $X_LIBS
17464 X_EXTRA_LIBS = $X_EXTRA_LIBS
17465 PCAP_LIBS = $PCAP_LIBS
17466 XML2_CFLAGS = $XML2_CFLAGS
17467 XML2_LIBS = $XML2_LIBS
17468 XSLT_CFLAGS = $XSLT_CFLAGS
17469 XSLT_LIBS = $XSLT_LIBS
17470 DBUS_CFLAGS = $DBUS_CFLAGS
17471 DBUS_LIBS = $DBUS_LIBS
17472 HAL_CFLAGS = $HAL_CFLAGS
17473 HAL_LIBS = $HAL_LIBS
17474 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17475 GNUTLS_LIBS = $GNUTLS_LIBS
17476 SANE_CFLAGS = $SANE_CFLAGS
17477 SANE_LIBS = $SANE_LIBS
17478 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17479 GPHOTO2_LIBS = $GPHOTO2_LIBS
17480 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17481 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17482 RESOLV_LIBS = $RESOLV_LIBS
17483 LCMS2_CFLAGS = $LCMS2_CFLAGS
17484 LCMS2_LIBS = $LCMS2_LIBS
17485 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17486 FREETYPE_LIBS = $FREETYPE_LIBS
17487 Z_LIBS = $Z_LIBS
17488 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17489 PULSE_CFLAGS = $PULSE_CFLAGS
17490 PULSE_LIBS = $PULSE_LIBS
17491 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17492 GSTREAMER_LIBS = $GSTREAMER_LIBS
17493 ALSA_LIBS = $ALSA_LIBS
17494 OSS4_CFLAGS = $OSS4_CFLAGS
17495 UDEV_CFLAGS = $UDEV_CFLAGS
17496 UDEV_LIBS = $UDEV_LIBS
17497 CAPI20_CFLAGS = $CAPI20_CFLAGS
17498 CAPI20_LIBS = $CAPI20_LIBS
17499 CUPS_CFLAGS = $CUPS_CFLAGS
17500 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17501 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17502 JPEG_CFLAGS = $JPEG_CFLAGS
17503 JPEG_LIBS = $JPEG_LIBS
17504 PNG_CFLAGS = $PNG_CFLAGS
17505 PNG_LIBS = $PNG_LIBS
17506 TIFF_CFLAGS = $TIFF_CFLAGS
17507 TIFF_LIBS = $TIFF_LIBS
17508 MPG123_CFLAGS = $MPG123_CFLAGS
17509 MPG123_LIBS = $MPG123_LIBS
17510 KSTAT_LIBS = $KSTAT_LIBS
17511 PROCSTAT_LIBS = $PROCSTAT_LIBS
17512 NETAPI_CFLAGS = $NETAPI_CFLAGS
17513 NETAPI_LIBS = $NETAPI_LIBS
17514 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17515 DL_LIBS = $DL_LIBS
17516 POLL_LIBS = $POLL_LIBS
17517 RT_LIBS = $RT_LIBS
17518 LDAP_LIBS = $LDAP_LIBS
17523 wine_fn_append_rule "
17524 # Rules automatically generated by configure
17526 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17528 .INIT: Makefile
17529 .MAKEFILEDEPS:
17530 all: Makefile
17531 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17532 @./config.status Make.tmp Makefile
17533 depend: \$(MAKEDEP) dummy
17534 \$(MAKEDEP)"
17536 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17537 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17539 if test "x$enable_fonts" != xno; then
17540 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17541 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17542 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17543 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17544 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17545 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17547 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17548 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17549 ac_config_links="$ac_config_links wine:tools/winewrapper"
17550 wine_fn_config_symlink wine
17551 if test "x$enable_win64" != xno; then
17552 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17553 wine_fn_config_symlink wine64
17556 wine_fn_config_dll acledit enable_acledit
17557 wine_fn_config_dll aclui enable_aclui implib
17558 wine_fn_config_dll activeds enable_activeds implib
17559 wine_fn_config_dll actxprxy enable_actxprxy clean
17560 wine_fn_config_lib adsiid
17561 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17562 wine_fn_config_test dlls/advapi32/tests advapi32_test
17563 wine_fn_config_dll advpack enable_advpack implib
17564 wine_fn_config_test dlls/advpack/tests advpack_test
17565 wine_fn_config_dll amstream enable_amstream clean
17566 wine_fn_config_test dlls/amstream/tests amstream_test
17567 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17568 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17570 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17571 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17572 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17573 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17577 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17579 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17580 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17581 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17582 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17583 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17584 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17585 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17586 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17587 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17588 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17590 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17591 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17592 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17593 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17595 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17596 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17597 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17599 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17601 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17602 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17603 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17604 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17605 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17606 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17608 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17609 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17610 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17612 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17613 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17614 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17616 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17620 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17621 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17624 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17626 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17628 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17630 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17632 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17633 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17640 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17645 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17649 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17651 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17652 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17654 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17665 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17666 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17672 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17682 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17683 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17684 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17685 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17686 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17690 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17691 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17692 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17693 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17694 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17695 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17696 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17697 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17698 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17699 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17700 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17701 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17702 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17703 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17704 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17705 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17706 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17707 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17708 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17709 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17710 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17711 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17712 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17713 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17714 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17715 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17716 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17717 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17718 wine_fn_config_dll apphelp enable_apphelp
17719 wine_fn_config_test dlls/apphelp/tests apphelp_test
17720 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17721 wine_fn_config_dll atl enable_atl clean,implib
17722 wine_fn_config_test dlls/atl/tests atl_test
17723 wine_fn_config_dll atl100 enable_atl100 clean,implib
17724 wine_fn_config_test dlls/atl100/tests atl100_test
17725 wine_fn_config_dll atl110 enable_atl110 clean
17726 wine_fn_config_dll atl80 enable_atl80 clean,implib
17727 wine_fn_config_test dlls/atl80/tests atl80_test
17728 wine_fn_config_dll atl90 enable_atl90 clean
17729 wine_fn_config_dll authz enable_authz
17730 wine_fn_config_dll avicap32 enable_avicap32 implib
17731 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17732 wine_fn_config_test dlls/avifil32/tests avifil32_test
17733 wine_fn_config_dll avifile.dll16 enable_win16
17734 wine_fn_config_dll avrt enable_avrt implib
17735 wine_fn_config_dll bcrypt enable_bcrypt implib
17736 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17737 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17738 wine_fn_config_dll browseui enable_browseui clean
17739 wine_fn_config_test dlls/browseui/tests browseui_test
17740 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17741 wine_fn_config_dll cabinet enable_cabinet implib
17742 wine_fn_config_test dlls/cabinet/tests cabinet_test
17743 wine_fn_config_dll capi2032 enable_capi2032 implib
17744 wine_fn_config_dll cards enable_cards implib
17745 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17746 wine_fn_config_dll clusapi enable_clusapi implib
17747 wine_fn_config_dll combase enable_combase
17748 wine_fn_config_test dlls/combase/tests combase_test
17749 wine_fn_config_dll comcat enable_comcat
17750 wine_fn_config_test dlls/comcat/tests comcat_test
17751 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17752 wine_fn_config_test dlls/comctl32/tests comctl32_test
17753 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17754 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17755 wine_fn_config_dll comm.drv16 enable_win16
17756 wine_fn_config_dll commdlg.dll16 enable_win16
17757 wine_fn_config_dll compobj.dll16 enable_win16
17758 wine_fn_config_dll compstui enable_compstui implib
17759 wine_fn_config_dll comsvcs enable_comsvcs implib
17760 wine_fn_config_dll concrt140 enable_concrt140
17761 wine_fn_config_dll connect enable_connect
17762 wine_fn_config_dll credui enable_credui clean,implib
17763 wine_fn_config_test dlls/credui/tests credui_test
17764 wine_fn_config_dll crtdll enable_crtdll
17765 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17766 wine_fn_config_test dlls/crypt32/tests crypt32_test
17767 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17768 wine_fn_config_dll cryptdll enable_cryptdll implib
17769 wine_fn_config_dll cryptext enable_cryptext
17770 wine_fn_config_dll cryptnet enable_cryptnet implib
17771 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17772 wine_fn_config_dll cryptui enable_cryptui clean,implib
17773 wine_fn_config_test dlls/cryptui/tests cryptui_test
17774 wine_fn_config_dll ctapi32 enable_ctapi32
17775 wine_fn_config_dll ctl3d.dll16 enable_win16
17776 wine_fn_config_dll ctl3d32 enable_ctl3d32
17777 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17778 wine_fn_config_dll d2d1 enable_d2d1 implib
17779 wine_fn_config_test dlls/d2d1/tests d2d1_test
17780 wine_fn_config_dll d3d10 enable_d3d10 implib
17781 wine_fn_config_test dlls/d3d10/tests d3d10_test
17782 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17783 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17784 wine_fn_config_dll d3d10core enable_d3d10core implib
17785 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17786 wine_fn_config_dll d3d11 enable_d3d11 implib
17787 wine_fn_config_test dlls/d3d11/tests d3d11_test
17788 wine_fn_config_dll d3d8 enable_d3d8 implib
17789 wine_fn_config_test dlls/d3d8/tests d3d8_test
17790 wine_fn_config_dll d3d9 enable_d3d9 implib
17791 wine_fn_config_test dlls/d3d9/tests d3d9_test
17792 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17793 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17794 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17795 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17796 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17797 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17798 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17799 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17800 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17801 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17802 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17803 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17804 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17805 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17806 wine_fn_config_dll d3dim enable_d3dim
17807 wine_fn_config_dll d3drm enable_d3drm implib
17808 wine_fn_config_test dlls/d3drm/tests d3drm_test
17809 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17810 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17811 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17812 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17813 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17814 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17815 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17816 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17817 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17818 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17819 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17820 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17821 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17822 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17823 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17824 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17825 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17826 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17827 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17828 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17829 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17830 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17831 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17832 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17833 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17834 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17835 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17836 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17837 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17838 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17839 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17840 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17841 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17842 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17843 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17844 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17845 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17846 wine_fn_config_dll davclnt enable_davclnt
17847 wine_fn_config_dll dbgeng enable_dbgeng implib
17848 wine_fn_config_dll dbghelp enable_dbghelp implib
17849 wine_fn_config_dll dciman32 enable_dciman32 implib
17850 wine_fn_config_dll ddeml.dll16 enable_win16
17851 wine_fn_config_dll ddraw enable_ddraw clean,implib
17852 wine_fn_config_test dlls/ddraw/tests ddraw_test
17853 wine_fn_config_dll ddrawex enable_ddrawex clean
17854 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17855 wine_fn_config_dll devenum enable_devenum clean
17856 wine_fn_config_test dlls/devenum/tests devenum_test
17857 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17858 wine_fn_config_dll difxapi enable_difxapi
17859 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17860 wine_fn_config_test dlls/dinput/tests dinput_test
17861 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17862 wine_fn_config_test dlls/dinput8/tests dinput8_test
17863 wine_fn_config_dll dispdib.dll16 enable_win16
17864 wine_fn_config_dll dispex enable_dispex clean
17865 wine_fn_config_test dlls/dispex/tests dispex_test
17866 wine_fn_config_dll display.drv16 enable_win16
17867 wine_fn_config_dll dmband enable_dmband clean
17868 wine_fn_config_test dlls/dmband/tests dmband_test
17869 wine_fn_config_dll dmcompos enable_dmcompos clean
17870 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17871 wine_fn_config_dll dmime enable_dmime clean
17872 wine_fn_config_test dlls/dmime/tests dmime_test
17873 wine_fn_config_dll dmloader enable_dmloader clean
17874 wine_fn_config_test dlls/dmloader/tests dmloader_test
17875 wine_fn_config_dll dmscript enable_dmscript clean
17876 wine_fn_config_test dlls/dmscript/tests dmscript_test
17877 wine_fn_config_dll dmstyle enable_dmstyle clean
17878 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17879 wine_fn_config_dll dmsynth enable_dmsynth clean
17880 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17881 wine_fn_config_dll dmusic enable_dmusic clean
17882 wine_fn_config_test dlls/dmusic/tests dmusic_test
17883 wine_fn_config_dll dmusic32 enable_dmusic32
17884 wine_fn_config_dll dnsapi enable_dnsapi implib
17885 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17886 wine_fn_config_dll dplay enable_dplay
17887 wine_fn_config_dll dplayx enable_dplayx clean,implib
17888 wine_fn_config_test dlls/dplayx/tests dplayx_test
17889 wine_fn_config_dll dpnaddr enable_dpnaddr
17890 wine_fn_config_dll dpnet enable_dpnet clean,implib
17891 wine_fn_config_test dlls/dpnet/tests dpnet_test
17892 wine_fn_config_dll dpnhpast enable_dpnhpast
17893 wine_fn_config_dll dpnlobby enable_dpnlobby
17894 wine_fn_config_dll dpvoice enable_dpvoice clean
17895 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17896 wine_fn_config_dll dpwsockx enable_dpwsockx
17897 wine_fn_config_dll drmclien enable_drmclien
17898 wine_fn_config_dll dsound enable_dsound clean,implib
17899 wine_fn_config_test dlls/dsound/tests dsound_test
17900 wine_fn_config_dll dssenh enable_dssenh
17901 wine_fn_config_test dlls/dssenh/tests dssenh_test
17902 wine_fn_config_dll dswave enable_dswave clean
17903 wine_fn_config_test dlls/dswave/tests dswave_test
17904 wine_fn_config_dll dwmapi enable_dwmapi implib
17905 wine_fn_config_dll dwrite enable_dwrite implib
17906 wine_fn_config_test dlls/dwrite/tests dwrite_test
17907 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17908 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17909 wine_fn_config_lib dxerr8
17910 wine_fn_config_lib dxerr9
17911 wine_fn_config_dll dxgi enable_dxgi implib
17912 wine_fn_config_test dlls/dxgi/tests dxgi_test
17913 wine_fn_config_lib dxguid
17914 wine_fn_config_dll dxva2 enable_dxva2
17915 wine_fn_config_dll esent enable_esent
17916 wine_fn_config_dll evr enable_evr
17917 wine_fn_config_dll explorerframe enable_explorerframe clean
17918 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17919 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17920 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
17921 wine_fn_config_dll faultrep enable_faultrep implib
17922 wine_fn_config_test dlls/faultrep/tests faultrep_test
17923 wine_fn_config_dll fltlib enable_fltlib
17924 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17925 wine_fn_config_dll fntcache enable_fntcache
17926 wine_fn_config_dll fontsub enable_fontsub
17927 wine_fn_config_dll fusion enable_fusion
17928 wine_fn_config_test dlls/fusion/tests fusion_test
17929 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17930 wine_fn_config_dll gameux enable_gameux clean
17931 wine_fn_config_test dlls/gameux/tests gameux_test
17932 wine_fn_config_dll gdi.exe16 enable_win16
17933 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17934 wine_fn_config_test dlls/gdi32/tests gdi32_test
17935 wine_fn_config_dll gdiplus enable_gdiplus implib
17936 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17937 wine_fn_config_dll glu32 enable_glu32 implib
17938 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17939 wine_fn_config_dll gpkcsp enable_gpkcsp
17940 wine_fn_config_dll hal enable_hal
17941 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17942 wine_fn_config_dll hid enable_hid implib
17943 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17944 wine_fn_config_dll hlink enable_hlink clean,implib
17945 wine_fn_config_test dlls/hlink/tests hlink_test
17946 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17947 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17948 wine_fn_config_dll httpapi enable_httpapi
17949 wine_fn_config_dll iccvid enable_iccvid clean
17950 wine_fn_config_dll icmp enable_icmp
17951 wine_fn_config_dll ieframe enable_ieframe clean,implib
17952 wine_fn_config_test dlls/ieframe/tests ieframe_test
17953 wine_fn_config_dll ifsmgr.vxd enable_win16
17954 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17955 wine_fn_config_dll imagehlp enable_imagehlp implib
17956 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17957 wine_fn_config_dll imm.dll16 enable_win16
17958 wine_fn_config_dll imm32 enable_imm32 implib
17959 wine_fn_config_test dlls/imm32/tests imm32_test
17960 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17961 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17962 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17963 wine_fn_config_dll inetmib1 enable_inetmib1
17964 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17965 wine_fn_config_dll infosoft enable_infosoft clean
17966 wine_fn_config_test dlls/infosoft/tests infosoft_test
17967 wine_fn_config_dll initpki enable_initpki
17968 wine_fn_config_dll inkobj enable_inkobj
17969 wine_fn_config_dll inseng enable_inseng clean
17970 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17971 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17972 wine_fn_config_dll iprop enable_iprop
17973 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17974 wine_fn_config_dll itircl enable_itircl
17975 wine_fn_config_dll itss enable_itss clean
17976 wine_fn_config_test dlls/itss/tests itss_test
17977 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17978 wine_fn_config_dll jscript enable_jscript clean
17979 wine_fn_config_test dlls/jscript/tests jscript_test
17980 wine_fn_config_dll jsproxy enable_jsproxy implib
17981 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17982 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17983 wine_fn_config_test dlls/kernel32/tests kernel32_test
17984 wine_fn_config_dll kernelbase enable_kernelbase
17985 wine_fn_config_dll keyboard.drv16 enable_win16
17986 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17987 wine_fn_config_dll ksuser enable_ksuser
17988 wine_fn_config_dll ktmw32 enable_ktmw32
17989 wine_fn_config_dll loadperf enable_loadperf implib
17990 wine_fn_config_dll localspl enable_localspl clean
17991 wine_fn_config_test dlls/localspl/tests localspl_test
17992 wine_fn_config_dll localui enable_localui clean
17993 wine_fn_config_test dlls/localui/tests localui_test
17994 wine_fn_config_dll lz32 enable_lz32 implib
17995 wine_fn_config_test dlls/lz32/tests lz32_test
17996 wine_fn_config_dll lzexpand.dll16 enable_win16
17997 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17998 wine_fn_config_test dlls/mapi32/tests mapi32_test
17999 wine_fn_config_dll mapistub enable_mapistub
18000 wine_fn_config_dll mciavi32 enable_mciavi32
18001 wine_fn_config_dll mcicda enable_mcicda
18002 wine_fn_config_dll mciqtz32 enable_mciqtz32
18003 wine_fn_config_dll mciseq enable_mciseq
18004 wine_fn_config_dll mciwave enable_mciwave
18005 wine_fn_config_dll mf enable_mf
18006 wine_fn_config_dll mfplat enable_mfplat
18007 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18008 wine_fn_config_dll mgmtapi enable_mgmtapi
18009 wine_fn_config_dll midimap enable_midimap
18010 wine_fn_config_dll mlang enable_mlang clean,implib
18011 wine_fn_config_test dlls/mlang/tests mlang_test
18012 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18013 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18014 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18015 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18016 wine_fn_config_dll mmdevldr.vxd enable_win16
18017 wine_fn_config_dll mmsystem.dll16 enable_win16
18018 wine_fn_config_dll monodebg.vxd enable_win16
18019 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18020 wine_fn_config_dll mouse.drv16 enable_win16
18021 wine_fn_config_dll mpr enable_mpr clean,implib
18022 wine_fn_config_test dlls/mpr/tests mpr_test
18023 wine_fn_config_dll mprapi enable_mprapi implib
18024 wine_fn_config_dll msacm.dll16 enable_win16
18025 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18026 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18027 wine_fn_config_test dlls/msacm32/tests msacm32_test
18028 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18029 wine_fn_config_dll msasn1 enable_msasn1 implib
18030 wine_fn_config_dll mscat32 enable_mscat32
18031 wine_fn_config_dll mscms enable_mscms implib
18032 wine_fn_config_test dlls/mscms/tests mscms_test
18033 wine_fn_config_dll mscoree enable_mscoree clean
18034 wine_fn_config_test dlls/mscoree/tests mscoree_test
18035 wine_fn_config_dll msctf enable_msctf clean
18036 wine_fn_config_test dlls/msctf/tests msctf_test
18037 wine_fn_config_dll msctfp enable_msctfp clean
18038 wine_fn_config_dll msdaps enable_msdaps clean
18039 wine_fn_config_dll msdelta enable_msdelta
18040 wine_fn_config_dll msdmo enable_msdmo implib
18041 wine_fn_config_test dlls/msdmo/tests msdmo_test
18042 wine_fn_config_dll msdrm enable_msdrm
18043 wine_fn_config_dll msftedit enable_msftedit
18044 wine_fn_config_dll msg711.acm enable_msg711_acm
18045 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18046 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18047 wine_fn_config_dll mshtml enable_mshtml clean,implib
18048 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18049 wine_fn_config_dll msi enable_msi clean,implib
18050 wine_fn_config_test dlls/msi/tests msi_test
18051 wine_fn_config_dll msident enable_msident clean
18052 wine_fn_config_dll msimg32 enable_msimg32 implib
18053 wine_fn_config_dll msimsg enable_msimsg
18054 wine_fn_config_dll msimtf enable_msimtf clean
18055 wine_fn_config_dll msisip enable_msisip
18056 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18057 wine_fn_config_dll msls31 enable_msls31
18058 wine_fn_config_dll msnet32 enable_msnet32
18059 wine_fn_config_dll mspatcha enable_mspatcha implib
18060 wine_fn_config_dll msports enable_msports
18061 wine_fn_config_dll msrle32 enable_msrle32 clean
18062 wine_fn_config_test dlls/msrle32/tests msrle32_test
18063 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18064 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18065 wine_fn_config_dll mssign32 enable_mssign32
18066 wine_fn_config_dll mssip32 enable_mssip32
18067 wine_fn_config_dll mstask enable_mstask clean
18068 wine_fn_config_test dlls/mstask/tests mstask_test
18069 wine_fn_config_dll msvcirt enable_msvcirt
18070 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18071 wine_fn_config_dll msvcm80 enable_msvcm80
18072 wine_fn_config_dll msvcm90 enable_msvcm90
18073 wine_fn_config_dll msvcp100 enable_msvcp100
18074 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18075 wine_fn_config_dll msvcp110 enable_msvcp110
18076 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18077 wine_fn_config_dll msvcp120 enable_msvcp120
18078 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18079 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18080 wine_fn_config_dll msvcp140 enable_msvcp140
18081 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18082 wine_fn_config_dll msvcp60 enable_msvcp60
18083 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18084 wine_fn_config_dll msvcp70 enable_msvcp70
18085 wine_fn_config_dll msvcp71 enable_msvcp71
18086 wine_fn_config_dll msvcp80 enable_msvcp80
18087 wine_fn_config_dll msvcp90 enable_msvcp90
18088 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18089 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18090 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18091 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18092 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18093 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18094 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18095 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18096 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18097 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18098 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18099 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18100 wine_fn_config_dll msvcrt enable_msvcrt implib
18101 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18102 wine_fn_config_dll msvcrt20 enable_msvcrt20
18103 wine_fn_config_dll msvcrt40 enable_msvcrt40
18104 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18105 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18106 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18107 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18108 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18109 wine_fn_config_dll msvideo.dll16 enable_win16
18110 wine_fn_config_dll mswsock enable_mswsock implib
18111 wine_fn_config_dll msxml enable_msxml clean
18112 wine_fn_config_dll msxml2 enable_msxml2 clean
18113 wine_fn_config_dll msxml3 enable_msxml3 clean
18114 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18115 wine_fn_config_dll msxml4 enable_msxml4 clean
18116 wine_fn_config_dll msxml6 enable_msxml6 clean
18117 wine_fn_config_dll ncrypt enable_ncrypt
18118 wine_fn_config_dll nddeapi enable_nddeapi implib
18119 wine_fn_config_dll ndis.sys enable_ndis_sys
18120 wine_fn_config_dll netapi32 enable_netapi32 implib
18121 wine_fn_config_test dlls/netapi32/tests netapi32_test
18122 wine_fn_config_dll netcfgx enable_netcfgx clean
18123 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18124 wine_fn_config_dll netprofm enable_netprofm clean
18125 wine_fn_config_test dlls/netprofm/tests netprofm_test
18126 wine_fn_config_dll newdev enable_newdev implib
18127 wine_fn_config_dll normaliz enable_normaliz implib
18128 wine_fn_config_dll npmshtml enable_npmshtml
18129 wine_fn_config_dll npptools enable_npptools
18130 wine_fn_config_dll ntdll enable_ntdll implib
18131 wine_fn_config_test dlls/ntdll/tests ntdll_test
18132 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18133 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18134 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18135 wine_fn_config_dll ntprint enable_ntprint
18136 wine_fn_config_test dlls/ntprint/tests ntprint_test
18137 wine_fn_config_dll objsel enable_objsel clean
18138 wine_fn_config_dll odbc32 enable_odbc32 implib
18139 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18140 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18141 wine_fn_config_dll odbccu32 enable_odbccu32
18142 wine_fn_config_dll ole2.dll16 enable_win16
18143 wine_fn_config_dll ole2conv.dll16 enable_win16
18144 wine_fn_config_dll ole2disp.dll16 enable_win16
18145 wine_fn_config_dll ole2nls.dll16 enable_win16
18146 wine_fn_config_dll ole2prox.dll16 enable_win16
18147 wine_fn_config_dll ole2thk.dll16 enable_win16
18148 wine_fn_config_dll ole32 enable_ole32 clean,implib
18149 wine_fn_config_test dlls/ole32/tests ole32_test
18150 wine_fn_config_dll oleacc enable_oleacc clean,implib
18151 wine_fn_config_test dlls/oleacc/tests oleacc_test
18152 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18153 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18154 wine_fn_config_dll olecli.dll16 enable_win16
18155 wine_fn_config_dll olecli32 enable_olecli32 implib
18156 wine_fn_config_dll oledb32 enable_oledb32 clean
18157 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18158 wine_fn_config_dll oledlg enable_oledlg clean,implib
18159 wine_fn_config_test dlls/oledlg/tests oledlg_test
18160 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18161 wine_fn_config_dll olesvr.dll16 enable_win16
18162 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18163 wine_fn_config_dll olethk32 enable_olethk32
18164 wine_fn_config_dll openal32 enable_openal32
18165 wine_fn_config_dll opencl enable_opencl
18166 wine_fn_config_dll opengl32 enable_opengl32 implib
18167 wine_fn_config_test dlls/opengl32/tests opengl32_test
18168 wine_fn_config_dll packager enable_packager clean
18169 wine_fn_config_test dlls/packager/tests packager_test
18170 wine_fn_config_dll pdh enable_pdh implib
18171 wine_fn_config_test dlls/pdh/tests pdh_test
18172 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18173 wine_fn_config_dll pidgen enable_pidgen
18174 wine_fn_config_dll powrprof enable_powrprof implib
18175 wine_fn_config_dll printui enable_printui
18176 wine_fn_config_dll prntvpt enable_prntvpt
18177 wine_fn_config_dll propsys enable_propsys clean,implib
18178 wine_fn_config_test dlls/propsys/tests propsys_test
18179 wine_fn_config_dll psapi enable_psapi implib
18180 wine_fn_config_test dlls/psapi/tests psapi_test
18181 wine_fn_config_dll pstorec enable_pstorec clean
18182 wine_fn_config_dll qcap enable_qcap
18183 wine_fn_config_test dlls/qcap/tests qcap_test
18184 wine_fn_config_dll qedit enable_qedit clean
18185 wine_fn_config_test dlls/qedit/tests qedit_test
18186 wine_fn_config_dll qmgr enable_qmgr clean
18187 wine_fn_config_test dlls/qmgr/tests qmgr_test
18188 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18189 wine_fn_config_dll quartz enable_quartz clean,implib
18190 wine_fn_config_test dlls/quartz/tests quartz_test clean
18191 wine_fn_config_dll query enable_query
18192 wine_fn_config_dll rasapi16.dll16 enable_win16
18193 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18194 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18195 wine_fn_config_dll rasdlg enable_rasdlg implib
18196 wine_fn_config_dll regapi enable_regapi
18197 wine_fn_config_dll resutils enable_resutils implib
18198 wine_fn_config_dll riched20 enable_riched20 clean,implib
18199 wine_fn_config_test dlls/riched20/tests riched20_test
18200 wine_fn_config_dll riched32 enable_riched32
18201 wine_fn_config_test dlls/riched32/tests riched32_test
18202 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18203 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18204 wine_fn_config_dll rsabase enable_rsabase
18205 wine_fn_config_dll rsaenh enable_rsaenh implib
18206 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18207 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18208 wine_fn_config_dll rtutils enable_rtutils implib
18209 wine_fn_config_dll samlib enable_samlib
18210 wine_fn_config_dll sane.ds enable_sane_ds clean
18211 wine_fn_config_dll scarddlg enable_scarddlg
18212 wine_fn_config_dll sccbase enable_sccbase
18213 wine_fn_config_dll schannel enable_schannel
18214 wine_fn_config_test dlls/schannel/tests schannel_test
18215 wine_fn_config_dll schedsvc enable_schedsvc clean
18216 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18217 wine_fn_config_dll scrrun enable_scrrun clean
18218 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18219 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18220 wine_fn_config_dll secur32 enable_secur32 implib
18221 wine_fn_config_test dlls/secur32/tests secur32_test
18222 wine_fn_config_dll security enable_security
18223 wine_fn_config_dll sensapi enable_sensapi implib
18224 wine_fn_config_dll serialui enable_serialui clean
18225 wine_fn_config_test dlls/serialui/tests serialui_test
18226 wine_fn_config_dll setupapi enable_setupapi clean,implib
18227 wine_fn_config_test dlls/setupapi/tests setupapi_test
18228 wine_fn_config_dll setupx.dll16 enable_win16
18229 wine_fn_config_dll sfc enable_sfc implib
18230 wine_fn_config_dll sfc_os enable_sfc_os implib
18231 wine_fn_config_dll shdoclc enable_shdoclc clean
18232 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18233 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18234 wine_fn_config_dll shell.dll16 enable_win16
18235 wine_fn_config_dll shell32 enable_shell32 clean,implib
18236 wine_fn_config_test dlls/shell32/tests shell32_test
18237 wine_fn_config_dll shfolder enable_shfolder implib
18238 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18239 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18240 wine_fn_config_dll slbcsp enable_slbcsp
18241 wine_fn_config_dll slc enable_slc implib
18242 wine_fn_config_test dlls/slc/tests slc_test
18243 wine_fn_config_dll snmpapi enable_snmpapi implib
18244 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18245 wine_fn_config_dll softpub enable_softpub
18246 wine_fn_config_dll sound.drv16 enable_win16
18247 wine_fn_config_dll spoolss enable_spoolss implib
18248 wine_fn_config_test dlls/spoolss/tests spoolss_test
18249 wine_fn_config_dll sspicli enable_sspicli
18250 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18251 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18252 wine_fn_config_dll sti enable_sti clean,implib
18253 wine_fn_config_test dlls/sti/tests sti_test
18254 wine_fn_config_dll storage.dll16 enable_win16
18255 wine_fn_config_dll stress.dll16 enable_win16
18256 wine_fn_config_lib strmbase
18257 wine_fn_config_lib strmiids
18258 wine_fn_config_dll svrapi enable_svrapi
18259 wine_fn_config_dll sxs enable_sxs implib
18260 wine_fn_config_test dlls/sxs/tests sxs_test
18261 wine_fn_config_dll system.drv16 enable_win16
18262 wine_fn_config_dll t2embed enable_t2embed implib
18263 wine_fn_config_test dlls/t2embed/tests t2embed_test
18264 wine_fn_config_dll tapi32 enable_tapi32 implib
18265 wine_fn_config_dll taskschd enable_taskschd clean
18266 wine_fn_config_test dlls/taskschd/tests taskschd_test
18267 wine_fn_config_dll tdi.sys enable_tdi_sys
18268 wine_fn_config_dll toolhelp.dll16 enable_win16
18269 wine_fn_config_dll traffic enable_traffic
18270 wine_fn_config_dll twain.dll16 enable_win16
18271 wine_fn_config_dll twain_32 enable_twain_32
18272 wine_fn_config_test dlls/twain_32/tests twain_32_test
18273 wine_fn_config_dll typelib.dll16 enable_win16
18274 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18275 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18276 wine_fn_config_dll unicows enable_unicows implib
18277 wine_fn_config_dll updspapi enable_updspapi
18278 wine_fn_config_dll url enable_url implib
18279 wine_fn_config_dll urlmon enable_urlmon clean,implib
18280 wine_fn_config_test dlls/urlmon/tests urlmon_test
18281 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18282 wine_fn_config_dll user.exe16 enable_win16
18283 wine_fn_config_dll user32 enable_user32 clean,implib
18284 wine_fn_config_test dlls/user32/tests user32_test
18285 wine_fn_config_dll userenv enable_userenv implib
18286 wine_fn_config_test dlls/userenv/tests userenv_test
18287 wine_fn_config_dll usp10 enable_usp10 implib
18288 wine_fn_config_test dlls/usp10/tests usp10_test
18289 wine_fn_config_lib uuid
18290 wine_fn_config_dll uxtheme enable_uxtheme implib
18291 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18292 wine_fn_config_dll vbscript enable_vbscript clean
18293 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18294 wine_fn_config_dll vcomp enable_vcomp
18295 wine_fn_config_test dlls/vcomp/tests vcomp_test
18296 wine_fn_config_dll vcomp100 enable_vcomp100
18297 wine_fn_config_dll vcomp110 enable_vcomp110
18298 wine_fn_config_dll vcomp120 enable_vcomp120
18299 wine_fn_config_dll vcomp140 enable_vcomp140
18300 wine_fn_config_dll vcomp90 enable_vcomp90
18301 wine_fn_config_dll vcruntime140 enable_vcruntime140
18302 wine_fn_config_dll vdhcp.vxd enable_win16
18303 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18304 wine_fn_config_dll ver.dll16 enable_win16
18305 wine_fn_config_dll version enable_version implib
18306 wine_fn_config_test dlls/version/tests version_test
18307 wine_fn_config_dll vmm.vxd enable_win16
18308 wine_fn_config_dll vnbt.vxd enable_win16
18309 wine_fn_config_dll vnetbios.vxd enable_win16
18310 wine_fn_config_dll vssapi enable_vssapi
18311 wine_fn_config_dll vtdapi.vxd enable_win16
18312 wine_fn_config_dll vwin32.vxd enable_win16
18313 wine_fn_config_dll w32skrnl enable_win16
18314 wine_fn_config_dll w32sys.dll16 enable_win16
18315 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18316 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18317 wine_fn_config_dll wbemprox enable_wbemprox clean
18318 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18319 wine_fn_config_dll webservices enable_webservices implib
18320 wine_fn_config_test dlls/webservices/tests webservices_test
18321 wine_fn_config_dll wer enable_wer implib
18322 wine_fn_config_test dlls/wer/tests wer_test
18323 wine_fn_config_dll wevtapi enable_wevtapi
18324 wine_fn_config_dll wiaservc enable_wiaservc clean
18325 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18326 wine_fn_config_dll wimgapi enable_wimgapi
18327 wine_fn_config_dll win32s16.dll16 enable_win16
18328 wine_fn_config_dll win87em.dll16 enable_win16
18329 wine_fn_config_dll winaspi.dll16 enable_win16
18330 wine_fn_config_dll windebug.dll16 enable_win16
18331 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18332 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18333 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18334 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18335 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18336 wine_fn_config_dll winebus.sys enable_winebus_sys
18337 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18338 wine_fn_config_lib winecrt0
18339 wine_fn_config_dll wined3d enable_wined3d implib
18340 wine_fn_config_dll winegstreamer enable_winegstreamer
18341 wine_fn_config_dll winehid.sys enable_winehid_sys
18342 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18343 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18344 wine_fn_config_dll winemapi enable_winemapi
18345 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18346 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18347 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18348 wine_fn_config_dll wineps16.drv16 enable_win16
18349 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18350 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18351 wine_fn_config_dll winex11.drv enable_winex11_drv
18352 wine_fn_config_dll wing.dll16 enable_win16
18353 wine_fn_config_dll wing32 enable_wing32
18354 wine_fn_config_dll winhttp enable_winhttp clean,implib
18355 wine_fn_config_test dlls/winhttp/tests winhttp_test
18356 wine_fn_config_dll wininet enable_wininet clean,implib
18357 wine_fn_config_test dlls/wininet/tests wininet_test
18358 wine_fn_config_dll winmm enable_winmm clean,implib
18359 wine_fn_config_test dlls/winmm/tests winmm_test
18360 wine_fn_config_dll winnls.dll16 enable_win16
18361 wine_fn_config_dll winnls32 enable_winnls32 implib
18362 wine_fn_config_dll winscard enable_winscard implib
18363 wine_fn_config_dll winsock.dll16 enable_win16
18364 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18365 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18366 wine_fn_config_dll winsta enable_winsta
18367 wine_fn_config_dll wintab.dll16 enable_win16
18368 wine_fn_config_dll wintab32 enable_wintab32 implib
18369 wine_fn_config_test dlls/wintab32/tests wintab32_test
18370 wine_fn_config_dll wintrust enable_wintrust implib
18371 wine_fn_config_test dlls/wintrust/tests wintrust_test
18372 wine_fn_config_dll wlanapi enable_wlanapi
18373 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18374 wine_fn_config_test dlls/wldap32/tests wldap32_test
18375 wine_fn_config_dll wmasf enable_wmasf
18376 wine_fn_config_dll wmi enable_wmi
18377 wine_fn_config_dll wmiutils enable_wmiutils clean
18378 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18379 wine_fn_config_dll wmp enable_wmp clean
18380 wine_fn_config_test dlls/wmp/tests wmp_test
18381 wine_fn_config_dll wmvcore enable_wmvcore
18382 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18383 wine_fn_config_dll wow32 enable_win16 implib
18384 wine_fn_config_dll wpc enable_wpc clean
18385 wine_fn_config_test dlls/wpc/tests wpc_test
18386 wine_fn_config_dll wpcap enable_wpcap
18387 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18388 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18389 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18390 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18391 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18392 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18393 wine_fn_config_dll wsock32 enable_wsock32 implib
18394 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18395 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18396 wine_fn_config_dll wuapi enable_wuapi clean
18397 wine_fn_config_dll wuaueng enable_wuaueng
18398 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18399 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18400 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18401 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18402 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18403 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18404 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18405 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18406 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18407 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18408 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18409 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18410 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18411 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18412 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18413 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18414 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18415 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18416 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18417 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18418 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18419 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18420 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18421 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18422 wine_fn_config_dll xinput1_1 enable_xinput1_1
18423 wine_fn_config_dll xinput1_2 enable_xinput1_2
18424 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18425 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18426 wine_fn_config_dll xinput1_4 enable_xinput1_4
18427 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18428 wine_fn_config_dll xmllite enable_xmllite implib
18429 wine_fn_config_test dlls/xmllite/tests xmllite_test
18430 wine_fn_config_dll xolehlp enable_xolehlp
18431 wine_fn_config_dll xpsprint enable_xpsprint
18432 wine_fn_config_dll xpssvcs enable_xpssvcs
18433 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18434 wine_fn_config_makefile include enable_include clean,install-dev
18435 wine_fn_config_makefile libs/port enable_libs_port
18436 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18437 wine_fn_config_makefile libs/wpp enable_libs_wpp
18438 wine_fn_config_makefile loader enable_loader clean,install-lib
18439 wine_fn_config_makefile po enable_po clean
18440 wine_fn_config_program arp enable_arp install
18441 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18442 wine_fn_config_program attrib enable_attrib clean,install
18443 wine_fn_config_program cabarc enable_cabarc install
18444 wine_fn_config_program cacls enable_cacls install
18445 wine_fn_config_program clock enable_clock clean,install
18446 wine_fn_config_program cmd enable_cmd clean,install
18447 wine_fn_config_test programs/cmd/tests cmd.exe_test
18448 wine_fn_config_program conhost enable_conhost install
18449 wine_fn_config_program control enable_control install
18450 wine_fn_config_program cscript enable_cscript clean,install
18451 wine_fn_config_program dpnsvr enable_dpnsvr install
18452 wine_fn_config_program dxdiag enable_dxdiag clean,install
18453 wine_fn_config_program eject enable_eject install
18454 wine_fn_config_program expand enable_expand install
18455 wine_fn_config_program explorer enable_explorer clean,install
18456 wine_fn_config_program extrac32 enable_extrac32 install
18457 wine_fn_config_program findstr enable_findstr install
18458 wine_fn_config_program fsutil enable_fsutil install
18459 wine_fn_config_program hh enable_hh install
18460 wine_fn_config_program hostname enable_hostname clean,install
18461 wine_fn_config_program icacls enable_icacls install
18462 wine_fn_config_program icinfo enable_icinfo install
18463 wine_fn_config_program iexplore enable_iexplore install
18464 wine_fn_config_program ipconfig enable_ipconfig clean,install
18465 wine_fn_config_program lodctr enable_lodctr install
18466 wine_fn_config_program mofcomp enable_mofcomp install
18467 wine_fn_config_program mshta enable_mshta install
18468 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18469 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18470 wine_fn_config_program net enable_net clean,install
18471 wine_fn_config_program netsh enable_netsh install
18472 wine_fn_config_program netstat enable_netstat clean,install
18473 wine_fn_config_program ngen enable_ngen install
18474 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18475 wine_fn_config_program oleview enable_oleview clean,install
18476 wine_fn_config_program ping enable_ping install
18477 wine_fn_config_program plugplay enable_plugplay install
18478 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18479 wine_fn_config_program progman enable_progman clean,install
18480 wine_fn_config_program reg enable_reg clean,install
18481 wine_fn_config_test programs/reg/tests reg.exe_test
18482 wine_fn_config_program regasm enable_regasm install
18483 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18484 wine_fn_config_test programs/regedit/tests regedit.exe_test
18485 wine_fn_config_program regsvcs enable_regsvcs install
18486 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18487 wine_fn_config_program rpcss enable_rpcss clean,install
18488 wine_fn_config_program rundll.exe16 enable_win16 install
18489 wine_fn_config_program rundll32 enable_rundll32 install
18490 wine_fn_config_program sc enable_sc install
18491 wine_fn_config_program schtasks enable_schtasks install
18492 wine_fn_config_program sdbinst enable_sdbinst install
18493 wine_fn_config_program secedit enable_secedit install
18494 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18495 wine_fn_config_program services enable_services clean,install
18496 wine_fn_config_test programs/services/tests services.exe_test
18497 wine_fn_config_program shutdown enable_shutdown install
18498 wine_fn_config_program spoolsv enable_spoolsv install
18499 wine_fn_config_program start enable_start clean,install
18500 wine_fn_config_program subst enable_subst install
18501 wine_fn_config_program svchost enable_svchost install
18502 wine_fn_config_program systeminfo enable_systeminfo install
18503 wine_fn_config_program taskkill enable_taskkill clean,install
18504 wine_fn_config_program tasklist enable_tasklist install
18505 wine_fn_config_program taskmgr enable_taskmgr clean,install
18506 wine_fn_config_program termsv enable_termsv install
18507 wine_fn_config_program uninstaller enable_uninstaller clean,install
18508 wine_fn_config_program unlodctr enable_unlodctr install
18509 wine_fn_config_program view enable_view clean,install
18510 wine_fn_config_program wevtutil enable_wevtutil install
18511 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18512 wine_fn_config_program winebrowser enable_winebrowser install
18513 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18514 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18515 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18516 wine_fn_config_program winedevice enable_winedevice install
18517 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18518 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18519 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18520 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18521 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18522 wine_fn_config_program winetest enable_winetest clean
18523 wine_fn_config_program winevdm enable_win16 install
18524 wine_fn_config_program winhelp.exe16 enable_win16 install
18525 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18526 wine_fn_config_program winoldap.mod16 enable_win16 install
18527 wine_fn_config_program winver enable_winver install
18528 wine_fn_config_program wmic enable_wmic clean,install
18529 wine_fn_config_program wmplayer enable_wmplayer install
18530 wine_fn_config_program wordpad enable_wordpad clean,install
18531 wine_fn_config_program write enable_write clean,install
18532 wine_fn_config_program wscript enable_wscript clean,install
18533 wine_fn_config_test programs/wscript/tests wscript.exe_test
18534 wine_fn_config_program wusa enable_wusa install
18535 wine_fn_config_program xcopy enable_xcopy clean,install
18536 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18537 wine_fn_config_makefile server enable_server clean,install-lib
18538 wine_fn_config_tool tools clean
18539 wine_fn_config_tool tools/sfnt2fon clean
18540 wine_fn_config_tool tools/widl clean,install-dev
18541 wine_fn_config_tool tools/winebuild clean,install-dev
18542 wine_fn_config_tool tools/winedump clean,install-dev
18543 wine_fn_config_tool tools/winegcc clean,install-dev
18544 wine_fn_config_tool tools/winemaker clean,install-dev
18545 wine_fn_config_tool tools/wmc clean,install-dev
18546 wine_fn_config_tool tools/wrc clean,install-dev
18549 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18550 wine_fn_append_file CONFIGURE_TARGETS "tags"
18551 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18552 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18553 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18554 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18555 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18556 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18558 if test "x$enable_tools" != xno
18559 then
18560 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18561 ac_config_commands="$ac_config_commands tools/makedep"
18565 ac_config_commands="$ac_config_commands Makefile"
18568 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18572 if test "x$enable_maintainer_mode" = xyes
18573 then
18574 wine_fn_append_rule "configure: configure.ac aclocal.m4
18575 autoconf --warnings=all
18576 include/config.h.in: include/stamp-h.in
18577 include/stamp-h.in: configure.ac aclocal.m4
18578 autoheader --warnings=all
18579 @echo timestamp > \$@"
18582 if test "x$enable_tools" != xno
18583 then
18584 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18585 @./config.status tools/makedep
18586 Makefile: tools/makedep$ac_exeext"
18587 else
18588 wine_fn_append_rule "\$(MAKEDEP):
18589 @echo \"You need to run make in $TOOLSDIR first\" && false"
18592 if test -n "$with_wine64"
18593 then
18594 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18595 fonts server:
18596 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18597 $with_wine64/loader/wine:
18598 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18599 $with_wine64/loader/wine-preloader:
18600 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18601 clean::
18602 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18603 else
18604 WINELOADER_INSTALL="wine.inf"
18606 wine_fn_append_rule "install install-lib::
18607 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18608 uninstall::
18609 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18610 case $host_os in
18611 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18612 *) wine_fn_append_rule "install install-lib::
18613 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18614 uninstall::
18615 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18616 esac
18619 $as_echo " done" >&6
18620 cat >confcache <<\_ACEOF
18621 # This file is a shell script that caches the results of configure
18622 # tests run on this system so they can be shared between configure
18623 # scripts and configure runs, see configure's option --config-cache.
18624 # It is not useful on other systems. If it contains results you don't
18625 # want to keep, you may remove or edit it.
18627 # config.status only pays attention to the cache file if you give it
18628 # the --recheck option to rerun configure.
18630 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18631 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18632 # following values.
18634 _ACEOF
18636 # The following way of writing the cache mishandles newlines in values,
18637 # but we know of no workaround that is simple, portable, and efficient.
18638 # So, we kill variables containing newlines.
18639 # Ultrix sh set writes to stderr and can't be redirected directly,
18640 # and sets the high bit in the cache file unless we assign to the vars.
18642 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18643 eval ac_val=\$$ac_var
18644 case $ac_val in #(
18645 *${as_nl}*)
18646 case $ac_var in #(
18647 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18648 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18649 esac
18650 case $ac_var in #(
18651 _ | IFS | as_nl) ;; #(
18652 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18653 *) { eval $ac_var=; unset $ac_var;} ;;
18654 esac ;;
18655 esac
18656 done
18658 (set) 2>&1 |
18659 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18660 *${as_nl}ac_space=\ *)
18661 # `set' does not quote correctly, so add quotes: double-quote
18662 # substitution turns \\\\ into \\, and sed turns \\ into \.
18663 sed -n \
18664 "s/'/'\\\\''/g;
18665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18666 ;; #(
18668 # `set' quotes correctly as required by POSIX, so do not add quotes.
18669 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18671 esac |
18672 sort
18674 sed '
18675 /^ac_cv_env_/b end
18676 t clear
18677 :clear
18678 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18679 t end
18680 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18681 :end' >>confcache
18682 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18683 if test -w "$cache_file"; then
18684 if test "x$cache_file" != "x/dev/null"; then
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18686 $as_echo "$as_me: updating cache $cache_file" >&6;}
18687 if test ! -f "$cache_file" || test -h "$cache_file"; then
18688 cat confcache >"$cache_file"
18689 else
18690 case $cache_file in #(
18691 */* | ?:*)
18692 mv -f confcache "$cache_file"$$ &&
18693 mv -f "$cache_file"$$ "$cache_file" ;; #(
18695 mv -f confcache "$cache_file" ;;
18696 esac
18699 else
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18701 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18704 rm -f confcache
18706 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18707 # Let make expand exec_prefix.
18708 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18710 DEFS=-DHAVE_CONFIG_H
18712 ac_libobjs=
18713 ac_ltlibobjs=
18715 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18716 # 1. Remove the extension, and $U if already installed.
18717 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18718 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18719 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18720 # will be set to the directory where LIBOBJS objects are built.
18721 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18722 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18723 done
18724 LIBOBJS=$ac_libobjs
18726 LTLIBOBJS=$ac_ltlibobjs
18730 : "${CONFIG_STATUS=./config.status}"
18731 ac_write_fail=0
18732 ac_clean_files_save=$ac_clean_files
18733 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18735 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18736 as_write_fail=0
18737 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18738 #! $SHELL
18739 # Generated by $as_me.
18740 # Run this file to recreate the current configuration.
18741 # Compiler output produced by configure, useful for debugging
18742 # configure, is in config.log if it exists.
18744 debug=false
18745 ac_cs_recheck=false
18746 ac_cs_silent=false
18748 SHELL=\${CONFIG_SHELL-$SHELL}
18749 export SHELL
18750 _ASEOF
18751 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18752 ## -------------------- ##
18753 ## M4sh Initialization. ##
18754 ## -------------------- ##
18756 # Be more Bourne compatible
18757 DUALCASE=1; export DUALCASE # for MKS sh
18758 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18759 emulate sh
18760 NULLCMD=:
18761 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18762 # is contrary to our usage. Disable this feature.
18763 alias -g '${1+"$@"}'='"$@"'
18764 setopt NO_GLOB_SUBST
18765 else
18766 case `(set -o) 2>/dev/null` in #(
18767 *posix*) :
18768 set -o posix ;; #(
18769 *) :
18771 esac
18775 as_nl='
18777 export as_nl
18778 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18779 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18780 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18781 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18782 # Prefer a ksh shell builtin over an external printf program on Solaris,
18783 # but without wasting forks for bash or zsh.
18784 if test -z "$BASH_VERSION$ZSH_VERSION" \
18785 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18786 as_echo='print -r --'
18787 as_echo_n='print -rn --'
18788 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18789 as_echo='printf %s\n'
18790 as_echo_n='printf %s'
18791 else
18792 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18793 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18794 as_echo_n='/usr/ucb/echo -n'
18795 else
18796 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18797 as_echo_n_body='eval
18798 arg=$1;
18799 case $arg in #(
18800 *"$as_nl"*)
18801 expr "X$arg" : "X\\(.*\\)$as_nl";
18802 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18803 esac;
18804 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18806 export as_echo_n_body
18807 as_echo_n='sh -c $as_echo_n_body as_echo'
18809 export as_echo_body
18810 as_echo='sh -c $as_echo_body as_echo'
18813 # The user is always right.
18814 if test "${PATH_SEPARATOR+set}" != set; then
18815 PATH_SEPARATOR=:
18816 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18817 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18818 PATH_SEPARATOR=';'
18823 # IFS
18824 # We need space, tab and new line, in precisely that order. Quoting is
18825 # there to prevent editors from complaining about space-tab.
18826 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18827 # splitting by setting IFS to empty value.)
18828 IFS=" "" $as_nl"
18830 # Find who we are. Look in the path if we contain no directory separator.
18831 as_myself=
18832 case $0 in #((
18833 *[\\/]* ) as_myself=$0 ;;
18834 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18835 for as_dir in $PATH
18837 IFS=$as_save_IFS
18838 test -z "$as_dir" && as_dir=.
18839 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18840 done
18841 IFS=$as_save_IFS
18844 esac
18845 # We did not find ourselves, most probably we were run as `sh COMMAND'
18846 # in which case we are not to be found in the path.
18847 if test "x$as_myself" = x; then
18848 as_myself=$0
18850 if test ! -f "$as_myself"; then
18851 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18852 exit 1
18855 # Unset variables that we do not need and which cause bugs (e.g. in
18856 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18857 # suppresses any "Segmentation fault" message there. '((' could
18858 # trigger a bug in pdksh 5.2.14.
18859 for as_var in BASH_ENV ENV MAIL MAILPATH
18860 do eval test x\${$as_var+set} = xset \
18861 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18862 done
18863 PS1='$ '
18864 PS2='> '
18865 PS4='+ '
18867 # NLS nuisances.
18868 LC_ALL=C
18869 export LC_ALL
18870 LANGUAGE=C
18871 export LANGUAGE
18873 # CDPATH.
18874 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18877 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18878 # ----------------------------------------
18879 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18880 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18881 # script with STATUS, using 1 if that was 0.
18882 as_fn_error ()
18884 as_status=$1; test $as_status -eq 0 && as_status=1
18885 if test "$4"; then
18886 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18887 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18889 $as_echo "$as_me: error: $2" >&2
18890 as_fn_exit $as_status
18891 } # as_fn_error
18894 # as_fn_set_status STATUS
18895 # -----------------------
18896 # Set $? to STATUS, without forking.
18897 as_fn_set_status ()
18899 return $1
18900 } # as_fn_set_status
18902 # as_fn_exit STATUS
18903 # -----------------
18904 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18905 as_fn_exit ()
18907 set +e
18908 as_fn_set_status $1
18909 exit $1
18910 } # as_fn_exit
18912 # as_fn_unset VAR
18913 # ---------------
18914 # Portably unset VAR.
18915 as_fn_unset ()
18917 { eval $1=; unset $1;}
18919 as_unset=as_fn_unset
18920 # as_fn_append VAR VALUE
18921 # ----------------------
18922 # Append the text in VALUE to the end of the definition contained in VAR. Take
18923 # advantage of any shell optimizations that allow amortized linear growth over
18924 # repeated appends, instead of the typical quadratic growth present in naive
18925 # implementations.
18926 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18927 eval 'as_fn_append ()
18929 eval $1+=\$2
18931 else
18932 as_fn_append ()
18934 eval $1=\$$1\$2
18936 fi # as_fn_append
18938 # as_fn_arith ARG...
18939 # ------------------
18940 # Perform arithmetic evaluation on the ARGs, and store the result in the
18941 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18942 # must be portable across $(()) and expr.
18943 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18944 eval 'as_fn_arith ()
18946 as_val=$(( $* ))
18948 else
18949 as_fn_arith ()
18951 as_val=`expr "$@" || test $? -eq 1`
18953 fi # as_fn_arith
18956 if expr a : '\(a\)' >/dev/null 2>&1 &&
18957 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18958 as_expr=expr
18959 else
18960 as_expr=false
18963 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18964 as_basename=basename
18965 else
18966 as_basename=false
18969 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18970 as_dirname=dirname
18971 else
18972 as_dirname=false
18975 as_me=`$as_basename -- "$0" ||
18976 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18977 X"$0" : 'X\(//\)$' \| \
18978 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18979 $as_echo X/"$0" |
18980 sed '/^.*\/\([^/][^/]*\)\/*$/{
18981 s//\1/
18984 /^X\/\(\/\/\)$/{
18985 s//\1/
18988 /^X\/\(\/\).*/{
18989 s//\1/
18992 s/.*/./; q'`
18994 # Avoid depending upon Character Ranges.
18995 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18996 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18997 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18998 as_cr_digits='0123456789'
18999 as_cr_alnum=$as_cr_Letters$as_cr_digits
19001 ECHO_C= ECHO_N= ECHO_T=
19002 case `echo -n x` in #(((((
19003 -n*)
19004 case `echo 'xy\c'` in
19005 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19006 xy) ECHO_C='\c';;
19007 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19008 ECHO_T=' ';;
19009 esac;;
19011 ECHO_N='-n';;
19012 esac
19014 rm -f conf$$ conf$$.exe conf$$.file
19015 if test -d conf$$.dir; then
19016 rm -f conf$$.dir/conf$$.file
19017 else
19018 rm -f conf$$.dir
19019 mkdir conf$$.dir 2>/dev/null
19021 if (echo >conf$$.file) 2>/dev/null; then
19022 if ln -s conf$$.file conf$$ 2>/dev/null; then
19023 as_ln_s='ln -s'
19024 # ... but there are two gotchas:
19025 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19026 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19027 # In both cases, we have to default to `cp -pR'.
19028 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19029 as_ln_s='cp -pR'
19030 elif ln conf$$.file conf$$ 2>/dev/null; then
19031 as_ln_s=ln
19032 else
19033 as_ln_s='cp -pR'
19035 else
19036 as_ln_s='cp -pR'
19038 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19039 rmdir conf$$.dir 2>/dev/null
19042 # as_fn_mkdir_p
19043 # -------------
19044 # Create "$as_dir" as a directory, including parents if necessary.
19045 as_fn_mkdir_p ()
19048 case $as_dir in #(
19049 -*) as_dir=./$as_dir;;
19050 esac
19051 test -d "$as_dir" || eval $as_mkdir_p || {
19052 as_dirs=
19053 while :; do
19054 case $as_dir in #(
19055 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19056 *) as_qdir=$as_dir;;
19057 esac
19058 as_dirs="'$as_qdir' $as_dirs"
19059 as_dir=`$as_dirname -- "$as_dir" ||
19060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19061 X"$as_dir" : 'X\(//\)[^/]' \| \
19062 X"$as_dir" : 'X\(//\)$' \| \
19063 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19064 $as_echo X"$as_dir" |
19065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19066 s//\1/
19069 /^X\(\/\/\)[^/].*/{
19070 s//\1/
19073 /^X\(\/\/\)$/{
19074 s//\1/
19077 /^X\(\/\).*/{
19078 s//\1/
19081 s/.*/./; q'`
19082 test -d "$as_dir" && break
19083 done
19084 test -z "$as_dirs" || eval "mkdir $as_dirs"
19085 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19088 } # as_fn_mkdir_p
19089 if mkdir -p . 2>/dev/null; then
19090 as_mkdir_p='mkdir -p "$as_dir"'
19091 else
19092 test -d ./-p && rmdir ./-p
19093 as_mkdir_p=false
19097 # as_fn_executable_p FILE
19098 # -----------------------
19099 # Test if FILE is an executable regular file.
19100 as_fn_executable_p ()
19102 test -f "$1" && test -x "$1"
19103 } # as_fn_executable_p
19104 as_test_x='test -x'
19105 as_executable_p=as_fn_executable_p
19107 # Sed expression to map a string onto a valid CPP name.
19108 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19110 # Sed expression to map a string onto a valid variable name.
19111 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19114 exec 6>&1
19115 ## ----------------------------------- ##
19116 ## Main body of $CONFIG_STATUS script. ##
19117 ## ----------------------------------- ##
19118 _ASEOF
19119 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19122 # Save the log message, to keep $0 and so on meaningful, and to
19123 # report actual input values of CONFIG_FILES etc. instead of their
19124 # values after options handling.
19125 ac_log="
19126 This file was extended by Wine $as_me 1.9.21, which was
19127 generated by GNU Autoconf 2.69. Invocation command line was
19129 CONFIG_FILES = $CONFIG_FILES
19130 CONFIG_HEADERS = $CONFIG_HEADERS
19131 CONFIG_LINKS = $CONFIG_LINKS
19132 CONFIG_COMMANDS = $CONFIG_COMMANDS
19133 $ $0 $@
19135 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19138 _ACEOF
19140 case $ac_config_files in *"
19141 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19142 esac
19144 case $ac_config_headers in *"
19145 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19146 esac
19149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19150 # Files that config.status was made for.
19151 config_files="$ac_config_files"
19152 config_headers="$ac_config_headers"
19153 config_links="$ac_config_links"
19154 config_commands="$ac_config_commands"
19156 _ACEOF
19158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19159 ac_cs_usage="\
19160 \`$as_me' instantiates files and other configuration actions
19161 from templates according to the current configuration. Unless the files
19162 and actions are specified as TAGs, all are instantiated by default.
19164 Usage: $0 [OPTION]... [TAG]...
19166 -h, --help print this help, then exit
19167 -V, --version print version number and configuration settings, then exit
19168 --config print configuration, then exit
19169 -q, --quiet, --silent
19170 do not print progress messages
19171 -d, --debug don't remove temporary files
19172 --recheck update $as_me by reconfiguring in the same conditions
19173 --file=FILE[:TEMPLATE]
19174 instantiate the configuration file FILE
19175 --header=FILE[:TEMPLATE]
19176 instantiate the configuration header FILE
19178 Configuration files:
19179 $config_files
19181 Configuration headers:
19182 $config_headers
19184 Configuration links:
19185 $config_links
19187 Configuration commands:
19188 $config_commands
19190 Report bugs to <wine-devel@winehq.org>.
19191 Wine home page: <http://www.winehq.org>."
19193 _ACEOF
19194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19195 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19196 ac_cs_version="\\
19197 Wine config.status 1.9.21
19198 configured by $0, generated by GNU Autoconf 2.69,
19199 with options \\"\$ac_cs_config\\"
19201 Copyright (C) 2012 Free Software Foundation, Inc.
19202 This config.status script is free software; the Free Software Foundation
19203 gives unlimited permission to copy, distribute and modify it."
19205 ac_pwd='$ac_pwd'
19206 srcdir='$srcdir'
19207 test -n "\$AWK" || AWK=awk
19208 _ACEOF
19210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19211 # The default lists apply if the user does not specify any file.
19212 ac_need_defaults=:
19213 while test $# != 0
19215 case $1 in
19216 --*=?*)
19217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19218 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19219 ac_shift=:
19221 --*=)
19222 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19223 ac_optarg=
19224 ac_shift=:
19227 ac_option=$1
19228 ac_optarg=$2
19229 ac_shift=shift
19231 esac
19233 case $ac_option in
19234 # Handling of the options.
19235 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19236 ac_cs_recheck=: ;;
19237 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19238 $as_echo "$ac_cs_version"; exit ;;
19239 --config | --confi | --conf | --con | --co | --c )
19240 $as_echo "$ac_cs_config"; exit ;;
19241 --debug | --debu | --deb | --de | --d | -d )
19242 debug=: ;;
19243 --file | --fil | --fi | --f )
19244 $ac_shift
19245 case $ac_optarg in
19246 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19247 '') as_fn_error $? "missing file argument" ;;
19248 esac
19249 as_fn_append CONFIG_FILES " '$ac_optarg'"
19250 ac_need_defaults=false;;
19251 --header | --heade | --head | --hea )
19252 $ac_shift
19253 case $ac_optarg in
19254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19255 esac
19256 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19257 ac_need_defaults=false;;
19258 --he | --h)
19259 # Conflict between --help and --header
19260 as_fn_error $? "ambiguous option: \`$1'
19261 Try \`$0 --help' for more information.";;
19262 --help | --hel | -h )
19263 $as_echo "$ac_cs_usage"; exit ;;
19264 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19265 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19266 ac_cs_silent=: ;;
19268 # This is an error.
19269 -*) as_fn_error $? "unrecognized option: \`$1'
19270 Try \`$0 --help' for more information." ;;
19272 *) as_fn_append ac_config_targets " $1"
19273 ac_need_defaults=false ;;
19275 esac
19276 shift
19277 done
19279 ac_configure_extra_args=
19281 if $ac_cs_silent; then
19282 exec 6>/dev/null
19283 ac_configure_extra_args="$ac_configure_extra_args --silent"
19286 _ACEOF
19287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19288 if \$ac_cs_recheck; then
19289 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19290 shift
19291 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19292 CONFIG_SHELL='$SHELL'
19293 export CONFIG_SHELL
19294 exec "\$@"
19297 _ACEOF
19298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19299 exec 5>>config.log
19301 echo
19302 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19303 ## Running $as_me. ##
19304 _ASBOX
19305 $as_echo "$ac_log"
19306 } >&5
19308 _ACEOF
19309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19311 # INIT-COMMANDS
19313 wine_fn_output_makedep ()
19315 as_dir=tools; as_fn_mkdir_p
19316 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19318 wine_fn_output_makefile ()
19320 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19321 `cat $wine_rules_file`
19322 _WINE_EOF
19323 as_fn_error $? "could not create Makefile" "$LINENO" 5
19326 _ACEOF
19328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19330 # Handling of arguments.
19331 for ac_config_target in $ac_config_targets
19333 case $ac_config_target in
19334 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19335 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19336 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19337 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19338 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19339 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19340 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19341 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19342 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19343 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19344 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19345 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19346 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19348 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19349 esac
19350 done
19353 # If the user did not use the arguments to specify the items to instantiate,
19354 # then the envvar interface is used. Set only those that are not.
19355 # We use the long form for the default assignment because of an extremely
19356 # bizarre bug on SunOS 4.1.3.
19357 if $ac_need_defaults; then
19358 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19359 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19360 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19361 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19364 # Have a temporary directory for convenience. Make it in the build tree
19365 # simply because there is no reason against having it here, and in addition,
19366 # creating and moving files from /tmp can sometimes cause problems.
19367 # Hook for its removal unless debugging.
19368 # Note that there is a small window in which the directory will not be cleaned:
19369 # after its creation but before its name has been assigned to `$tmp'.
19370 $debug ||
19372 tmp= ac_tmp=
19373 trap 'exit_status=$?
19374 : "${ac_tmp:=$tmp}"
19375 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19377 trap 'as_fn_exit 1' 1 2 13 15
19379 # Create a (secure) tmp directory for tmp files.
19382 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19383 test -d "$tmp"
19384 } ||
19386 tmp=./conf$$-$RANDOM
19387 (umask 077 && mkdir "$tmp")
19388 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19389 ac_tmp=$tmp
19391 # Set up the scripts for CONFIG_FILES section.
19392 # No need to generate them if there are no CONFIG_FILES.
19393 # This happens for instance with `./config.status config.h'.
19394 if test -n "$CONFIG_FILES"; then
19397 ac_cr=`echo X | tr X '\015'`
19398 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19399 # But we know of no other shell where ac_cr would be empty at this
19400 # point, so we can use a bashism as a fallback.
19401 if test "x$ac_cr" = x; then
19402 eval ac_cr=\$\'\\r\'
19404 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19405 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19406 ac_cs_awk_cr='\\r'
19407 else
19408 ac_cs_awk_cr=$ac_cr
19411 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19412 _ACEOF
19416 echo "cat >conf$$subs.awk <<_ACEOF" &&
19417 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19418 echo "_ACEOF"
19419 } >conf$$subs.sh ||
19420 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19421 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19422 ac_delim='%!_!# '
19423 for ac_last_try in false false false false false :; do
19424 . ./conf$$subs.sh ||
19425 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19427 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19428 if test $ac_delim_n = $ac_delim_num; then
19429 break
19430 elif $ac_last_try; then
19431 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19432 else
19433 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19435 done
19436 rm -f conf$$subs.sh
19438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19439 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19440 _ACEOF
19441 sed -n '
19443 s/^/S["/; s/!.*/"]=/
19446 s/^[^!]*!//
19447 :repl
19448 t repl
19449 s/'"$ac_delim"'$//
19450 t delim
19453 s/\(.\{148\}\)..*/\1/
19454 t more1
19455 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19458 b repl
19459 :more1
19460 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19463 s/.\{148\}//
19464 t nl
19465 :delim
19467 s/\(.\{148\}\)..*/\1/
19468 t more2
19469 s/["\\]/\\&/g; s/^/"/; s/$/"/
19472 :more2
19473 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19476 s/.\{148\}//
19477 t delim
19478 ' <conf$$subs.awk | sed '
19479 /^[^""]/{
19481 s/\n//
19483 ' >>$CONFIG_STATUS || ac_write_fail=1
19484 rm -f conf$$subs.awk
19485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19486 _ACAWK
19487 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19488 for (key in S) S_is_set[key] = 1
19489 FS = "\a"
19493 line = $ 0
19494 nfields = split(line, field, "@")
19495 substed = 0
19496 len = length(field[1])
19497 for (i = 2; i < nfields; i++) {
19498 key = field[i]
19499 keylen = length(key)
19500 if (S_is_set[key]) {
19501 value = S[key]
19502 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19503 len += length(value) + length(field[++i])
19504 substed = 1
19505 } else
19506 len += 1 + keylen
19509 print line
19512 _ACAWK
19513 _ACEOF
19514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19515 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19516 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19517 else
19519 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19520 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19521 _ACEOF
19523 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19524 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19525 # trailing colons and then remove the whole line if VPATH becomes empty
19526 # (actually we leave an empty line to preserve line numbers).
19527 if test "x$srcdir" = x.; then
19528 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19530 s///
19531 s/^/:/
19532 s/[ ]*$/:/
19533 s/:\$(srcdir):/:/g
19534 s/:\${srcdir}:/:/g
19535 s/:@srcdir@:/:/g
19536 s/^:*//
19537 s/:*$//
19539 s/\(=[ ]*\).*/\1/
19541 s/\n//
19542 s/^[^=]*=[ ]*$//
19546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19547 fi # test -n "$CONFIG_FILES"
19549 # Set up the scripts for CONFIG_HEADERS section.
19550 # No need to generate them if there are no CONFIG_HEADERS.
19551 # This happens for instance with `./config.status Makefile'.
19552 if test -n "$CONFIG_HEADERS"; then
19553 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19554 BEGIN {
19555 _ACEOF
19557 # Transform confdefs.h into an awk script `defines.awk', embedded as
19558 # here-document in config.status, that substitutes the proper values into
19559 # config.h.in to produce config.h.
19561 # Create a delimiter string that does not exist in confdefs.h, to ease
19562 # handling of long lines.
19563 ac_delim='%!_!# '
19564 for ac_last_try in false false :; do
19565 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19566 if test -z "$ac_tt"; then
19567 break
19568 elif $ac_last_try; then
19569 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19570 else
19571 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19573 done
19575 # For the awk script, D is an array of macro values keyed by name,
19576 # likewise P contains macro parameters if any. Preserve backslash
19577 # newline sequences.
19579 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19580 sed -n '
19581 s/.\{148\}/&'"$ac_delim"'/g
19582 t rset
19583 :rset
19584 s/^[ ]*#[ ]*define[ ][ ]*/ /
19585 t def
19587 :def
19588 s/\\$//
19589 t bsnl
19590 s/["\\]/\\&/g
19591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19592 D["\1"]=" \3"/p
19593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19595 :bsnl
19596 s/["\\]/\\&/g
19597 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19598 D["\1"]=" \3\\\\\\n"\\/p
19599 t cont
19600 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19601 t cont
19603 :cont
19605 s/.\{148\}/&'"$ac_delim"'/g
19606 t clear
19607 :clear
19608 s/\\$//
19609 t bsnlc
19610 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19612 :bsnlc
19613 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19614 b cont
19615 ' <confdefs.h | sed '
19616 s/'"$ac_delim"'/"\\\
19617 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19620 for (key in D) D_is_set[key] = 1
19621 FS = "\a"
19623 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19624 line = \$ 0
19625 split(line, arg, " ")
19626 if (arg[1] == "#") {
19627 defundef = arg[2]
19628 mac1 = arg[3]
19629 } else {
19630 defundef = substr(arg[1], 2)
19631 mac1 = arg[2]
19633 split(mac1, mac2, "(") #)
19634 macro = mac2[1]
19635 prefix = substr(line, 1, index(line, defundef) - 1)
19636 if (D_is_set[macro]) {
19637 # Preserve the white space surrounding the "#".
19638 print prefix "define", macro P[macro] D[macro]
19639 next
19640 } else {
19641 # Replace #undef with comments. This is necessary, for example,
19642 # in the case of _POSIX_SOURCE, which is predefined and required
19643 # on some systems where configure will not decide to define it.
19644 if (defundef == "undef") {
19645 print "/*", prefix defundef, macro, "*/"
19646 next
19650 { print }
19651 _ACAWK
19652 _ACEOF
19653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19654 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19655 fi # test -n "$CONFIG_HEADERS"
19658 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19659 shift
19660 for ac_tag
19662 case $ac_tag in
19663 :[FHLC]) ac_mode=$ac_tag; continue;;
19664 esac
19665 case $ac_mode$ac_tag in
19666 :[FHL]*:*);;
19667 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19668 :[FH]-) ac_tag=-:-;;
19669 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19670 esac
19671 ac_save_IFS=$IFS
19672 IFS=:
19673 set x $ac_tag
19674 IFS=$ac_save_IFS
19675 shift
19676 ac_file=$1
19677 shift
19679 case $ac_mode in
19680 :L) ac_source=$1;;
19681 :[FH])
19682 ac_file_inputs=
19683 for ac_f
19685 case $ac_f in
19686 -) ac_f="$ac_tmp/stdin";;
19687 *) # Look for the file first in the build tree, then in the source tree
19688 # (if the path is not absolute). The absolute path cannot be DOS-style,
19689 # because $ac_f cannot contain `:'.
19690 test -f "$ac_f" ||
19691 case $ac_f in
19692 [\\/$]*) false;;
19693 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19694 esac ||
19695 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19696 esac
19697 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19698 as_fn_append ac_file_inputs " '$ac_f'"
19699 done
19701 # Let's still pretend it is `configure' which instantiates (i.e., don't
19702 # use $as_me), people would be surprised to read:
19703 # /* config.h. Generated by config.status. */
19704 configure_input='Generated from '`
19705 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19706 `' by configure.'
19707 if test x"$ac_file" != x-; then
19708 configure_input="$ac_file. $configure_input"
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19710 $as_echo "$as_me: creating $ac_file" >&6;}
19712 # Neutralize special characters interpreted by sed in replacement strings.
19713 case $configure_input in #(
19714 *\&* | *\|* | *\\* )
19715 ac_sed_conf_input=`$as_echo "$configure_input" |
19716 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19717 *) ac_sed_conf_input=$configure_input;;
19718 esac
19720 case $ac_tag in
19721 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19723 esac
19725 esac
19727 ac_dir=`$as_dirname -- "$ac_file" ||
19728 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19729 X"$ac_file" : 'X\(//\)[^/]' \| \
19730 X"$ac_file" : 'X\(//\)$' \| \
19731 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19732 $as_echo X"$ac_file" |
19733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19734 s//\1/
19737 /^X\(\/\/\)[^/].*/{
19738 s//\1/
19741 /^X\(\/\/\)$/{
19742 s//\1/
19745 /^X\(\/\).*/{
19746 s//\1/
19749 s/.*/./; q'`
19750 as_dir="$ac_dir"; as_fn_mkdir_p
19751 ac_builddir=.
19753 case "$ac_dir" in
19754 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19756 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19757 # A ".." for each directory in $ac_dir_suffix.
19758 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19759 case $ac_top_builddir_sub in
19760 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19761 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19762 esac ;;
19763 esac
19764 ac_abs_top_builddir=$ac_pwd
19765 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19766 # for backward compatibility:
19767 ac_top_builddir=$ac_top_build_prefix
19769 case $srcdir in
19770 .) # We are building in place.
19771 ac_srcdir=.
19772 ac_top_srcdir=$ac_top_builddir_sub
19773 ac_abs_top_srcdir=$ac_pwd ;;
19774 [\\/]* | ?:[\\/]* ) # Absolute name.
19775 ac_srcdir=$srcdir$ac_dir_suffix;
19776 ac_top_srcdir=$srcdir
19777 ac_abs_top_srcdir=$srcdir ;;
19778 *) # Relative name.
19779 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19780 ac_top_srcdir=$ac_top_build_prefix$srcdir
19781 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19782 esac
19783 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19786 case $ac_mode in
19789 # CONFIG_FILE
19792 _ACEOF
19794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19795 # If the template does not know about datarootdir, expand it.
19796 # FIXME: This hack should be removed a few years after 2.60.
19797 ac_datarootdir_hack=; ac_datarootdir_seen=
19798 ac_sed_dataroot='
19799 /datarootdir/ {
19803 /@datadir@/p
19804 /@docdir@/p
19805 /@infodir@/p
19806 /@localedir@/p
19807 /@mandir@/p'
19808 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19809 *datarootdir*) ac_datarootdir_seen=yes;;
19810 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19812 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19813 _ACEOF
19814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19815 ac_datarootdir_hack='
19816 s&@datadir@&$datadir&g
19817 s&@docdir@&$docdir&g
19818 s&@infodir@&$infodir&g
19819 s&@localedir@&$localedir&g
19820 s&@mandir@&$mandir&g
19821 s&\\\${datarootdir}&$datarootdir&g' ;;
19822 esac
19823 _ACEOF
19825 # Neutralize VPATH when `$srcdir' = `.'.
19826 # Shell code in configure.ac might set extrasub.
19827 # FIXME: do we really want to maintain this feature?
19828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19829 ac_sed_extra="$ac_vpsub
19830 $extrasub
19831 _ACEOF
19832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19835 s|@configure_input@|$ac_sed_conf_input|;t t
19836 s&@top_builddir@&$ac_top_builddir_sub&;t t
19837 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19838 s&@srcdir@&$ac_srcdir&;t t
19839 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19840 s&@top_srcdir@&$ac_top_srcdir&;t t
19841 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19842 s&@builddir@&$ac_builddir&;t t
19843 s&@abs_builddir@&$ac_abs_builddir&;t t
19844 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19845 $ac_datarootdir_hack
19847 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19848 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19850 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19851 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19852 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19853 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19855 which seems to be undefined. Please make sure it is defined" >&5
19856 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19857 which seems to be undefined. Please make sure it is defined" >&2;}
19859 rm -f "$ac_tmp/stdin"
19860 case $ac_file in
19861 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19862 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19863 esac \
19864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19868 # CONFIG_HEADER
19870 if test x"$ac_file" != x-; then
19872 $as_echo "/* $configure_input */" \
19873 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19874 } >"$ac_tmp/config.h" \
19875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19876 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19877 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19878 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19879 else
19880 rm -f "$ac_file"
19881 mv "$ac_tmp/config.h" "$ac_file" \
19882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19884 else
19885 $as_echo "/* $configure_input */" \
19886 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19887 || as_fn_error $? "could not create -" "$LINENO" 5
19892 # CONFIG_LINK
19895 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19897 else
19898 # Prefer the file from the source tree if names are identical.
19899 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19900 ac_source=$srcdir/$ac_source
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19904 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19906 if test ! -r "$ac_source"; then
19907 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19909 rm -f "$ac_file"
19911 # Try a relative symlink, then a hard link, then a copy.
19912 case $ac_source in
19913 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19914 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19915 esac
19916 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19917 ln "$ac_source" "$ac_file" 2>/dev/null ||
19918 cp -p "$ac_source" "$ac_file" ||
19919 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19922 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19923 $as_echo "$as_me: executing $ac_file commands" >&6;}
19925 esac
19928 case $ac_file$ac_mode in
19929 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19930 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19931 "Makefile":C) wine_fn_output_makefile Makefile ;;
19933 esac
19934 done # for ac_tag
19937 as_fn_exit 0
19938 _ACEOF
19939 ac_clean_files=$ac_clean_files_save
19941 test $ac_write_fail = 0 ||
19942 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19945 # configure is writing to config.log, and then calls config.status.
19946 # config.status does its own redirection, appending to config.log.
19947 # Unfortunately, on DOS this fails, as config.log is still kept open
19948 # by configure, so config.status won't be able to write to it; its
19949 # output is simply discarded. So we exec the FD to /dev/null,
19950 # effectively closing config.log, so it can be properly (re)opened and
19951 # appended to by config.status. When coming back to configure, we
19952 # need to make the FD available again.
19953 if test "$no_create" != yes; then
19954 ac_cs_success=:
19955 ac_config_status_args=
19956 test "$silent" = yes &&
19957 ac_config_status_args="$ac_config_status_args --quiet"
19958 exec 5>/dev/null
19959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19960 exec 5>>config.log
19961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19962 # would make configure fail if this is the last instruction.
19963 $ac_cs_success || as_fn_exit 1
19965 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19967 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19971 if test "$no_create" = "yes"
19972 then
19973 exit 0
19976 ac_save_IFS="$IFS"
19977 if test "x$wine_notices" != x; then
19978 echo >&6
19979 IFS="|"
19980 for msg in $wine_notices; do
19981 IFS="$ac_save_IFS"
19982 if ${msg:+false} :; then :
19984 else
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19986 $as_echo "$as_me: $msg" >&6;}
19988 done
19990 IFS="|"
19991 for msg in $wine_warnings; do
19992 IFS="$ac_save_IFS"
19993 if ${msg:+false} :; then :
19995 else
19996 echo >&2
19997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19998 $as_echo "$as_me: WARNING: $msg" >&2;}
20000 done
20001 IFS="$ac_save_IFS"
20003 $as_echo "
20004 $as_me: Finished. Do '${ac_make}' to compile Wine.
20005 " >&6