riched20: Add a helper to find a colour in the colour table.
[wine.git] / configure
blobbd0a1b9b7b4ab9bd4c8f7955ae918a8f35f6fcdf
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.20.
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.20'
584 PACKAGE_STRING='Wine 1.9.20'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_core_apiquery_l1_1_0
878 enable_api_ms_win_core_appcompat_l1_1_1
879 enable_api_ms_win_core_appinit_l1_1_0
880 enable_api_ms_win_core_atoms_l1_1_0
881 enable_api_ms_win_core_bem_l1_1_0
882 enable_api_ms_win_core_com_l1_1_0
883 enable_api_ms_win_core_com_l1_1_1
884 enable_api_ms_win_core_console_l1_1_0
885 enable_api_ms_win_core_console_l2_1_0
886 enable_api_ms_win_core_datetime_l1_1_0
887 enable_api_ms_win_core_datetime_l1_1_1
888 enable_api_ms_win_core_debug_l1_1_0
889 enable_api_ms_win_core_debug_l1_1_1
890 enable_api_ms_win_core_delayload_l1_1_0
891 enable_api_ms_win_core_delayload_l1_1_1
892 enable_api_ms_win_core_errorhandling_l1_1_0
893 enable_api_ms_win_core_errorhandling_l1_1_1
894 enable_api_ms_win_core_errorhandling_l1_1_2
895 enable_api_ms_win_core_fibers_l1_1_0
896 enable_api_ms_win_core_fibers_l1_1_1
897 enable_api_ms_win_core_file_l1_1_0
898 enable_api_ms_win_core_file_l1_2_0
899 enable_api_ms_win_core_file_l1_2_1
900 enable_api_ms_win_core_file_l2_1_0
901 enable_api_ms_win_core_file_l2_1_1
902 enable_api_ms_win_core_handle_l1_1_0
903 enable_api_ms_win_core_heap_l1_1_0
904 enable_api_ms_win_core_heap_l1_2_0
905 enable_api_ms_win_core_heap_obsolete_l1_1_0
906 enable_api_ms_win_core_interlocked_l1_1_0
907 enable_api_ms_win_core_interlocked_l1_2_0
908 enable_api_ms_win_core_io_l1_1_0
909 enable_api_ms_win_core_io_l1_1_1
910 enable_api_ms_win_core_job_l1_1_0
911 enable_api_ms_win_core_job_l2_1_0
912 enable_api_ms_win_core_kernel32_legacy_l1_1_0
913 enable_api_ms_win_core_kernel32_legacy_l1_1_1
914 enable_api_ms_win_core_kernel32_private_l1_1_1
915 enable_api_ms_win_core_libraryloader_l1_1_0
916 enable_api_ms_win_core_libraryloader_l1_1_1
917 enable_api_ms_win_core_libraryloader_l1_2_0
918 enable_api_ms_win_core_libraryloader_l1_2_2
919 enable_api_ms_win_core_localization_l1_1_0
920 enable_api_ms_win_core_localization_l1_2_0
921 enable_api_ms_win_core_localization_l1_2_1
922 enable_api_ms_win_core_localization_l2_1_0
923 enable_api_ms_win_core_localization_obsolete_l1_1_0
924 enable_api_ms_win_core_localization_obsolete_l1_2_0
925 enable_api_ms_win_core_localization_private_l1_1_0
926 enable_api_ms_win_core_localregistry_l1_1_0
927 enable_api_ms_win_core_memory_l1_1_0
928 enable_api_ms_win_core_memory_l1_1_1
929 enable_api_ms_win_core_memory_l1_1_2
930 enable_api_ms_win_core_misc_l1_1_0
931 enable_api_ms_win_core_namedpipe_l1_1_0
932 enable_api_ms_win_core_namedpipe_l1_2_0
933 enable_api_ms_win_core_namespace_l1_1_0
934 enable_api_ms_win_core_normalization_l1_1_0
935 enable_api_ms_win_core_path_l1_1_0
936 enable_api_ms_win_core_privateprofile_l1_1_1
937 enable_api_ms_win_core_processenvironment_l1_1_0
938 enable_api_ms_win_core_processenvironment_l1_2_0
939 enable_api_ms_win_core_processthreads_l1_1_0
940 enable_api_ms_win_core_processthreads_l1_1_1
941 enable_api_ms_win_core_processthreads_l1_1_2
942 enable_api_ms_win_core_profile_l1_1_0
943 enable_api_ms_win_core_psapi_l1_1_0
944 enable_api_ms_win_core_realtime_l1_1_0
945 enable_api_ms_win_core_registry_l1_1_0
946 enable_api_ms_win_core_registryuserspecific_l1_1_0
947 enable_api_ms_win_core_rtlsupport_l1_1_0
948 enable_api_ms_win_core_rtlsupport_l1_2_0
949 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
950 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
951 enable_api_ms_win_core_sidebyside_l1_1_0
952 enable_api_ms_win_core_string_l1_1_0
953 enable_api_ms_win_core_string_l2_1_0
954 enable_api_ms_win_core_string_obsolete_l1_1_0
955 enable_api_ms_win_core_stringansi_l1_1_0
956 enable_api_ms_win_core_synch_l1_1_0
957 enable_api_ms_win_core_synch_l1_2_0
958 enable_api_ms_win_core_sysinfo_l1_1_0
959 enable_api_ms_win_core_sysinfo_l1_2_0
960 enable_api_ms_win_core_sysinfo_l1_2_1
961 enable_api_ms_win_core_threadpool_l1_1_0
962 enable_api_ms_win_core_threadpool_l1_2_0
963 enable_api_ms_win_core_threadpool_legacy_l1_1_0
964 enable_api_ms_win_core_timezone_l1_1_0
965 enable_api_ms_win_core_toolhelp_l1_1_0
966 enable_api_ms_win_core_url_l1_1_0
967 enable_api_ms_win_core_util_l1_1_0
968 enable_api_ms_win_core_version_l1_1_0
969 enable_api_ms_win_core_version_private_l1_1_0
970 enable_api_ms_win_core_versionansi_l1_1_0
971 enable_api_ms_win_core_windowserrorreporting_l1_1_0
972 enable_api_ms_win_core_winrt_error_l1_1_0
973 enable_api_ms_win_core_winrt_error_l1_1_1
974 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
975 enable_api_ms_win_core_winrt_l1_1_0
976 enable_api_ms_win_core_winrt_registration_l1_1_0
977 enable_api_ms_win_core_winrt_string_l1_1_0
978 enable_api_ms_win_core_wow64_l1_1_0
979 enable_api_ms_win_core_xstate_l1_1_0
980 enable_api_ms_win_core_xstate_l2_1_0
981 enable_api_ms_win_crt_conio_l1_1_0
982 enable_api_ms_win_crt_convert_l1_1_0
983 enable_api_ms_win_crt_environment_l1_1_0
984 enable_api_ms_win_crt_filesystem_l1_1_0
985 enable_api_ms_win_crt_heap_l1_1_0
986 enable_api_ms_win_crt_locale_l1_1_0
987 enable_api_ms_win_crt_math_l1_1_0
988 enable_api_ms_win_crt_multibyte_l1_1_0
989 enable_api_ms_win_crt_private_l1_1_0
990 enable_api_ms_win_crt_process_l1_1_0
991 enable_api_ms_win_crt_runtime_l1_1_0
992 enable_api_ms_win_crt_stdio_l1_1_0
993 enable_api_ms_win_crt_string_l1_1_0
994 enable_api_ms_win_crt_time_l1_1_0
995 enable_api_ms_win_crt_utility_l1_1_0
996 enable_api_ms_win_downlevel_advapi32_l1_1_0
997 enable_api_ms_win_downlevel_advapi32_l2_1_0
998 enable_api_ms_win_downlevel_normaliz_l1_1_0
999 enable_api_ms_win_downlevel_ole32_l1_1_0
1000 enable_api_ms_win_downlevel_shell32_l1_1_0
1001 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1002 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1003 enable_api_ms_win_downlevel_user32_l1_1_0
1004 enable_api_ms_win_downlevel_version_l1_1_0
1005 enable_api_ms_win_eventing_classicprovider_l1_1_0
1006 enable_api_ms_win_eventing_consumer_l1_1_0
1007 enable_api_ms_win_eventing_controller_l1_1_0
1008 enable_api_ms_win_eventing_provider_l1_1_0
1009 enable_api_ms_win_eventlog_legacy_l1_1_0
1010 enable_api_ms_win_ntuser_dc_access_l1_1_0
1011 enable_api_ms_win_security_audit_l1_1_1
1012 enable_api_ms_win_security_base_l1_1_0
1013 enable_api_ms_win_security_base_l1_2_0
1014 enable_api_ms_win_security_base_private_l1_1_1
1015 enable_api_ms_win_security_lsalookup_l1_1_0
1016 enable_api_ms_win_security_lsalookup_l1_1_1
1017 enable_api_ms_win_security_sddl_l1_1_0
1018 enable_api_ms_win_service_core_l1_1_0
1019 enable_api_ms_win_service_core_l1_1_1
1020 enable_api_ms_win_service_management_l1_1_0
1021 enable_api_ms_win_service_management_l2_1_0
1022 enable_api_ms_win_service_private_l1_1_1
1023 enable_api_ms_win_service_winsvc_l1_1_0
1024 enable_api_ms_win_service_winsvc_l1_2_0
1025 enable_api_ms_win_shell_shellcom_l1_1_0
1026 enable_api_ms_win_shell_shellfolders_l1_1_0
1027 enable_apphelp
1028 enable_appwiz_cpl
1029 enable_atl
1030 enable_atl100
1031 enable_atl110
1032 enable_atl80
1033 enable_atl90
1034 enable_authz
1035 enable_avicap32
1036 enable_avifil32
1037 enable_avrt
1038 enable_bcrypt
1039 enable_bluetoothapis
1040 enable_browseui
1041 enable_bthprops_cpl
1042 enable_cabinet
1043 enable_capi2032
1044 enable_cards
1045 enable_cfgmgr32
1046 enable_clusapi
1047 enable_combase
1048 enable_comcat
1049 enable_comctl32
1050 enable_comdlg32
1051 enable_compstui
1052 enable_comsvcs
1053 enable_concrt140
1054 enable_connect
1055 enable_credui
1056 enable_crtdll
1057 enable_crypt32
1058 enable_cryptdlg
1059 enable_cryptdll
1060 enable_cryptext
1061 enable_cryptnet
1062 enable_cryptui
1063 enable_ctapi32
1064 enable_ctl3d32
1065 enable_d2d1
1066 enable_d3d10
1067 enable_d3d10_1
1068 enable_d3d10core
1069 enable_d3d11
1070 enable_d3d8
1071 enable_d3d9
1072 enable_d3dcompiler_33
1073 enable_d3dcompiler_34
1074 enable_d3dcompiler_35
1075 enable_d3dcompiler_36
1076 enable_d3dcompiler_37
1077 enable_d3dcompiler_38
1078 enable_d3dcompiler_39
1079 enable_d3dcompiler_40
1080 enable_d3dcompiler_41
1081 enable_d3dcompiler_42
1082 enable_d3dcompiler_43
1083 enable_d3dcompiler_46
1084 enable_d3dcompiler_47
1085 enable_d3dim
1086 enable_d3drm
1087 enable_d3dx10_33
1088 enable_d3dx10_34
1089 enable_d3dx10_35
1090 enable_d3dx10_36
1091 enable_d3dx10_37
1092 enable_d3dx10_38
1093 enable_d3dx10_39
1094 enable_d3dx10_40
1095 enable_d3dx10_41
1096 enable_d3dx10_42
1097 enable_d3dx10_43
1098 enable_d3dx11_42
1099 enable_d3dx11_43
1100 enable_d3dx9_24
1101 enable_d3dx9_25
1102 enable_d3dx9_26
1103 enable_d3dx9_27
1104 enable_d3dx9_28
1105 enable_d3dx9_29
1106 enable_d3dx9_30
1107 enable_d3dx9_31
1108 enable_d3dx9_32
1109 enable_d3dx9_33
1110 enable_d3dx9_34
1111 enable_d3dx9_35
1112 enable_d3dx9_36
1113 enable_d3dx9_37
1114 enable_d3dx9_38
1115 enable_d3dx9_39
1116 enable_d3dx9_40
1117 enable_d3dx9_41
1118 enable_d3dx9_42
1119 enable_d3dx9_43
1120 enable_d3dxof
1121 enable_davclnt
1122 enable_dbgeng
1123 enable_dbghelp
1124 enable_dciman32
1125 enable_ddraw
1126 enable_ddrawex
1127 enable_devenum
1128 enable_dhcpcsvc
1129 enable_difxapi
1130 enable_dinput
1131 enable_dinput8
1132 enable_dispex
1133 enable_dmband
1134 enable_dmcompos
1135 enable_dmime
1136 enable_dmloader
1137 enable_dmscript
1138 enable_dmstyle
1139 enable_dmsynth
1140 enable_dmusic
1141 enable_dmusic32
1142 enable_dnsapi
1143 enable_dplay
1144 enable_dplayx
1145 enable_dpnaddr
1146 enable_dpnet
1147 enable_dpnhpast
1148 enable_dpnlobby
1149 enable_dpvoice
1150 enable_dpwsockx
1151 enable_drmclien
1152 enable_dsound
1153 enable_dssenh
1154 enable_dswave
1155 enable_dwmapi
1156 enable_dwrite
1157 enable_dxdiagn
1158 enable_dxgi
1159 enable_dxva2
1160 enable_esent
1161 enable_evr
1162 enable_explorerframe
1163 enable_ext_ms_win_gdi_devcaps_l1_1_0
1164 enable_faultrep
1165 enable_fltlib
1166 enable_fltmgr_sys
1167 enable_fntcache
1168 enable_fontsub
1169 enable_fusion
1170 enable_fwpuclnt
1171 enable_gameux
1172 enable_gdi32
1173 enable_gdiplus
1174 enable_glu32
1175 enable_gphoto2_ds
1176 enable_gpkcsp
1177 enable_hal
1178 enable_hhctrl_ocx
1179 enable_hid
1180 enable_hidclass_sys
1181 enable_hlink
1182 enable_hnetcfg
1183 enable_httpapi
1184 enable_iccvid
1185 enable_icmp
1186 enable_ieframe
1187 enable_imaadp32_acm
1188 enable_imagehlp
1189 enable_imm32
1190 enable_inetcomm
1191 enable_inetcpl_cpl
1192 enable_inetmib1
1193 enable_infosoft
1194 enable_initpki
1195 enable_inkobj
1196 enable_inseng
1197 enable_iphlpapi
1198 enable_iprop
1199 enable_irprops_cpl
1200 enable_itircl
1201 enable_itss
1202 enable_joy_cpl
1203 enable_jscript
1204 enable_jsproxy
1205 enable_kernel32
1206 enable_kernelbase
1207 enable_ksuser
1208 enable_ktmw32
1209 enable_loadperf
1210 enable_localspl
1211 enable_localui
1212 enable_lz32
1213 enable_mapi32
1214 enable_mapistub
1215 enable_mciavi32
1216 enable_mcicda
1217 enable_mciqtz32
1218 enable_mciseq
1219 enable_mciwave
1220 enable_mf
1221 enable_mfplat
1222 enable_mfreadwrite
1223 enable_mgmtapi
1224 enable_midimap
1225 enable_mlang
1226 enable_mmcndmgr
1227 enable_mmdevapi
1228 enable_mountmgr_sys
1229 enable_mpr
1230 enable_mprapi
1231 enable_msacm32_drv
1232 enable_msacm32
1233 enable_msadp32_acm
1234 enable_msasn1
1235 enable_mscat32
1236 enable_mscms
1237 enable_mscoree
1238 enable_msctf
1239 enable_msctfp
1240 enable_msdaps
1241 enable_msdelta
1242 enable_msdmo
1243 enable_msdrm
1244 enable_msftedit
1245 enable_msg711_acm
1246 enable_msgsm32_acm
1247 enable_mshtml_tlb
1248 enable_mshtml
1249 enable_msi
1250 enable_msident
1251 enable_msimg32
1252 enable_msimsg
1253 enable_msimtf
1254 enable_msisip
1255 enable_msisys_ocx
1256 enable_msls31
1257 enable_msnet32
1258 enable_mspatcha
1259 enable_msports
1260 enable_msrle32
1261 enable_msscript_ocx
1262 enable_mssign32
1263 enable_mssip32
1264 enable_mstask
1265 enable_msvcirt
1266 enable_msvcm80
1267 enable_msvcm90
1268 enable_msvcp100
1269 enable_msvcp110
1270 enable_msvcp120
1271 enable_msvcp120_app
1272 enable_msvcp140
1273 enable_msvcp60
1274 enable_msvcp70
1275 enable_msvcp71
1276 enable_msvcp80
1277 enable_msvcp90
1278 enable_msvcr100
1279 enable_msvcr110
1280 enable_msvcr120
1281 enable_msvcr120_app
1282 enable_msvcr70
1283 enable_msvcr71
1284 enable_msvcr80
1285 enable_msvcr90
1286 enable_msvcrt
1287 enable_msvcrt20
1288 enable_msvcrt40
1289 enable_msvcrtd
1290 enable_msvfw32
1291 enable_msvidc32
1292 enable_mswsock
1293 enable_msxml
1294 enable_msxml2
1295 enable_msxml3
1296 enable_msxml4
1297 enable_msxml6
1298 enable_ncrypt
1299 enable_nddeapi
1300 enable_ndis_sys
1301 enable_netapi32
1302 enable_netcfgx
1303 enable_netprofm
1304 enable_newdev
1305 enable_normaliz
1306 enable_npmshtml
1307 enable_npptools
1308 enable_ntdll
1309 enable_ntdsapi
1310 enable_ntoskrnl_exe
1311 enable_ntprint
1312 enable_objsel
1313 enable_odbc32
1314 enable_odbccp32
1315 enable_odbccu32
1316 enable_ole32
1317 enable_oleacc
1318 enable_oleaut32
1319 enable_olecli32
1320 enable_oledb32
1321 enable_oledlg
1322 enable_olepro32
1323 enable_olesvr32
1324 enable_olethk32
1325 enable_openal32
1326 enable_opencl
1327 enable_opengl32
1328 enable_packager
1329 enable_pdh
1330 enable_photometadatahandler
1331 enable_pidgen
1332 enable_powrprof
1333 enable_printui
1334 enable_prntvpt
1335 enable_propsys
1336 enable_psapi
1337 enable_pstorec
1338 enable_qcap
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_rasapi32
1345 enable_rasdlg
1346 enable_regapi
1347 enable_resutils
1348 enable_riched20
1349 enable_riched32
1350 enable_rpcrt4
1351 enable_rsabase
1352 enable_rsaenh
1353 enable_rstrtmgr
1354 enable_rtutils
1355 enable_samlib
1356 enable_sane_ds
1357 enable_scarddlg
1358 enable_sccbase
1359 enable_schannel
1360 enable_schedsvc
1361 enable_scrrun
1362 enable_scsiport_sys
1363 enable_secur32
1364 enable_security
1365 enable_sensapi
1366 enable_serialui
1367 enable_setupapi
1368 enable_sfc
1369 enable_sfc_os
1370 enable_shdoclc
1371 enable_shdocvw
1372 enable_shell32
1373 enable_shfolder
1374 enable_shlwapi
1375 enable_slbcsp
1376 enable_slc
1377 enable_snmpapi
1378 enable_softpub
1379 enable_spoolss
1380 enable_sspicli
1381 enable_stdole2_tlb
1382 enable_stdole32_tlb
1383 enable_sti
1384 enable_svrapi
1385 enable_sxs
1386 enable_t2embed
1387 enable_tapi32
1388 enable_taskschd
1389 enable_tdi_sys
1390 enable_traffic
1391 enable_twain_32
1392 enable_ucrtbase
1393 enable_unicows
1394 enable_updspapi
1395 enable_url
1396 enable_urlmon
1397 enable_usbd_sys
1398 enable_user32
1399 enable_userenv
1400 enable_usp10
1401 enable_uxtheme
1402 enable_vbscript
1403 enable_vcomp
1404 enable_vcomp100
1405 enable_vcomp110
1406 enable_vcomp120
1407 enable_vcomp140
1408 enable_vcomp90
1409 enable_vcruntime140
1410 enable_vdmdbg
1411 enable_version
1412 enable_vssapi
1413 enable_wbemdisp
1414 enable_wbemprox
1415 enable_webservices
1416 enable_wer
1417 enable_wevtapi
1418 enable_wiaservc
1419 enable_wimgapi
1420 enable_windowscodecs
1421 enable_windowscodecsext
1422 enable_winealsa_drv
1423 enable_winebus_sys
1424 enable_winecoreaudio_drv
1425 enable_wined3d
1426 enable_winegstreamer
1427 enable_winejoystick_drv
1428 enable_winemac_drv
1429 enable_winemapi
1430 enable_winemp3_acm
1431 enable_wineoss_drv
1432 enable_wineps_drv
1433 enable_winepulse_drv
1434 enable_wineqtdecoder
1435 enable_winex11_drv
1436 enable_wing32
1437 enable_winhttp
1438 enable_wininet
1439 enable_winmm
1440 enable_winnls32
1441 enable_winscard
1442 enable_winspool_drv
1443 enable_winsta
1444 enable_wintab32
1445 enable_wintrust
1446 enable_wlanapi
1447 enable_wldap32
1448 enable_wmasf
1449 enable_wmi
1450 enable_wmiutils
1451 enable_wmp
1452 enable_wmvcore
1453 enable_wnaspi32
1454 enable_wpc
1455 enable_wpcap
1456 enable_ws2_32
1457 enable_wshom_ocx
1458 enable_wsnmp32
1459 enable_wsock32
1460 enable_wtsapi32
1461 enable_wuapi
1462 enable_wuaueng
1463 enable_x3daudio1_0
1464 enable_x3daudio1_1
1465 enable_x3daudio1_2
1466 enable_x3daudio1_3
1467 enable_x3daudio1_4
1468 enable_x3daudio1_5
1469 enable_x3daudio1_6
1470 enable_x3daudio1_7
1471 enable_xapofx1_1
1472 enable_xapofx1_2
1473 enable_xapofx1_3
1474 enable_xapofx1_4
1475 enable_xapofx1_5
1476 enable_xaudio2_0
1477 enable_xaudio2_1
1478 enable_xaudio2_2
1479 enable_xaudio2_3
1480 enable_xaudio2_4
1481 enable_xaudio2_5
1482 enable_xaudio2_6
1483 enable_xaudio2_7
1484 enable_xaudio2_8
1485 enable_xaudio2_9
1486 enable_xinput1_1
1487 enable_xinput1_2
1488 enable_xinput1_3
1489 enable_xinput1_4
1490 enable_xinput9_1_0
1491 enable_xmllite
1492 enable_xolehlp
1493 enable_xpsprint
1494 enable_xpssvcs
1495 enable_fonts
1496 enable_include
1497 enable_libs_port
1498 enable_libs_wine
1499 enable_libs_wpp
1500 enable_loader
1501 enable_po
1502 enable_arp
1503 enable_aspnet_regiis
1504 enable_attrib
1505 enable_cabarc
1506 enable_cacls
1507 enable_clock
1508 enable_cmd
1509 enable_conhost
1510 enable_control
1511 enable_cscript
1512 enable_dpnsvr
1513 enable_dxdiag
1514 enable_eject
1515 enable_expand
1516 enable_explorer
1517 enable_extrac32
1518 enable_findstr
1519 enable_fsutil
1520 enable_hh
1521 enable_hostname
1522 enable_icacls
1523 enable_icinfo
1524 enable_iexplore
1525 enable_ipconfig
1526 enable_lodctr
1527 enable_mofcomp
1528 enable_mshta
1529 enable_msiexec
1530 enable_msinfo32
1531 enable_net
1532 enable_netsh
1533 enable_netstat
1534 enable_ngen
1535 enable_notepad
1536 enable_oleview
1537 enable_ping
1538 enable_plugplay
1539 enable_presentationfontcache
1540 enable_progman
1541 enable_reg
1542 enable_regasm
1543 enable_regedit
1544 enable_regsvcs
1545 enable_regsvr32
1546 enable_rpcss
1547 enable_rundll32
1548 enable_sc
1549 enable_schtasks
1550 enable_sdbinst
1551 enable_secedit
1552 enable_servicemodelreg
1553 enable_services
1554 enable_shutdown
1555 enable_spoolsv
1556 enable_start
1557 enable_subst
1558 enable_svchost
1559 enable_systeminfo
1560 enable_taskkill
1561 enable_tasklist
1562 enable_taskmgr
1563 enable_termsv
1564 enable_uninstaller
1565 enable_unlodctr
1566 enable_view
1567 enable_wevtutil
1568 enable_wineboot
1569 enable_winebrowser
1570 enable_winecfg
1571 enable_wineconsole
1572 enable_winedbg
1573 enable_winedevice
1574 enable_winefile
1575 enable_winemenubuilder
1576 enable_winemine
1577 enable_winemsibuilder
1578 enable_winepath
1579 enable_winetest
1580 enable_winhlp32
1581 enable_winver
1582 enable_wmic
1583 enable_wmplayer
1584 enable_wordpad
1585 enable_write
1586 enable_wscript
1587 enable_wusa
1588 enable_xcopy
1589 enable_server
1590 enable_tools
1592 ac_precious_vars='build_alias
1593 host_alias
1594 target_alias
1596 CFLAGS
1597 LDFLAGS
1598 LIBS
1599 CPPFLAGS
1601 CXXFLAGS
1604 XMKMF
1605 XML2_CFLAGS
1606 XML2_LIBS
1607 XSLT_CFLAGS
1608 XSLT_LIBS
1609 DBUS_CFLAGS
1610 DBUS_LIBS
1611 HAL_CFLAGS
1612 HAL_LIBS
1613 GNUTLS_CFLAGS
1614 GNUTLS_LIBS
1615 SANE_CFLAGS
1616 SANE_LIBS
1617 GPHOTO2_CFLAGS
1618 GPHOTO2_LIBS
1619 GPHOTO2_PORT_CFLAGS
1620 GPHOTO2_PORT_LIBS
1621 LCMS2_CFLAGS
1622 LCMS2_LIBS
1623 FREETYPE_CFLAGS
1624 FREETYPE_LIBS
1625 PULSE_CFLAGS
1626 PULSE_LIBS
1627 GSTREAMER_CFLAGS
1628 GSTREAMER_LIBS
1629 UDEV_CFLAGS
1630 UDEV_LIBS
1631 CAPI20_CFLAGS
1632 CAPI20_LIBS
1633 FONTCONFIG_CFLAGS
1634 FONTCONFIG_LIBS
1635 JPEG_CFLAGS
1636 JPEG_LIBS
1637 PNG_CFLAGS
1638 PNG_LIBS
1639 TIFF_CFLAGS
1640 TIFF_LIBS
1641 MPG123_CFLAGS
1642 MPG123_LIBS
1643 NETAPI_CFLAGS
1644 NETAPI_LIBS'
1647 # Initialize some variables set by options.
1648 ac_init_help=
1649 ac_init_version=false
1650 ac_unrecognized_opts=
1651 ac_unrecognized_sep=
1652 # The variables have the same names as the options, with
1653 # dashes changed to underlines.
1654 cache_file=/dev/null
1655 exec_prefix=NONE
1656 no_create=
1657 no_recursion=
1658 prefix=NONE
1659 program_prefix=NONE
1660 program_suffix=NONE
1661 program_transform_name=s,x,x,
1662 silent=
1663 site=
1664 srcdir=
1665 verbose=
1666 x_includes=NONE
1667 x_libraries=NONE
1669 # Installation directory options.
1670 # These are left unexpanded so users can "make install exec_prefix=/foo"
1671 # and all the variables that are supposed to be based on exec_prefix
1672 # by default will actually change.
1673 # Use braces instead of parens because sh, perl, etc. also accept them.
1674 # (The list follows the same order as the GNU Coding Standards.)
1675 bindir='${exec_prefix}/bin'
1676 sbindir='${exec_prefix}/sbin'
1677 libexecdir='${exec_prefix}/libexec'
1678 datarootdir='${prefix}/share'
1679 datadir='${datarootdir}'
1680 sysconfdir='${prefix}/etc'
1681 sharedstatedir='${prefix}/com'
1682 localstatedir='${prefix}/var'
1683 runstatedir='${localstatedir}/run'
1684 includedir='${prefix}/include'
1685 oldincludedir='/usr/include'
1686 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1687 infodir='${datarootdir}/info'
1688 htmldir='${docdir}'
1689 dvidir='${docdir}'
1690 pdfdir='${docdir}'
1691 psdir='${docdir}'
1692 libdir='${exec_prefix}/lib'
1693 localedir='${datarootdir}/locale'
1694 mandir='${datarootdir}/man'
1696 ac_prev=
1697 ac_dashdash=
1698 for ac_option
1700 # If the previous option needs an argument, assign it.
1701 if test -n "$ac_prev"; then
1702 eval $ac_prev=\$ac_option
1703 ac_prev=
1704 continue
1707 case $ac_option in
1708 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1709 *=) ac_optarg= ;;
1710 *) ac_optarg=yes ;;
1711 esac
1713 # Accept the important Cygnus configure options, so we can diagnose typos.
1715 case $ac_dashdash$ac_option in
1717 ac_dashdash=yes ;;
1719 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1720 ac_prev=bindir ;;
1721 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1722 bindir=$ac_optarg ;;
1724 -build | --build | --buil | --bui | --bu)
1725 ac_prev=build_alias ;;
1726 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1727 build_alias=$ac_optarg ;;
1729 -cache-file | --cache-file | --cache-fil | --cache-fi \
1730 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1731 ac_prev=cache_file ;;
1732 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1733 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1734 cache_file=$ac_optarg ;;
1736 --config-cache | -C)
1737 cache_file=config.cache ;;
1739 -datadir | --datadir | --datadi | --datad)
1740 ac_prev=datadir ;;
1741 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1742 datadir=$ac_optarg ;;
1744 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1745 | --dataroo | --dataro | --datar)
1746 ac_prev=datarootdir ;;
1747 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1748 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1749 datarootdir=$ac_optarg ;;
1751 -disable-* | --disable-*)
1752 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1753 # Reject names that are not valid shell variable names.
1754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1755 as_fn_error $? "invalid feature name: $ac_useropt"
1756 ac_useropt_orig=$ac_useropt
1757 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758 case $ac_user_opts in
1760 "enable_$ac_useropt"
1761 "*) ;;
1762 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1763 ac_unrecognized_sep=', ';;
1764 esac
1765 eval enable_$ac_useropt=no ;;
1767 -docdir | --docdir | --docdi | --doc | --do)
1768 ac_prev=docdir ;;
1769 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1770 docdir=$ac_optarg ;;
1772 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1773 ac_prev=dvidir ;;
1774 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1775 dvidir=$ac_optarg ;;
1777 -enable-* | --enable-*)
1778 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1779 # Reject names that are not valid shell variable names.
1780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1781 as_fn_error $? "invalid feature name: $ac_useropt"
1782 ac_useropt_orig=$ac_useropt
1783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1784 case $ac_user_opts in
1786 "enable_$ac_useropt"
1787 "*) ;;
1788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1789 ac_unrecognized_sep=', ';;
1790 esac
1791 eval enable_$ac_useropt=\$ac_optarg ;;
1793 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1794 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1795 | --exec | --exe | --ex)
1796 ac_prev=exec_prefix ;;
1797 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1798 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1799 | --exec=* | --exe=* | --ex=*)
1800 exec_prefix=$ac_optarg ;;
1802 -gas | --gas | --ga | --g)
1803 # Obsolete; use --with-gas.
1804 with_gas=yes ;;
1806 -help | --help | --hel | --he | -h)
1807 ac_init_help=long ;;
1808 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1809 ac_init_help=recursive ;;
1810 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1811 ac_init_help=short ;;
1813 -host | --host | --hos | --ho)
1814 ac_prev=host_alias ;;
1815 -host=* | --host=* | --hos=* | --ho=*)
1816 host_alias=$ac_optarg ;;
1818 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1819 ac_prev=htmldir ;;
1820 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1821 | --ht=*)
1822 htmldir=$ac_optarg ;;
1824 -includedir | --includedir | --includedi | --included | --include \
1825 | --includ | --inclu | --incl | --inc)
1826 ac_prev=includedir ;;
1827 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1828 | --includ=* | --inclu=* | --incl=* | --inc=*)
1829 includedir=$ac_optarg ;;
1831 -infodir | --infodir | --infodi | --infod | --info | --inf)
1832 ac_prev=infodir ;;
1833 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1834 infodir=$ac_optarg ;;
1836 -libdir | --libdir | --libdi | --libd)
1837 ac_prev=libdir ;;
1838 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1839 libdir=$ac_optarg ;;
1841 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1842 | --libexe | --libex | --libe)
1843 ac_prev=libexecdir ;;
1844 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1845 | --libexe=* | --libex=* | --libe=*)
1846 libexecdir=$ac_optarg ;;
1848 -localedir | --localedir | --localedi | --localed | --locale)
1849 ac_prev=localedir ;;
1850 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1851 localedir=$ac_optarg ;;
1853 -localstatedir | --localstatedir | --localstatedi | --localstated \
1854 | --localstate | --localstat | --localsta | --localst | --locals)
1855 ac_prev=localstatedir ;;
1856 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1857 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1858 localstatedir=$ac_optarg ;;
1860 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1861 ac_prev=mandir ;;
1862 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1863 mandir=$ac_optarg ;;
1865 -nfp | --nfp | --nf)
1866 # Obsolete; use --without-fp.
1867 with_fp=no ;;
1869 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1870 | --no-cr | --no-c | -n)
1871 no_create=yes ;;
1873 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1874 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1875 no_recursion=yes ;;
1877 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1878 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1879 | --oldin | --oldi | --old | --ol | --o)
1880 ac_prev=oldincludedir ;;
1881 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1882 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1883 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1884 oldincludedir=$ac_optarg ;;
1886 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1887 ac_prev=prefix ;;
1888 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1889 prefix=$ac_optarg ;;
1891 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1892 | --program-pre | --program-pr | --program-p)
1893 ac_prev=program_prefix ;;
1894 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1895 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1896 program_prefix=$ac_optarg ;;
1898 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1899 | --program-suf | --program-su | --program-s)
1900 ac_prev=program_suffix ;;
1901 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1902 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1903 program_suffix=$ac_optarg ;;
1905 -program-transform-name | --program-transform-name \
1906 | --program-transform-nam | --program-transform-na \
1907 | --program-transform-n | --program-transform- \
1908 | --program-transform | --program-transfor \
1909 | --program-transfo | --program-transf \
1910 | --program-trans | --program-tran \
1911 | --progr-tra | --program-tr | --program-t)
1912 ac_prev=program_transform_name ;;
1913 -program-transform-name=* | --program-transform-name=* \
1914 | --program-transform-nam=* | --program-transform-na=* \
1915 | --program-transform-n=* | --program-transform-=* \
1916 | --program-transform=* | --program-transfor=* \
1917 | --program-transfo=* | --program-transf=* \
1918 | --program-trans=* | --program-tran=* \
1919 | --progr-tra=* | --program-tr=* | --program-t=*)
1920 program_transform_name=$ac_optarg ;;
1922 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1923 ac_prev=pdfdir ;;
1924 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1925 pdfdir=$ac_optarg ;;
1927 -psdir | --psdir | --psdi | --psd | --ps)
1928 ac_prev=psdir ;;
1929 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1930 psdir=$ac_optarg ;;
1932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1933 | -silent | --silent | --silen | --sile | --sil)
1934 silent=yes ;;
1936 -runstatedir | --runstatedir | --runstatedi | --runstated \
1937 | --runstate | --runstat | --runsta | --runst | --runs \
1938 | --run | --ru | --r)
1939 ac_prev=runstatedir ;;
1940 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1941 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1942 | --run=* | --ru=* | --r=*)
1943 runstatedir=$ac_optarg ;;
1945 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1946 ac_prev=sbindir ;;
1947 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1948 | --sbi=* | --sb=*)
1949 sbindir=$ac_optarg ;;
1951 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1952 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1953 | --sharedst | --shareds | --shared | --share | --shar \
1954 | --sha | --sh)
1955 ac_prev=sharedstatedir ;;
1956 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1957 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1958 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1959 | --sha=* | --sh=*)
1960 sharedstatedir=$ac_optarg ;;
1962 -site | --site | --sit)
1963 ac_prev=site ;;
1964 -site=* | --site=* | --sit=*)
1965 site=$ac_optarg ;;
1967 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1968 ac_prev=srcdir ;;
1969 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1970 srcdir=$ac_optarg ;;
1972 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1973 | --syscon | --sysco | --sysc | --sys | --sy)
1974 ac_prev=sysconfdir ;;
1975 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1976 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1977 sysconfdir=$ac_optarg ;;
1979 -target | --target | --targe | --targ | --tar | --ta | --t)
1980 ac_prev=target_alias ;;
1981 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1982 target_alias=$ac_optarg ;;
1984 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1985 verbose=yes ;;
1987 -version | --version | --versio | --versi | --vers | -V)
1988 ac_init_version=: ;;
1990 -with-* | --with-*)
1991 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1992 # Reject names that are not valid shell variable names.
1993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1994 as_fn_error $? "invalid package name: $ac_useropt"
1995 ac_useropt_orig=$ac_useropt
1996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1997 case $ac_user_opts in
1999 "with_$ac_useropt"
2000 "*) ;;
2001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2002 ac_unrecognized_sep=', ';;
2003 esac
2004 eval with_$ac_useropt=\$ac_optarg ;;
2006 -without-* | --without-*)
2007 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2008 # Reject names that are not valid shell variable names.
2009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2010 as_fn_error $? "invalid package name: $ac_useropt"
2011 ac_useropt_orig=$ac_useropt
2012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2013 case $ac_user_opts in
2015 "with_$ac_useropt"
2016 "*) ;;
2017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2018 ac_unrecognized_sep=', ';;
2019 esac
2020 eval with_$ac_useropt=no ;;
2022 --x)
2023 # Obsolete; use --with-x.
2024 with_x=yes ;;
2026 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2027 | --x-incl | --x-inc | --x-in | --x-i)
2028 ac_prev=x_includes ;;
2029 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2030 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2031 x_includes=$ac_optarg ;;
2033 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2034 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2035 ac_prev=x_libraries ;;
2036 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2037 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2038 x_libraries=$ac_optarg ;;
2040 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2041 Try \`$0 --help' for more information"
2044 *=*)
2045 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2046 # Reject names that are not valid shell variable names.
2047 case $ac_envvar in #(
2048 '' | [0-9]* | *[!_$as_cr_alnum]* )
2049 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2050 esac
2051 eval $ac_envvar=\$ac_optarg
2052 export $ac_envvar ;;
2055 # FIXME: should be removed in autoconf 3.0.
2056 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2057 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2058 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2059 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2062 esac
2063 done
2065 if test -n "$ac_prev"; then
2066 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2067 as_fn_error $? "missing argument to $ac_option"
2070 if test -n "$ac_unrecognized_opts"; then
2071 case $enable_option_checking in
2072 no) ;;
2073 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2074 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2075 esac
2078 # Check all directory arguments for consistency.
2079 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2080 datadir sysconfdir sharedstatedir localstatedir includedir \
2081 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2082 libdir localedir mandir runstatedir
2084 eval ac_val=\$$ac_var
2085 # Remove trailing slashes.
2086 case $ac_val in
2087 */ )
2088 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2089 eval $ac_var=\$ac_val;;
2090 esac
2091 # Be sure to have absolute directory names.
2092 case $ac_val in
2093 [\\/$]* | ?:[\\/]* ) continue;;
2094 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2095 esac
2096 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2097 done
2099 # There might be people who depend on the old broken behavior: `$host'
2100 # used to hold the argument of --host etc.
2101 # FIXME: To remove some day.
2102 build=$build_alias
2103 host=$host_alias
2104 target=$target_alias
2106 # FIXME: To remove some day.
2107 if test "x$host_alias" != x; then
2108 if test "x$build_alias" = x; then
2109 cross_compiling=maybe
2110 elif test "x$build_alias" != "x$host_alias"; then
2111 cross_compiling=yes
2115 ac_tool_prefix=
2116 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2118 test "$silent" = yes && exec 6>/dev/null
2121 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2122 ac_ls_di=`ls -di .` &&
2123 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2124 as_fn_error $? "working directory cannot be determined"
2125 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2126 as_fn_error $? "pwd does not report name of working directory"
2129 # Find the source files, if location was not specified.
2130 if test -z "$srcdir"; then
2131 ac_srcdir_defaulted=yes
2132 # Try the directory containing this script, then the parent directory.
2133 ac_confdir=`$as_dirname -- "$as_myself" ||
2134 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2135 X"$as_myself" : 'X\(//\)[^/]' \| \
2136 X"$as_myself" : 'X\(//\)$' \| \
2137 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2138 $as_echo X"$as_myself" |
2139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2140 s//\1/
2143 /^X\(\/\/\)[^/].*/{
2144 s//\1/
2147 /^X\(\/\/\)$/{
2148 s//\1/
2151 /^X\(\/\).*/{
2152 s//\1/
2155 s/.*/./; q'`
2156 srcdir=$ac_confdir
2157 if test ! -r "$srcdir/$ac_unique_file"; then
2158 srcdir=..
2160 else
2161 ac_srcdir_defaulted=no
2163 if test ! -r "$srcdir/$ac_unique_file"; then
2164 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2165 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2167 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2168 ac_abs_confdir=`(
2169 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2170 pwd)`
2171 # When building in place, set srcdir=.
2172 if test "$ac_abs_confdir" = "$ac_pwd"; then
2173 srcdir=.
2175 # Remove unnecessary trailing slashes from srcdir.
2176 # Double slashes in file names in object file debugging info
2177 # mess up M-x gdb in Emacs.
2178 case $srcdir in
2179 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2180 esac
2181 for ac_var in $ac_precious_vars; do
2182 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2183 eval ac_env_${ac_var}_value=\$${ac_var}
2184 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2185 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2186 done
2189 # Report the --help message.
2191 if test "$ac_init_help" = "long"; then
2192 # Omit some internal or obsolete options to make the list less imposing.
2193 # This message is too long to be a string in the A/UX 3.1 sh.
2194 cat <<_ACEOF
2195 \`configure' configures Wine 1.9.20 to adapt to many kinds of systems.
2197 Usage: $0 [OPTION]... [VAR=VALUE]...
2199 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2200 VAR=VALUE. See below for descriptions of some of the useful variables.
2202 Defaults for the options are specified in brackets.
2204 Configuration:
2205 -h, --help display this help and exit
2206 --help=short display options specific to this package
2207 --help=recursive display the short help of all the included packages
2208 -V, --version display version information and exit
2209 -q, --quiet, --silent do not print \`checking ...' messages
2210 --cache-file=FILE cache test results in FILE [disabled]
2211 -C, --config-cache alias for \`--cache-file=config.cache'
2212 -n, --no-create do not create output files
2213 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2215 Installation directories:
2216 --prefix=PREFIX install architecture-independent files in PREFIX
2217 [$ac_default_prefix]
2218 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2219 [PREFIX]
2221 By default, \`make install' will install all the files in
2222 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2223 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2224 for instance \`--prefix=\$HOME'.
2226 For better control, use the options below.
2228 Fine tuning of the installation directories:
2229 --bindir=DIR user executables [EPREFIX/bin]
2230 --sbindir=DIR system admin executables [EPREFIX/sbin]
2231 --libexecdir=DIR program executables [EPREFIX/libexec]
2232 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2233 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2234 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2235 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2236 --libdir=DIR object code libraries [EPREFIX/lib]
2237 --includedir=DIR C header files [PREFIX/include]
2238 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2239 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2240 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2241 --infodir=DIR info documentation [DATAROOTDIR/info]
2242 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2243 --mandir=DIR man documentation [DATAROOTDIR/man]
2244 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2245 --htmldir=DIR html documentation [DOCDIR]
2246 --dvidir=DIR dvi documentation [DOCDIR]
2247 --pdfdir=DIR pdf documentation [DOCDIR]
2248 --psdir=DIR ps documentation [DOCDIR]
2249 _ACEOF
2251 cat <<\_ACEOF
2253 X features:
2254 --x-includes=DIR X include files are in DIR
2255 --x-libraries=DIR X library files are in DIR
2257 System types:
2258 --build=BUILD configure for building on BUILD [guessed]
2259 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2260 _ACEOF
2263 if test -n "$ac_init_help"; then
2264 case $ac_init_help in
2265 short | recursive ) echo "Configuration of Wine 1.9.20:";;
2266 esac
2267 cat <<\_ACEOF
2269 Optional Features:
2270 --disable-option-checking ignore unrecognized --enable/--with options
2271 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2272 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2273 --disable-win16 do not include Win16 support
2274 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2275 binaries)
2276 --disable-tests do not build the regression tests
2277 --enable-maintainer-mode
2278 enable maintainer-specific build rules
2279 --disable-largefile omit support for large files
2281 Optional Packages:
2282 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2283 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2284 --without-alsa do not use the Alsa sound support
2285 --without-capi do not use CAPI (ISDN support)
2286 --without-cms do not use CMS (color management support)
2287 --without-coreaudio do not use the CoreAudio sound support
2288 --without-cups do not use CUPS
2289 --without-curses do not use (n)curses
2290 --without-dbus do not use DBus (dynamic device support)
2291 --without-fontconfig do not use fontconfig
2292 --without-freetype do not use the FreeType library
2293 --without-gettext do not use gettext
2294 --with-gettextpo use the GetTextPO library to rebuild po files
2295 --without-gphoto do not use gphoto (Digital Camera support)
2296 --without-glu do not use the GLU library
2297 --without-gnutls do not use GnuTLS (schannel support)
2298 --without-gsm do not use libgsm (GSM 06.10 codec support)
2299 --without-gstreamer do not use GStreamer (codecs support)
2300 --without-hal do not use HAL (dynamic device support)
2301 --without-jpeg do not use JPEG
2302 --without-ldap do not use LDAP
2303 --without-mpg123 do not use the mpg123 library
2304 --without-netapi do not use the Samba NetAPI library
2305 --without-openal do not use OpenAL
2306 --without-opencl do not use OpenCL
2307 --without-opengl do not use OpenGL
2308 --without-osmesa do not use the OSMesa library
2309 --without-oss do not use the OSS sound support
2310 --without-pcap do not use the Packet Capture library
2311 --without-png do not use PNG
2312 --without-pthread do not use the pthread library
2313 --without-pulse do not use PulseAudio sound support
2314 --without-sane do not use SANE (scanner support)
2315 --without-tiff do not use TIFF
2316 --without-udev do not use udev (plug and play support)
2317 --without-v4l do not use v4l1 (v4l support)
2318 --without-xcomposite do not use the Xcomposite extension
2319 --without-xcursor do not use the Xcursor extension
2320 --without-xinerama do not use Xinerama (multi-monitor support)
2321 --without-xinput do not use the Xinput extension
2322 --without-xinput2 do not use the Xinput 2 extension
2323 --without-xml do not use XML
2324 --without-xrandr do not use Xrandr (resolution changes)
2325 --without-xrender do not use the Xrender extension
2326 --without-xshape do not use the Xshape extension
2327 --without-xshm do not use XShm (shared memory extension)
2328 --without-xslt do not use XSLT
2329 --without-xxf86vm do not use XFree video mode extension
2330 --without-zlib do not use Zlib (data compression)
2331 --with-wine-tools=DIR use Wine tools from directory DIR
2332 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2333 --with-x use the X Window System
2335 Some influential environment variables:
2336 CC C compiler command
2337 CFLAGS C compiler flags
2338 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2339 nonstandard directory <lib dir>
2340 LIBS libraries to pass to the linker, e.g. -l<library>
2341 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2342 you have headers in a nonstandard directory <include dir>
2343 CXX C++ compiler command
2344 CXXFLAGS C++ compiler flags
2345 CPP C preprocessor
2346 XMKMF Path to xmkmf, Makefile generator for X Window System
2347 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2348 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2349 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2350 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2351 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2352 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2353 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2354 HAL_LIBS Linker flags for hal, overriding pkg-config
2355 GNUTLS_CFLAGS
2356 C compiler flags for gnutls, overriding pkg-config
2357 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2358 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2359 SANE_LIBS Linker flags for libsane, overriding pkg-config
2360 GPHOTO2_CFLAGS
2361 C compiler flags for libgphoto2, overriding pkg-config
2362 GPHOTO2_LIBS
2363 Linker flags for libgphoto2, overriding pkg-config
2364 GPHOTO2_PORT_CFLAGS
2365 C compiler flags for libgphoto2_port, overriding pkg-config
2366 GPHOTO2_PORT_LIBS
2367 Linker flags for libgphoto2_port, overriding pkg-config
2368 LCMS2_CFLAGS
2369 C compiler flags for lcms2, overriding pkg-config
2370 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2371 FREETYPE_CFLAGS
2372 C compiler flags for freetype2, overriding pkg-config
2373 FREETYPE_LIBS
2374 Linker flags for freetype2, overriding pkg-config
2375 PULSE_CFLAGS
2376 C compiler flags for libpulse, overriding pkg-config
2377 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2378 GSTREAMER_CFLAGS
2379 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2380 gstreamer-audio-1.0, overriding pkg-config
2381 GSTREAMER_LIBS
2382 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2383 gstreamer-audio-1.0, overriding pkg-config
2384 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2385 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2386 CAPI20_CFLAGS
2387 C compiler flags for capi20, overriding pkg-config
2388 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2389 FONTCONFIG_CFLAGS
2390 C compiler flags for fontconfig, overriding pkg-config
2391 FONTCONFIG_LIBS
2392 Linker flags for fontconfig, overriding pkg-config
2393 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2394 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2395 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2396 PNG_LIBS Linker flags for libpng, overriding pkg-config
2397 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2398 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2399 MPG123_CFLAGS
2400 C compiler flags for libmpg123, overriding pkg-config
2401 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2402 NETAPI_CFLAGS
2403 C compiler flags for netapi, overriding pkg-config
2404 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2406 Use these variables to override the choices made by `configure' or to help
2407 it to find libraries and programs with nonstandard names/locations.
2409 Report bugs to <wine-devel@winehq.org>.
2410 Wine home page: <http://www.winehq.org>.
2411 _ACEOF
2412 ac_status=$?
2415 if test "$ac_init_help" = "recursive"; then
2416 # If there are subdirs, report their specific --help.
2417 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2418 test -d "$ac_dir" ||
2419 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2420 continue
2421 ac_builddir=.
2423 case "$ac_dir" in
2424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2427 # A ".." for each directory in $ac_dir_suffix.
2428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2429 case $ac_top_builddir_sub in
2430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2432 esac ;;
2433 esac
2434 ac_abs_top_builddir=$ac_pwd
2435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2436 # for backward compatibility:
2437 ac_top_builddir=$ac_top_build_prefix
2439 case $srcdir in
2440 .) # We are building in place.
2441 ac_srcdir=.
2442 ac_top_srcdir=$ac_top_builddir_sub
2443 ac_abs_top_srcdir=$ac_pwd ;;
2444 [\\/]* | ?:[\\/]* ) # Absolute name.
2445 ac_srcdir=$srcdir$ac_dir_suffix;
2446 ac_top_srcdir=$srcdir
2447 ac_abs_top_srcdir=$srcdir ;;
2448 *) # Relative name.
2449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2450 ac_top_srcdir=$ac_top_build_prefix$srcdir
2451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2452 esac
2453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2455 cd "$ac_dir" || { ac_status=$?; continue; }
2456 # Check for guested configure.
2457 if test -f "$ac_srcdir/configure.gnu"; then
2458 echo &&
2459 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2460 elif test -f "$ac_srcdir/configure"; then
2461 echo &&
2462 $SHELL "$ac_srcdir/configure" --help=recursive
2463 else
2464 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2465 fi || ac_status=$?
2466 cd "$ac_pwd" || { ac_status=$?; break; }
2467 done
2470 test -n "$ac_init_help" && exit $ac_status
2471 if $ac_init_version; then
2472 cat <<\_ACEOF
2473 Wine configure 1.9.20
2474 generated by GNU Autoconf 2.69
2476 Copyright (C) 2012 Free Software Foundation, Inc.
2477 This configure script is free software; the Free Software Foundation
2478 gives unlimited permission to copy, distribute and modify it.
2479 _ACEOF
2480 exit
2483 ## ------------------------ ##
2484 ## Autoconf initialization. ##
2485 ## ------------------------ ##
2487 # ac_fn_c_try_compile LINENO
2488 # --------------------------
2489 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2490 ac_fn_c_try_compile ()
2492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2493 rm -f conftest.$ac_objext
2494 if { { ac_try="$ac_compile"
2495 case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_compile") 2>conftest.err
2502 ac_status=$?
2503 if test -s conftest.err; then
2504 grep -v '^ *+' conftest.err >conftest.er1
2505 cat conftest.er1 >&5
2506 mv -f conftest.er1 conftest.err
2508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509 test $ac_status = 0; } && {
2510 test -z "$ac_c_werror_flag" ||
2511 test ! -s conftest.err
2512 } && test -s conftest.$ac_objext; then :
2513 ac_retval=0
2514 else
2515 $as_echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5
2518 ac_retval=1
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2521 as_fn_set_status $ac_retval
2523 } # ac_fn_c_try_compile
2525 # ac_fn_cxx_try_compile LINENO
2526 # ----------------------------
2527 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2528 ac_fn_cxx_try_compile ()
2530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2531 rm -f conftest.$ac_objext
2532 if { { ac_try="$ac_compile"
2533 case "(($ac_try" in
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2536 esac
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539 (eval "$ac_compile") 2>conftest.err
2540 ac_status=$?
2541 if test -s conftest.err; then
2542 grep -v '^ *+' conftest.err >conftest.er1
2543 cat conftest.er1 >&5
2544 mv -f conftest.er1 conftest.err
2546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2547 test $ac_status = 0; } && {
2548 test -z "$ac_cxx_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.$ac_objext; then :
2551 ac_retval=0
2552 else
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2556 ac_retval=1
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status $ac_retval
2561 } # ac_fn_cxx_try_compile
2563 # ac_fn_c_try_link LINENO
2564 # -----------------------
2565 # Try to link conftest.$ac_ext, and return whether this succeeded.
2566 ac_fn_c_try_link ()
2568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2569 rm -f conftest.$ac_objext conftest$ac_exeext
2570 if { { ac_try="$ac_link"
2571 case "(($ac_try" in
2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2574 esac
2575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2576 $as_echo "$ac_try_echo"; } >&5
2577 (eval "$ac_link") 2>conftest.err
2578 ac_status=$?
2579 if test -s conftest.err; then
2580 grep -v '^ *+' conftest.err >conftest.er1
2581 cat conftest.er1 >&5
2582 mv -f conftest.er1 conftest.err
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; } && {
2586 test -z "$ac_c_werror_flag" ||
2587 test ! -s conftest.err
2588 } && test -s conftest$ac_exeext && {
2589 test "$cross_compiling" = yes ||
2590 test -x conftest$ac_exeext
2591 }; then :
2592 ac_retval=0
2593 else
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2597 ac_retval=1
2599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2601 # interfere with the next link command; also delete a directory that is
2602 # left behind by Apple's compiler. We do this before executing the actions.
2603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status $ac_retval
2607 } # ac_fn_c_try_link
2609 # ac_fn_c_try_cpp LINENO
2610 # ----------------------
2611 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_c_try_cpp ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 if { { ac_try="$ac_cpp conftest.$ac_ext"
2616 case "(($ac_try" in
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2619 esac
2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2623 ac_status=$?
2624 if test -s conftest.err; then
2625 grep -v '^ *+' conftest.err >conftest.er1
2626 cat conftest.er1 >&5
2627 mv -f conftest.er1 conftest.err
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; } > conftest.i && {
2631 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 }; then :
2634 ac_retval=0
2635 else
2636 $as_echo "$as_me: failed program was:" >&5
2637 sed 's/^/| /' conftest.$ac_ext >&5
2639 ac_retval=1
2641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2642 as_fn_set_status $ac_retval
2644 } # ac_fn_c_try_cpp
2646 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2647 # -------------------------------------------------------
2648 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2649 # the include files in INCLUDES and setting the cache variable VAR
2650 # accordingly.
2651 ac_fn_c_check_header_mongrel ()
2653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2654 if eval \${$3+:} false; then :
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2656 $as_echo_n "checking for $2... " >&6; }
2657 if eval \${$3+:} false; then :
2658 $as_echo_n "(cached) " >&6
2660 eval ac_res=\$$3
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2663 else
2664 # Is the header compilable?
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2666 $as_echo_n "checking $2 usability... " >&6; }
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2670 #include <$2>
2671 _ACEOF
2672 if ac_fn_c_try_compile "$LINENO"; then :
2673 ac_header_compiler=yes
2674 else
2675 ac_header_compiler=no
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2679 $as_echo "$ac_header_compiler" >&6; }
2681 # Is the header present?
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2683 $as_echo_n "checking $2 presence... " >&6; }
2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685 /* end confdefs.h. */
2686 #include <$2>
2687 _ACEOF
2688 if ac_fn_c_try_cpp "$LINENO"; then :
2689 ac_header_preproc=yes
2690 else
2691 ac_header_preproc=no
2693 rm -f conftest.err conftest.i conftest.$ac_ext
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2695 $as_echo "$ac_header_preproc" >&6; }
2697 # So? What about this header?
2698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2699 yes:no: )
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2701 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2703 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2705 no:yes:* )
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2707 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2709 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2711 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2713 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2715 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2716 ( $as_echo "## ------------------------------------ ##
2717 ## Report this to wine-devel@winehq.org ##
2718 ## ------------------------------------ ##"
2719 ) | sed "s/^/$as_me: WARNING: /" >&2
2721 esac
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2723 $as_echo_n "checking for $2... " >&6; }
2724 if eval \${$3+:} false; then :
2725 $as_echo_n "(cached) " >&6
2726 else
2727 eval "$3=\$ac_header_compiler"
2729 eval ac_res=\$$3
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2731 $as_echo "$ac_res" >&6; }
2733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 } # ac_fn_c_check_header_mongrel
2737 # ac_fn_c_try_run LINENO
2738 # ----------------------
2739 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2740 # that executables *can* be run.
2741 ac_fn_c_try_run ()
2743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2744 if { { ac_try="$ac_link"
2745 case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748 esac
2749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750 $as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_link") 2>&5
2752 ac_status=$?
2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2755 { { case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_try") 2>&5
2762 ac_status=$?
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; }; }; then :
2765 ac_retval=0
2766 else
2767 $as_echo "$as_me: program exited with status $ac_status" >&5
2768 $as_echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_retval=$ac_status
2773 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2775 as_fn_set_status $ac_retval
2777 } # ac_fn_c_try_run
2779 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2780 # -------------------------------------------------------
2781 # Tests whether HEADER exists and can be compiled using the include files in
2782 # INCLUDES, setting the cache variable VAR accordingly.
2783 ac_fn_c_check_header_compile ()
2785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2787 $as_echo_n "checking for $2... " >&6; }
2788 if eval \${$3+:} false; then :
2789 $as_echo_n "(cached) " >&6
2790 else
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2794 #include <$2>
2795 _ACEOF
2796 if ac_fn_c_try_compile "$LINENO"; then :
2797 eval "$3=yes"
2798 else
2799 eval "$3=no"
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803 eval ac_res=\$$3
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2805 $as_echo "$ac_res" >&6; }
2806 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 } # ac_fn_c_check_header_compile
2810 # ac_fn_c_check_func LINENO FUNC VAR
2811 # ----------------------------------
2812 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2813 ac_fn_c_check_func ()
2815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2817 $as_echo_n "checking for $2... " >&6; }
2818 if eval \${$3+:} false; then :
2819 $as_echo_n "(cached) " >&6
2820 else
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2823 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2825 #define $2 innocuous_$2
2827 /* System header to define __stub macros and hopefully few prototypes,
2828 which can conflict with char $2 (); below.
2829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2830 <limits.h> exists even on freestanding compilers. */
2832 #ifdef __STDC__
2833 # include <limits.h>
2834 #else
2835 # include <assert.h>
2836 #endif
2838 #undef $2
2840 /* Override any GCC internal prototype to avoid an error.
2841 Use char because int might match the return type of a GCC
2842 builtin and then its argument prototype would still apply. */
2843 #ifdef __cplusplus
2844 extern "C"
2845 #endif
2846 char $2 ();
2847 /* The GNU C library defines this for functions which it implements
2848 to always fail with ENOSYS. Some functions are actually named
2849 something starting with __ and the normal name is an alias. */
2850 #if defined __stub_$2 || defined __stub___$2
2851 choke me
2852 #endif
2855 main ()
2857 return $2 ();
2859 return 0;
2861 _ACEOF
2862 if ac_fn_c_try_link "$LINENO"; then :
2863 eval "$3=yes"
2864 else
2865 eval "$3=no"
2867 rm -f core conftest.err conftest.$ac_objext \
2868 conftest$ac_exeext conftest.$ac_ext
2870 eval ac_res=\$$3
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2872 $as_echo "$ac_res" >&6; }
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 } # ac_fn_c_check_func
2877 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2878 # ----------------------------------------------------
2879 # Tries to find if the field MEMBER exists in type AGGR, after including
2880 # INCLUDES, setting cache variable VAR accordingly.
2881 ac_fn_c_check_member ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2885 $as_echo_n "checking for $2.$3... " >&6; }
2886 if eval \${$4+:} false; then :
2887 $as_echo_n "(cached) " >&6
2888 else
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2895 static $2 ac_aggr;
2896 if (ac_aggr.$3)
2897 return 0;
2899 return 0;
2901 _ACEOF
2902 if ac_fn_c_try_compile "$LINENO"; then :
2903 eval "$4=yes"
2904 else
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2909 main ()
2911 static $2 ac_aggr;
2912 if (sizeof ac_aggr.$3)
2913 return 0;
2915 return 0;
2917 _ACEOF
2918 if ac_fn_c_try_compile "$LINENO"; then :
2919 eval "$4=yes"
2920 else
2921 eval "$4=no"
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 eval ac_res=\$$4
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 $as_echo "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_member
2934 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2935 # -------------------------------------------
2936 # Tests whether TYPE exists after having included INCLUDES, setting cache
2937 # variable VAR accordingly.
2938 ac_fn_c_check_type ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2942 $as_echo_n "checking for $2... " >&6; }
2943 if eval \${$3+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 eval "$3=no"
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2951 main ()
2953 if (sizeof ($2))
2954 return 0;
2956 return 0;
2958 _ACEOF
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2964 main ()
2966 if (sizeof (($2)))
2967 return 0;
2969 return 0;
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2974 else
2975 eval "$3=yes"
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2981 eval ac_res=\$$3
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2983 $as_echo "$ac_res" >&6; }
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2986 } # ac_fn_c_check_type
2987 cat >config.log <<_ACEOF
2988 This file contains any messages produced by compilers while
2989 running configure, to aid debugging if configure makes a mistake.
2991 It was created by Wine $as_me 1.9.20, which was
2992 generated by GNU Autoconf 2.69. Invocation command line was
2994 $ $0 $@
2996 _ACEOF
2997 exec 5>>config.log
2999 cat <<_ASUNAME
3000 ## --------- ##
3001 ## Platform. ##
3002 ## --------- ##
3004 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3005 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3006 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3007 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3008 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3010 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3011 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3013 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3016 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3019 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3021 _ASUNAME
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 $as_echo "PATH: $as_dir"
3029 done
3030 IFS=$as_save_IFS
3032 } >&5
3034 cat >&5 <<_ACEOF
3037 ## ----------- ##
3038 ## Core tests. ##
3039 ## ----------- ##
3041 _ACEOF
3044 # Keep a trace of the command line.
3045 # Strip out --no-create and --no-recursion so they do not pile up.
3046 # Strip out --silent because we don't want to record it for future runs.
3047 # Also quote any args containing shell meta-characters.
3048 # Make two passes to allow for proper duplicate-argument suppression.
3049 ac_configure_args=
3050 ac_configure_args0=
3051 ac_configure_args1=
3052 ac_must_keep_next=false
3053 for ac_pass in 1 2
3055 for ac_arg
3057 case $ac_arg in
3058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3060 | -silent | --silent | --silen | --sile | --sil)
3061 continue ;;
3062 *\'*)
3063 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3064 esac
3065 case $ac_pass in
3066 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3068 as_fn_append ac_configure_args1 " '$ac_arg'"
3069 if test $ac_must_keep_next = true; then
3070 ac_must_keep_next=false # Got value, back to normal.
3071 else
3072 case $ac_arg in
3073 *=* | --config-cache | -C | -disable-* | --disable-* \
3074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3076 | -with-* | --with-* | -without-* | --without-* | --x)
3077 case "$ac_configure_args0 " in
3078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3079 esac
3081 -* ) ac_must_keep_next=true ;;
3082 esac
3084 as_fn_append ac_configure_args " '$ac_arg'"
3086 esac
3087 done
3088 done
3089 { ac_configure_args0=; unset ac_configure_args0;}
3090 { ac_configure_args1=; unset ac_configure_args1;}
3092 # When interrupted or exit'd, cleanup temporary files, and complete
3093 # config.log. We remove comments because anyway the quotes in there
3094 # would cause problems or look ugly.
3095 # WARNING: Use '\'' to represent an apostrophe within the trap.
3096 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3097 trap 'exit_status=$?
3098 # Save into config.log some information that might help in debugging.
3100 echo
3102 $as_echo "## ---------------- ##
3103 ## Cache variables. ##
3104 ## ---------------- ##"
3105 echo
3106 # The following way of writing the cache mishandles newlines in values,
3108 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3109 eval ac_val=\$$ac_var
3110 case $ac_val in #(
3111 *${as_nl}*)
3112 case $ac_var in #(
3113 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3114 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3115 esac
3116 case $ac_var in #(
3117 _ | IFS | as_nl) ;; #(
3118 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3119 *) { eval $ac_var=; unset $ac_var;} ;;
3120 esac ;;
3121 esac
3122 done
3123 (set) 2>&1 |
3124 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3125 *${as_nl}ac_space=\ *)
3126 sed -n \
3127 "s/'\''/'\''\\\\'\'''\''/g;
3128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3129 ;; #(
3131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3133 esac |
3134 sort
3136 echo
3138 $as_echo "## ----------------- ##
3139 ## Output variables. ##
3140 ## ----------------- ##"
3141 echo
3142 for ac_var in $ac_subst_vars
3144 eval ac_val=\$$ac_var
3145 case $ac_val in
3146 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3147 esac
3148 $as_echo "$ac_var='\''$ac_val'\''"
3149 done | sort
3150 echo
3152 if test -n "$ac_subst_files"; then
3153 $as_echo "## ------------------- ##
3154 ## File substitutions. ##
3155 ## ------------------- ##"
3156 echo
3157 for ac_var in $ac_subst_files
3159 eval ac_val=\$$ac_var
3160 case $ac_val in
3161 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3162 esac
3163 $as_echo "$ac_var='\''$ac_val'\''"
3164 done | sort
3165 echo
3168 if test -s confdefs.h; then
3169 $as_echo "## ----------- ##
3170 ## confdefs.h. ##
3171 ## ----------- ##"
3172 echo
3173 cat confdefs.h
3174 echo
3176 test "$ac_signal" != 0 &&
3177 $as_echo "$as_me: caught signal $ac_signal"
3178 $as_echo "$as_me: exit $exit_status"
3179 } >&5
3180 rm -f core *.core core.conftest.* &&
3181 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3182 exit $exit_status
3184 for ac_signal in 1 2 13 15; do
3185 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3186 done
3187 ac_signal=0
3189 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3190 rm -f -r conftest* confdefs.h
3192 $as_echo "/* confdefs.h */" > confdefs.h
3194 # Predefined preprocessor variables.
3196 cat >>confdefs.h <<_ACEOF
3197 #define PACKAGE_NAME "$PACKAGE_NAME"
3198 _ACEOF
3200 cat >>confdefs.h <<_ACEOF
3201 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3202 _ACEOF
3204 cat >>confdefs.h <<_ACEOF
3205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3206 _ACEOF
3208 cat >>confdefs.h <<_ACEOF
3209 #define PACKAGE_STRING "$PACKAGE_STRING"
3210 _ACEOF
3212 cat >>confdefs.h <<_ACEOF
3213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3214 _ACEOF
3216 cat >>confdefs.h <<_ACEOF
3217 #define PACKAGE_URL "$PACKAGE_URL"
3218 _ACEOF
3221 # Let the site file select an alternate cache file if it wants to.
3222 # Prefer an explicitly selected file to automatically selected ones.
3223 ac_site_file1=NONE
3224 ac_site_file2=NONE
3225 if test -n "$CONFIG_SITE"; then
3226 # We do not want a PATH search for config.site.
3227 case $CONFIG_SITE in #((
3228 -*) ac_site_file1=./$CONFIG_SITE;;
3229 */*) ac_site_file1=$CONFIG_SITE;;
3230 *) ac_site_file1=./$CONFIG_SITE;;
3231 esac
3232 elif test "x$prefix" != xNONE; then
3233 ac_site_file1=$prefix/share/config.site
3234 ac_site_file2=$prefix/etc/config.site
3235 else
3236 ac_site_file1=$ac_default_prefix/share/config.site
3237 ac_site_file2=$ac_default_prefix/etc/config.site
3239 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3241 test "x$ac_site_file" = xNONE && continue
3242 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3244 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3245 sed 's/^/| /' "$ac_site_file" >&5
3246 . "$ac_site_file" \
3247 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error $? "failed to load site script $ac_site_file
3250 See \`config.log' for more details" "$LINENO" 5; }
3252 done
3254 if test -r "$cache_file"; then
3255 # Some versions of bash will fail to source /dev/null (special files
3256 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3257 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3259 $as_echo "$as_me: loading cache $cache_file" >&6;}
3260 case $cache_file in
3261 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3262 *) . "./$cache_file";;
3263 esac
3265 else
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3267 $as_echo "$as_me: creating cache $cache_file" >&6;}
3268 >$cache_file
3271 # Check that the precious variables saved in the cache have kept the same
3272 # value.
3273 ac_cache_corrupted=false
3274 for ac_var in $ac_precious_vars; do
3275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3276 eval ac_new_set=\$ac_env_${ac_var}_set
3277 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3278 eval ac_new_val=\$ac_env_${ac_var}_value
3279 case $ac_old_set,$ac_new_set in
3280 set,)
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3282 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3283 ac_cache_corrupted=: ;;
3284 ,set)
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3286 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3287 ac_cache_corrupted=: ;;
3288 ,);;
3290 if test "x$ac_old_val" != "x$ac_new_val"; then
3291 # differences in whitespace do not lead to failure.
3292 ac_old_val_w=`echo x $ac_old_val`
3293 ac_new_val_w=`echo x $ac_new_val`
3294 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3296 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3297 ac_cache_corrupted=:
3298 else
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3300 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3301 eval $ac_var=\$ac_old_val
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3304 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3306 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3307 fi;;
3308 esac
3309 # Pass precious variables to config.status.
3310 if test "$ac_new_set" = set; then
3311 case $ac_new_val in
3312 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3313 *) ac_arg=$ac_var=$ac_new_val ;;
3314 esac
3315 case " $ac_configure_args " in
3316 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3317 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3318 esac
3320 done
3321 if $ac_cache_corrupted; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3325 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3326 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3328 ## -------------------- ##
3329 ## Main body of script. ##
3330 ## -------------------- ##
3332 ac_ext=c
3333 ac_cpp='$CPP $CPPFLAGS'
3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3340 ac_config_headers="$ac_config_headers include/config.h"
3342 ac_aux_dir=
3343 for ac_dir in tools "$srcdir"/tools; do
3344 if test -f "$ac_dir/install-sh"; then
3345 ac_aux_dir=$ac_dir
3346 ac_install_sh="$ac_aux_dir/install-sh -c"
3347 break
3348 elif test -f "$ac_dir/install.sh"; then
3349 ac_aux_dir=$ac_dir
3350 ac_install_sh="$ac_aux_dir/install.sh -c"
3351 break
3352 elif test -f "$ac_dir/shtool"; then
3353 ac_aux_dir=$ac_dir
3354 ac_install_sh="$ac_aux_dir/shtool install -c"
3355 break
3357 done
3358 if test -z "$ac_aux_dir"; then
3359 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3362 # These three variables are undocumented and unsupported,
3363 # and are intended to be withdrawn in a future Autoconf release.
3364 # They can cause serious problems if a builder's source tree is in a directory
3365 # whose full name contains unusual characters.
3366 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3367 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3368 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3372 libwine_version="1.0"
3376 # Check whether --enable-win16 was given.
3377 if test "${enable_win16+set}" = set; then :
3378 enableval=$enable_win16;
3381 # Check whether --enable-win64 was given.
3382 if test "${enable_win64+set}" = set; then :
3383 enableval=$enable_win64;
3386 # Check whether --enable-tests was given.
3387 if test "${enable_tests+set}" = set; then :
3388 enableval=$enable_tests;
3391 # Check whether --enable-maintainer-mode was given.
3392 if test "${enable_maintainer_mode+set}" = set; then :
3393 enableval=$enable_maintainer_mode;
3398 # Check whether --with-alsa was given.
3399 if test "${with_alsa+set}" = set; then :
3400 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3404 # Check whether --with-capi was given.
3405 if test "${with_capi+set}" = set; then :
3406 withval=$with_capi;
3410 # Check whether --with-cms was given.
3411 if test "${with_cms+set}" = set; then :
3412 withval=$with_cms;
3416 # Check whether --with-coreaudio was given.
3417 if test "${with_coreaudio+set}" = set; then :
3418 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3422 # Check whether --with-cups was given.
3423 if test "${with_cups+set}" = set; then :
3424 withval=$with_cups;
3428 # Check whether --with-curses was given.
3429 if test "${with_curses+set}" = set; then :
3430 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3434 # Check whether --with-dbus was given.
3435 if test "${with_dbus+set}" = set; then :
3436 withval=$with_dbus;
3440 # Check whether --with-fontconfig was given.
3441 if test "${with_fontconfig+set}" = set; then :
3442 withval=$with_fontconfig;
3446 # Check whether --with-freetype was given.
3447 if test "${with_freetype+set}" = set; then :
3448 withval=$with_freetype;
3452 # Check whether --with-gettext was given.
3453 if test "${with_gettext+set}" = set; then :
3454 withval=$with_gettext;
3458 # Check whether --with-gettextpo was given.
3459 if test "${with_gettextpo+set}" = set; then :
3460 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3464 # Check whether --with-gphoto was given.
3465 if test "${with_gphoto+set}" = set; then :
3466 withval=$with_gphoto;
3470 # Check whether --with-glu was given.
3471 if test "${with_glu+set}" = set; then :
3472 withval=$with_glu;
3476 # Check whether --with-gnutls was given.
3477 if test "${with_gnutls+set}" = set; then :
3478 withval=$with_gnutls;
3482 # Check whether --with-gsm was given.
3483 if test "${with_gsm+set}" = set; then :
3484 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3488 # Check whether --with-gstreamer was given.
3489 if test "${with_gstreamer+set}" = set; then :
3490 withval=$with_gstreamer;
3494 # Check whether --with-hal was given.
3495 if test "${with_hal+set}" = set; then :
3496 withval=$with_hal;
3500 # Check whether --with-jpeg was given.
3501 if test "${with_jpeg+set}" = set; then :
3502 withval=$with_jpeg;
3506 # Check whether --with-ldap was given.
3507 if test "${with_ldap+set}" = set; then :
3508 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3512 # Check whether --with-mpg123 was given.
3513 if test "${with_mpg123+set}" = set; then :
3514 withval=$with_mpg123;
3518 # Check whether --with-netapi was given.
3519 if test "${with_netapi+set}" = set; then :
3520 withval=$with_netapi;
3524 # Check whether --with-openal was given.
3525 if test "${with_openal+set}" = set; then :
3526 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3530 # Check whether --with-opencl was given.
3531 if test "${with_opencl+set}" = set; then :
3532 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3536 # Check whether --with-opengl was given.
3537 if test "${with_opengl+set}" = set; then :
3538 withval=$with_opengl;
3542 # Check whether --with-osmesa was given.
3543 if test "${with_osmesa+set}" = set; then :
3544 withval=$with_osmesa;
3548 # Check whether --with-oss was given.
3549 if test "${with_oss+set}" = set; then :
3550 withval=$with_oss;
3554 # Check whether --with-pcap was given.
3555 if test "${with_pcap+set}" = set; then :
3556 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3560 # Check whether --with-png was given.
3561 if test "${with_png+set}" = set; then :
3562 withval=$with_png;
3566 # Check whether --with-pthread was given.
3567 if test "${with_pthread+set}" = set; then :
3568 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3572 # Check whether --with-pulse was given.
3573 if test "${with_pulse+set}" = set; then :
3574 withval=$with_pulse;
3578 # Check whether --with-sane was given.
3579 if test "${with_sane+set}" = set; then :
3580 withval=$with_sane;
3584 # Check whether --with-tiff was given.
3585 if test "${with_tiff+set}" = set; then :
3586 withval=$with_tiff;
3590 # Check whether --with-udev was given.
3591 if test "${with_udev+set}" = set; then :
3592 withval=$with_udev;
3596 # Check whether --with-v4l was given.
3597 if test "${with_v4l+set}" = set; then :
3598 withval=$with_v4l;
3602 # Check whether --with-xcomposite was given.
3603 if test "${with_xcomposite+set}" = set; then :
3604 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3608 # Check whether --with-xcursor was given.
3609 if test "${with_xcursor+set}" = set; then :
3610 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3614 # Check whether --with-xinerama was given.
3615 if test "${with_xinerama+set}" = set; then :
3616 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3620 # Check whether --with-xinput was given.
3621 if test "${with_xinput+set}" = set; then :
3622 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3626 # Check whether --with-xinput2 was given.
3627 if test "${with_xinput2+set}" = set; then :
3628 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3632 # Check whether --with-xml was given.
3633 if test "${with_xml+set}" = set; then :
3634 withval=$with_xml;
3638 # Check whether --with-xrandr was given.
3639 if test "${with_xrandr+set}" = set; then :
3640 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3644 # Check whether --with-xrender was given.
3645 if test "${with_xrender+set}" = set; then :
3646 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3650 # Check whether --with-xshape was given.
3651 if test "${with_xshape+set}" = set; then :
3652 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3656 # Check whether --with-xshm was given.
3657 if test "${with_xshm+set}" = set; then :
3658 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3662 # Check whether --with-xslt was given.
3663 if test "${with_xslt+set}" = set; then :
3664 withval=$with_xslt;
3668 # Check whether --with-xxf86vm was given.
3669 if test "${with_xxf86vm+set}" = set; then :
3670 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
3674 # Check whether --with-zlib was given.
3675 if test "${with_zlib+set}" = set; then :
3676 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3681 # Check whether --with-wine-tools was given.
3682 if test "${with_wine_tools+set}" = set; then :
3683 withval=$with_wine_tools;
3687 # Check whether --with-wine64 was given.
3688 if test "${with_wine64+set}" = set; then :
3689 withval=$with_wine64;
3693 # Make sure we can run config.sub.
3694 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3695 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3698 $as_echo_n "checking build system type... " >&6; }
3699 if ${ac_cv_build+:} false; then :
3700 $as_echo_n "(cached) " >&6
3701 else
3702 ac_build_alias=$build_alias
3703 test "x$ac_build_alias" = x &&
3704 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3705 test "x$ac_build_alias" = x &&
3706 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3707 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3708 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3712 $as_echo "$ac_cv_build" >&6; }
3713 case $ac_cv_build in
3714 *-*-*) ;;
3715 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3716 esac
3717 build=$ac_cv_build
3718 ac_save_IFS=$IFS; IFS='-'
3719 set x $ac_cv_build
3720 shift
3721 build_cpu=$1
3722 build_vendor=$2
3723 shift; shift
3724 # Remember, the first character of IFS is used to create $*,
3725 # except with old shells:
3726 build_os=$*
3727 IFS=$ac_save_IFS
3728 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3732 $as_echo_n "checking host system type... " >&6; }
3733 if ${ac_cv_host+:} false; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test "x$host_alias" = x; then
3737 ac_cv_host=$ac_cv_build
3738 else
3739 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3740 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3745 $as_echo "$ac_cv_host" >&6; }
3746 case $ac_cv_host in
3747 *-*-*) ;;
3748 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3749 esac
3750 host=$ac_cv_host
3751 ac_save_IFS=$IFS; IFS='-'
3752 set x $ac_cv_host
3753 shift
3754 host_cpu=$1
3755 host_vendor=$2
3756 shift; shift
3757 # Remember, the first character of IFS is used to create $*,
3758 # except with old shells:
3759 host_os=$*
3760 IFS=$ac_save_IFS
3761 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3765 case "$srcdir" in
3766 .) ;;
3767 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3768 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3769 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3770 fi ;;
3771 esac
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3775 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3776 set x ${MAKE-make}
3777 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3778 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 cat >conftest.make <<\_ACEOF
3782 SHELL = /bin/sh
3783 all:
3784 @echo '@@@%%%=$(MAKE)=@@@%%%'
3785 _ACEOF
3786 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3787 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3788 *@@@%%%=?*=@@@%%%*)
3789 eval ac_cv_prog_make_${ac_make}_set=yes;;
3791 eval ac_cv_prog_make_${ac_make}_set=no;;
3792 esac
3793 rm -f conftest.make
3795 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3797 $as_echo "yes" >&6; }
3798 SET_MAKE=
3799 else
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3802 SET_MAKE="MAKE=${MAKE-make}"
3805 ac_ext=c
3806 ac_cpp='$CPP $CPPFLAGS'
3807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810 if test -n "$ac_tool_prefix"; then
3811 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3812 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if ${ac_cv_prog_CC+:} false; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 if test -n "$CC"; then
3819 ac_cv_prog_CC="$CC" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3832 done
3833 done
3834 IFS=$as_save_IFS
3838 CC=$ac_cv_prog_CC
3839 if test -n "$CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3841 $as_echo "$CC" >&6; }
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3849 if test -z "$ac_cv_prog_CC"; then
3850 ac_ct_CC=$CC
3851 # Extract the first word of "gcc", so it can be a program name with args.
3852 set dummy gcc; ac_word=$2
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 $as_echo_n "checking for $ac_word... " >&6; }
3855 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3856 $as_echo_n "(cached) " >&6
3857 else
3858 if test -n "$ac_ct_CC"; then
3859 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3860 else
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3864 IFS=$as_save_IFS
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_ac_ct_CC="gcc"
3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 break 2
3872 done
3873 done
3874 IFS=$as_save_IFS
3878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3879 if test -n "$ac_ct_CC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3881 $as_echo "$ac_ct_CC" >&6; }
3882 else
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3884 $as_echo "no" >&6; }
3887 if test "x$ac_ct_CC" = x; then
3888 CC=""
3889 else
3890 case $cross_compiling:$ac_tool_warned in
3891 yes:)
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3894 ac_tool_warned=yes ;;
3895 esac
3896 CC=$ac_ct_CC
3898 else
3899 CC="$ac_cv_prog_CC"
3902 if test -z "$CC"; then
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3905 set dummy ${ac_tool_prefix}cc; ac_word=$2
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3907 $as_echo_n "checking for $ac_word... " >&6; }
3908 if ${ac_cv_prog_CC+:} false; then :
3909 $as_echo_n "(cached) " >&6
3910 else
3911 if test -n "$CC"; then
3912 ac_cv_prog_CC="$CC" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_CC="${ac_tool_prefix}cc"
3922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3927 IFS=$as_save_IFS
3931 CC=$ac_cv_prog_CC
3932 if test -n "$CC"; then
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3934 $as_echo "$CC" >&6; }
3935 else
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3937 $as_echo "no" >&6; }
3943 if test -z "$CC"; then
3944 # Extract the first word of "cc", so it can be a program name with args.
3945 set dummy cc; ac_word=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_CC+:} false; then :
3949 $as_echo_n "(cached) " >&6
3950 else
3951 if test -n "$CC"; then
3952 ac_cv_prog_CC="$CC" # Let the user override the test.
3953 else
3954 ac_prog_rejected=no
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3963 ac_prog_rejected=yes
3964 continue
3966 ac_cv_prog_CC="cc"
3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 break 2
3970 done
3971 done
3972 IFS=$as_save_IFS
3974 if test $ac_prog_rejected = yes; then
3975 # We found a bogon in the path, so make sure we never use it.
3976 set dummy $ac_cv_prog_CC
3977 shift
3978 if test $# != 0; then
3979 # We chose a different compiler from the bogus one.
3980 # However, it has the same basename, so the bogon will be chosen
3981 # first if we set CC to just the basename; use the full file name.
3982 shift
3983 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3988 CC=$ac_cv_prog_CC
3989 if test -n "$CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3991 $as_echo "$CC" >&6; }
3992 else
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3999 if test -z "$CC"; then
4000 if test -n "$ac_tool_prefix"; then
4001 for ac_prog in cl.exe
4003 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4004 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if ${ac_cv_prog_CC+:} false; then :
4008 $as_echo_n "(cached) " >&6
4009 else
4010 if test -n "$CC"; then
4011 ac_cv_prog_CC="$CC" # Let the user override the test.
4012 else
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 for as_dir in $PATH
4016 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 break 2
4024 done
4025 done
4026 IFS=$as_save_IFS
4030 CC=$ac_cv_prog_CC
4031 if test -n "$CC"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4033 $as_echo "$CC" >&6; }
4034 else
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4040 test -n "$CC" && break
4041 done
4043 if test -z "$CC"; then
4044 ac_ct_CC=$CC
4045 for ac_prog in cl.exe
4047 # Extract the first word of "$ac_prog", so it can be a program name with args.
4048 set dummy $ac_prog; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$ac_ct_CC"; then
4055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4056 else
4057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4058 for as_dir in $PATH
4060 IFS=$as_save_IFS
4061 test -z "$as_dir" && as_dir=.
4062 for ac_exec_ext in '' $ac_executable_extensions; do
4063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4064 ac_cv_prog_ac_ct_CC="$ac_prog"
4065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 break 2
4068 done
4069 done
4070 IFS=$as_save_IFS
4074 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4075 if test -n "$ac_ct_CC"; then
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4077 $as_echo "$ac_ct_CC" >&6; }
4078 else
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4084 test -n "$ac_ct_CC" && break
4085 done
4087 if test "x$ac_ct_CC" = x; then
4088 CC=""
4089 else
4090 case $cross_compiling:$ac_tool_warned in
4091 yes:)
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4094 ac_tool_warned=yes ;;
4095 esac
4096 CC=$ac_ct_CC
4103 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4105 as_fn_error $? "no acceptable C compiler found in \$PATH
4106 See \`config.log' for more details" "$LINENO" 5; }
4108 # Provide some information about the compiler.
4109 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4110 set X $ac_compile
4111 ac_compiler=$2
4112 for ac_option in --version -v -V -qversion; do
4113 { { ac_try="$ac_compiler $ac_option >&5"
4114 case "(($ac_try" in
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4117 esac
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4119 $as_echo "$ac_try_echo"; } >&5
4120 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4121 ac_status=$?
4122 if test -s conftest.err; then
4123 sed '10a\
4124 ... rest of stderr output deleted ...
4125 10q' conftest.err >conftest.er1
4126 cat conftest.er1 >&5
4128 rm -f conftest.er1 conftest.err
4129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130 test $ac_status = 0; }
4131 done
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4137 main ()
4141 return 0;
4143 _ACEOF
4144 ac_clean_files_save=$ac_clean_files
4145 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4146 # Try to create an executable without -o first, disregard a.out.
4147 # It will help us diagnose broken compilers, and finding out an intuition
4148 # of exeext.
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4150 $as_echo_n "checking whether the C compiler works... " >&6; }
4151 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4153 # The possible output files:
4154 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4156 ac_rmfiles=
4157 for ac_file in $ac_files
4159 case $ac_file in
4160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4161 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4162 esac
4163 done
4164 rm -f $ac_rmfiles
4166 if { { ac_try="$ac_link_default"
4167 case "(($ac_try" in
4168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4169 *) ac_try_echo=$ac_try;;
4170 esac
4171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4172 $as_echo "$ac_try_echo"; } >&5
4173 (eval "$ac_link_default") 2>&5
4174 ac_status=$?
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }; then :
4177 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4178 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4179 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4180 # so that the user can short-circuit this test for compilers unknown to
4181 # Autoconf.
4182 for ac_file in $ac_files ''
4184 test -f "$ac_file" || continue
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4188 [ab].out )
4189 # We found the default executable, but exeext='' is most
4190 # certainly right.
4191 break;;
4192 *.* )
4193 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4194 then :; else
4195 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4197 # We set ac_cv_exeext here because the later test for it is not
4198 # safe: cross compilers may not add the suffix if given an `-o'
4199 # argument, so we may need to know it at that point already.
4200 # Even if this section looks crufty: it has the advantage of
4201 # actually working.
4202 break;;
4204 break;;
4205 esac
4206 done
4207 test "$ac_cv_exeext" = no && ac_cv_exeext=
4209 else
4210 ac_file=''
4212 if test -z "$ac_file"; then :
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4215 $as_echo "$as_me: failed program was:" >&5
4216 sed 's/^/| /' conftest.$ac_ext >&5
4218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4220 as_fn_error 77 "C compiler cannot create executables
4221 See \`config.log' for more details" "$LINENO" 5; }
4222 else
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4227 $as_echo_n "checking for C compiler default output file name... " >&6; }
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4229 $as_echo "$ac_file" >&6; }
4230 ac_exeext=$ac_cv_exeext
4232 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4233 ac_clean_files=$ac_clean_files_save
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4235 $as_echo_n "checking for suffix of executables... " >&6; }
4236 if { { ac_try="$ac_link"
4237 case "(($ac_try" in
4238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4240 esac
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_link") 2>&5
4244 ac_status=$?
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }; then :
4247 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4248 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4249 # work properly (i.e., refer to `conftest.exe'), while it won't with
4250 # `rm'.
4251 for ac_file in conftest.exe conftest conftest.*; do
4252 test -f "$ac_file" || continue
4253 case $ac_file in
4254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4255 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4256 break;;
4257 * ) break;;
4258 esac
4259 done
4260 else
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4264 See \`config.log' for more details" "$LINENO" 5; }
4266 rm -f conftest conftest$ac_cv_exeext
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4268 $as_echo "$ac_cv_exeext" >&6; }
4270 rm -f conftest.$ac_ext
4271 EXEEXT=$ac_cv_exeext
4272 ac_exeext=$EXEEXT
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4275 #include <stdio.h>
4277 main ()
4279 FILE *f = fopen ("conftest.out", "w");
4280 return ferror (f) || fclose (f) != 0;
4283 return 0;
4285 _ACEOF
4286 ac_clean_files="$ac_clean_files conftest.out"
4287 # Check that the compiler produces executables we can run. If not, either
4288 # the compiler is broken, or we cross compile.
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4290 $as_echo_n "checking whether we are cross compiling... " >&6; }
4291 if test "$cross_compiling" != yes; then
4292 { { ac_try="$ac_link"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_link") 2>&5
4300 ac_status=$?
4301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }
4303 if { ac_try='./conftest$ac_cv_exeext'
4304 { { case "(($ac_try" in
4305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4307 esac
4308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4309 $as_echo "$ac_try_echo"; } >&5
4310 (eval "$ac_try") 2>&5
4311 ac_status=$?
4312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4313 test $ac_status = 0; }; }; then
4314 cross_compiling=no
4315 else
4316 if test "$cross_compiling" = maybe; then
4317 cross_compiling=yes
4318 else
4319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error $? "cannot run C compiled programs.
4322 If you meant to cross compile, use \`--host'.
4323 See \`config.log' for more details" "$LINENO" 5; }
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4328 $as_echo "$cross_compiling" >&6; }
4330 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4331 ac_clean_files=$ac_clean_files_save
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4333 $as_echo_n "checking for suffix of object files... " >&6; }
4334 if ${ac_cv_objext+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 main ()
4345 return 0;
4347 _ACEOF
4348 rm -f conftest.o conftest.obj
4349 if { { ac_try="$ac_compile"
4350 case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4355 $as_echo "$ac_try_echo"; } >&5
4356 (eval "$ac_compile") 2>&5
4357 ac_status=$?
4358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4359 test $ac_status = 0; }; then :
4360 for ac_file in conftest.o conftest.obj conftest.*; do
4361 test -f "$ac_file" || continue;
4362 case $ac_file in
4363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4364 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4365 break;;
4366 esac
4367 done
4368 else
4369 $as_echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.$ac_ext >&5
4372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4374 as_fn_error $? "cannot compute suffix of object files: cannot compile
4375 See \`config.log' for more details" "$LINENO" 5; }
4377 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4380 $as_echo "$ac_cv_objext" >&6; }
4381 OBJEXT=$ac_cv_objext
4382 ac_objext=$OBJEXT
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4384 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4385 if ${ac_cv_c_compiler_gnu+:} false; then :
4386 $as_echo_n "(cached) " >&6
4387 else
4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389 /* end confdefs.h. */
4392 main ()
4394 #ifndef __GNUC__
4395 choke me
4396 #endif
4399 return 0;
4401 _ACEOF
4402 if ac_fn_c_try_compile "$LINENO"; then :
4403 ac_compiler_gnu=yes
4404 else
4405 ac_compiler_gnu=no
4407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4412 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4413 if test $ac_compiler_gnu = yes; then
4414 GCC=yes
4415 else
4416 GCC=
4418 ac_test_CFLAGS=${CFLAGS+set}
4419 ac_save_CFLAGS=$CFLAGS
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4421 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4422 if ${ac_cv_prog_cc_g+:} false; then :
4423 $as_echo_n "(cached) " >&6
4424 else
4425 ac_save_c_werror_flag=$ac_c_werror_flag
4426 ac_c_werror_flag=yes
4427 ac_cv_prog_cc_g=no
4428 CFLAGS="-g"
4429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4433 main ()
4437 return 0;
4439 _ACEOF
4440 if ac_fn_c_try_compile "$LINENO"; then :
4441 ac_cv_prog_cc_g=yes
4442 else
4443 CFLAGS=""
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4448 main ()
4452 return 0;
4454 _ACEOF
4455 if ac_fn_c_try_compile "$LINENO"; then :
4457 else
4458 ac_c_werror_flag=$ac_save_c_werror_flag
4459 CFLAGS="-g"
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461 /* end confdefs.h. */
4464 main ()
4468 return 0;
4470 _ACEOF
4471 if ac_fn_c_try_compile "$LINENO"; then :
4472 ac_cv_prog_cc_g=yes
4474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 ac_c_werror_flag=$ac_save_c_werror_flag
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4482 $as_echo "$ac_cv_prog_cc_g" >&6; }
4483 if test "$ac_test_CFLAGS" = set; then
4484 CFLAGS=$ac_save_CFLAGS
4485 elif test $ac_cv_prog_cc_g = yes; then
4486 if test "$GCC" = yes; then
4487 CFLAGS="-g -O2"
4488 else
4489 CFLAGS="-g"
4491 else
4492 if test "$GCC" = yes; then
4493 CFLAGS="-O2"
4494 else
4495 CFLAGS=
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4499 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4500 if ${ac_cv_prog_cc_c89+:} false; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 ac_cv_prog_cc_c89=no
4504 ac_save_CC=$CC
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4507 #include <stdarg.h>
4508 #include <stdio.h>
4509 struct stat;
4510 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4511 struct buf { int x; };
4512 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4513 static char *e (p, i)
4514 char **p;
4515 int i;
4517 return p[i];
4519 static char *f (char * (*g) (char **, int), char **p, ...)
4521 char *s;
4522 va_list v;
4523 va_start (v,p);
4524 s = g (p, va_arg (v,int));
4525 va_end (v);
4526 return s;
4529 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4530 function prototypes and stuff, but not '\xHH' hex character constants.
4531 These don't provoke an error unfortunately, instead are silently treated
4532 as 'x'. The following induces an error, until -std is added to get
4533 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4534 array size at least. It's necessary to write '\x00'==0 to get something
4535 that's true only with -std. */
4536 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4538 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4539 inside strings and character constants. */
4540 #define FOO(x) 'x'
4541 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4543 int test (int i, double x);
4544 struct s1 {int (*f) (int a);};
4545 struct s2 {int (*f) (double a);};
4546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4547 int argc;
4548 char **argv;
4550 main ()
4552 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4554 return 0;
4556 _ACEOF
4557 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4558 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4560 CC="$ac_save_CC $ac_arg"
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562 ac_cv_prog_cc_c89=$ac_arg
4564 rm -f core conftest.err conftest.$ac_objext
4565 test "x$ac_cv_prog_cc_c89" != "xno" && break
4566 done
4567 rm -f conftest.$ac_ext
4568 CC=$ac_save_CC
4571 # AC_CACHE_VAL
4572 case "x$ac_cv_prog_cc_c89" in
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4575 $as_echo "none needed" >&6; } ;;
4576 xno)
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4578 $as_echo "unsupported" >&6; } ;;
4580 CC="$CC $ac_cv_prog_cc_c89"
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4582 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4583 esac
4584 if test "x$ac_cv_prog_cc_c89" != xno; then :
4588 ac_ext=c
4589 ac_cpp='$CPP $CPPFLAGS'
4590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 ac_ext=cpp
4595 ac_cpp='$CXXCPP $CPPFLAGS'
4596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4599 if test -z "$CXX"; then
4600 if test -n "$CCC"; then
4601 CXX=$CCC
4602 else
4603 if test -n "$ac_tool_prefix"; then
4604 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 $as_echo_n "checking for $ac_word... " >&6; }
4610 if ${ac_cv_prog_CXX+:} false; then :
4611 $as_echo_n "(cached) " >&6
4612 else
4613 if test -n "$CXX"; then
4614 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4615 else
4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 for as_dir in $PATH
4619 IFS=$as_save_IFS
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 break 2
4627 done
4628 done
4629 IFS=$as_save_IFS
4633 CXX=$ac_cv_prog_CXX
4634 if test -n "$CXX"; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4636 $as_echo "$CXX" >&6; }
4637 else
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 $as_echo "no" >&6; }
4643 test -n "$CXX" && break
4644 done
4646 if test -z "$CXX"; then
4647 ac_ct_CXX=$CXX
4648 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4650 # Extract the first word of "$ac_prog", so it can be a program name with args.
4651 set dummy $ac_prog; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4655 $as_echo_n "(cached) " >&6
4656 else
4657 if test -n "$ac_ct_CXX"; then
4658 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4659 else
4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4661 for as_dir in $PATH
4663 IFS=$as_save_IFS
4664 test -z "$as_dir" && as_dir=.
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_ac_ct_CXX="$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4678 if test -n "$ac_ct_CXX"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4680 $as_echo "$ac_ct_CXX" >&6; }
4681 else
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$ac_ct_CXX" && break
4688 done
4690 if test "x$ac_ct_CXX" = x; then
4691 CXX="g++"
4692 else
4693 case $cross_compiling:$ac_tool_warned in
4694 yes:)
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4698 esac
4699 CXX=$ac_ct_CXX
4705 # Provide some information about the compiler.
4706 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4707 set X $ac_compile
4708 ac_compiler=$2
4709 for ac_option in --version -v -V -qversion; do
4710 { { ac_try="$ac_compiler $ac_option >&5"
4711 case "(($ac_try" in
4712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4714 esac
4715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4716 $as_echo "$ac_try_echo"; } >&5
4717 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4718 ac_status=$?
4719 if test -s conftest.err; then
4720 sed '10a\
4721 ... rest of stderr output deleted ...
4722 10q' conftest.err >conftest.er1
4723 cat conftest.er1 >&5
4725 rm -f conftest.er1 conftest.err
4726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4727 test $ac_status = 0; }
4728 done
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4731 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4732 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4733 $as_echo_n "(cached) " >&6
4734 else
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4739 main ()
4741 #ifndef __GNUC__
4742 choke me
4743 #endif
4746 return 0;
4748 _ACEOF
4749 if ac_fn_cxx_try_compile "$LINENO"; then :
4750 ac_compiler_gnu=yes
4751 else
4752 ac_compiler_gnu=no
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4759 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4760 if test $ac_compiler_gnu = yes; then
4761 GXX=yes
4762 else
4763 GXX=
4765 ac_test_CXXFLAGS=${CXXFLAGS+set}
4766 ac_save_CXXFLAGS=$CXXFLAGS
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4768 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4769 if ${ac_cv_prog_cxx_g+:} false; then :
4770 $as_echo_n "(cached) " >&6
4771 else
4772 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4773 ac_cxx_werror_flag=yes
4774 ac_cv_prog_cxx_g=no
4775 CXXFLAGS="-g"
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4780 main ()
4784 return 0;
4786 _ACEOF
4787 if ac_fn_cxx_try_compile "$LINENO"; then :
4788 ac_cv_prog_cxx_g=yes
4789 else
4790 CXXFLAGS=""
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4795 main ()
4799 return 0;
4801 _ACEOF
4802 if ac_fn_cxx_try_compile "$LINENO"; then :
4804 else
4805 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4806 CXXFLAGS="-g"
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4811 main ()
4815 return 0;
4817 _ACEOF
4818 if ac_fn_cxx_try_compile "$LINENO"; then :
4819 ac_cv_prog_cxx_g=yes
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4829 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4830 if test "$ac_test_CXXFLAGS" = set; then
4831 CXXFLAGS=$ac_save_CXXFLAGS
4832 elif test $ac_cv_prog_cxx_g = yes; then
4833 if test "$GXX" = yes; then
4834 CXXFLAGS="-g -O2"
4835 else
4836 CXXFLAGS="-g"
4838 else
4839 if test "$GXX" = yes; then
4840 CXXFLAGS="-O2"
4841 else
4842 CXXFLAGS=
4845 ac_ext=c
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4851 if test -n "$ac_tool_prefix"; then
4852 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4853 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_CPPBIN+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 if test -n "$CPPBIN"; then
4860 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4861 else
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 for as_dir in $PATH
4865 IFS=$as_save_IFS
4866 test -z "$as_dir" && as_dir=.
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4871 break 2
4873 done
4874 done
4875 IFS=$as_save_IFS
4879 CPPBIN=$ac_cv_prog_CPPBIN
4880 if test -n "$CPPBIN"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4882 $as_echo "$CPPBIN" >&6; }
4883 else
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4890 if test -z "$ac_cv_prog_CPPBIN"; then
4891 ac_ct_CPPBIN=$CPPBIN
4892 # Extract the first word of "cpp", so it can be a program name with args.
4893 set dummy cpp; ac_word=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4897 $as_echo_n "(cached) " >&6
4898 else
4899 if test -n "$ac_ct_CPPBIN"; then
4900 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4901 else
4902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4903 for as_dir in $PATH
4905 IFS=$as_save_IFS
4906 test -z "$as_dir" && as_dir=.
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_ac_ct_CPPBIN="cpp"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 break 2
4913 done
4914 done
4915 IFS=$as_save_IFS
4919 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4920 if test -n "$ac_ct_CPPBIN"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4922 $as_echo "$ac_ct_CPPBIN" >&6; }
4923 else
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4928 if test "x$ac_ct_CPPBIN" = x; then
4929 CPPBIN="cpp"
4930 else
4931 case $cross_compiling:$ac_tool_warned in
4932 yes:)
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned=yes ;;
4936 esac
4937 CPPBIN=$ac_ct_CPPBIN
4939 else
4940 CPPBIN="$ac_cv_prog_CPPBIN"
4944 cat >>confdefs.h <<_ACEOF
4945 #define EXEEXT "$ac_exeext"
4946 _ACEOF
4948 if test -n "$ac_tool_prefix"; then
4949 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4950 set dummy ${ac_tool_prefix}ld; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if ${ac_cv_prog_LD+:} false; then :
4954 $as_echo_n "(cached) " >&6
4955 else
4956 if test -n "$LD"; then
4957 ac_cv_prog_LD="$LD" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4962 IFS=$as_save_IFS
4963 test -z "$as_dir" && as_dir=.
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_LD="${ac_tool_prefix}ld"
4967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 break 2
4970 done
4971 done
4972 IFS=$as_save_IFS
4976 LD=$ac_cv_prog_LD
4977 if test -n "$LD"; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4979 $as_echo "$LD" >&6; }
4980 else
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4987 if test -z "$ac_cv_prog_LD"; then
4988 ac_ct_LD=$LD
4989 # Extract the first word of "ld", so it can be a program name with args.
4990 set dummy ld; ac_word=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 if test -n "$ac_ct_LD"; then
4997 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4998 else
4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 for as_dir in $PATH
5002 IFS=$as_save_IFS
5003 test -z "$as_dir" && as_dir=.
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_ac_ct_LD="ld"
5007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5017 if test -n "$ac_ct_LD"; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5019 $as_echo "$ac_ct_LD" >&6; }
5020 else
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5025 if test "x$ac_ct_LD" = x; then
5026 LD=""
5027 else
5028 case $cross_compiling:$ac_tool_warned in
5029 yes:)
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned=yes ;;
5033 esac
5034 LD=$ac_ct_LD
5036 else
5037 LD="$ac_cv_prog_LD"
5041 case $host in
5042 *-darwin*)
5043 with_fontconfig=${with_fontconfig:-no}
5045 *-mingw32*|*-cygwin*)
5046 enable_win16=${enable_win16:-no}
5047 CFLAGS="$CFLAGS -D_WIN32"
5049 esac
5051 case $host in
5052 x86_64*|amd64*)
5053 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5054 then
5055 CC="$CC -m32"
5056 CXX="$CXX -m32"
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5058 $as_echo_n "checking whether $CC works... " >&6; }
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5064 main ()
5068 return 0;
5070 _ACEOF
5071 if ac_fn_c_try_link "$LINENO"; then :
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5073 $as_echo "yes" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5077 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5079 rm -f core conftest.err conftest.$ac_objext \
5080 conftest$ac_exeext conftest.$ac_ext
5081 host_cpu="i386"
5082 notice_platform="32-bit "
5083 TARGETFLAGS="-m32"
5085 enable_win16=${enable_win16:-yes}
5086 else
5087 if test "x${GCC}" = "xyes"
5088 then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5090 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5093 #include <stdarg.h>
5095 main ()
5097 void func(__builtin_ms_va_list *args);
5099 return 0;
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5108 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5112 CC="$CC -m64"
5113 CXX="$CXX -m64"
5114 host_cpu="x86_64"
5115 notice_platform="64-bit "
5116 TARGETFLAGS="-m64"
5120 arm*)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5122 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5125 int ac_test(int i) { return i; }
5127 main ()
5129 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5131 return 0;
5133 _ACEOF
5134 if ac_fn_c_try_link "$LINENO"; then :
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5136 $as_echo "yes" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5140 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5142 rm -f core conftest.err conftest.$ac_objext \
5143 conftest$ac_exeext conftest.$ac_ext
5144 CFLAGS="$CFLAGS -marm"
5145 TARGETFLAGS="-marm"
5148 i[3456789]86*)
5149 enable_win16=${enable_win16:-yes}
5151 esac
5153 enable_win16=${enable_win16:-no}
5154 enable_win64=${enable_win64:-no}
5156 enable_winetest=${enable_winetest:-$enable_tests}
5158 if test -n "$with_wine64"
5159 then
5160 if test "x$enable_win64" = "xyes"
5161 then
5162 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5163 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5165 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5166 You should create a separate build directory and run configure from there." "$LINENO" 5
5167 enable_fonts=${enable_fonts:-no}
5168 enable_server=${enable_server:-no}
5169 elif test "x$enable_win64" = "xyes"
5170 then
5171 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5175 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5176 if ${wine_cv_toolsdir+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 wine_cv_toolsdir="$with_wine_tools"
5180 if test -z "$with_wine_tools"; then
5181 if test "$cross_compiling" = "yes"; then
5182 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5183 elif test -n "$with_wine64"; then
5184 wine_cv_toolsdir="$with_wine64"
5187 if test -z "$wine_cv_toolsdir"; then
5188 wine_makedep=tools/makedep
5189 wine_cv_toolsdir="\$(top_builddir)"
5190 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5191 wine_makedep=$wine_cv_toolsdir/tools/makedep
5192 case "$wine_cv_toolsdir" in
5193 /*) ;;
5194 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5195 esac
5196 enable_tools=${enable_tools:-no}
5197 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5198 else
5199 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5203 $as_echo "$wine_cv_toolsdir" >&6; }
5204 TOOLSDIR=$wine_cv_toolsdir
5206 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5207 then
5208 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5212 for ac_prog in flex
5214 # Extract the first word of "$ac_prog", so it can be a program name with args.
5215 set dummy $ac_prog; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_prog_FLEX+:} false; then :
5219 $as_echo_n "(cached) " >&6
5220 else
5221 if test -n "$FLEX"; then
5222 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5227 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_FLEX="$ac_prog"
5232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2
5235 done
5236 done
5237 IFS=$as_save_IFS
5241 FLEX=$ac_cv_prog_FLEX
5242 if test -n "$FLEX"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5244 $as_echo "$FLEX" >&6; }
5245 else
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }
5251 test -n "$FLEX" && break
5252 done
5253 test -n "$FLEX" || FLEX="none"
5255 if test "$FLEX" = "none"
5256 then
5257 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5260 $as_echo_n "checking whether flex is recent enough... " >&6; }
5261 cat >conftest.l <<EOF
5262 %top{
5263 #include "prediluvian.h"
5267 if $FLEX -t conftest.l >/dev/null 2>&5
5268 then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5270 $as_echo "yes" >&6; }
5271 else
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5274 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5277 for ac_prog in bison
5279 # Extract the first word of "$ac_prog", so it can be a program name with args.
5280 set dummy $ac_prog; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_BISON+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$BISON"; then
5287 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_BISON="$ac_prog"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5300 done
5301 done
5302 IFS=$as_save_IFS
5306 BISON=$ac_cv_prog_BISON
5307 if test -n "$BISON"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5309 $as_echo "$BISON" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5316 test -n "$BISON" && break
5317 done
5318 test -n "$BISON" || BISON="none"
5320 if test "$BISON" = "none"
5321 then
5322 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5325 if test -n "$ac_tool_prefix"; then
5326 for ac_prog in ar gar
5328 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5329 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if ${ac_cv_prog_AR+:} false; then :
5333 $as_echo_n "(cached) " >&6
5334 else
5335 if test -n "$AR"; then
5336 ac_cv_prog_AR="$AR" # Let the user override the test.
5337 else
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5341 IFS=$as_save_IFS
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 break 2
5349 done
5350 done
5351 IFS=$as_save_IFS
5355 AR=$ac_cv_prog_AR
5356 if test -n "$AR"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5358 $as_echo "$AR" >&6; }
5359 else
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5365 test -n "$AR" && break
5366 done
5368 if test -z "$AR"; then
5369 ac_ct_AR=$AR
5370 for ac_prog in ar gar
5372 # Extract the first word of "$ac_prog", so it can be a program name with args.
5373 set dummy $ac_prog; ac_word=$2
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5376 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 if test -n "$ac_ct_AR"; then
5380 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5381 else
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5389 ac_cv_prog_ac_ct_AR="$ac_prog"
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 break 2
5393 done
5394 done
5395 IFS=$as_save_IFS
5399 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5400 if test -n "$ac_ct_AR"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5402 $as_echo "$ac_ct_AR" >&6; }
5403 else
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5409 test -n "$ac_ct_AR" && break
5410 done
5412 if test "x$ac_ct_AR" = x; then
5413 AR="ar"
5414 else
5415 case $cross_compiling:$ac_tool_warned in
5416 yes:)
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5419 ac_tool_warned=yes ;;
5420 esac
5421 AR=$ac_ct_AR
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}strip; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_STRIP+:} false; then :
5431 $as_echo_n "(cached) " >&6
5432 else
5433 if test -n "$STRIP"; then
5434 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5443 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 STRIP=$ac_cv_prog_STRIP
5454 if test -n "$STRIP"; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5456 $as_echo "$STRIP" >&6; }
5457 else
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_STRIP"; then
5465 ac_ct_STRIP=$STRIP
5466 # Extract the first word of "strip", so it can be a program name with args.
5467 set dummy strip; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$ac_ct_STRIP"; then
5474 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_ac_ct_STRIP="strip"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5494 if test -n "$ac_ct_STRIP"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5496 $as_echo "$ac_ct_STRIP" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502 if test "x$ac_ct_STRIP" = x; then
5503 STRIP="strip"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511 STRIP=$ac_ct_STRIP
5513 else
5514 STRIP="$ac_cv_prog_STRIP"
5517 ARFLAGS=rc
5519 if test -n "$ac_tool_prefix"; then
5520 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5521 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5523 $as_echo_n "checking for $ac_word... " >&6; }
5524 if ${ac_cv_prog_RANLIB+:} false; then :
5525 $as_echo_n "(cached) " >&6
5526 else
5527 if test -n "$RANLIB"; then
5528 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5529 else
5530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5531 for as_dir in $PATH
5533 IFS=$as_save_IFS
5534 test -z "$as_dir" && as_dir=.
5535 for ac_exec_ext in '' $ac_executable_extensions; do
5536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5537 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5539 break 2
5541 done
5542 done
5543 IFS=$as_save_IFS
5547 RANLIB=$ac_cv_prog_RANLIB
5548 if test -n "$RANLIB"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5550 $as_echo "$RANLIB" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5553 $as_echo "no" >&6; }
5558 if test -z "$ac_cv_prog_RANLIB"; then
5559 ac_ct_RANLIB=$RANLIB
5560 # Extract the first word of "ranlib", so it can be a program name with args.
5561 set dummy ranlib; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5565 $as_echo_n "(cached) " >&6
5566 else
5567 if test -n "$ac_ct_RANLIB"; then
5568 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5573 IFS=$as_save_IFS
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5577 ac_cv_prog_ac_ct_RANLIB="ranlib"
5578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579 break 2
5581 done
5582 done
5583 IFS=$as_save_IFS
5587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5588 if test -n "$ac_ct_RANLIB"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5590 $as_echo "$ac_ct_RANLIB" >&6; }
5591 else
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5596 if test "x$ac_ct_RANLIB" = x; then
5597 RANLIB=":"
5598 else
5599 case $cross_compiling:$ac_tool_warned in
5600 yes:)
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5603 ac_tool_warned=yes ;;
5604 esac
5605 RANLIB=$ac_ct_RANLIB
5607 else
5608 RANLIB="$ac_cv_prog_RANLIB"
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5612 $as_echo_n "checking whether ln -s works... " >&6; }
5613 LN_S=$as_ln_s
5614 if test "$LN_S" = "ln -s"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5616 $as_echo "yes" >&6; }
5617 else
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5619 $as_echo "no, using $LN_S" >&6; }
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5623 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5624 if ${ac_cv_path_GREP+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if test -z "$GREP"; then
5628 ac_path_GREP_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in grep ggrep; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p "$ac_path_GREP" || continue
5639 # Check for GNU ac_path_GREP and select it if it is found.
5640 # Check for GNU $ac_path_GREP
5641 case `"$ac_path_GREP" --version 2>&1` in
5642 *GNU*)
5643 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5645 ac_count=0
5646 $as_echo_n 0123456789 >"conftest.in"
5647 while :
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'GREP' >> "conftest.nl"
5653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_GREP="$ac_path_GREP"
5659 ac_path_GREP_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5663 done
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 esac
5667 $ac_path_GREP_found && break 3
5668 done
5669 done
5670 done
5671 IFS=$as_save_IFS
5672 if test -z "$ac_cv_path_GREP"; then
5673 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 else
5676 ac_cv_path_GREP=$GREP
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5681 $as_echo "$ac_cv_path_GREP" >&6; }
5682 GREP="$ac_cv_path_GREP"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5686 $as_echo_n "checking for egrep... " >&6; }
5687 if ${ac_cv_path_EGREP+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5691 then ac_cv_path_EGREP="$GREP -E"
5692 else
5693 if test -z "$EGREP"; then
5694 ac_path_EGREP_found=false
5695 # Loop through the user's path and test for each of PROGNAME-LIST
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_prog in egrep; do
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5704 as_fn_executable_p "$ac_path_EGREP" || continue
5705 # Check for GNU ac_path_EGREP and select it if it is found.
5706 # Check for GNU $ac_path_EGREP
5707 case `"$ac_path_EGREP" --version 2>&1` in
5708 *GNU*)
5709 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5711 ac_count=0
5712 $as_echo_n 0123456789 >"conftest.in"
5713 while :
5715 cat "conftest.in" "conftest.in" >"conftest.tmp"
5716 mv "conftest.tmp" "conftest.in"
5717 cp "conftest.in" "conftest.nl"
5718 $as_echo 'EGREP' >> "conftest.nl"
5719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5721 as_fn_arith $ac_count + 1 && ac_count=$as_val
5722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5723 # Best one so far, save it but keep looking for a better one
5724 ac_cv_path_EGREP="$ac_path_EGREP"
5725 ac_path_EGREP_max=$ac_count
5727 # 10*(2^10) chars as input seems more than enough
5728 test $ac_count -gt 10 && break
5729 done
5730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5731 esac
5733 $ac_path_EGREP_found && break 3
5734 done
5735 done
5736 done
5737 IFS=$as_save_IFS
5738 if test -z "$ac_cv_path_EGREP"; then
5739 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5741 else
5742 ac_cv_path_EGREP=$EGREP
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5748 $as_echo "$ac_cv_path_EGREP" >&6; }
5749 EGREP="$ac_cv_path_EGREP"
5752 # Extract the first word of "ldconfig", so it can be a program name with args.
5753 set dummy ldconfig; ac_word=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_path_LDCONFIG+:} false; then :
5757 $as_echo_n "(cached) " >&6
5758 else
5759 case $LDCONFIG in
5760 [\\/]* | ?:[\\/]*)
5761 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in /sbin /usr/sbin $PATH
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 break 2
5775 done
5776 done
5777 IFS=$as_save_IFS
5779 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5781 esac
5783 LDCONFIG=$ac_cv_path_LDCONFIG
5784 if test -n "$LDCONFIG"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5786 $as_echo "$LDCONFIG" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5793 for ac_prog in msgfmt
5795 # Extract the first word of "$ac_prog", so it can be a program name with args.
5796 set dummy $ac_prog; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_MSGFMT+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 if test -n "$MSGFMT"; then
5803 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5808 IFS=$as_save_IFS
5809 test -z "$as_dir" && as_dir=.
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812 ac_cv_prog_MSGFMT="$ac_prog"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814 break 2
5816 done
5817 done
5818 IFS=$as_save_IFS
5822 MSGFMT=$ac_cv_prog_MSGFMT
5823 if test -n "$MSGFMT"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5825 $as_echo "$MSGFMT" >&6; }
5826 else
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5832 test -n "$MSGFMT" && break
5833 done
5834 test -n "$MSGFMT" || MSGFMT="false"
5836 if ${ac_tool_prefix+:} false; then :
5837 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5838 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5842 $as_echo_n "(cached) " >&6
5843 else
5844 if test -n "$PKG_CONFIG"; then
5845 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5846 else
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 for as_dir in $PATH
5850 IFS=$as_save_IFS
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 break 2
5858 done
5859 done
5860 IFS=$as_save_IFS
5864 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5865 if test -n "$PKG_CONFIG"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5867 $as_echo "$PKG_CONFIG" >&6; }
5868 else
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5875 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5876 if test "x$cross_compiling" = xyes; then :
5878 else
5879 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5880 # Extract the first word of "pkg-config", so it can be a program name with args.
5881 set dummy pkg-config; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$PKG_CONFIG"; then
5888 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_PKG_CONFIG="pkg-config"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5908 if test -n "$PKG_CONFIG"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5910 $as_echo "$PKG_CONFIG" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 else
5919 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5922 if test "x$enable_maintainer_mode" != "xyes"
5923 then
5924 FONTFORGE=""
5925 RSVG=""
5926 CONVERT=""
5927 ICOTOOL=""
5928 else
5929 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5930 for ac_prog in fontforge
5932 # Extract the first word of "$ac_prog", so it can be a program name with args.
5933 set dummy $ac_prog; ac_word=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_FONTFORGE+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 if test -n "$FONTFORGE"; then
5940 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_FONTFORGE="$ac_prog"
5950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5955 IFS=$as_save_IFS
5959 FONTFORGE=$ac_cv_prog_FONTFORGE
5960 if test -n "$FONTFORGE"; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5962 $as_echo "$FONTFORGE" >&6; }
5963 else
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5969 test -n "$FONTFORGE" && break
5970 done
5971 test -n "$FONTFORGE" || FONTFORGE="false"
5973 for ac_prog in rsvg-convert rsvg
5975 # Extract the first word of "$ac_prog", so it can be a program name with args.
5976 set dummy $ac_prog; ac_word=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_RSVG+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test -n "$RSVG"; then
5983 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5984 else
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in $PATH
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_RSVG="$ac_prog"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 break 2
5996 done
5997 done
5998 IFS=$as_save_IFS
6002 RSVG=$ac_cv_prog_RSVG
6003 if test -n "$RSVG"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6005 $as_echo "$RSVG" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6012 test -n "$RSVG" && break
6013 done
6014 test -n "$RSVG" || RSVG="false"
6016 for ac_prog in convert
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_CONVERT+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$CONVERT"; then
6026 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_CONVERT="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 CONVERT=$ac_cv_prog_CONVERT
6046 if test -n "$CONVERT"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6048 $as_echo "$CONVERT" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$CONVERT" && break
6056 done
6057 test -n "$CONVERT" || CONVERT="false"
6059 for ac_prog in icotool
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy $ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_ICOTOOL+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$ICOTOOL"; then
6069 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_ICOTOOL="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 ICOTOOL=$ac_cv_prog_ICOTOOL
6089 if test -n "$ICOTOOL"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6091 $as_echo "$ICOTOOL" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$ICOTOOL" && break
6099 done
6100 test -n "$ICOTOOL" || ICOTOOL="false"
6102 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6103 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6105 if test "$CONVERT" = false
6106 then
6107 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6108 else
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6110 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6111 convert_version=`convert --version | head -n1`
6112 if test "x$convert_version" != "x"
6113 then
6114 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6115 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6116 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6117 then
6118 CONVERT=false
6121 if test "$CONVERT" = false
6122 then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6124 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6125 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6128 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6132 if test "$ICOTOOL" = false
6133 then
6134 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6137 $as_echo_n "checking for recent enough icotool... " >&6; }
6138 icotool_version=`icotool --version | head -n1`
6139 if test "x$icotool_version" != "x"
6140 then
6141 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6142 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6143 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6144 then
6145 ICOTOOL=false
6146 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6149 if test "$ICOTOOL" = false
6150 then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6152 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6153 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6156 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6160 with_gettext=yes
6161 with_gettextpo=yes
6162 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6165 test "x$with_gettext" != xno || MSGFMT=false
6166 if test "$MSGFMT" != "false"
6167 then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6169 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6170 cat >conftest.po <<EOF
6171 # comment
6172 msgctxt "ctxt"
6173 msgid "id"
6174 msgstr "str"
6176 if $MSGFMT -o /dev/null conftest.po 2>&5
6177 then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6179 $as_echo "yes" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6183 MSGFMT=false
6186 if test "$MSGFMT" = false; then :
6187 case "x$with_gettext" in
6188 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6189 xno) ;;
6190 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6191 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6192 esac
6193 enable_po=${enable_po:-no}
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6198 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6199 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6200 $as_echo_n "(cached) " >&6
6201 else
6202 ac_check_lib_save_LIBS=$LIBS
6203 LIBS="-li386 $LIBS"
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6207 /* Override any GCC internal prototype to avoid an error.
6208 Use char because int might match the return type of a GCC
6209 builtin and then its argument prototype would still apply. */
6210 #ifdef __cplusplus
6211 extern "C"
6212 #endif
6213 char i386_set_ldt ();
6215 main ()
6217 return i386_set_ldt ();
6219 return 0;
6221 _ACEOF
6222 if ac_fn_c_try_link "$LINENO"; then :
6223 ac_cv_lib_i386_i386_set_ldt=yes
6224 else
6225 ac_cv_lib_i386_i386_set_ldt=no
6227 rm -f core conftest.err conftest.$ac_objext \
6228 conftest$ac_exeext conftest.$ac_ext
6229 LIBS=$ac_check_lib_save_LIBS
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6232 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6233 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6234 cat >>confdefs.h <<_ACEOF
6235 #define HAVE_LIBI386 1
6236 _ACEOF
6238 LIBS="-li386 $LIBS"
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6243 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6244 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6245 $as_echo_n "(cached) " >&6
6246 else
6247 ac_check_lib_save_LIBS=$LIBS
6248 LIBS="-lossaudio $LIBS"
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6252 /* Override any GCC internal prototype to avoid an error.
6253 Use char because int might match the return type of a GCC
6254 builtin and then its argument prototype would still apply. */
6255 #ifdef __cplusplus
6256 extern "C"
6257 #endif
6258 char _oss_ioctl ();
6260 main ()
6262 return _oss_ioctl ();
6264 return 0;
6266 _ACEOF
6267 if ac_fn_c_try_link "$LINENO"; then :
6268 ac_cv_lib_ossaudio__oss_ioctl=yes
6269 else
6270 ac_cv_lib_ossaudio__oss_ioctl=no
6272 rm -f core conftest.err conftest.$ac_objext \
6273 conftest$ac_exeext conftest.$ac_ext
6274 LIBS=$ac_check_lib_save_LIBS
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6277 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6278 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6279 cat >>confdefs.h <<_ACEOF
6280 #define HAVE_LIBOSSAUDIO 1
6281 _ACEOF
6283 LIBS="-lossaudio $LIBS"
6288 OPENGL_LIBS=""
6292 # Check whether --enable-largefile was given.
6293 if test "${enable_largefile+set}" = set; then :
6294 enableval=$enable_largefile;
6297 if test "$enable_largefile" != no; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6300 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6301 if ${ac_cv_sys_largefile_CC+:} false; then :
6302 $as_echo_n "(cached) " >&6
6303 else
6304 ac_cv_sys_largefile_CC=no
6305 if test "$GCC" != yes; then
6306 ac_save_CC=$CC
6307 while :; do
6308 # IRIX 6.2 and later do not support large files by default,
6309 # so use the C compiler's -n32 option if that helps.
6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6312 #include <sys/types.h>
6313 /* Check that off_t can represent 2**63 - 1 correctly.
6314 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6315 since some C++ compilers masquerading as C compilers
6316 incorrectly reject 9223372036854775807. */
6317 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6318 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6319 && LARGE_OFF_T % 2147483647 == 1)
6320 ? 1 : -1];
6322 main ()
6326 return 0;
6328 _ACEOF
6329 if ac_fn_c_try_compile "$LINENO"; then :
6330 break
6332 rm -f core conftest.err conftest.$ac_objext
6333 CC="$CC -n32"
6334 if ac_fn_c_try_compile "$LINENO"; then :
6335 ac_cv_sys_largefile_CC=' -n32'; break
6337 rm -f core conftest.err conftest.$ac_objext
6338 break
6339 done
6340 CC=$ac_save_CC
6341 rm -f conftest.$ac_ext
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6345 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6346 if test "$ac_cv_sys_largefile_CC" != no; then
6347 CC=$CC$ac_cv_sys_largefile_CC
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6351 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6352 if ${ac_cv_sys_file_offset_bits+:} false; then :
6353 $as_echo_n "(cached) " >&6
6354 else
6355 while :; do
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 ac_cv_sys_file_offset_bits=no; break
6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #define _FILE_OFFSET_BITS 64
6382 #include <sys/types.h>
6383 /* Check that off_t can represent 2**63 - 1 correctly.
6384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6385 since some C++ compilers masquerading as C compilers
6386 incorrectly reject 9223372036854775807. */
6387 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6389 && LARGE_OFF_T % 2147483647 == 1)
6390 ? 1 : -1];
6392 main ()
6396 return 0;
6398 _ACEOF
6399 if ac_fn_c_try_compile "$LINENO"; then :
6400 ac_cv_sys_file_offset_bits=64; break
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 ac_cv_sys_file_offset_bits=unknown
6404 break
6405 done
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6408 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6409 case $ac_cv_sys_file_offset_bits in #(
6410 no | unknown) ;;
6412 cat >>confdefs.h <<_ACEOF
6413 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6414 _ACEOF
6416 esac
6417 rm -rf conftest*
6418 if test $ac_cv_sys_file_offset_bits = unknown; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6420 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6421 if ${ac_cv_sys_large_files+:} false; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 while :; do
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6435 ? 1 : -1];
6437 main ()
6441 return 0;
6443 _ACEOF
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445 ac_cv_sys_large_files=no; break
6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #define _LARGE_FILES 1
6451 #include <sys/types.h>
6452 /* Check that off_t can represent 2**63 - 1 correctly.
6453 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6454 since some C++ compilers masquerading as C compilers
6455 incorrectly reject 9223372036854775807. */
6456 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6457 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6458 && LARGE_OFF_T % 2147483647 == 1)
6459 ? 1 : -1];
6461 main ()
6465 return 0;
6467 _ACEOF
6468 if ac_fn_c_try_compile "$LINENO"; then :
6469 ac_cv_sys_large_files=1; break
6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 ac_cv_sys_large_files=unknown
6473 break
6474 done
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6477 $as_echo "$ac_cv_sys_large_files" >&6; }
6478 case $ac_cv_sys_large_files in #(
6479 no | unknown) ;;
6481 cat >>confdefs.h <<_ACEOF
6482 #define _LARGE_FILES $ac_cv_sys_large_files
6483 _ACEOF
6485 esac
6486 rm -rf conftest*
6493 ac_ext=c
6494 ac_cpp='$CPP $CPPFLAGS'
6495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6499 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6500 # On Suns, sometimes $CPP names a directory.
6501 if test -n "$CPP" && test -d "$CPP"; then
6502 CPP=
6504 if test -z "$CPP"; then
6505 if ${ac_cv_prog_CPP+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 # Double quotes because CPP needs to be expanded
6509 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6511 ac_preproc_ok=false
6512 for ac_c_preproc_warn_flag in '' yes
6514 # Use a header file that comes with gcc, so configuring glibc
6515 # with a fresh cross-compiler works.
6516 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6517 # <limits.h> exists even on freestanding compilers.
6518 # On the NeXT, cc -E runs the code through the compiler's parser,
6519 # not just through cpp. "Syntax error" is here to catch this case.
6520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6521 /* end confdefs.h. */
6522 #ifdef __STDC__
6523 # include <limits.h>
6524 #else
6525 # include <assert.h>
6526 #endif
6527 Syntax error
6528 _ACEOF
6529 if ac_fn_c_try_cpp "$LINENO"; then :
6531 else
6532 # Broken: fails on valid input.
6533 continue
6535 rm -f conftest.err conftest.i conftest.$ac_ext
6537 # OK, works on sane cases. Now check whether nonexistent headers
6538 # can be detected and how.
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6541 #include <ac_nonexistent.h>
6542 _ACEOF
6543 if ac_fn_c_try_cpp "$LINENO"; then :
6544 # Broken: success on invalid input.
6545 continue
6546 else
6547 # Passes both tests.
6548 ac_preproc_ok=:
6549 break
6551 rm -f conftest.err conftest.i conftest.$ac_ext
6553 done
6554 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6555 rm -f conftest.i conftest.err conftest.$ac_ext
6556 if $ac_preproc_ok; then :
6557 break
6560 done
6561 ac_cv_prog_CPP=$CPP
6564 CPP=$ac_cv_prog_CPP
6565 else
6566 ac_cv_prog_CPP=$CPP
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6569 $as_echo "$CPP" >&6; }
6570 ac_preproc_ok=false
6571 for ac_c_preproc_warn_flag in '' yes
6573 # Use a header file that comes with gcc, so configuring glibc
6574 # with a fresh cross-compiler works.
6575 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6576 # <limits.h> exists even on freestanding compilers.
6577 # On the NeXT, cc -E runs the code through the compiler's parser,
6578 # not just through cpp. "Syntax error" is here to catch this case.
6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6581 #ifdef __STDC__
6582 # include <limits.h>
6583 #else
6584 # include <assert.h>
6585 #endif
6586 Syntax error
6587 _ACEOF
6588 if ac_fn_c_try_cpp "$LINENO"; then :
6590 else
6591 # Broken: fails on valid input.
6592 continue
6594 rm -f conftest.err conftest.i conftest.$ac_ext
6596 # OK, works on sane cases. Now check whether nonexistent headers
6597 # can be detected and how.
6598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6599 /* end confdefs.h. */
6600 #include <ac_nonexistent.h>
6601 _ACEOF
6602 if ac_fn_c_try_cpp "$LINENO"; then :
6603 # Broken: success on invalid input.
6604 continue
6605 else
6606 # Passes both tests.
6607 ac_preproc_ok=:
6608 break
6610 rm -f conftest.err conftest.i conftest.$ac_ext
6612 done
6613 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6614 rm -f conftest.i conftest.err conftest.$ac_ext
6615 if $ac_preproc_ok; then :
6617 else
6618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6620 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6621 See \`config.log' for more details" "$LINENO" 5; }
6624 ac_ext=c
6625 ac_cpp='$CPP $CPPFLAGS'
6626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6632 $as_echo_n "checking for ANSI C header files... " >&6; }
6633 if ${ac_cv_header_stdc+:} false; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 #include <stdlib.h>
6639 #include <stdarg.h>
6640 #include <string.h>
6641 #include <float.h>
6644 main ()
6648 return 0;
6650 _ACEOF
6651 if ac_fn_c_try_compile "$LINENO"; then :
6652 ac_cv_header_stdc=yes
6653 else
6654 ac_cv_header_stdc=no
6656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6658 if test $ac_cv_header_stdc = yes; then
6659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 #include <string.h>
6664 _ACEOF
6665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6666 $EGREP "memchr" >/dev/null 2>&1; then :
6668 else
6669 ac_cv_header_stdc=no
6671 rm -f conftest*
6675 if test $ac_cv_header_stdc = yes; then
6676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6679 #include <stdlib.h>
6681 _ACEOF
6682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6683 $EGREP "free" >/dev/null 2>&1; then :
6685 else
6686 ac_cv_header_stdc=no
6688 rm -f conftest*
6692 if test $ac_cv_header_stdc = yes; then
6693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6694 if test "$cross_compiling" = yes; then :
6696 else
6697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6698 /* end confdefs.h. */
6699 #include <ctype.h>
6700 #include <stdlib.h>
6701 #if ((' ' & 0x0FF) == 0x020)
6702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6704 #else
6705 # define ISLOWER(c) \
6706 (('a' <= (c) && (c) <= 'i') \
6707 || ('j' <= (c) && (c) <= 'r') \
6708 || ('s' <= (c) && (c) <= 'z'))
6709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6710 #endif
6712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6714 main ()
6716 int i;
6717 for (i = 0; i < 256; i++)
6718 if (XOR (islower (i), ISLOWER (i))
6719 || toupper (i) != TOUPPER (i))
6720 return 2;
6721 return 0;
6723 _ACEOF
6724 if ac_fn_c_try_run "$LINENO"; then :
6726 else
6727 ac_cv_header_stdc=no
6729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6730 conftest.$ac_objext conftest.beam conftest.$ac_ext
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6736 $as_echo "$ac_cv_header_stdc" >&6; }
6737 if test $ac_cv_header_stdc = yes; then
6739 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6744 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6745 inttypes.h stdint.h unistd.h
6746 do :
6747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6748 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6751 cat >>confdefs.h <<_ACEOF
6752 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6753 _ACEOF
6757 done
6760 for ac_header in \
6761 AL/al.h \
6762 ApplicationServices/ApplicationServices.h \
6763 AudioToolbox/AudioConverter.h \
6764 AudioUnit/AudioUnit.h \
6765 AudioUnit/AudioComponent.h \
6766 CL/cl.h \
6767 Carbon/Carbon.h \
6768 CommonCrypto/CommonDigest.h \
6769 CoreAudio/CoreAudio.h \
6770 CoreServices/CoreServices.h \
6771 DiskArbitration/DiskArbitration.h \
6772 IOKit/IOKitLib.h \
6773 IOKit/hid/IOHIDLib.h \
6774 OpenAL/al.h \
6775 OpenCL/opencl.h \
6776 QuickTime/ImageCompression.h \
6777 Security/Security.h \
6778 alias.h \
6779 alsa/asoundlib.h \
6780 arpa/inet.h \
6781 arpa/nameser.h \
6782 asm/types.h \
6783 asm/user.h \
6784 curses.h \
6785 direct.h \
6786 dirent.h \
6787 dlfcn.h \
6788 elf.h \
6789 float.h \
6790 fnmatch.h \
6791 getopt.h \
6792 gettext-po.h \
6793 grp.h \
6794 gsm.h \
6795 gsm/gsm.h \
6796 ieeefp.h \
6797 inet/mib2.h \
6798 io.h \
6799 kstat.h \
6800 lber.h \
6801 ldap.h \
6802 libproc.h \
6803 link.h \
6804 linux/cdrom.h \
6805 linux/compiler.h \
6806 linux/filter.h \
6807 linux/hdreg.h \
6808 linux/hidraw.h \
6809 linux/input.h \
6810 linux/ioctl.h \
6811 linux/joystick.h \
6812 linux/major.h \
6813 linux/param.h \
6814 linux/serial.h \
6815 linux/types.h \
6816 linux/ucdrom.h \
6817 lwp.h \
6818 mach-o/nlist.h \
6819 mach-o/loader.h \
6820 mach/mach.h \
6821 mach/machine.h \
6822 machine/cpu.h \
6823 machine/limits.h \
6824 machine/sysarch.h \
6825 mntent.h \
6826 ncurses.h \
6827 netdb.h \
6828 netinet/in.h \
6829 netinet/in_systm.h \
6830 netinet/tcp.h \
6831 netinet/tcp_fsm.h \
6832 pcap/pcap.h \
6833 poll.h \
6834 port.h \
6835 process.h \
6836 pthread.h \
6837 pwd.h \
6838 sched.h \
6839 scsi/scsi.h \
6840 scsi/scsi_ioctl.h \
6841 scsi/sg.h \
6842 stdbool.h \
6843 stdint.h \
6844 stropts.h \
6845 sys/asoundlib.h \
6846 sys/attr.h \
6847 sys/cdio.h \
6848 sys/elf32.h \
6849 sys/epoll.h \
6850 sys/event.h \
6851 sys/exec_elf.h \
6852 sys/filio.h \
6853 sys/inotify.h \
6854 sys/ioctl.h \
6855 sys/ipc.h \
6856 sys/limits.h \
6857 sys/link.h \
6858 sys/mman.h \
6859 sys/modem.h \
6860 sys/msg.h \
6861 sys/mtio.h \
6862 sys/param.h \
6863 sys/poll.h \
6864 sys/prctl.h \
6865 sys/protosw.h \
6866 sys/ptrace.h \
6867 sys/queue.h \
6868 sys/resource.h \
6869 sys/scsiio.h \
6870 sys/shm.h \
6871 sys/signal.h \
6872 sys/socket.h \
6873 sys/socketvar.h \
6874 sys/sockio.h \
6875 sys/statvfs.h \
6876 sys/strtio.h \
6877 sys/syscall.h \
6878 sys/sysinfo.h \
6879 sys/tihdr.h \
6880 sys/time.h \
6881 sys/timeout.h \
6882 sys/times.h \
6883 sys/uio.h \
6884 sys/user.h \
6885 sys/utsname.h \
6886 sys/vm86.h \
6887 sys/vnode.h \
6888 sys/wait.h \
6889 syscall.h \
6890 termios.h \
6891 unistd.h \
6892 utime.h \
6893 valgrind/memcheck.h \
6894 valgrind/valgrind.h \
6895 zlib.h
6897 do :
6898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6899 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6900 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6901 cat >>confdefs.h <<_ACEOF
6902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6903 _ACEOF
6907 done
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6910 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6911 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6912 $as_echo_n "(cached) " >&6
6913 else
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6916 #include <sys/types.h>
6918 main ()
6920 return makedev(0, 0);
6922 return 0;
6924 _ACEOF
6925 if ac_fn_c_try_link "$LINENO"; then :
6926 ac_cv_header_sys_types_h_makedev=yes
6927 else
6928 ac_cv_header_sys_types_h_makedev=no
6930 rm -f core conftest.err conftest.$ac_objext \
6931 conftest$ac_exeext conftest.$ac_ext
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6935 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6937 if test $ac_cv_header_sys_types_h_makedev = no; then
6938 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6939 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6941 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6947 if test $ac_cv_header_sys_mkdev_h = no; then
6948 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6949 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6951 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6960 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6961 if ${ac_cv_header_stat_broken+:} false; then :
6962 $as_echo_n "(cached) " >&6
6963 else
6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6966 #include <sys/types.h>
6967 #include <sys/stat.h>
6969 #if defined S_ISBLK && defined S_IFDIR
6970 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6971 #endif
6973 #if defined S_ISBLK && defined S_IFCHR
6974 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6975 #endif
6977 #if defined S_ISLNK && defined S_IFREG
6978 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6979 #endif
6981 #if defined S_ISSOCK && defined S_IFREG
6982 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6983 #endif
6985 _ACEOF
6986 if ac_fn_c_try_compile "$LINENO"; then :
6987 ac_cv_header_stat_broken=no
6988 else
6989 ac_cv_header_stat_broken=yes
6991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6994 $as_echo "$ac_cv_header_stat_broken" >&6; }
6995 if test $ac_cv_header_stat_broken = yes; then
6997 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7003 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7004 do :
7005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7007 #ifdef HAVE_SYS_PARAM_H
7008 # include <sys/param.h>
7009 #endif
7011 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7012 cat >>confdefs.h <<_ACEOF
7013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7014 _ACEOF
7018 done
7021 for ac_header in \
7022 netinet/ip.h \
7023 net/if.h \
7024 net/if_arp.h \
7025 net/if_dl.h \
7026 net/if_types.h \
7027 net/route.h \
7028 netinet/if_ether.h \
7029 netinet/if_inarp.h \
7030 netinet/in_pcb.h \
7031 netinet/ip_icmp.h \
7032 netinet/ip_var.h \
7033 netinet/udp.h \
7034 netipx/ipx.h \
7035 sys/un.h \
7037 do :
7038 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7039 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7040 #ifdef HAVE_SYS_SOCKET_H
7041 # include <sys/socket.h>
7042 #endif
7043 #ifdef HAVE_SYS_SOCKETVAR_H
7044 # include <sys/socketvar.h>
7045 #endif
7046 #ifdef HAVE_NET_ROUTE_H
7047 # include <net/route.h>
7048 #endif
7049 #ifdef HAVE_NETINET_IN_H
7050 # include <netinet/in.h>
7051 #endif
7052 #ifdef HAVE_NETINET_IN_SYSTM_H
7053 # include <netinet/in_systm.h>
7054 #endif
7055 #ifdef HAVE_NET_IF_H
7056 # include <net/if.h>
7057 #endif
7058 #ifdef HAVE_NETINET_IP_H
7059 # include <netinet/ip.h>
7060 #endif
7062 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7063 cat >>confdefs.h <<_ACEOF
7064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7065 _ACEOF
7069 done
7072 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7073 do :
7074 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7075 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7076 #ifdef HAVE_ALIAS_H
7077 # include <alias.h>
7078 #endif
7079 #ifdef HAVE_SYS_SOCKET_H
7080 # include <sys/socket.h>
7081 #endif
7082 #ifdef HAVE_SYS_SOCKETVAR_H
7083 # include <sys/socketvar.h>
7084 #endif
7085 #ifdef HAVE_SYS_TIMEOUT_H
7086 # include <sys/timeout.h>
7087 #endif
7088 #ifdef HAVE_NETINET_IN_H
7089 # include <netinet/in.h>
7090 #endif
7091 #ifdef HAVE_NETINET_IN_SYSTM_H
7092 # include <netinet/in_systm.h>
7093 #endif
7094 #ifdef HAVE_NETINET_IP_H
7095 # include <netinet/ip.h>
7096 #endif
7097 #ifdef HAVE_NETINET_IP_VAR_H
7098 # include <netinet/ip_var.h>
7099 #endif
7100 #ifdef HAVE_NETINET_IP_ICMP_H
7101 # include <netinet/ip_icmp.h>
7102 #endif
7103 #ifdef HAVE_NETINET_UDP_H
7104 # include <netinet/udp.h>
7105 #endif
7106 #ifdef HAVE_NETINET_TCP_H
7107 # include <netinet/tcp.h>
7108 #endif
7109 #ifdef HAVE_NETINET_TCP_TIMER_H
7110 #include <netinet/tcp_timer.h>
7111 #endif
7113 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7114 cat >>confdefs.h <<_ACEOF
7115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7116 _ACEOF
7120 done
7123 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7124 do :
7125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7126 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7127 #ifdef HAVE_ASM_TYPES_H
7128 # include <asm/types.h>
7129 #endif
7130 #ifdef HAVE_SYS_SOCKET_H
7131 # include <sys/socket.h>
7132 #endif
7133 #ifdef HAVE_LINUX_TYPES_H
7134 # include <linux/types.h>
7135 #endif
7137 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7138 cat >>confdefs.h <<_ACEOF
7139 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7140 _ACEOF
7144 done
7147 for ac_header in mach-o/dyld_images.h
7148 do :
7149 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7150 # include <stdbool.h>
7151 #endif
7152 #ifdef HAVE_STDINT_H
7153 # include <stdint.h>
7154 #endif
7156 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7159 _ACEOF
7163 done
7166 for ac_header in resolv.h
7167 do :
7168 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7169 #ifdef HAVE_SYS_SOCKET_H
7170 # include <sys/socket.h>
7171 #endif
7172 #ifdef HAVE_NETINET_IN_H
7173 # include <netinet/in.h>
7174 #endif
7175 #ifdef HAVE_ARPA_NAMESER_H
7176 # include <arpa/nameser.h>
7177 #endif
7179 if test "x$ac_cv_header_resolv_h" = xyes; then :
7180 cat >>confdefs.h <<_ACEOF
7181 #define HAVE_RESOLV_H 1
7182 _ACEOF
7186 done
7189 for ac_header in ifaddrs.h
7190 do :
7191 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7193 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7194 cat >>confdefs.h <<_ACEOF
7195 #define HAVE_IFADDRS_H 1
7196 _ACEOF
7200 done
7203 for ac_header in sys/ucontext.h
7204 do :
7205 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7207 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7208 cat >>confdefs.h <<_ACEOF
7209 #define HAVE_SYS_UCONTEXT_H 1
7210 _ACEOF
7214 done
7217 for ac_header in sys/thr.h
7218 do :
7219 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7220 #ifdef HAVE_SYS_UCONTEXT_H
7221 #include <sys/ucontext.h>
7222 #endif
7224 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7225 cat >>confdefs.h <<_ACEOF
7226 #define HAVE_SYS_THR_H 1
7227 _ACEOF
7231 done
7234 for ac_header in pthread_np.h
7235 do :
7236 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7237 #include <pthread.h>
7238 #endif
7240 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7241 cat >>confdefs.h <<_ACEOF
7242 #define HAVE_PTHREAD_NP_H 1
7243 _ACEOF
7247 done
7250 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7251 do :
7252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7253 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7254 #include <sys/time.h>
7255 #endif
7256 #include <sys/types.h>
7257 #ifdef HAVE_ASM_TYPES_H
7258 #include <asm/types.h>
7259 #endif
7261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7262 cat >>confdefs.h <<_ACEOF
7263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7264 _ACEOF
7268 done
7271 for ac_header in libprocstat.h
7272 do :
7273 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7274 #include <sys/param.h>
7275 #endif
7276 #ifdef HAVE_SYS_QUEUE_H
7277 #include <sys/queue.h>
7278 #endif
7279 #ifdef HAVE_SYS_SOCKET_H
7280 #include <sys/socket.h>
7281 #endif
7283 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7284 cat >>confdefs.h <<_ACEOF
7285 #define HAVE_LIBPROCSTAT_H 1
7286 _ACEOF
7290 done
7294 dlldir="\${libdir}/wine"
7296 DLLFLAGS="-D_REENTRANT"
7298 LDRPATH_INSTALL=""
7300 LDRPATH_LOCAL=""
7302 LDEXECFLAGS=""
7304 LIBEXT="so"
7305 DLLEXT=".so"
7306 IMPLIBEXT="def"
7307 # Extract the first word of "ldd", so it can be a program name with args.
7308 set dummy ldd; ac_word=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; }
7311 if ${ac_cv_path_LDD+:} false; then :
7312 $as_echo_n "(cached) " >&6
7313 else
7314 case $LDD in
7315 [\\/]* | ?:[\\/]*)
7316 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 as_dummy="/sbin:/usr/sbin:$PATH"
7321 for as_dir in $as_dummy
7323 IFS=$as_save_IFS
7324 test -z "$as_dir" && as_dir=.
7325 for ac_exec_ext in '' $ac_executable_extensions; do
7326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7327 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7329 break 2
7331 done
7332 done
7333 IFS=$as_save_IFS
7335 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7337 esac
7339 LDD=$ac_cv_path_LDD
7340 if test -n "$LDD"; then
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7342 $as_echo "$LDD" >&6; }
7343 else
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7349 if test -n "$ac_tool_prefix"; then
7350 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7351 set dummy ${ac_tool_prefix}otool; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if ${ac_cv_prog_OTOOL+:} false; then :
7355 $as_echo_n "(cached) " >&6
7356 else
7357 if test -n "$OTOOL"; then
7358 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7359 else
7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 for as_dir in $PATH
7363 IFS=$as_save_IFS
7364 test -z "$as_dir" && as_dir=.
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7367 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 break 2
7371 done
7372 done
7373 IFS=$as_save_IFS
7377 OTOOL=$ac_cv_prog_OTOOL
7378 if test -n "$OTOOL"; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7380 $as_echo "$OTOOL" >&6; }
7381 else
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 $as_echo "no" >&6; }
7388 if test -z "$ac_cv_prog_OTOOL"; then
7389 ac_ct_OTOOL=$OTOOL
7390 # Extract the first word of "otool", so it can be a program name with args.
7391 set dummy otool; ac_word=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7395 $as_echo_n "(cached) " >&6
7396 else
7397 if test -n "$ac_ct_OTOOL"; then
7398 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7399 else
7400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7401 for as_dir in $PATH
7403 IFS=$as_save_IFS
7404 test -z "$as_dir" && as_dir=.
7405 for ac_exec_ext in '' $ac_executable_extensions; do
7406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7407 ac_cv_prog_ac_ct_OTOOL="otool"
7408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 break 2
7411 done
7412 done
7413 IFS=$as_save_IFS
7417 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7418 if test -n "$ac_ct_OTOOL"; then
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7420 $as_echo "$ac_ct_OTOOL" >&6; }
7421 else
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7423 $as_echo "no" >&6; }
7426 if test "x$ac_ct_OTOOL" = x; then
7427 OTOOL="otool"
7428 else
7429 case $cross_compiling:$ac_tool_warned in
7430 yes:)
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7433 ac_tool_warned=yes ;;
7434 esac
7435 OTOOL=$ac_ct_OTOOL
7437 else
7438 OTOOL="$ac_cv_prog_OTOOL"
7441 if test -n "$ac_tool_prefix"; then
7442 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7443 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445 $as_echo_n "checking for $ac_word... " >&6; }
7446 if ${ac_cv_prog_READELF+:} false; then :
7447 $as_echo_n "(cached) " >&6
7448 else
7449 if test -n "$READELF"; then
7450 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7451 else
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 for as_dir in $PATH
7455 IFS=$as_save_IFS
7456 test -z "$as_dir" && as_dir=.
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7458 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7459 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461 break 2
7463 done
7464 done
7465 IFS=$as_save_IFS
7469 READELF=$ac_cv_prog_READELF
7470 if test -n "$READELF"; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7472 $as_echo "$READELF" >&6; }
7473 else
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 $as_echo "no" >&6; }
7480 if test -z "$ac_cv_prog_READELF"; then
7481 ac_ct_READELF=$READELF
7482 # Extract the first word of "readelf", so it can be a program name with args.
7483 set dummy readelf; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7487 $as_echo_n "(cached) " >&6
7488 else
7489 if test -n "$ac_ct_READELF"; then
7490 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7491 else
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7493 for as_dir in $PATH
7495 IFS=$as_save_IFS
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7499 ac_cv_prog_ac_ct_READELF="readelf"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501 break 2
7503 done
7504 done
7505 IFS=$as_save_IFS
7509 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7510 if test -n "$ac_ct_READELF"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7512 $as_echo "$ac_ct_READELF" >&6; }
7513 else
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7518 if test "x$ac_ct_READELF" = x; then
7519 READELF="true"
7520 else
7521 case $cross_compiling:$ac_tool_warned in
7522 yes:)
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7525 ac_tool_warned=yes ;;
7526 esac
7527 READELF=$ac_ct_READELF
7529 else
7530 READELF="$ac_cv_prog_READELF"
7533 wine_rules_file=conf$$rules.make
7534 rm -f $wine_rules_file
7535 SUBDIRS=""
7537 DISABLED_SUBDIRS=""
7539 CONFIGURE_TARGETS=""
7541 ALL_TEST_RESOURCES=""
7544 wine_fn_append_file ()
7546 as_fn_append $1 " \\$as_nl $2"
7549 wine_fn_append_rule ()
7551 $as_echo "$1" >>$wine_rules_file
7554 wine_fn_has_flag ()
7556 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7559 wine_fn_all_rules ()
7561 wine_fn_append_file SUBDIRS $ac_dir
7562 wine_fn_append_rule \
7563 "all: $ac_dir
7564 .PHONY: $ac_dir
7565 $ac_dir: dummy
7566 @cd $ac_dir && \$(MAKE)"
7569 wine_fn_install_rules ()
7571 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7573 wine_fn_append_rule \
7574 ".PHONY: $ac_dir/install $ac_dir/uninstall
7575 $ac_dir/install:: $ac_dir
7576 @cd $ac_dir && \$(MAKE) install
7577 $ac_dir/uninstall::
7578 @cd $ac_dir && \$(MAKE) uninstall
7579 install:: $ac_dir/install
7580 __uninstall__: $ac_dir/uninstall"
7582 if wine_fn_has_flag install-lib
7583 then
7584 wine_fn_append_rule \
7585 ".PHONY: $ac_dir/install-lib
7586 $ac_dir/install-lib:: $ac_dir
7587 @cd $ac_dir && \$(MAKE) install-lib
7588 install-lib:: $ac_dir/install-lib"
7591 if wine_fn_has_flag install-dev
7592 then
7593 wine_fn_append_rule \
7594 ".PHONY: $ac_dir/install-dev
7595 $ac_dir/install-dev:: $ac_dir
7596 @cd $ac_dir && \$(MAKE) install-dev
7597 install-dev:: $ac_dir/install-dev"
7601 wine_fn_clean_rules ()
7603 ac_clean=$@
7605 if wine_fn_has_flag clean
7606 then
7607 wine_fn_append_rule \
7608 "$ac_dir/clean: dummy
7609 @cd $ac_dir && \$(MAKE) clean"
7610 else
7611 wine_fn_append_rule \
7612 "$ac_dir/clean: dummy
7613 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7615 wine_fn_append_rule \
7616 "__clean__: $ac_dir/clean
7617 .PHONY: $ac_dir/clean"
7620 wine_fn_disabled_rules ()
7622 ac_clean=$@
7624 wine_fn_append_file SUBDIRS $ac_dir
7625 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7626 wine_fn_append_rule \
7627 "__clean__: $ac_dir/clean
7628 .PHONY: $ac_dir/clean
7629 $ac_dir/clean: dummy
7630 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7633 wine_fn_config_makefile ()
7635 ac_dir=$1
7636 ac_enable=$2
7637 ac_flags=$3
7639 case $ac_dir in
7640 fonts|server) test -z "$with_wine64" || return ;;
7641 esac
7642 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7643 wine_fn_disabled_rules; return
7645 wine_fn_all_rules
7646 wine_fn_install_rules
7647 wine_fn_clean_rules
7650 wine_fn_config_lib ()
7652 ac_name=$1
7653 ac_flags=$2
7654 ac_dir=dlls/$ac_name
7655 ac_deps="include"
7657 if test "x$enable_tools" = xno; then :
7659 else
7660 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7662 wine_fn_all_rules
7663 wine_fn_clean_rules
7665 wine_fn_append_rule \
7666 ".PHONY: $ac_dir/install $ac_dir/uninstall
7667 $ac_dir/install:: $ac_dir
7668 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7669 $ac_dir/uninstall::
7670 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7671 install install-dev:: $ac_dir/install
7672 __uninstall__: $ac_dir/uninstall
7673 __builddeps__: $ac_dir
7674 $ac_dir: $ac_deps"
7677 wine_fn_config_dll ()
7679 ac_name=$1
7680 ac_dir=dlls/$ac_name
7681 ac_enable=$2
7682 ac_flags=$3
7683 ac_implib=${4:-$ac_name}
7684 ac_file=$ac_dir/lib$ac_implib
7685 ac_dll=$ac_name
7686 ac_deps="include"
7687 ac_implibflags=""
7689 if test "x$enable_tools" = xno; then :
7691 else
7692 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7694 case $ac_name in
7695 *16) ac_implibflags=" -m16" ;;
7696 *.*) ;;
7697 *) ac_dll=$ac_dll.dll ;;
7698 esac
7700 ac_clean=
7701 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7702 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7704 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7705 if test "$ac_enable" != enable_win16
7706 then
7707 wine_fn_clean_rules $ac_clean
7708 wine_fn_append_file SUBDIRS $ac_dir
7709 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7710 else
7711 wine_fn_disabled_rules $ac_clean
7712 return
7714 else
7715 wine_fn_all_rules
7716 wine_fn_clean_rules $ac_clean
7717 wine_fn_append_rule \
7718 "$ac_dir: __builddeps__
7719 manpages htmlpages sgmlpages xmlpages::
7720 @cd $ac_dir && \$(MAKE) \$@
7721 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7722 install install-lib:: $ac_dir/install-lib
7723 __uninstall__: $ac_dir/uninstall"
7724 if test -n "$DLLEXT"
7725 then
7726 wine_fn_append_rule \
7727 "$ac_dir/install-lib:: $ac_dir
7728 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7729 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7730 $ac_dir/uninstall::
7731 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7732 else
7733 wine_fn_append_rule \
7734 "$ac_dir/install-lib:: $ac_dir
7735 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7736 $ac_dir/uninstall::
7737 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7741 if wine_fn_has_flag staticimplib
7742 then
7743 wine_fn_append_rule \
7744 "__builddeps__: $ac_file.a
7745 $ac_file.a $ac_file.cross.a: $ac_deps
7746 $ac_file.a: dummy
7747 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7748 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7749 $ac_dir/install-dev:: $ac_file.a
7750 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7751 $ac_dir/uninstall::
7752 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7753 install install-dev:: $ac_dir/install-dev
7754 __uninstall__: $ac_dir/uninstall"
7756 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7757 then
7758 wine_fn_append_rule \
7759 "__builddeps__: $ac_file.cross.a
7760 $ac_file.cross.a: dummy
7761 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7764 elif wine_fn_has_flag implib
7765 then
7766 wine_fn_append_rule \
7767 "__builddeps__: $ac_file.$IMPLIBEXT
7768 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7769 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7770 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7771 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7772 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7773 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7774 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7775 $ac_dir/uninstall::
7776 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7777 install install-dev:: $ac_dir/install-dev
7778 __uninstall__: $ac_dir/uninstall"
7779 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7780 then
7781 wine_fn_append_rule \
7782 "__builddeps__: $ac_file.cross.a
7783 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7784 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7789 wine_fn_config_program ()
7791 ac_name=$1
7792 ac_dir=programs/$ac_name
7793 ac_enable=$2
7794 ac_flags=$3
7795 ac_program=$ac_name
7797 case $ac_name in
7798 *.*) ;;
7799 *) ac_program=$ac_program.exe ;;
7800 esac
7802 ac_clean=
7803 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7804 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7806 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7807 wine_fn_disabled_rules $ac_clean; return
7810 wine_fn_all_rules
7811 wine_fn_clean_rules $ac_clean
7812 wine_fn_append_rule "$ac_dir: __builddeps__"
7814 wine_fn_has_flag install || return
7815 wine_fn_append_rule \
7816 ".PHONY: $ac_dir/install $ac_dir/uninstall
7817 install install-lib:: $ac_dir/install
7818 __uninstall__: $ac_dir/uninstall"
7820 if test -n "$DLLEXT"
7821 then
7822 wine_fn_append_rule \
7823 "$ac_dir/install:: $ac_dir
7824 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7825 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7826 $ac_dir/uninstall::
7827 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7829 if test -z "$with_wine64" && wine_fn_has_flag installbin
7830 then
7831 wine_fn_append_rule \
7832 "$ac_dir/install:: __tooldeps__
7833 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7834 $ac_dir/uninstall::
7835 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7837 else
7838 wine_fn_append_rule \
7839 "$ac_dir/install:: $ac_dir
7840 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7841 $ac_dir/uninstall::
7842 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7845 if test -z "$with_wine64" && wine_fn_has_flag manpage
7846 then
7847 wine_fn_append_rule \
7848 "$ac_dir/install:: $ac_dir
7849 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7850 $ac_dir/uninstall::
7851 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7855 wine_fn_config_test ()
7857 ac_dir=$1
7858 ac_name=$2
7859 ac_flags=$3
7861 ac_clean=
7862 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7863 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7865 if test "x$enable_tests" = xno; then :
7866 wine_fn_disabled_rules $ac_clean; return
7869 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7870 wine_fn_all_rules
7871 wine_fn_clean_rules $ac_clean
7873 wine_fn_append_rule \
7874 "$ac_dir: __builddeps__
7875 programs/winetest: $ac_dir
7876 check test: $ac_dir/test
7877 .PHONY: $ac_dir/test
7878 $ac_dir/test: dummy
7879 @cd $ac_dir && \$(MAKE) test
7880 testclean::
7881 \$(RM) $ac_dir/*.ok"
7883 if test -n "$CROSSTARGET"
7884 then
7885 wine_fn_append_rule \
7886 "crosstest: $ac_dir/crosstest
7887 .PHONY: $ac_dir/crosstest
7888 $ac_dir/crosstest: __builddeps__ dummy
7889 @cd $ac_dir && \$(MAKE) crosstest"
7893 wine_fn_config_tool ()
7895 ac_dir=$1
7896 ac_flags=$2
7897 if test "x$enable_tools" = xno; then :
7898 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7901 wine_fn_all_rules
7902 wine_fn_install_rules
7903 wine_fn_clean_rules
7905 wine_fn_append_rule "__tooldeps__: $ac_dir"
7906 wine_fn_append_rule "$ac_dir: libs/port"
7907 case $ac_dir in
7908 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7909 esac
7912 wine_fn_config_symlink ()
7914 ac_linkdir=
7915 if test "x$1" = "x-d"
7916 then
7917 ac_linkdir=$2
7918 shift; shift
7920 ac_links=$@
7921 wine_fn_append_rule \
7922 "$ac_links:
7923 @./config.status \$@"
7924 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7925 test -n "$ac_linkdir" || return
7926 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7929 wine_binary="wine"
7930 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7931 WINELOADER_PROGRAMS="$wine_binary"
7933 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7935 case $host_os in
7936 cygwin*|mingw32*)
7937 if test -n "$ac_tool_prefix"; then
7938 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7939 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_DLLTOOL+:} false; then :
7943 $as_echo_n "(cached) " >&6
7944 else
7945 if test -n "$DLLTOOL"; then
7946 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7947 else
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 for as_dir in $PATH
7951 IFS=$as_save_IFS
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7955 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7957 break 2
7959 done
7960 done
7961 IFS=$as_save_IFS
7965 DLLTOOL=$ac_cv_prog_DLLTOOL
7966 if test -n "$DLLTOOL"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7968 $as_echo "$DLLTOOL" >&6; }
7969 else
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7976 if test -z "$ac_cv_prog_DLLTOOL"; then
7977 ac_ct_DLLTOOL=$DLLTOOL
7978 # Extract the first word of "dlltool", so it can be a program name with args.
7979 set dummy dlltool; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7981 $as_echo_n "checking for $ac_word... " >&6; }
7982 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7983 $as_echo_n "(cached) " >&6
7984 else
7985 if test -n "$ac_ct_DLLTOOL"; then
7986 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7987 else
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7989 for as_dir in $PATH
7991 IFS=$as_save_IFS
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7995 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 break 2
7999 done
8000 done
8001 IFS=$as_save_IFS
8005 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8006 if test -n "$ac_ct_DLLTOOL"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8008 $as_echo "$ac_ct_DLLTOOL" >&6; }
8009 else
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8014 if test "x$ac_ct_DLLTOOL" = x; then
8015 DLLTOOL="false"
8016 else
8017 case $cross_compiling:$ac_tool_warned in
8018 yes:)
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8021 ac_tool_warned=yes ;;
8022 esac
8023 DLLTOOL=$ac_ct_DLLTOOL
8025 else
8026 DLLTOOL="$ac_cv_prog_DLLTOOL"
8029 LIBEXT="dll"
8030 DLLEXT=""
8031 IMPLIBEXT="a"
8032 enable_iphlpapi=${enable_iphlpapi:-no}
8033 enable_kernel32=${enable_kernel32:-no}
8034 enable_msvcrt=${enable_msvcrt:-no}
8035 enable_ntdll=${enable_ntdll:-no}
8036 enable_ws2_32=${enable_ws2_32:-no}
8037 enable_loader=${enable_loader:-no}
8038 enable_server=${enable_server:-no}
8039 with_x=${with_x:-no}
8040 with_pthread=${with_pthread:-no}
8042 crtlibs=""
8043 case $host_os in
8044 mingw32*)
8045 crtlibs="-lmsvcrt"
8046 SOCKET_LIBS="-lws2_32"
8048 esac
8050 LIBWINE_SHAREDLIB="libwine.dll"
8052 LIBWINE_IMPORTLIB="libwine.a"
8054 LIBWINE_INSTALL_LIB="libwine.dll"
8056 LIBWINE_INSTALL_DEV="libwine.a"
8058 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8060 LIBWINE_DEPENDS="wine.def"
8064 darwin*|macosx*)
8065 for ac_header in libunwind.h
8066 do :
8067 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8069 cat >>confdefs.h <<_ACEOF
8070 #define HAVE_LIBUNWIND_H 1
8071 _ACEOF
8075 done
8077 LIBEXT="dylib"
8078 DLLFLAGS="$DLLFLAGS -fPIC"
8079 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8080 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8081 COREFOUNDATION_LIBS="-framework CoreFoundation"
8083 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8085 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8087 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8089 CORESERVICES_LIBS="-framework CoreServices"
8091 APPKIT_LIBS="-framework AppKit"
8093 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8095 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8096 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8097 $as_echo_n "(cached) " >&6
8098 else
8099 ac_wine_try_cflags_saved=$CFLAGS
8100 CFLAGS="$CFLAGS -Wl,-no_pie"
8101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8103 int main(int argc, char **argv) { return 0; }
8104 _ACEOF
8105 if ac_fn_c_try_link "$LINENO"; then :
8106 ac_cv_cflags__Wl__no_pie=yes
8107 else
8108 ac_cv_cflags__Wl__no_pie=no
8110 rm -f core conftest.err conftest.$ac_objext \
8111 conftest$ac_exeext conftest.$ac_ext
8112 CFLAGS=$ac_wine_try_cflags_saved
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8115 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8116 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8117 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8119 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8120 then
8121 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8124 if test "$ac_cv_header_Security_Security_h" = "yes"
8125 then
8126 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8128 ac_save_LIBS="$LIBS"
8129 LIBS="$LIBS $SECURITY_LIBS"
8130 for ac_func in SSLCopyPeerCertificates
8131 do :
8132 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8133 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8134 cat >>confdefs.h <<_ACEOF
8135 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8136 _ACEOF
8139 done
8141 LIBS="$ac_save_LIBS"
8142 with_gnutls=${with_gnutls:-no}
8144 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8145 then
8146 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8147 then
8148 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8150 else
8151 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8154 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8155 ac_save_LIBS="$LIBS"
8156 LIBS="$LIBS $COREAUDIO_LIBS"
8157 for ac_func in AUGraphAddNode
8158 do :
8159 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8160 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8161 cat >>confdefs.h <<_ACEOF
8162 #define HAVE_AUGRAPHADDNODE 1
8163 _ACEOF
8166 done
8168 LIBS="$ac_save_LIBS"
8170 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8171 then
8172 OPENAL_LIBS="-framework OpenAL"
8175 cat >>confdefs.h <<_ACEOF
8176 #define HAVE_OPENAL 1
8177 _ACEOF
8179 ac_cv_lib_openal=yes
8181 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8182 then
8183 OPENCL_LIBS="-framework OpenCL"
8185 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8187 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8188 then
8189 ac_save_LIBS="$LIBS"
8190 LIBS="$LIBS $IOKIT_LIBS"
8191 for ac_func in IOHIDManagerCreate
8192 do :
8193 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8194 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8195 cat >>confdefs.h <<_ACEOF
8196 #define HAVE_IOHIDMANAGERCREATE 1
8197 _ACEOF
8200 done
8202 LIBS="$ac_save_LIBS"
8204 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8205 then
8206 ac_save_LIBS="$LIBS"
8207 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8209 $as_echo_n "checking for the QuickTime framework... " >&6; }
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 #include <QuickTime/ImageCompression.h>
8214 main ()
8216 CodecManagerVersion(NULL);
8218 return 0;
8220 _ACEOF
8221 if ac_fn_c_try_link "$LINENO"; then :
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8223 $as_echo "yes" >&6; }
8224 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8226 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8227 else
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8229 $as_echo "no" >&6; }
8230 ac_cv_header_QuickTime_ImageCompression_h=no
8232 rm -f core conftest.err conftest.$ac_objext \
8233 conftest$ac_exeext conftest.$ac_ext
8234 LIBS="$ac_save_LIBS"
8236 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8237 then
8238 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8240 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8241 then
8242 CARBON_LIBS="-framework Carbon"
8246 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8247 then
8248 ac_save_LIBS="$LIBS"
8249 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8250 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8251 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8252 enable_winemac_drv=${enable_winemac_drv:-yes}
8255 LIBS="$ac_save_LIBS"
8258 if test "x$enable_win16" = "xyes"
8259 then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8261 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8262 if test "$cross_compiling" = yes; then :
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8264 $as_echo "cross-compiling, assuming yes" >&6; }
8265 else
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8268 asm(".text\n"
8269 "bad:\tnop;nop\n"
8270 "good:\tnop;nop\n\t"
8271 ".globl _testfunc\n"
8272 "_testfunc:\tcallw good");
8273 extern void testfunc();
8275 main ()
8277 unsigned short *p = (unsigned short *)testfunc;
8278 return p[0] != 0xe866 || p[1] != 0xfffa
8280 return 0;
8282 _ACEOF
8283 if ac_fn_c_try_run "$LINENO"; then :
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8285 $as_echo "yes" >&6; }
8286 else
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8288 $as_echo "no" >&6; }
8289 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
8291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8292 conftest.$ac_objext conftest.beam conftest.$ac_ext
8297 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8299 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8301 LIBWINE_INSTALL_DEV="libwine.dylib"
8303 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8305 WINELOADER_DEPENDS="wine_info.plist"
8309 linux-android*)
8310 DLLFLAGS="$DLLFLAGS -fPIC"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8312 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8313 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8314 $as_echo_n "(cached) " >&6
8315 else
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8320 int main(int argc, char **argv) { return 0; }
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8324 else
8325 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8327 rm -f core conftest.err conftest.$ac_objext \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8332 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8333 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8334 LDEXECFLAGS="-Wl,--export-dynamic"
8336 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8338 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8339 if eval \${$as_ac_var+:} false; then :
8340 $as_echo_n "(cached) " >&6
8341 else
8342 ac_wine_try_cflags_saved=$CFLAGS
8343 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8346 int main(int argc, char **argv) { return 0; }
8347 _ACEOF
8348 if ac_fn_c_try_link "$LINENO"; then :
8349 eval "$as_ac_var=yes"
8350 else
8351 eval "$as_ac_var=no"
8353 rm -f core conftest.err conftest.$ac_objext \
8354 conftest$ac_exeext conftest.$ac_ext
8355 CFLAGS=$ac_wine_try_cflags_saved
8357 eval ac_res=\$$as_ac_var
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8359 $as_echo "$ac_res" >&6; }
8360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8361 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8362 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8363 else
8364 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8366 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8367 if eval \${$as_ac_var+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 ac_wine_try_cflags_saved=$CFLAGS
8371 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8374 int main(int argc, char **argv) { return 0; }
8375 _ACEOF
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 eval "$as_ac_var=yes"
8378 else
8379 eval "$as_ac_var=no"
8381 rm -f core conftest.err conftest.$ac_objext \
8382 conftest$ac_exeext conftest.$ac_ext
8383 CFLAGS=$ac_wine_try_cflags_saved
8385 eval ac_res=\$$as_ac_var
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8387 $as_echo "$ac_res" >&6; }
8388 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8389 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8390 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8395 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8396 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8397 $as_echo_n "(cached) " >&6
8398 else
8399 ac_wine_try_cflags_saved=$CFLAGS
8400 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8403 int main(int argc, char **argv) { return 0; }
8404 _ACEOF
8405 if ac_fn_c_try_link "$LINENO"; then :
8406 ac_cv_cflags__Wl___enable_new_dtags=yes
8407 else
8408 ac_cv_cflags__Wl___enable_new_dtags=no
8410 rm -f core conftest.err conftest.$ac_objext \
8411 conftest$ac_exeext conftest.$ac_ext
8412 CFLAGS=$ac_wine_try_cflags_saved
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8415 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8416 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8417 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8420 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8421 if ${ac_cv_cflags__Wl__pie+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -Wl,-pie"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 ac_cv_cflags__Wl__pie=yes
8432 else
8433 ac_cv_cflags__Wl__pie=no
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8440 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8441 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8442 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8445 LIBWINE_SHAREDLIB="libwine.so"
8447 LIBWINE_INSTALL_LIB="libwine.so"
8449 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8454 DLLFLAGS="$DLLFLAGS -fPIC"
8455 LDEXECFLAGS=""
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8457 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8458 if ${ac_cv_c_dll_gnuelf+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 void myfunc() {}
8466 _ACEOF
8467 if ac_fn_c_try_link "$LINENO"; then :
8468 ac_cv_c_dll_gnuelf="yes"
8469 else
8470 ac_cv_c_dll_gnuelf="no"
8472 rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 CFLAGS=$ac_wine_try_cflags_saved
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8477 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8478 if test "$ac_cv_c_dll_gnuelf" = "yes"
8479 then
8480 LIBWINE_LDFLAGS="-shared"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8482 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8483 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8484 $as_echo_n "(cached) " >&6
8485 else
8486 ac_wine_try_cflags_saved=$CFLAGS
8487 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8490 int main(int argc, char **argv) { return 0; }
8491 _ACEOF
8492 if ac_fn_c_try_link "$LINENO"; then :
8493 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8494 else
8495 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8497 rm -f core conftest.err conftest.$ac_objext \
8498 conftest$ac_exeext conftest.$ac_ext
8499 CFLAGS=$ac_wine_try_cflags_saved
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8502 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8503 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8504 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8505 else
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8507 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8508 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8509 $as_echo_n "(cached) " >&6
8510 else
8511 ac_wine_try_cflags_saved=$CFLAGS
8512 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515 int main(int argc, char **argv) { return 0; }
8516 _ACEOF
8517 if ac_fn_c_try_link "$LINENO"; then :
8518 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8519 else
8520 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8522 rm -f core conftest.err conftest.$ac_objext \
8523 conftest$ac_exeext conftest.$ac_ext
8524 CFLAGS=$ac_wine_try_cflags_saved
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8527 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8528 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8529 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8533 echo '{ global: *; };' >conftest.map
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8535 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8536 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8537 $as_echo_n "(cached) " >&6
8538 else
8539 ac_wine_try_cflags_saved=$CFLAGS
8540 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8543 int main(int argc, char **argv) { return 0; }
8544 _ACEOF
8545 if ac_fn_c_try_link "$LINENO"; then :
8546 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8547 else
8548 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8550 rm -f core conftest.err conftest.$ac_objext \
8551 conftest$ac_exeext conftest.$ac_ext
8552 CFLAGS=$ac_wine_try_cflags_saved
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8555 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8556 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8557 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8559 rm -f conftest.map
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8562 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8563 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8564 $as_echo_n "(cached) " >&6
8565 else
8566 ac_wine_try_cflags_saved=$CFLAGS
8567 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8569 /* end confdefs.h. */
8570 int main(int argc, char **argv) { return 0; }
8571 _ACEOF
8572 if ac_fn_c_try_link "$LINENO"; then :
8573 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8574 else
8575 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8577 rm -f core conftest.err conftest.$ac_objext \
8578 conftest$ac_exeext conftest.$ac_ext
8579 CFLAGS=$ac_wine_try_cflags_saved
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8582 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8583 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8584 LDEXECFLAGS="-Wl,--export-dynamic"
8587 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8589 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8590 if eval \${$as_ac_var+:} false; then :
8591 $as_echo_n "(cached) " >&6
8592 else
8593 ac_wine_try_cflags_saved=$CFLAGS
8594 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8597 int main(int argc, char **argv) { return 0; }
8598 _ACEOF
8599 if ac_fn_c_try_link "$LINENO"; then :
8600 eval "$as_ac_var=yes"
8601 else
8602 eval "$as_ac_var=no"
8604 rm -f core conftest.err conftest.$ac_objext \
8605 conftest$ac_exeext conftest.$ac_ext
8606 CFLAGS=$ac_wine_try_cflags_saved
8608 eval ac_res=\$$as_ac_var
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8610 $as_echo "$ac_res" >&6; }
8611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8612 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8613 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8614 else
8615 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8617 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8618 if eval \${$as_ac_var+:} false; then :
8619 $as_echo_n "(cached) " >&6
8620 else
8621 ac_wine_try_cflags_saved=$CFLAGS
8622 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8624 /* end confdefs.h. */
8625 int main(int argc, char **argv) { return 0; }
8626 _ACEOF
8627 if ac_fn_c_try_link "$LINENO"; then :
8628 eval "$as_ac_var=yes"
8629 else
8630 eval "$as_ac_var=no"
8632 rm -f core conftest.err conftest.$ac_objext \
8633 conftest$ac_exeext conftest.$ac_ext
8634 CFLAGS=$ac_wine_try_cflags_saved
8636 eval ac_res=\$$as_ac_var
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8638 $as_echo "$ac_res" >&6; }
8639 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8640 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8641 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8646 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8647 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8648 $as_echo_n "(cached) " >&6
8649 else
8650 ac_wine_try_cflags_saved=$CFLAGS
8651 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 int main(int argc, char **argv) { return 0; }
8655 _ACEOF
8656 if ac_fn_c_try_link "$LINENO"; then :
8657 ac_cv_cflags__Wl___enable_new_dtags=yes
8658 else
8659 ac_cv_cflags__Wl___enable_new_dtags=no
8661 rm -f core conftest.err conftest.$ac_objext \
8662 conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8666 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8667 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8668 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8671 case $host_cpu in
8672 *i[3456789]86* | x86_64)
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8674 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8675 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 ac_wine_try_cflags_saved=$CFLAGS
8679 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8682 int main(int argc, char **argv) { return 0; }
8683 _ACEOF
8684 if ac_fn_c_try_link "$LINENO"; then :
8685 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8686 else
8687 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8689 rm -f core conftest.err conftest.$ac_objext \
8690 conftest$ac_exeext conftest.$ac_ext
8691 CFLAGS=$ac_wine_try_cflags_saved
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8694 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8695 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8696 case $host_os in
8697 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8698 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8699 esac
8700 else
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8702 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8703 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8704 $as_echo_n "(cached) " >&6
8705 else
8706 ac_wine_try_cflags_saved=$CFLAGS
8707 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8709 /* end confdefs.h. */
8710 int main(int argc, char **argv) { return 0; }
8711 _ACEOF
8712 if ac_fn_c_try_link "$LINENO"; then :
8713 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8714 else
8715 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8717 rm -f core conftest.err conftest.$ac_objext \
8718 conftest$ac_exeext conftest.$ac_ext
8719 CFLAGS=$ac_wine_try_cflags_saved
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8722 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8723 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8724 case $host_os in
8725 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8726 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8727 esac
8729 # Extract the first word of "prelink", so it can be a program name with args.
8730 set dummy prelink; ac_word=$2
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8732 $as_echo_n "checking for $ac_word... " >&6; }
8733 if ${ac_cv_path_PRELINK+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 case $PRELINK in
8737 [\\/]* | ?:[\\/]*)
8738 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8742 for as_dir in /sbin /usr/sbin $PATH
8744 IFS=$as_save_IFS
8745 test -z "$as_dir" && as_dir=.
8746 for ac_exec_ext in '' $ac_executable_extensions; do
8747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8748 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8750 break 2
8752 done
8753 done
8754 IFS=$as_save_IFS
8756 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8758 esac
8760 PRELINK=$ac_cv_path_PRELINK
8761 if test -n "$PRELINK"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8763 $as_echo "$PRELINK" >&6; }
8764 else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8766 $as_echo "no" >&6; }
8770 if test "x$PRELINK" = xfalse
8771 then
8772 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8776 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8777 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 ac_wine_try_cflags_saved=$CFLAGS
8781 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8784 int main(int argc, char **argv) { return 0; }
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8788 else
8789 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 CFLAGS=$ac_wine_try_cflags_saved
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8796 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8797 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8798 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8801 esac
8803 else
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8805 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8806 if ${ac_cv_c_dll_unixware+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 ac_wine_try_cflags_saved=$CFLAGS
8810 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8813 void myfunc() {}
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816 ac_cv_c_dll_unixware="yes"
8817 else
8818 ac_cv_c_dll_unixware="no"
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8825 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8826 if test "$ac_cv_c_dll_unixware" = "yes"
8827 then
8828 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8831 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8833 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8835 LIBWINE_INSTALL_DEV="libwine.so"
8837 LIBWINE_DEPENDS="wine.map"
8840 esac
8842 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8843 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8844 enable_winemac_drv=${enable_winemac_drv:-no}
8845 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8847 CROSSTARGET=""
8849 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8850 then
8851 case "$host_cpu" in
8852 arm*)
8853 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8854 i[3456789]86*)
8855 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
8856 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8857 mingw32-gcc" ;;
8858 x86_64)
8859 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
8860 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8862 ac_prefix_list="" ;;
8863 esac
8864 for ac_prog in $ac_prefix_list
8866 # Extract the first word of "$ac_prog", so it can be a program name with args.
8867 set dummy $ac_prog; ac_word=$2
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8869 $as_echo_n "checking for $ac_word... " >&6; }
8870 if ${ac_cv_prog_CROSSCC+:} false; then :
8871 $as_echo_n "(cached) " >&6
8872 else
8873 if test -n "$CROSSCC"; then
8874 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8875 else
8876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8877 for as_dir in $PATH
8879 IFS=$as_save_IFS
8880 test -z "$as_dir" && as_dir=.
8881 for ac_exec_ext in '' $ac_executable_extensions; do
8882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8883 ac_cv_prog_CROSSCC="$ac_prog"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8885 break 2
8887 done
8888 done
8889 IFS=$as_save_IFS
8893 CROSSCC=$ac_cv_prog_CROSSCC
8894 if test -n "$CROSSCC"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8896 $as_echo "$CROSSCC" >&6; }
8897 else
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8899 $as_echo "no" >&6; }
8903 test -n "$CROSSCC" && break
8904 done
8905 test -n "$CROSSCC" || CROSSCC="false"
8907 if test "$CROSSCC" != "false"
8908 then
8909 ac_save_CC="$CC"
8910 CC="$CROSSCC"
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8912 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8917 main ()
8921 return 0;
8923 _ACEOF
8924 if ac_fn_c_try_compile "$LINENO"; then :
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8926 $as_echo "yes" >&6; }
8927 set x $CROSSCC
8928 shift
8929 while test $# -ge 1
8931 case "$1" in
8932 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8933 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8934 esac
8935 shift
8936 done
8937 else
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8939 $as_echo "no" >&6; }
8941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8942 CC="$ac_save_CC"
8947 if test "$ac_cv_header_pthread_h" = "yes"
8948 then
8949 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8950 if test "x$ac_cv_func_pthread_create" = xyes; then :
8952 else
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8954 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8955 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8956 $as_echo_n "(cached) " >&6
8957 else
8958 ac_check_lib_save_LIBS=$LIBS
8959 LIBS="-lpthread $LIBS"
8960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8961 /* end confdefs.h. */
8963 /* Override any GCC internal prototype to avoid an error.
8964 Use char because int might match the return type of a GCC
8965 builtin and then its argument prototype would still apply. */
8966 #ifdef __cplusplus
8967 extern "C"
8968 #endif
8969 char pthread_create ();
8971 main ()
8973 return pthread_create ();
8975 return 0;
8977 _ACEOF
8978 if ac_fn_c_try_link "$LINENO"; then :
8979 ac_cv_lib_pthread_pthread_create=yes
8980 else
8981 ac_cv_lib_pthread_pthread_create=no
8983 rm -f core conftest.err conftest.$ac_objext \
8984 conftest$ac_exeext conftest.$ac_ext
8985 LIBS=$ac_check_lib_save_LIBS
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8988 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8989 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8990 PTHREAD_LIBS="-lpthread"
8997 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8998 case "x$with_pthread" in
8999 xno) ;;
9000 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9001 Wine cannot support threads without libpthread.
9002 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9003 esac
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9009 $as_echo_n "checking for X... " >&6; }
9012 # Check whether --with-x was given.
9013 if test "${with_x+set}" = set; then :
9014 withval=$with_x;
9017 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9018 if test "x$with_x" = xno; then
9019 # The user explicitly disabled X.
9020 have_x=disabled
9021 else
9022 case $x_includes,$x_libraries in #(
9023 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9024 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9025 $as_echo_n "(cached) " >&6
9026 else
9027 # One or both of the vars are not set, and there is no cached value.
9028 ac_x_includes=no ac_x_libraries=no
9029 rm -f -r conftest.dir
9030 if mkdir conftest.dir; then
9031 cd conftest.dir
9032 cat >Imakefile <<'_ACEOF'
9033 incroot:
9034 @echo incroot='${INCROOT}'
9035 usrlibdir:
9036 @echo usrlibdir='${USRLIBDIR}'
9037 libdir:
9038 @echo libdir='${LIBDIR}'
9039 _ACEOF
9040 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9041 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9042 for ac_var in incroot usrlibdir libdir; do
9043 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9044 done
9045 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9046 for ac_extension in a so sl dylib la dll; do
9047 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9048 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9049 ac_im_usrlibdir=$ac_im_libdir; break
9051 done
9052 # Screen out bogus values from the imake configuration. They are
9053 # bogus both because they are the default anyway, and because
9054 # using them would break gcc on systems where it needs fixed includes.
9055 case $ac_im_incroot in
9056 /usr/include) ac_x_includes= ;;
9057 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9058 esac
9059 case $ac_im_usrlibdir in
9060 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9061 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9062 esac
9064 cd ..
9065 rm -f -r conftest.dir
9068 # Standard set of common directories for X headers.
9069 # Check X11 before X11Rn because it is often a symlink to the current release.
9070 ac_x_header_dirs='
9071 /usr/X11/include
9072 /usr/X11R7/include
9073 /usr/X11R6/include
9074 /usr/X11R5/include
9075 /usr/X11R4/include
9077 /usr/include/X11
9078 /usr/include/X11R7
9079 /usr/include/X11R6
9080 /usr/include/X11R5
9081 /usr/include/X11R4
9083 /usr/local/X11/include
9084 /usr/local/X11R7/include
9085 /usr/local/X11R6/include
9086 /usr/local/X11R5/include
9087 /usr/local/X11R4/include
9089 /usr/local/include/X11
9090 /usr/local/include/X11R7
9091 /usr/local/include/X11R6
9092 /usr/local/include/X11R5
9093 /usr/local/include/X11R4
9095 /usr/X386/include
9096 /usr/x386/include
9097 /usr/XFree86/include/X11
9099 /usr/include
9100 /usr/local/include
9101 /usr/unsupported/include
9102 /usr/athena/include
9103 /usr/local/x11r5/include
9104 /usr/lpp/Xamples/include
9106 /usr/openwin/include
9107 /usr/openwin/share/include'
9109 if test "$ac_x_includes" = no; then
9110 # Guess where to find include files, by looking for Xlib.h.
9111 # First, try using that file with no special directory specified.
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9114 #include <X11/Xlib.h>
9115 _ACEOF
9116 if ac_fn_c_try_cpp "$LINENO"; then :
9117 # We can compile using X headers with no special include directory.
9118 ac_x_includes=
9119 else
9120 for ac_dir in $ac_x_header_dirs; do
9121 if test -r "$ac_dir/X11/Xlib.h"; then
9122 ac_x_includes=$ac_dir
9123 break
9125 done
9127 rm -f conftest.err conftest.i conftest.$ac_ext
9128 fi # $ac_x_includes = no
9130 if test "$ac_x_libraries" = no; then
9131 # Check for the libraries.
9132 # See if we find them without any special options.
9133 # Don't add to $LIBS permanently.
9134 ac_save_LIBS=$LIBS
9135 LIBS="-lX11 $LIBS"
9136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9138 #include <X11/Xlib.h>
9140 main ()
9142 XrmInitialize ()
9144 return 0;
9146 _ACEOF
9147 if ac_fn_c_try_link "$LINENO"; then :
9148 LIBS=$ac_save_LIBS
9149 # We can link X programs with no special library path.
9150 ac_x_libraries=
9151 else
9152 LIBS=$ac_save_LIBS
9153 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9155 # Don't even attempt the hair of trying to link an X program!
9156 for ac_extension in a so sl dylib la dll; do
9157 if test -r "$ac_dir/libX11.$ac_extension"; then
9158 ac_x_libraries=$ac_dir
9159 break 2
9161 done
9162 done
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 fi # $ac_x_libraries = no
9168 case $ac_x_includes,$ac_x_libraries in #(
9169 no,* | *,no | *\'*)
9170 # Didn't find X, or a directory has "'" in its name.
9171 ac_cv_have_x="have_x=no";; #(
9173 # Record where we found X for the cache.
9174 ac_cv_have_x="have_x=yes\
9175 ac_x_includes='$ac_x_includes'\
9176 ac_x_libraries='$ac_x_libraries'"
9177 esac
9179 ;; #(
9180 *) have_x=yes;;
9181 esac
9182 eval "$ac_cv_have_x"
9183 fi # $with_x != no
9185 if test "$have_x" != yes; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9187 $as_echo "$have_x" >&6; }
9188 no_x=yes
9189 else
9190 # If each of the values was on the command line, it overrides each guess.
9191 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9192 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9193 # Update the cache value to reflect the command line values.
9194 ac_cv_have_x="have_x=yes\
9195 ac_x_includes='$x_includes'\
9196 ac_x_libraries='$x_libraries'"
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9198 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9201 if test "$no_x" = yes; then
9202 # Not all programs may use this symbol, but it does not hurt to define it.
9204 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9206 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9207 else
9208 if test -n "$x_includes"; then
9209 X_CFLAGS="$X_CFLAGS -I$x_includes"
9212 # It would also be nice to do this for all -L options, not just this one.
9213 if test -n "$x_libraries"; then
9214 X_LIBS="$X_LIBS -L$x_libraries"
9215 # For Solaris; some versions of Sun CC require a space after -R and
9216 # others require no space. Words are not sufficient . . . .
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9218 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9219 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9220 ac_xsave_c_werror_flag=$ac_c_werror_flag
9221 ac_c_werror_flag=yes
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9226 main ()
9230 return 0;
9232 _ACEOF
9233 if ac_fn_c_try_link "$LINENO"; then :
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9235 $as_echo "no" >&6; }
9236 X_LIBS="$X_LIBS -R$x_libraries"
9237 else
9238 LIBS="$ac_xsave_LIBS -R $x_libraries"
9239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9240 /* end confdefs.h. */
9243 main ()
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9252 $as_echo "yes" >&6; }
9253 X_LIBS="$X_LIBS -R $x_libraries"
9254 else
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9256 $as_echo "neither works" >&6; }
9258 rm -f core conftest.err conftest.$ac_objext \
9259 conftest$ac_exeext conftest.$ac_ext
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 ac_c_werror_flag=$ac_xsave_c_werror_flag
9264 LIBS=$ac_xsave_LIBS
9267 # Check for system-dependent libraries X programs must link with.
9268 # Do this before checking for the system-independent R6 libraries
9269 # (-lICE), since we may need -lsocket or whatever for X linking.
9271 if test "$ISC" = yes; then
9272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9273 else
9274 # Martyn Johnson says this is needed for Ultrix, if the X
9275 # libraries were built with DECnet support. And Karl Berry says
9276 # the Alpha needs dnet_stub (dnet does not exist).
9277 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9279 /* end confdefs.h. */
9281 /* Override any GCC internal prototype to avoid an error.
9282 Use char because int might match the return type of a GCC
9283 builtin and then its argument prototype would still apply. */
9284 #ifdef __cplusplus
9285 extern "C"
9286 #endif
9287 char XOpenDisplay ();
9289 main ()
9291 return XOpenDisplay ();
9293 return 0;
9295 _ACEOF
9296 if ac_fn_c_try_link "$LINENO"; then :
9298 else
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9300 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9301 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9302 $as_echo_n "(cached) " >&6
9303 else
9304 ac_check_lib_save_LIBS=$LIBS
9305 LIBS="-ldnet $LIBS"
9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9307 /* end confdefs.h. */
9309 /* Override any GCC internal prototype to avoid an error.
9310 Use char because int might match the return type of a GCC
9311 builtin and then its argument prototype would still apply. */
9312 #ifdef __cplusplus
9313 extern "C"
9314 #endif
9315 char dnet_ntoa ();
9317 main ()
9319 return dnet_ntoa ();
9321 return 0;
9323 _ACEOF
9324 if ac_fn_c_try_link "$LINENO"; then :
9325 ac_cv_lib_dnet_dnet_ntoa=yes
9326 else
9327 ac_cv_lib_dnet_dnet_ntoa=no
9329 rm -f core conftest.err conftest.$ac_objext \
9330 conftest$ac_exeext conftest.$ac_ext
9331 LIBS=$ac_check_lib_save_LIBS
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9334 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9335 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9336 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9339 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9341 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9342 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_check_lib_save_LIBS=$LIBS
9346 LIBS="-ldnet_stub $LIBS"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9353 #ifdef __cplusplus
9354 extern "C"
9355 #endif
9356 char dnet_ntoa ();
9358 main ()
9360 return dnet_ntoa ();
9362 return 0;
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9367 else
9368 ac_cv_lib_dnet_stub_dnet_ntoa=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 LIBS=$ac_check_lib_save_LIBS
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9375 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9376 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9377 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 LIBS="$ac_xsave_LIBS"
9386 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9387 # to get the SysV transport functions.
9388 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9389 # needs -lnsl.
9390 # The nsl library prevents programs from opening the X display
9391 # on Irix 5.2, according to T.E. Dickey.
9392 # The functions gethostbyname, getservbyname, and inet_addr are
9393 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9394 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9395 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9399 if test $ac_cv_func_gethostbyname = no; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9401 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9402 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9403 $as_echo_n "(cached) " >&6
9404 else
9405 ac_check_lib_save_LIBS=$LIBS
9406 LIBS="-lnsl $LIBS"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9413 #ifdef __cplusplus
9414 extern "C"
9415 #endif
9416 char gethostbyname ();
9418 main ()
9420 return gethostbyname ();
9422 return 0;
9424 _ACEOF
9425 if ac_fn_c_try_link "$LINENO"; then :
9426 ac_cv_lib_nsl_gethostbyname=yes
9427 else
9428 ac_cv_lib_nsl_gethostbyname=no
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9432 LIBS=$ac_check_lib_save_LIBS
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9435 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9436 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9437 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9440 if test $ac_cv_lib_nsl_gethostbyname = no; then
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9442 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9443 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9444 $as_echo_n "(cached) " >&6
9445 else
9446 ac_check_lib_save_LIBS=$LIBS
9447 LIBS="-lbsd $LIBS"
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9451 /* Override any GCC internal prototype to avoid an error.
9452 Use char because int might match the return type of a GCC
9453 builtin and then its argument prototype would still apply. */
9454 #ifdef __cplusplus
9455 extern "C"
9456 #endif
9457 char gethostbyname ();
9459 main ()
9461 return gethostbyname ();
9463 return 0;
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 ac_cv_lib_bsd_gethostbyname=yes
9468 else
9469 ac_cv_lib_bsd_gethostbyname=no
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 LIBS=$ac_check_lib_save_LIBS
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9476 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9477 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9478 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9484 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9485 # socket/setsockopt and other routines are undefined under SCO ODT
9486 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9487 # on later versions), says Simon Leinen: it contains gethostby*
9488 # variants that don't use the name server (or something). -lsocket
9489 # must be given before -lnsl if both are needed. We assume that
9490 # if connect needs -lnsl, so does gethostbyname.
9491 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9492 if test "x$ac_cv_func_connect" = xyes; then :
9496 if test $ac_cv_func_connect = no; then
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9498 $as_echo_n "checking for connect in -lsocket... " >&6; }
9499 if ${ac_cv_lib_socket_connect+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_check_lib_save_LIBS=$LIBS
9503 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char connect ();
9515 main ()
9517 return connect ();
9519 return 0;
9521 _ACEOF
9522 if ac_fn_c_try_link "$LINENO"; then :
9523 ac_cv_lib_socket_connect=yes
9524 else
9525 ac_cv_lib_socket_connect=no
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 LIBS=$ac_check_lib_save_LIBS
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9532 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9533 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9534 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9539 # Guillermo Gomez says -lposix is necessary on A/UX.
9540 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9541 if test "x$ac_cv_func_remove" = xyes; then :
9545 if test $ac_cv_func_remove = no; then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9547 $as_echo_n "checking for remove in -lposix... " >&6; }
9548 if ${ac_cv_lib_posix_remove+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_check_lib_save_LIBS=$LIBS
9552 LIBS="-lposix $LIBS"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9559 #ifdef __cplusplus
9560 extern "C"
9561 #endif
9562 char remove ();
9564 main ()
9566 return remove ();
9568 return 0;
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_lib_posix_remove=yes
9573 else
9574 ac_cv_lib_posix_remove=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS=$ac_check_lib_save_LIBS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9581 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9582 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9583 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9588 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9589 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9590 if test "x$ac_cv_func_shmat" = xyes; then :
9594 if test $ac_cv_func_shmat = no; then
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9596 $as_echo_n "checking for shmat in -lipc... " >&6; }
9597 if ${ac_cv_lib_ipc_shmat+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_check_lib_save_LIBS=$LIBS
9601 LIBS="-lipc $LIBS"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9605 /* Override any GCC internal prototype to avoid an error.
9606 Use char because int might match the return type of a GCC
9607 builtin and then its argument prototype would still apply. */
9608 #ifdef __cplusplus
9609 extern "C"
9610 #endif
9611 char shmat ();
9613 main ()
9615 return shmat ();
9617 return 0;
9619 _ACEOF
9620 if ac_fn_c_try_link "$LINENO"; then :
9621 ac_cv_lib_ipc_shmat=yes
9622 else
9623 ac_cv_lib_ipc_shmat=no
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_lib_save_LIBS
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9630 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9631 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9632 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9638 # Check for libraries that X11R6 Xt/Xaw programs need.
9639 ac_save_LDFLAGS=$LDFLAGS
9640 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9641 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9642 # check for ICE first), but we must link in the order -lSM -lICE or
9643 # we get undefined symbols. So assume we have SM if we have ICE.
9644 # These have to be linked with before -lX11, unlike the other
9645 # libraries we check for below, so use a different variable.
9646 # John Interrante, Karl Berry
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9648 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9649 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9650 $as_echo_n "(cached) " >&6
9651 else
9652 ac_check_lib_save_LIBS=$LIBS
9653 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9660 #ifdef __cplusplus
9661 extern "C"
9662 #endif
9663 char IceConnectionNumber ();
9665 main ()
9667 return IceConnectionNumber ();
9669 return 0;
9671 _ACEOF
9672 if ac_fn_c_try_link "$LINENO"; then :
9673 ac_cv_lib_ICE_IceConnectionNumber=yes
9674 else
9675 ac_cv_lib_ICE_IceConnectionNumber=no
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_lib_save_LIBS
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9682 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9683 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9684 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9687 LDFLAGS=$ac_save_LDFLAGS
9692 if test "$have_x" = "yes"
9693 then
9694 ac_save_CPPFLAGS="$CPPFLAGS"
9695 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9698 $as_echo_n "checking for -lX11... " >&6; }
9699 if ${ac_cv_lib_soname_X11+:} false; then :
9700 $as_echo_n "(cached) " >&6
9701 else
9702 ac_check_soname_save_LIBS=$LIBS
9703 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9705 /* end confdefs.h. */
9707 /* Override any GCC internal prototype to avoid an error.
9708 Use char because int might match the return type of a GCC
9709 builtin and then its argument prototype would still apply. */
9710 #ifdef __cplusplus
9711 extern "C"
9712 #endif
9713 char XCreateWindow ();
9715 main ()
9717 return XCreateWindow ();
9719 return 0;
9721 _ACEOF
9722 if ac_fn_c_try_link "$LINENO"; then :
9723 case "$LIBEXT" in
9724 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9725 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'` ;;
9726 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9727 if ${ac_cv_lib_soname_X11:+false} :; then :
9728 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9729 fi ;;
9730 esac
9732 rm -f core conftest.err conftest.$ac_objext \
9733 conftest$ac_exeext conftest.$ac_ext
9734 LIBS=$ac_check_soname_save_LIBS
9736 if ${ac_cv_lib_soname_X11:+false} :; then :
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9738 $as_echo "not found" >&6; }
9740 else
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9742 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9744 cat >>confdefs.h <<_ACEOF
9745 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9746 _ACEOF
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9751 $as_echo_n "checking for -lXext... " >&6; }
9752 if ${ac_cv_lib_soname_Xext+:} false; then :
9753 $as_echo_n "(cached) " >&6
9754 else
9755 ac_check_soname_save_LIBS=$LIBS
9756 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9763 #ifdef __cplusplus
9764 extern "C"
9765 #endif
9766 char XextCreateExtension ();
9768 main ()
9770 return XextCreateExtension ();
9772 return 0;
9774 _ACEOF
9775 if ac_fn_c_try_link "$LINENO"; then :
9776 case "$LIBEXT" in
9777 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9778 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'` ;;
9779 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9780 if ${ac_cv_lib_soname_Xext:+false} :; then :
9781 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9782 fi ;;
9783 esac
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 LIBS=$ac_check_soname_save_LIBS
9789 if ${ac_cv_lib_soname_Xext:+false} :; then :
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9791 $as_echo "not found" >&6; }
9793 else
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9795 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9797 cat >>confdefs.h <<_ACEOF
9798 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9799 _ACEOF
9801 X_LIBS="$X_LIBS -lXext"
9803 X_LIBS="$X_LIBS -lX11"
9805 for ac_header in X11/Xlib.h \
9806 X11/XKBlib.h \
9807 X11/Xutil.h \
9808 X11/Xcursor/Xcursor.h \
9809 X11/extensions/shape.h \
9810 X11/extensions/XInput.h \
9811 X11/extensions/XInput2.h \
9812 X11/extensions/XShm.h \
9813 X11/extensions/Xcomposite.h \
9814 X11/extensions/Xinerama.h \
9815 X11/extensions/Xrandr.h \
9816 X11/extensions/Xrender.h \
9817 X11/extensions/xf86vmode.h \
9818 X11/extensions/xf86vmproto.h
9819 do :
9820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9821 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9822 # include <X11/Xlib.h>
9823 #endif
9824 #ifdef HAVE_X11_XUTIL_H
9825 # include <X11/Xutil.h>
9826 #endif
9828 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9829 cat >>confdefs.h <<_ACEOF
9830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9831 _ACEOF
9835 done
9838 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9839 then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9841 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9842 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9843 $as_echo_n "(cached) " >&6
9844 else
9845 ac_check_lib_save_LIBS=$LIBS
9846 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9850 /* Override any GCC internal prototype to avoid an error.
9851 Use char because int might match the return type of a GCC
9852 builtin and then its argument prototype would still apply. */
9853 #ifdef __cplusplus
9854 extern "C"
9855 #endif
9856 char XkbQueryExtension ();
9858 main ()
9860 return XkbQueryExtension ();
9862 return 0;
9864 _ACEOF
9865 if ac_fn_c_try_link "$LINENO"; then :
9866 ac_cv_lib_X11_XkbQueryExtension=yes
9867 else
9868 ac_cv_lib_X11_XkbQueryExtension=no
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_lib_save_LIBS
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9875 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9876 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9878 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9884 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9885 then
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9887 $as_echo_n "checking for -lXcursor... " >&6; }
9888 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_check_soname_save_LIBS=$LIBS
9892 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9896 /* Override any GCC internal prototype to avoid an error.
9897 Use char because int might match the return type of a GCC
9898 builtin and then its argument prototype would still apply. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 char XcursorImageLoadCursor ();
9904 main ()
9906 return XcursorImageLoadCursor ();
9908 return 0;
9910 _ACEOF
9911 if ac_fn_c_try_link "$LINENO"; then :
9912 case "$LIBEXT" in
9913 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9914 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'` ;;
9915 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9916 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9917 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9918 fi ;;
9919 esac
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_soname_save_LIBS
9925 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9927 $as_echo "not found" >&6; }
9929 else
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9931 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9933 cat >>confdefs.h <<_ACEOF
9934 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9935 _ACEOF
9940 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9941 case "x$with_xcursor" in
9942 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9943 xno) ;;
9944 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9945 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9946 esac
9950 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9951 then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9953 $as_echo_n "checking for -lXi... " >&6; }
9954 if ${ac_cv_lib_soname_Xi+:} false; then :
9955 $as_echo_n "(cached) " >&6
9956 else
9957 ac_check_soname_save_LIBS=$LIBS
9958 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9962 /* Override any GCC internal prototype to avoid an error.
9963 Use char because int might match the return type of a GCC
9964 builtin and then its argument prototype would still apply. */
9965 #ifdef __cplusplus
9966 extern "C"
9967 #endif
9968 char XOpenDevice ();
9970 main ()
9972 return XOpenDevice ();
9974 return 0;
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 case "$LIBEXT" in
9979 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9980 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'` ;;
9981 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9982 if ${ac_cv_lib_soname_Xi:+false} :; then :
9983 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9984 fi ;;
9985 esac
9987 rm -f core conftest.err conftest.$ac_objext \
9988 conftest$ac_exeext conftest.$ac_ext
9989 LIBS=$ac_check_soname_save_LIBS
9991 if ${ac_cv_lib_soname_Xi:+false} :; then :
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9993 $as_echo "not found" >&6; }
9995 else
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9997 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9999 cat >>confdefs.h <<_ACEOF
10000 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10001 _ACEOF
10006 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10007 case "x$with_xinput" in
10008 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10009 xno) ;;
10010 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10011 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10012 esac
10016 if test "x$ac_cv_lib_soname_Xi" != x
10017 then
10018 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10019 case "x$with_xinput2" in
10020 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10021 xno) ;;
10022 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10023 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10024 esac
10029 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10030 then
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10032 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10033 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10034 $as_echo_n "(cached) " >&6
10035 else
10036 ac_check_lib_save_LIBS=$LIBS
10037 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10044 #ifdef __cplusplus
10045 extern "C"
10046 #endif
10047 char XShmQueryExtension ();
10049 main ()
10051 return XShmQueryExtension ();
10053 return 0;
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_lib_Xext_XShmQueryExtension=yes
10058 else
10059 ac_cv_lib_Xext_XShmQueryExtension=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_lib_save_LIBS
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10066 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10067 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10069 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10074 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10075 case "x$with_xshm" in
10076 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10077 xno) ;;
10078 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10079 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10080 esac
10084 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10085 then
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10087 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10088 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10089 $as_echo_n "(cached) " >&6
10090 else
10091 ac_check_lib_save_LIBS=$LIBS
10092 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094 /* end confdefs.h. */
10096 /* Override any GCC internal prototype to avoid an error.
10097 Use char because int might match the return type of a GCC
10098 builtin and then its argument prototype would still apply. */
10099 #ifdef __cplusplus
10100 extern "C"
10101 #endif
10102 char XShapeQueryExtension ();
10104 main ()
10106 return XShapeQueryExtension ();
10108 return 0;
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"; then :
10112 ac_cv_lib_Xext_XShapeQueryExtension=yes
10113 else
10114 ac_cv_lib_Xext_XShapeQueryExtension=no
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_lib_save_LIBS
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10121 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10122 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10124 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10129 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10130 case "x$with_xshape" in
10131 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10132 xno) ;;
10133 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10134 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10135 esac
10139 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10140 then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10142 $as_echo_n "checking for -lXxf86vm... " >&6; }
10143 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_check_soname_save_LIBS=$LIBS
10147 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10154 #ifdef __cplusplus
10155 extern "C"
10156 #endif
10157 char XF86VidModeQueryExtension ();
10159 main ()
10161 return XF86VidModeQueryExtension ();
10163 return 0;
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 case "$LIBEXT" in
10168 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10169 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'` ;;
10170 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10171 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10172 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10173 fi ;;
10174 esac
10176 rm -f core conftest.err conftest.$ac_objext \
10177 conftest$ac_exeext conftest.$ac_ext
10178 LIBS=$ac_check_soname_save_LIBS
10180 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10182 $as_echo "not found" >&6; }
10184 else
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10186 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10188 cat >>confdefs.h <<_ACEOF
10189 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10190 _ACEOF
10195 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10196 case "x$with_xxf86vm" in
10197 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10198 xno) ;;
10199 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10200 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10201 esac
10205 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10206 then
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10208 $as_echo_n "checking for -lXrender... " >&6; }
10209 if ${ac_cv_lib_soname_Xrender+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_check_soname_save_LIBS=$LIBS
10213 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10220 #ifdef __cplusplus
10221 extern "C"
10222 #endif
10223 char XRenderQueryExtension ();
10225 main ()
10227 return XRenderQueryExtension ();
10229 return 0;
10231 _ACEOF
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 case "$LIBEXT" in
10234 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10235 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'` ;;
10236 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10237 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10238 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10239 fi ;;
10240 esac
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_soname_save_LIBS
10246 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10248 $as_echo "not found" >&6; }
10250 else
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10252 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10254 cat >>confdefs.h <<_ACEOF
10255 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10256 _ACEOF
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10259 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10260 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_check_lib_save_LIBS=$LIBS
10264 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char XRenderSetPictureTransform ();
10276 main ()
10278 return XRenderSetPictureTransform ();
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10285 else
10286 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_lib_save_LIBS
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10293 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10294 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10296 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10301 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10302 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_check_lib_save_LIBS=$LIBS
10306 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10308 /* end confdefs.h. */
10310 /* Override any GCC internal prototype to avoid an error.
10311 Use char because int might match the return type of a GCC
10312 builtin and then its argument prototype would still apply. */
10313 #ifdef __cplusplus
10314 extern "C"
10315 #endif
10316 char XRenderCreateLinearGradient ();
10318 main ()
10320 return XRenderCreateLinearGradient ();
10322 return 0;
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10327 else
10328 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 LIBS=$ac_check_lib_save_LIBS
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10335 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10336 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10338 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10345 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10346 case "x$with_xrender" in
10347 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10348 xno) ;;
10349 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10350 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10351 esac
10355 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10356 then
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 #include <X11/Xlib.h>
10360 #include <X11/extensions/Xrandr.h>
10362 main ()
10364 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_compile "$LINENO"; then :
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10371 $as_echo_n "checking for -lXrandr... " >&6; }
10372 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_check_soname_save_LIBS=$LIBS
10376 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10380 /* Override any GCC internal prototype to avoid an error.
10381 Use char because int might match the return type of a GCC
10382 builtin and then its argument prototype would still apply. */
10383 #ifdef __cplusplus
10384 extern "C"
10385 #endif
10386 char XRRQueryExtension ();
10388 main ()
10390 return XRRQueryExtension ();
10392 return 0;
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 case "$LIBEXT" in
10397 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10398 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'` ;;
10399 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10400 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10401 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10402 fi ;;
10403 esac
10405 rm -f core conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 LIBS=$ac_check_soname_save_LIBS
10409 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10411 $as_echo "not found" >&6; }
10413 else
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10415 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10417 cat >>confdefs.h <<_ACEOF
10418 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10419 _ACEOF
10421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10422 /* end confdefs.h. */
10423 #include <X11/Xlib.h>
10424 #include <X11/extensions/Xrandr.h>
10426 main ()
10428 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10430 return 0;
10432 _ACEOF
10433 if ac_fn_c_try_compile "$LINENO"; then :
10435 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10443 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10444 case "x$with_xrandr" in
10445 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10446 xno) ;;
10447 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10448 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10449 esac
10453 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10454 then
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h. */
10457 #include <X11/Xlib.h>
10458 #include <X11/extensions/Xinerama.h>
10460 main ()
10462 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10464 return 0;
10466 _ACEOF
10467 if ac_fn_c_try_compile "$LINENO"; then :
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10469 $as_echo_n "checking for -lXinerama... " >&6; }
10470 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_check_soname_save_LIBS=$LIBS
10474 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10481 #ifdef __cplusplus
10482 extern "C"
10483 #endif
10484 char XineramaQueryScreens ();
10486 main ()
10488 return XineramaQueryScreens ();
10490 return 0;
10492 _ACEOF
10493 if ac_fn_c_try_link "$LINENO"; then :
10494 case "$LIBEXT" in
10495 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10496 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'` ;;
10497 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10498 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10499 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10500 fi ;;
10501 esac
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 LIBS=$ac_check_soname_save_LIBS
10507 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10509 $as_echo "not found" >&6; }
10511 else
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10513 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10515 cat >>confdefs.h <<_ACEOF
10516 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10517 _ACEOF
10522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10524 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10525 case "x$with_xinerama" in
10526 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10527 xno) ;;
10528 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10529 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10530 esac
10534 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10535 then
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10537 $as_echo_n "checking for -lXcomposite... " >&6; }
10538 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10539 $as_echo_n "(cached) " >&6
10540 else
10541 ac_check_soname_save_LIBS=$LIBS
10542 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10546 /* Override any GCC internal prototype to avoid an error.
10547 Use char because int might match the return type of a GCC
10548 builtin and then its argument prototype would still apply. */
10549 #ifdef __cplusplus
10550 extern "C"
10551 #endif
10552 char XCompositeRedirectWindow ();
10554 main ()
10556 return XCompositeRedirectWindow ();
10558 return 0;
10560 _ACEOF
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 case "$LIBEXT" in
10563 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10564 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'` ;;
10565 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10566 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10567 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10568 fi ;;
10569 esac
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_soname_save_LIBS
10575 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10577 $as_echo "not found" >&6; }
10579 else
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10581 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10583 cat >>confdefs.h <<_ACEOF
10584 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10585 _ACEOF
10590 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10591 case "x$with_xcomposite" in
10592 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10593 xno) ;;
10594 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10595 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10596 esac
10600 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10601 #include <X11/Xlib.h>
10602 #endif
10604 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10606 cat >>confdefs.h <<_ACEOF
10607 #define HAVE_XICCALLBACK_CALLBACK 1
10608 _ACEOF
10612 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10613 #include <X11/Xlib.h>
10614 #endif
10616 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10618 cat >>confdefs.h <<_ACEOF
10619 #define HAVE_XEVENT_XCOOKIE 1
10620 _ACEOF
10627 opengl_msg=""
10628 if test "x$with_opengl" != "xno"
10629 then
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10631 $as_echo_n "checking for -lGL... " >&6; }
10632 if ${ac_cv_lib_soname_GL+:} false; then :
10633 $as_echo_n "(cached) " >&6
10634 else
10635 ac_check_soname_save_LIBS=$LIBS
10636 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10640 /* Override any GCC internal prototype to avoid an error.
10641 Use char because int might match the return type of a GCC
10642 builtin and then its argument prototype would still apply. */
10643 #ifdef __cplusplus
10644 extern "C"
10645 #endif
10646 char glXCreateContext ();
10648 main ()
10650 return glXCreateContext ();
10652 return 0;
10654 _ACEOF
10655 if ac_fn_c_try_link "$LINENO"; then :
10656 case "$LIBEXT" in
10657 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10658 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'` ;;
10659 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10660 if ${ac_cv_lib_soname_GL:+false} :; then :
10661 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10662 fi ;;
10663 esac
10665 rm -f core conftest.err conftest.$ac_objext \
10666 conftest$ac_exeext conftest.$ac_ext
10667 LIBS=$ac_check_soname_save_LIBS
10669 if ${ac_cv_lib_soname_GL:+false} :; then :
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10671 $as_echo "not found" >&6; }
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10673 $as_echo_n "checking for -lGL... " >&6; }
10674 if ${ac_cv_lib_soname_GL+:} false; then :
10675 $as_echo_n "(cached) " >&6
10676 else
10677 ac_check_soname_save_LIBS=$LIBS
10678 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"
10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10685 #ifdef __cplusplus
10686 extern "C"
10687 #endif
10688 char glXCreateContext ();
10690 main ()
10692 return glXCreateContext ();
10694 return 0;
10696 _ACEOF
10697 if ac_fn_c_try_link "$LINENO"; then :
10698 case "$LIBEXT" in
10699 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10700 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'` ;;
10701 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10702 if ${ac_cv_lib_soname_GL:+false} :; then :
10703 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10704 fi ;;
10705 esac
10707 rm -f core conftest.err conftest.$ac_objext \
10708 conftest$ac_exeext conftest.$ac_ext
10709 LIBS=$ac_check_soname_save_LIBS
10711 if ${ac_cv_lib_soname_GL:+false} :; then :
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10713 $as_echo "not found" >&6; }
10714 if test -f /usr/X11R6/lib/libGL.a
10715 then
10716 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10717 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10718 else
10719 opengl_msg="No OpenGL library found on this system."
10721 else
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10723 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10725 cat >>confdefs.h <<_ACEOF
10726 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10727 _ACEOF
10729 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"
10731 else
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10733 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10735 cat >>confdefs.h <<_ACEOF
10736 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10737 _ACEOF
10739 OPENGL_LIBS="-lGL"
10741 if test "x$with_glu" != "xno"
10742 then
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10744 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10745 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10746 $as_echo_n "(cached) " >&6
10747 else
10748 ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char gluLookAt ();
10761 main ()
10763 return gluLookAt ();
10765 return 0;
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769 ac_cv_lib_GLU_gluLookAt=yes
10770 else
10771 ac_cv_lib_GLU_gluLookAt=no
10773 rm -f core conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10778 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10779 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10783 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10784 case "x$with_glu" in
10785 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10786 xno) ;;
10787 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10788 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10789 esac
10794 if test "x$with_osmesa" != "xno"
10795 then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10797 $as_echo_n "checking for -lOSMesa... " >&6; }
10798 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10799 $as_echo_n "(cached) " >&6
10800 else
10801 ac_check_soname_save_LIBS=$LIBS
10802 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 char glAccum ();
10814 main ()
10816 return glAccum ();
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10822 case "$LIBEXT" in
10823 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10824 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'` ;;
10825 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10826 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10827 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10828 fi ;;
10829 esac
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LIBS=$ac_check_soname_save_LIBS
10835 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10837 $as_echo "not found" >&6; }
10839 else
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10841 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10843 cat >>confdefs.h <<_ACEOF
10844 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10845 _ACEOF
10849 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10850 case "x$with_osmesa" in
10851 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10852 xno) ;;
10853 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10854 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10855 esac
10860 if test -n "$opengl_msg"; then :
10861 case "x$with_opengl" in
10862 x) as_fn_append wine_warnings "|$opengl_msg
10863 OpenGL and Direct3D won't be supported." ;;
10864 xno) ;;
10865 *) as_fn_error $? "$opengl_msg
10866 OpenGL and Direct3D won't be supported.
10867 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10868 esac
10872 CPPFLAGS="$ac_save_CPPFLAGS"
10873 else
10874 X_CFLAGS=""
10875 X_LIBS=""
10877 if test "x$X_LIBS" = "x"; then :
10878 case "x$with_x" in
10879 xno) ;;
10880 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10881 without X support, which probably isn't what you want. You will need
10882 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10883 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10884 esac
10885 enable_winex11_drv=${enable_winex11_drv:-no}
10888 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10890 if test "$ac_cv_header_CL_cl_h" = "yes"
10891 then
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10893 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10894 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10895 $as_echo_n "(cached) " >&6
10896 else
10897 ac_check_lib_save_LIBS=$LIBS
10898 LIBS="-lOpenCL $LIBS"
10899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10900 /* end confdefs.h. */
10902 /* Override any GCC internal prototype to avoid an error.
10903 Use char because int might match the return type of a GCC
10904 builtin and then its argument prototype would still apply. */
10905 #ifdef __cplusplus
10906 extern "C"
10907 #endif
10908 char clGetPlatformInfo ();
10910 main ()
10912 return clGetPlatformInfo ();
10914 return 0;
10916 _ACEOF
10917 if ac_fn_c_try_link "$LINENO"; then :
10918 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10919 else
10920 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10922 rm -f core conftest.err conftest.$ac_objext \
10923 conftest$ac_exeext conftest.$ac_ext
10924 LIBS=$ac_check_lib_save_LIBS
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10927 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10928 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10929 OPENCL_LIBS="-lOpenCL"
10934 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10935 case "x$with_opencl" in
10936 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10937 xno) ;;
10938 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10939 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10940 esac
10941 enable_opencl=${enable_opencl:-no}
10944 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10945 then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10947 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10948 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10949 $as_echo_n "(cached) " >&6
10950 else
10951 ac_check_lib_save_LIBS=$LIBS
10952 LIBS="-lpcap $LIBS"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10959 #ifdef __cplusplus
10960 extern "C"
10961 #endif
10962 char pcap_create ();
10964 main ()
10966 return pcap_create ();
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 ac_cv_lib_pcap_pcap_create=yes
10973 else
10974 ac_cv_lib_pcap_pcap_create=no
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10981 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10982 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10983 PCAP_LIBS="-lpcap"
10988 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10989 case "x$with_pcap" in
10990 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10991 xno) ;;
10992 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10993 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10994 esac
10995 enable_wpcap=${enable_wpcap:-no}
10999 if test "x$with_xml" != "xno"
11000 then
11001 if ${XML2_CFLAGS:+false} :; then :
11002 if ${PKG_CONFIG+:} false; then :
11003 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11006 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11007 if ${XML2_LIBS:+false} :; then :
11008 if ${PKG_CONFIG+:} false; then :
11009 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11012 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11013 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11014 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11015 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11016 ac_save_CPPFLAGS=$CPPFLAGS
11017 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11018 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11019 do :
11020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11021 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11022 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11023 cat >>confdefs.h <<_ACEOF
11024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11025 _ACEOF
11029 done
11031 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"
11032 then
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11034 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11035 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11036 $as_echo_n "(cached) " >&6
11037 else
11038 ac_check_lib_save_LIBS=$LIBS
11039 LIBS="-lxml2 $XML2_LIBS $LIBS"
11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 /* end confdefs.h. */
11043 /* Override any GCC internal prototype to avoid an error.
11044 Use char because int might match the return type of a GCC
11045 builtin and then its argument prototype would still apply. */
11046 #ifdef __cplusplus
11047 extern "C"
11048 #endif
11049 char xmlParseMemory ();
11051 main ()
11053 return xmlParseMemory ();
11055 return 0;
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 ac_cv_lib_xml2_xmlParseMemory=yes
11060 else
11061 ac_cv_lib_xml2_xmlParseMemory=no
11063 rm -f core conftest.err conftest.$ac_objext \
11064 conftest$ac_exeext conftest.$ac_ext
11065 LIBS=$ac_check_lib_save_LIBS
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11068 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11069 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11071 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11073 else
11074 XML2_LIBS=""
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11078 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11079 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11080 $as_echo_n "(cached) " >&6
11081 else
11082 ac_check_lib_save_LIBS=$LIBS
11083 LIBS="-lxml2 $XML2_LIBS $LIBS"
11084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h. */
11087 /* Override any GCC internal prototype to avoid an error.
11088 Use char because int might match the return type of a GCC
11089 builtin and then its argument prototype would still apply. */
11090 #ifdef __cplusplus
11091 extern "C"
11092 #endif
11093 char xmlReadMemory ();
11095 main ()
11097 return xmlReadMemory ();
11099 return 0;
11101 _ACEOF
11102 if ac_fn_c_try_link "$LINENO"; then :
11103 ac_cv_lib_xml2_xmlReadMemory=yes
11104 else
11105 ac_cv_lib_xml2_xmlReadMemory=no
11107 rm -f core conftest.err conftest.$ac_objext \
11108 conftest$ac_exeext conftest.$ac_ext
11109 LIBS=$ac_check_lib_save_LIBS
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11112 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11113 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11115 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11120 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11121 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11122 $as_echo_n "(cached) " >&6
11123 else
11124 ac_check_lib_save_LIBS=$LIBS
11125 LIBS="-lxml2 $XML2_LIBS $LIBS"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char xmlNewDocPI ();
11137 main ()
11139 return xmlNewDocPI ();
11141 return 0;
11143 _ACEOF
11144 if ac_fn_c_try_link "$LINENO"; then :
11145 ac_cv_lib_xml2_xmlNewDocPI=yes
11146 else
11147 ac_cv_lib_xml2_xmlNewDocPI=no
11149 rm -f core conftest.err conftest.$ac_objext \
11150 conftest$ac_exeext conftest.$ac_ext
11151 LIBS=$ac_check_lib_save_LIBS
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11154 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11155 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11157 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11162 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11163 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11164 $as_echo_n "(cached) " >&6
11165 else
11166 ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-lxml2 $XML2_LIBS $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11171 /* Override any GCC internal prototype to avoid an error.
11172 Use char because int might match the return type of a GCC
11173 builtin and then its argument prototype would still apply. */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char xmlSchemaSetParserStructuredErrors ();
11179 main ()
11181 return xmlSchemaSetParserStructuredErrors ();
11183 return 0;
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11188 else
11189 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11191 rm -f core conftest.err conftest.$ac_objext \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11196 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11197 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11199 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11204 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11205 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11206 $as_echo_n "(cached) " >&6
11207 else
11208 ac_check_lib_save_LIBS=$LIBS
11209 LIBS="-lxml2 $XML2_LIBS $LIBS"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11216 #ifdef __cplusplus
11217 extern "C"
11218 #endif
11219 char xmlSchemaSetValidStructuredErrors ();
11221 main ()
11223 return xmlSchemaSetValidStructuredErrors ();
11225 return 0;
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"; then :
11229 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11230 else
11231 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11233 rm -f core conftest.err conftest.$ac_objext \
11234 conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_lib_save_LIBS
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11238 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11239 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11241 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11246 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11247 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11248 $as_echo_n "(cached) " >&6
11249 else
11250 ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lxml2 $XML2_LIBS $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char xmlFirstElementChild ();
11263 main ()
11265 return xmlFirstElementChild ();
11267 return 0;
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_xml2_xmlFirstElementChild=yes
11272 else
11273 ac_cv_lib_xml2_xmlFirstElementChild=no
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11280 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11281 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11283 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11287 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11289 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11291 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11295 else
11296 XML2_CFLAGS=""
11297 XML2_LIBS=""
11299 CPPFLAGS=$ac_save_CPPFLAGS
11300 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11301 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11304 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11305 case "x$with_xml" in
11306 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11307 xno) ;;
11308 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11309 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11310 esac
11314 if test "x$with_xslt" != "xno"
11315 then
11316 if ${XSLT_CFLAGS:+false} :; then :
11317 if ${PKG_CONFIG+:} false; then :
11318 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11321 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11322 if ${XSLT_LIBS:+false} :; then :
11323 if ${PKG_CONFIG+:} false; then :
11324 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11327 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11328 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11329 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11330 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11331 ac_save_CPPFLAGS=$CPPFLAGS
11332 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11333 for ac_header in libxslt/pattern.h libxslt/transform.h
11334 do :
11335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11336 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11337 # include <libxslt/pattern.h>
11338 #endif
11340 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11341 cat >>confdefs.h <<_ACEOF
11342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11343 _ACEOF
11347 done
11349 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11350 then
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11352 $as_echo_n "checking for -lxslt... " >&6; }
11353 if ${ac_cv_lib_soname_xslt+:} false; then :
11354 $as_echo_n "(cached) " >&6
11355 else
11356 ac_check_soname_save_LIBS=$LIBS
11357 LIBS="-lxslt $XSLT_LIBS $LIBS"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11361 /* Override any GCC internal prototype to avoid an error.
11362 Use char because int might match the return type of a GCC
11363 builtin and then its argument prototype would still apply. */
11364 #ifdef __cplusplus
11365 extern "C"
11366 #endif
11367 char xsltCompilePattern ();
11369 main ()
11371 return xsltCompilePattern ();
11373 return 0;
11375 _ACEOF
11376 if ac_fn_c_try_link "$LINENO"; then :
11377 case "$LIBEXT" in
11378 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11379 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'` ;;
11380 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11381 if ${ac_cv_lib_soname_xslt:+false} :; then :
11382 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11383 fi ;;
11384 esac
11386 rm -f core conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11388 LIBS=$ac_check_soname_save_LIBS
11390 if ${ac_cv_lib_soname_xslt:+false} :; then :
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11392 $as_echo "not found" >&6; }
11394 else
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11396 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11398 cat >>confdefs.h <<_ACEOF
11399 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11400 _ACEOF
11404 else
11405 XSLT_CFLAGS=""
11407 CPPFLAGS=$ac_save_CPPFLAGS
11408 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11409 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11412 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11413 case "x$with_xslt" in
11414 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11415 xno) ;;
11416 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11417 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11418 esac
11422 if test "x$with_dbus" != "xno"
11423 then
11424 if ${DBUS_CFLAGS:+false} :; then :
11425 if ${PKG_CONFIG+:} false; then :
11426 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11430 if ${DBUS_LIBS:+false} :; then :
11431 if ${PKG_CONFIG+:} false; then :
11432 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11437 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11438 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11439 ac_save_CPPFLAGS=$CPPFLAGS
11440 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11441 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11442 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11444 $as_echo_n "checking for -ldbus-1... " >&6; }
11445 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_soname_save_LIBS=$LIBS
11449 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dbus_connection_close ();
11461 main ()
11463 return dbus_connection_close ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 case "$LIBEXT" in
11470 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11471 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'` ;;
11472 *) 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'`
11473 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11474 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11475 fi ;;
11476 esac
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_soname_save_LIBS
11482 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11484 $as_echo "not found" >&6; }
11485 DBUS_CFLAGS=""
11486 else
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11488 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11490 cat >>confdefs.h <<_ACEOF
11491 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11492 _ACEOF
11496 else
11497 DBUS_CFLAGS=""
11501 CPPFLAGS=$ac_save_CPPFLAGS
11502 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11503 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11506 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11507 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11508 case "x$with_dbus" in
11509 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11510 xno) ;;
11511 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11512 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11513 esac
11517 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11518 then
11519 if ${HAL_CFLAGS:+false} :; then :
11520 if ${PKG_CONFIG+:} false; then :
11521 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11525 if ${HAL_LIBS:+false} :; then :
11526 if ${PKG_CONFIG+:} false; then :
11527 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11531 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11532 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11533 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11534 ac_save_CPPFLAGS=$CPPFLAGS
11535 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11536 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11537 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11539 $as_echo_n "checking for -lhal... " >&6; }
11540 if ${ac_cv_lib_soname_hal+:} false; then :
11541 $as_echo_n "(cached) " >&6
11542 else
11543 ac_check_soname_save_LIBS=$LIBS
11544 LIBS="-lhal $HAL_LIBS $LIBS"
11545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546 /* end confdefs.h. */
11548 /* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11551 #ifdef __cplusplus
11552 extern "C"
11553 #endif
11554 char libhal_ctx_new ();
11556 main ()
11558 return libhal_ctx_new ();
11560 return 0;
11562 _ACEOF
11563 if ac_fn_c_try_link "$LINENO"; then :
11564 case "$LIBEXT" in
11565 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11566 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'` ;;
11567 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11568 if ${ac_cv_lib_soname_hal:+false} :; then :
11569 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11570 fi ;;
11571 esac
11573 rm -f core conftest.err conftest.$ac_objext \
11574 conftest$ac_exeext conftest.$ac_ext
11575 LIBS=$ac_check_soname_save_LIBS
11577 if ${ac_cv_lib_soname_hal:+false} :; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11579 $as_echo "not found" >&6; }
11580 HAL_CFLAGS=""
11581 else
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11583 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11585 cat >>confdefs.h <<_ACEOF
11586 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11587 _ACEOF
11591 else
11592 HAL_CFLAGS=""
11596 CPPFLAGS=$ac_save_CPPFLAGS
11597 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11598 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11600 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11601 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11602 case "x$with_hal" in
11603 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11604 xno) ;;
11605 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11606 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11607 esac
11612 if test "x$with_gnutls" != "xno"
11613 then
11614 if ${GNUTLS_CFLAGS:+false} :; then :
11615 if ${PKG_CONFIG+:} false; then :
11616 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11620 if ${GNUTLS_LIBS:+false} :; then :
11621 if ${PKG_CONFIG+:} false; then :
11622 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11627 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11628 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11629 ac_save_CPPFLAGS=$CPPFLAGS
11630 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11631 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11632 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11635 #include <gnutls/gnutls.h>
11636 #include <gnutls/crypto.h>
11638 main ()
11640 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11642 return 0;
11644 _ACEOF
11645 if ac_fn_c_try_compile "$LINENO"; then :
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11647 $as_echo_n "checking for -lgnutls... " >&6; }
11648 if ${ac_cv_lib_soname_gnutls+:} false; then :
11649 $as_echo_n "(cached) " >&6
11650 else
11651 ac_check_soname_save_LIBS=$LIBS
11652 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11654 /* end confdefs.h. */
11656 /* Override any GCC internal prototype to avoid an error.
11657 Use char because int might match the return type of a GCC
11658 builtin and then its argument prototype would still apply. */
11659 #ifdef __cplusplus
11660 extern "C"
11661 #endif
11662 char gnutls_global_init ();
11664 main ()
11666 return gnutls_global_init ();
11668 return 0;
11670 _ACEOF
11671 if ac_fn_c_try_link "$LINENO"; then :
11672 case "$LIBEXT" in
11673 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11674 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'` ;;
11675 *) 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'`
11676 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11677 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'`
11678 fi ;;
11679 esac
11681 rm -f core conftest.err conftest.$ac_objext \
11682 conftest$ac_exeext conftest.$ac_ext
11683 LIBS=$ac_check_soname_save_LIBS
11685 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11687 $as_echo "not found" >&6; }
11688 GNUTLS_CFLAGS=""
11689 else
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11691 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11693 cat >>confdefs.h <<_ACEOF
11694 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11695 _ACEOF
11699 ac_wine_check_funcs_save_LIBS="$LIBS"
11700 LIBS="$LIBS $GNUTLS_LIBS"
11701 for ac_func in gnutls_hash
11702 do :
11703 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11704 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11705 cat >>confdefs.h <<_ACEOF
11706 #define HAVE_GNUTLS_HASH 1
11707 _ACEOF
11709 else
11710 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11712 done
11714 LIBS="$ac_wine_check_funcs_save_LIBS"
11716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11717 else
11718 GNUTLS_CFLAGS=""
11722 CPPFLAGS=$ac_save_CPPFLAGS
11723 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11724 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11727 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11728 case "x$with_gnutls" in
11729 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11730 xno) ;;
11731 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11732 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11733 esac
11737 CURSES_LIBS=""
11738 if test "$ac_cv_header_ncurses_h" = "yes"
11739 then
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11741 $as_echo_n "checking for -lncurses... " >&6; }
11742 if ${ac_cv_lib_soname_ncurses+:} false; then :
11743 $as_echo_n "(cached) " >&6
11744 else
11745 ac_check_soname_save_LIBS=$LIBS
11746 LIBS="-lncurses $LIBS"
11747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11750 /* Override any GCC internal prototype to avoid an error.
11751 Use char because int might match the return type of a GCC
11752 builtin and then its argument prototype would still apply. */
11753 #ifdef __cplusplus
11754 extern "C"
11755 #endif
11756 char waddch ();
11758 main ()
11760 return waddch ();
11762 return 0;
11764 _ACEOF
11765 if ac_fn_c_try_link "$LINENO"; then :
11766 case "$LIBEXT" in
11767 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11768 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'` ;;
11769 *) 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'`
11770 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11771 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11772 fi ;;
11773 esac
11775 rm -f core conftest.err conftest.$ac_objext \
11776 conftest$ac_exeext conftest.$ac_ext
11777 LIBS=$ac_check_soname_save_LIBS
11779 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11781 $as_echo "not found" >&6; }
11783 else
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11785 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11787 cat >>confdefs.h <<_ACEOF
11788 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11789 _ACEOF
11791 CURSES_LIBS="-lncurses"
11793 elif test "$ac_cv_header_curses_h" = "yes"
11794 then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11796 $as_echo_n "checking for -lcurses... " >&6; }
11797 if ${ac_cv_lib_soname_curses+:} false; then :
11798 $as_echo_n "(cached) " >&6
11799 else
11800 ac_check_soname_save_LIBS=$LIBS
11801 LIBS="-lcurses $LIBS"
11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803 /* end confdefs.h. */
11805 /* Override any GCC internal prototype to avoid an error.
11806 Use char because int might match the return type of a GCC
11807 builtin and then its argument prototype would still apply. */
11808 #ifdef __cplusplus
11809 extern "C"
11810 #endif
11811 char waddch ();
11813 main ()
11815 return waddch ();
11817 return 0;
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"; then :
11821 case "$LIBEXT" in
11822 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11823 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'` ;;
11824 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11825 if ${ac_cv_lib_soname_curses:+false} :; then :
11826 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11827 fi ;;
11828 esac
11830 rm -f core conftest.err conftest.$ac_objext \
11831 conftest$ac_exeext conftest.$ac_ext
11832 LIBS=$ac_check_soname_save_LIBS
11834 if ${ac_cv_lib_soname_curses:+false} :; then :
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11836 $as_echo "not found" >&6; }
11838 else
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11840 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11842 cat >>confdefs.h <<_ACEOF
11843 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11844 _ACEOF
11846 CURSES_LIBS="-lcurses"
11849 ac_save_LIBS="$LIBS"
11850 LIBS="$LIBS $CURSES_LIBS"
11851 for ac_func in mousemask
11852 do :
11853 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11854 if test "x$ac_cv_func_mousemask" = xyes; then :
11855 cat >>confdefs.h <<_ACEOF
11856 #define HAVE_MOUSEMASK 1
11857 _ACEOF
11860 done
11862 LIBS="$ac_save_LIBS"
11863 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11864 case "x$with_curses" in
11865 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11866 xno) ;;
11867 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11868 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11869 esac
11873 if test "x$with_sane" != "xno"
11874 then
11875 if ${SANE_CFLAGS:+false} :; then :
11876 if ${PKG_CONFIG+:} false; then :
11877 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11880 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11881 if ${SANE_LIBS:+false} :; then :
11882 if ${PKG_CONFIG+:} false; then :
11883 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11886 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11888 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11889 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11890 ac_save_CPPFLAGS=$CPPFLAGS
11891 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11892 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11893 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11895 $as_echo_n "checking for -lsane... " >&6; }
11896 if ${ac_cv_lib_soname_sane+:} false; then :
11897 $as_echo_n "(cached) " >&6
11898 else
11899 ac_check_soname_save_LIBS=$LIBS
11900 LIBS="-lsane $SANE_LIBS $LIBS"
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11907 #ifdef __cplusplus
11908 extern "C"
11909 #endif
11910 char sane_init ();
11912 main ()
11914 return sane_init ();
11916 return 0;
11918 _ACEOF
11919 if ac_fn_c_try_link "$LINENO"; then :
11920 case "$LIBEXT" in
11921 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11922 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'` ;;
11923 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11924 if ${ac_cv_lib_soname_sane:+false} :; then :
11925 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11926 fi ;;
11927 esac
11929 rm -f core conftest.err conftest.$ac_objext \
11930 conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_soname_save_LIBS
11933 if ${ac_cv_lib_soname_sane:+false} :; then :
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11935 $as_echo "not found" >&6; }
11936 SANE_CFLAGS=""
11937 else
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11939 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11941 cat >>confdefs.h <<_ACEOF
11942 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11943 _ACEOF
11947 else
11948 SANE_CFLAGS=""
11952 CPPFLAGS=$ac_save_CPPFLAGS
11953 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11954 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11957 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11958 case "x$with_sane" in
11959 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11960 xno) ;;
11961 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11962 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11963 esac
11967 if test "x$with_v4l" != "xno"
11968 then
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11970 $as_echo_n "checking for -lv4l1... " >&6; }
11971 if ${ac_cv_lib_soname_v4l1+:} false; then :
11972 $as_echo_n "(cached) " >&6
11973 else
11974 ac_check_soname_save_LIBS=$LIBS
11975 LIBS="-lv4l1 $LIBS"
11976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11979 /* Override any GCC internal prototype to avoid an error.
11980 Use char because int might match the return type of a GCC
11981 builtin and then its argument prototype would still apply. */
11982 #ifdef __cplusplus
11983 extern "C"
11984 #endif
11985 char v4l1_open ();
11987 main ()
11989 return v4l1_open ();
11991 return 0;
11993 _ACEOF
11994 if ac_fn_c_try_link "$LINENO"; then :
11995 case "$LIBEXT" in
11996 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11997 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'` ;;
11998 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11999 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12000 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12001 fi ;;
12002 esac
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_soname_save_LIBS
12008 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12010 $as_echo "not found" >&6; }
12012 else
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12014 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12016 cat >>confdefs.h <<_ACEOF
12017 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12018 _ACEOF
12023 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12024 case "x$with_v4l" in
12025 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12026 xno) ;;
12027 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12028 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12029 esac
12033 if test "x$with_gphoto" != "xno"
12034 then
12035 if ${GPHOTO2_CFLAGS:+false} :; then :
12036 if ${PKG_CONFIG+:} false; then :
12037 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12040 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12041 if ${GPHOTO2_LIBS:+false} :; then :
12042 if ${PKG_CONFIG+:} false; then :
12043 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12046 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12047 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12048 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12049 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12050 ac_save_CPPFLAGS=$CPPFLAGS
12051 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12052 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12053 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12055 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12056 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12057 $as_echo_n "(cached) " >&6
12058 else
12059 ac_check_lib_save_LIBS=$LIBS
12060 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12064 /* Override any GCC internal prototype to avoid an error.
12065 Use char because int might match the return type of a GCC
12066 builtin and then its argument prototype would still apply. */
12067 #ifdef __cplusplus
12068 extern "C"
12069 #endif
12070 char gp_camera_new ();
12072 main ()
12074 return gp_camera_new ();
12076 return 0;
12078 _ACEOF
12079 if ac_fn_c_try_link "$LINENO"; then :
12080 ac_cv_lib_gphoto2_gp_camera_new=yes
12081 else
12082 ac_cv_lib_gphoto2_gp_camera_new=no
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_lib_save_LIBS
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12089 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12090 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12092 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12094 else
12095 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12098 else
12099 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12103 CPPFLAGS=$ac_save_CPPFLAGS
12104 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12105 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12107 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12108 if ${PKG_CONFIG+:} false; then :
12109 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12112 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12113 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12114 if ${PKG_CONFIG+:} false; then :
12115 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12118 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12119 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12120 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12121 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12122 ac_save_CPPFLAGS=$CPPFLAGS
12123 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12124 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12125 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12127 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12128 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 ac_check_lib_save_LIBS=$LIBS
12132 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12136 /* Override any GCC internal prototype to avoid an error.
12137 Use char because int might match the return type of a GCC
12138 builtin and then its argument prototype would still apply. */
12139 #ifdef __cplusplus
12140 extern "C"
12141 #endif
12142 char gp_port_info_list_new ();
12144 main ()
12146 return gp_port_info_list_new ();
12148 return 0;
12150 _ACEOF
12151 if ac_fn_c_try_link "$LINENO"; then :
12152 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12153 else
12154 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12156 rm -f core conftest.err conftest.$ac_objext \
12157 conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_check_lib_save_LIBS
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12161 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12162 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12164 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12166 else
12167 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12170 else
12171 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12175 CPPFLAGS=$ac_save_CPPFLAGS
12176 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12177 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12180 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12181 case "x$with_gphoto" in
12182 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12183 xno) ;;
12184 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12185 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12186 esac
12189 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12190 case "x$with_gphoto" in
12191 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12192 xno) ;;
12193 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12194 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12195 esac
12200 if test "$ac_cv_header_resolv_h" = "yes"
12201 then
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12203 $as_echo_n "checking for resolver library... " >&6; }
12204 if ${ac_cv_have_resolv+:} false; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 ac_save_LIBS="$LIBS"
12208 for lib in '' -lresolv
12210 LIBS="$lib $ac_save_LIBS"
12211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 #ifdef HAVE_NETINET_IN_H
12214 #include <netinet/in.h>
12215 #endif
12216 #include <resolv.h>
12218 main ()
12220 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 ac_cv_have_resolv=${lib:-"none required"}
12227 else
12228 ac_cv_have_resolv="not found"
12230 rm -f core conftest.err conftest.$ac_objext \
12231 conftest$ac_exeext conftest.$ac_ext
12232 test "x$ac_cv_have_resolv" = "xnot found" || break
12233 done
12234 LIBS="$ac_save_LIBS"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12237 $as_echo "$ac_cv_have_resolv" >&6; }
12239 case "$ac_cv_have_resolv" in
12240 "not found") ;;
12241 "none required")
12243 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12246 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12248 RESOLV_LIBS=$ac_cv_have_resolv
12250 esac
12253 if test "x$with_cms" != "xno"
12254 then
12255 if ${LCMS2_CFLAGS:+false} :; then :
12256 if ${PKG_CONFIG+:} false; then :
12257 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12261 if ${LCMS2_LIBS:+false} :; then :
12262 if ${PKG_CONFIG+:} false; then :
12263 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12267 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12268 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12269 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12270 ac_save_CPPFLAGS=$CPPFLAGS
12271 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12272 for ac_header in lcms2.h
12273 do :
12274 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12275 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12276 cat >>confdefs.h <<_ACEOF
12277 #define HAVE_LCMS2_H 1
12278 _ACEOF
12282 done
12284 if test "$ac_cv_header_lcms2_h" = "yes"
12285 then
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12287 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12288 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12289 $as_echo_n "(cached) " >&6
12290 else
12291 ac_check_lib_save_LIBS=$LIBS
12292 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12299 #ifdef __cplusplus
12300 extern "C"
12301 #endif
12302 char cmsOpenProfileFromFile ();
12304 main ()
12306 return cmsOpenProfileFromFile ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"; then :
12312 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12313 else
12314 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12316 rm -f core conftest.err conftest.$ac_objext \
12317 conftest$ac_exeext conftest.$ac_ext
12318 LIBS=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12321 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12322 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12324 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12326 else
12327 LCMS2_LIBS=""
12330 else
12331 LCMS2_CFLAGS=""
12332 LCMS2_LIBS=""
12334 CPPFLAGS=$ac_save_CPPFLAGS
12335 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12336 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12339 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12340 case "x$with_cms" in
12341 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12342 xno) ;;
12343 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12344 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12345 esac
12349 if test "x$with_freetype" != "xno"
12350 then
12351 if ${FREETYPE_CFLAGS:+false} :; then :
12352 if ${PKG_CONFIG+:} false; then :
12353 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12356 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12357 if ${FREETYPE_LIBS:+false} :; then :
12358 if ${PKG_CONFIG+:} false; then :
12359 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12362 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12363 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12364 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12365 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12366 ac_save_CPPFLAGS=$CPPFLAGS
12367 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12368 for ac_header in ft2build.h
12369 do :
12370 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12371 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12372 cat >>confdefs.h <<_ACEOF
12373 #define HAVE_FT2BUILD_H 1
12374 _ACEOF
12378 done
12380 if test "$ac_cv_header_ft2build_h" = "yes"
12381 then
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12383 $as_echo_n "checking for -lfreetype... " >&6; }
12384 if ${ac_cv_lib_soname_freetype+:} false; then :
12385 $as_echo_n "(cached) " >&6
12386 else
12387 ac_check_soname_save_LIBS=$LIBS
12388 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12392 /* Override any GCC internal prototype to avoid an error.
12393 Use char because int might match the return type of a GCC
12394 builtin and then its argument prototype would still apply. */
12395 #ifdef __cplusplus
12396 extern "C"
12397 #endif
12398 char FT_Init_FreeType ();
12400 main ()
12402 return FT_Init_FreeType ();
12404 return 0;
12406 _ACEOF
12407 if ac_fn_c_try_link "$LINENO"; then :
12408 case "$LIBEXT" in
12409 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12410 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'` ;;
12411 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12412 if ${ac_cv_lib_soname_freetype:+false} :; then :
12413 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12414 fi ;;
12415 esac
12417 rm -f core conftest.err conftest.$ac_objext \
12418 conftest$ac_exeext conftest.$ac_ext
12419 LIBS=$ac_check_soname_save_LIBS
12421 if ${ac_cv_lib_soname_freetype:+false} :; then :
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12423 $as_echo "not found" >&6; }
12424 FREETYPE_LIBS=""
12425 else
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12427 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12429 cat >>confdefs.h <<_ACEOF
12430 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12431 _ACEOF
12434 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12436 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12437 #include FT_MODULE_H
12439 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12441 cat >>confdefs.h <<_ACEOF
12442 #define HAVE_FT_TRUETYPEENGINETYPE 1
12443 _ACEOF
12449 else
12450 FREETYPE_CFLAGS=""
12451 FREETYPE_LIBS=""
12453 CPPFLAGS=$ac_save_CPPFLAGS
12454 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12455 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12458 if test "x$ac_cv_lib_soname_freetype" = x; then :
12459 case "x$with_freetype" in
12460 xno) ;;
12461 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12462 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12463 esac
12464 enable_fonts=${enable_fonts:-no}
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12468 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12469 if ${ac_cv_c_ppdev+:} false; then :
12470 $as_echo_n "(cached) " >&6
12471 else
12472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473 /* end confdefs.h. */
12474 #ifdef HAVE_SYS_IOCTL_H
12475 # include <sys/ioctl.h>
12476 #endif
12477 #include <linux/ppdev.h>
12479 main ()
12481 ioctl (1,PPCLAIM,0)
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_compile "$LINENO"; then :
12487 ac_cv_c_ppdev="yes"
12488 else
12489 ac_cv_c_ppdev="no"
12491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12494 $as_echo "$ac_cv_c_ppdev" >&6; }
12495 if test "$ac_cv_c_ppdev" = "yes"
12496 then
12498 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12502 ac_wine_check_funcs_save_LIBS="$LIBS"
12503 LIBS="$LIBS $PTHREAD_LIBS"
12504 for ac_func in \
12505 pthread_attr_get_np \
12506 pthread_getattr_np \
12507 pthread_getthreadid_np \
12508 pthread_get_stackaddr_np \
12509 pthread_get_stacksize_np
12510 do :
12511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12513 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12514 cat >>confdefs.h <<_ACEOF
12515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12516 _ACEOF
12519 done
12521 LIBS="$ac_wine_check_funcs_save_LIBS"
12523 if test "$ac_cv_header_zlib_h" = "yes"
12524 then
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12526 $as_echo_n "checking for inflate in -lz... " >&6; }
12527 if ${ac_cv_lib_z_inflate+:} false; then :
12528 $as_echo_n "(cached) " >&6
12529 else
12530 ac_check_lib_save_LIBS=$LIBS
12531 LIBS="-lz $LIBS"
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12538 #ifdef __cplusplus
12539 extern "C"
12540 #endif
12541 char inflate ();
12543 main ()
12545 return inflate ();
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_link "$LINENO"; then :
12551 ac_cv_lib_z_inflate=yes
12552 else
12553 ac_cv_lib_z_inflate=no
12555 rm -f core conftest.err conftest.$ac_objext \
12556 conftest$ac_exeext conftest.$ac_ext
12557 LIBS=$ac_check_lib_save_LIBS
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12560 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12561 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12563 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12565 Z_LIBS="-lz"
12570 if test "x$Z_LIBS" = "x"; then :
12571 case "x$with_zlib" in
12572 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12573 xno) ;;
12574 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12575 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12576 esac
12580 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12581 then
12582 if test "$ac_cv_header_gettext_po_h" = "yes"
12583 then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12585 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12586 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12587 $as_echo_n "(cached) " >&6
12588 else
12589 ac_check_lib_save_LIBS=$LIBS
12590 LIBS="-lgettextpo $LIBS"
12591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12597 #ifdef __cplusplus
12598 extern "C"
12599 #endif
12600 char po_message_msgctxt ();
12602 main ()
12604 return po_message_msgctxt ();
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_link "$LINENO"; then :
12610 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12611 else
12612 ac_cv_lib_gettextpo_po_message_msgctxt=no
12614 rm -f core conftest.err conftest.$ac_objext \
12615 conftest$ac_exeext conftest.$ac_ext
12616 LIBS=$ac_check_lib_save_LIBS
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12619 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12620 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12622 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12624 GETTEXTPO_LIBS="-lgettextpo"
12629 if test "x$GETTEXTPO_LIBS" = "x"; then :
12630 case "x$with_gettextpo" in
12631 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12632 xno) ;;
12633 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12634 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12635 esac
12638 if test "$srcdir" != .; then :
12639 case "x$with_gettextpo" in
12640 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12641 xno) ;;
12642 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12643 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12644 esac
12649 if test "x$with_pulse" != "xno";
12650 then
12651 if ${PULSE_CFLAGS:+false} :; then :
12652 if ${PKG_CONFIG+:} false; then :
12653 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12657 if ${PULSE_LIBS:+false} :; then :
12658 if ${PKG_CONFIG+:} false; then :
12659 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12664 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12665 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12666 ac_save_CPPFLAGS=$CPPFLAGS
12667 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12668 for ac_header in pulse/pulseaudio.h
12669 do :
12670 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12671 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12672 cat >>confdefs.h <<_ACEOF
12673 #define HAVE_PULSE_PULSEAUDIO_H 1
12674 _ACEOF
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12676 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12677 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12678 $as_echo_n "(cached) " >&6
12679 else
12680 ac_check_lib_save_LIBS=$LIBS
12681 LIBS="-lpulse $PULSE_LIBS $LIBS"
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12685 /* Override any GCC internal prototype to avoid an error.
12686 Use char because int might match the return type of a GCC
12687 builtin and then its argument prototype would still apply. */
12688 #ifdef __cplusplus
12689 extern "C"
12690 #endif
12691 char pa_stream_is_corked ();
12693 main ()
12695 return pa_stream_is_corked ();
12697 return 0;
12699 _ACEOF
12700 if ac_fn_c_try_link "$LINENO"; then :
12701 ac_cv_lib_pulse_pa_stream_is_corked=yes
12702 else
12703 ac_cv_lib_pulse_pa_stream_is_corked=no
12705 rm -f core conftest.err conftest.$ac_objext \
12706 conftest$ac_exeext conftest.$ac_ext
12707 LIBS=$ac_check_lib_save_LIBS
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12710 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12711 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12713 else
12714 PULSE_LIBS=""
12717 else
12718 PULSE_LIBS=""
12721 done
12723 CPPFLAGS=$ac_save_CPPFLAGS
12724 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12725 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12728 if test -z "$PULSE_LIBS"; then :
12729 case "x$with_pulse" in
12730 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12731 xno) ;;
12732 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12733 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12734 esac
12735 enable_winepulse_drv=${enable_winepulse_drv:-no}
12738 if test "x$with_gstreamer" != "xno"
12739 then
12740 if ${GSTREAMER_CFLAGS:+false} :; then :
12741 if ${PKG_CONFIG+:} false; then :
12742 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12746 if ${GSTREAMER_LIBS:+false} :; then :
12747 if ${PKG_CONFIG+:} false; then :
12748 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12753 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12754 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12755 ac_save_CPPFLAGS=$CPPFLAGS
12756 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12757 ac_gst_incl=""
12758 for i in $GSTREAMER_CFLAGS
12760 case "$i" in
12761 -I*) ac_gst_incl="$ac_gst_incl $i";;
12762 esac
12763 done
12764 GSTREAMER_CFLAGS=$ac_gst_incl
12765 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12766 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12767 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12769 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12772 #include <gst/gst.h>
12774 main ()
12776 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_compile "$LINENO"; then :
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12783 $as_echo "yes" >&6; }
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12785 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12786 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12787 $as_echo_n "(cached) " >&6
12788 else
12789 ac_check_lib_save_LIBS=$LIBS
12790 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792 /* end confdefs.h. */
12794 /* Override any GCC internal prototype to avoid an error.
12795 Use char because int might match the return type of a GCC
12796 builtin and then its argument prototype would still apply. */
12797 #ifdef __cplusplus
12798 extern "C"
12799 #endif
12800 char gst_pad_new ();
12802 main ()
12804 return gst_pad_new ();
12806 return 0;
12808 _ACEOF
12809 if ac_fn_c_try_link "$LINENO"; then :
12810 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12811 else
12812 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12814 rm -f core conftest.err conftest.$ac_objext \
12815 conftest$ac_exeext conftest.$ac_ext
12816 LIBS=$ac_check_lib_save_LIBS
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12819 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12820 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12824 else
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12826 $as_echo "no" >&6; }
12827 ac_glib2_broken=yes
12828 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12834 CPPFLAGS=$ac_save_CPPFLAGS
12835 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12836 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12839 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 :
12840 case "x$with_gstreamer" in
12841 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12842 xno) ;;
12843 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12844 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12845 esac
12848 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12850 ALSA_LIBS=""
12852 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12853 then
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12855 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12856 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 ac_check_lib_save_LIBS=$LIBS
12860 LIBS="-lasound $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 #ifdef __cplusplus
12868 extern "C"
12869 #endif
12870 char snd_pcm_hw_params_get_access_mask ();
12872 main ()
12874 return snd_pcm_hw_params_get_access_mask ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"; then :
12880 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12881 else
12882 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12884 rm -f core conftest.err conftest.$ac_objext \
12885 conftest$ac_exeext conftest.$ac_ext
12886 LIBS=$ac_check_lib_save_LIBS
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12889 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12890 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12893 #ifdef HAVE_ALSA_ASOUNDLIB_H
12894 #include <alsa/asoundlib.h>
12895 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12896 #include <sys/asoundlib.h>
12897 #endif
12899 main ()
12901 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12903 return 0;
12905 _ACEOF
12906 if ac_fn_c_try_compile "$LINENO"; then :
12907 ALSA_LIBS="-lasound"
12909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12913 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12915 if test "x$with_oss" != xno
12916 then
12917 ac_save_CPPFLAGS="$CPPFLAGS"
12918 if test -f /etc/oss.conf
12919 then
12920 . /etc/oss.conf
12922 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12923 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12924 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12925 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12926 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12928 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12930 cat >>confdefs.h <<_ACEOF
12931 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12932 _ACEOF
12934 OSS4_CFLAGS="$ac_oss_incl"
12941 CPPFLAGS="$ac_save_CPPFLAGS"
12943 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12944 case "x$with_oss" in
12945 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12946 xno) ;;
12947 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12948 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12949 esac
12950 enable_wineoss_drv=${enable_wineoss_drv:-no}
12953 if test "x$with_udev" != "xno"
12954 then
12955 if ${UDEV_CFLAGS:+false} :; then :
12956 if ${PKG_CONFIG+:} false; then :
12957 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12961 if ${UDEV_LIBS:+false} :; then :
12962 if ${PKG_CONFIG+:} false; then :
12963 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12968 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12969 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12970 ac_save_CPPFLAGS=$CPPFLAGS
12971 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12972 for ac_header in libudev.h
12973 do :
12974 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12975 if test "x$ac_cv_header_libudev_h" = xyes; then :
12976 cat >>confdefs.h <<_ACEOF
12977 #define HAVE_LIBUDEV_H 1
12978 _ACEOF
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12980 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12981 if ${ac_cv_lib_udev_udev_new+:} false; then :
12982 $as_echo_n "(cached) " >&6
12983 else
12984 ac_check_lib_save_LIBS=$LIBS
12985 LIBS="-ludev $UDEV_LIBS $LIBS"
12986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12989 /* Override any GCC internal prototype to avoid an error.
12990 Use char because int might match the return type of a GCC
12991 builtin and then its argument prototype would still apply. */
12992 #ifdef __cplusplus
12993 extern "C"
12994 #endif
12995 char udev_new ();
12997 main ()
12999 return udev_new ();
13001 return 0;
13003 _ACEOF
13004 if ac_fn_c_try_link "$LINENO"; then :
13005 ac_cv_lib_udev_udev_new=yes
13006 else
13007 ac_cv_lib_udev_udev_new=no
13009 rm -f core conftest.err conftest.$ac_objext \
13010 conftest$ac_exeext conftest.$ac_ext
13011 LIBS=$ac_check_lib_save_LIBS
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13014 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13015 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13017 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13019 else
13020 UDEV_LIBS=""
13023 else
13024 UDEV_LIBS=""
13027 done
13029 CPPFLAGS=$ac_save_CPPFLAGS
13030 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13031 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13034 if test "x$UDEV_LIBS" = "x"; then :
13035 case "x$with_udev" in
13036 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13037 xno) ;;
13038 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13039 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13040 esac
13044 if test "x$with_capi" != "xno"
13045 then
13046 if ${CAPI20_CFLAGS:+false} :; then :
13047 if ${PKG_CONFIG+:} false; then :
13048 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13052 if ${CAPI20_LIBS:+false} :; then :
13053 if ${PKG_CONFIG+:} false; then :
13054 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13059 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13060 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13061 ac_save_CPPFLAGS=$CPPFLAGS
13062 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13063 for ac_header in capi20.h linux/capi.h
13064 do :
13065 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13066 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13068 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13069 cat >>confdefs.h <<_ACEOF
13070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13071 _ACEOF
13075 done
13077 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13078 then
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13080 $as_echo_n "checking for -lcapi20... " >&6; }
13081 if ${ac_cv_lib_soname_capi20+:} false; then :
13082 $as_echo_n "(cached) " >&6
13083 else
13084 ac_check_soname_save_LIBS=$LIBS
13085 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 char capi20_register ();
13097 main ()
13099 return capi20_register ();
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_link "$LINENO"; then :
13105 case "$LIBEXT" in
13106 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13107 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'` ;;
13108 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13109 if ${ac_cv_lib_soname_capi20:+false} :; then :
13110 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13111 fi ;;
13112 esac
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_soname_save_LIBS
13118 if ${ac_cv_lib_soname_capi20:+false} :; then :
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13120 $as_echo "not found" >&6; }
13122 else
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13124 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13126 cat >>confdefs.h <<_ACEOF
13127 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13128 _ACEOF
13133 CPPFLAGS=$ac_save_CPPFLAGS
13134 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13135 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13138 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13139 case "x$with_capi" in
13140 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13141 xno) ;;
13142 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13143 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13144 esac
13148 CUPS_CFLAGS=""
13150 if test "x$with_cups" != "xno"
13151 then
13152 ac_save_CPPFLAGS="$CPPFLAGS"
13153 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13154 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13155 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13156 for ac_header in cups/cups.h
13157 do :
13158 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13159 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13160 cat >>confdefs.h <<_ACEOF
13161 #define HAVE_CUPS_CUPS_H 1
13162 _ACEOF
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13164 $as_echo_n "checking for -lcups... " >&6; }
13165 if ${ac_cv_lib_soname_cups+:} false; then :
13166 $as_echo_n "(cached) " >&6
13167 else
13168 ac_check_soname_save_LIBS=$LIBS
13169 LIBS="-lcups $ac_cups_libs $LIBS"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13176 #ifdef __cplusplus
13177 extern "C"
13178 #endif
13179 char cupsGetDefault ();
13181 main ()
13183 return cupsGetDefault ();
13185 return 0;
13187 _ACEOF
13188 if ac_fn_c_try_link "$LINENO"; then :
13189 case "$LIBEXT" in
13190 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13191 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'` ;;
13192 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13193 if ${ac_cv_lib_soname_cups:+false} :; then :
13194 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13195 fi ;;
13196 esac
13198 rm -f core conftest.err conftest.$ac_objext \
13199 conftest$ac_exeext conftest.$ac_ext
13200 LIBS=$ac_check_soname_save_LIBS
13202 if ${ac_cv_lib_soname_cups:+false} :; then :
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13204 $as_echo "not found" >&6; }
13206 else
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13208 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13210 cat >>confdefs.h <<_ACEOF
13211 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13212 _ACEOF
13214 CUPS_CFLAGS="$ac_cups_cflags"
13216 for ac_header in cups/ppd.h
13217 do :
13218 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13219 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13220 cat >>confdefs.h <<_ACEOF
13221 #define HAVE_CUPS_PPD_H 1
13222 _ACEOF
13226 done
13230 done
13232 CPPFLAGS="$ac_save_CPPFLAGS"
13234 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13235 case "x$with_cups" in
13236 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13237 xno) ;;
13238 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13239 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13240 esac
13244 if test "x$with_fontconfig" != "xno"
13245 then
13246 if ${FONTCONFIG_CFLAGS:+false} :; then :
13247 if ${PKG_CONFIG+:} false; then :
13248 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13251 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13252 if ${FONTCONFIG_LIBS:+false} :; then :
13253 if ${PKG_CONFIG+:} false; then :
13254 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13257 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13259 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13260 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13261 ac_save_CPPFLAGS=$CPPFLAGS
13262 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13263 for ac_header in fontconfig/fontconfig.h
13264 do :
13265 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13266 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13267 cat >>confdefs.h <<_ACEOF
13268 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13269 _ACEOF
13273 done
13275 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13276 then
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13278 $as_echo_n "checking for -lfontconfig... " >&6; }
13279 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13280 $as_echo_n "(cached) " >&6
13281 else
13282 ac_check_soname_save_LIBS=$LIBS
13283 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13287 /* Override any GCC internal prototype to avoid an error.
13288 Use char because int might match the return type of a GCC
13289 builtin and then its argument prototype would still apply. */
13290 #ifdef __cplusplus
13291 extern "C"
13292 #endif
13293 char FcInit ();
13295 main ()
13297 return FcInit ();
13299 return 0;
13301 _ACEOF
13302 if ac_fn_c_try_link "$LINENO"; then :
13303 case "$LIBEXT" in
13304 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13305 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'` ;;
13306 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13307 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13308 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13309 fi ;;
13310 esac
13312 rm -f core conftest.err conftest.$ac_objext \
13313 conftest$ac_exeext conftest.$ac_ext
13314 LIBS=$ac_check_soname_save_LIBS
13316 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13318 $as_echo "not found" >&6; }
13319 FONTCONFIG_CFLAGS=""
13320 else
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13322 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13324 cat >>confdefs.h <<_ACEOF
13325 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13326 _ACEOF
13330 else
13331 FONTCONFIG_CFLAGS=""
13333 CPPFLAGS=$ac_save_CPPFLAGS
13334 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13335 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13338 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13339 case "x$with_fontconfig" in
13340 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13341 xno) ;;
13342 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13343 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13344 esac
13348 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13349 then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13351 $as_echo_n "checking for -lgsm... " >&6; }
13352 if ${ac_cv_lib_soname_gsm+:} false; then :
13353 $as_echo_n "(cached) " >&6
13354 else
13355 ac_check_soname_save_LIBS=$LIBS
13356 LIBS="-lgsm $LIBS"
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13363 #ifdef __cplusplus
13364 extern "C"
13365 #endif
13366 char gsm_create ();
13368 main ()
13370 return gsm_create ();
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_link "$LINENO"; then :
13376 case "$LIBEXT" in
13377 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13378 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'` ;;
13379 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13380 if ${ac_cv_lib_soname_gsm:+false} :; then :
13381 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13382 fi ;;
13383 esac
13385 rm -f core conftest.err conftest.$ac_objext \
13386 conftest$ac_exeext conftest.$ac_ext
13387 LIBS=$ac_check_soname_save_LIBS
13389 if ${ac_cv_lib_soname_gsm:+false} :; then :
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13391 $as_echo "not found" >&6; }
13393 else
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13395 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13397 cat >>confdefs.h <<_ACEOF
13398 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13399 _ACEOF
13404 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13405 case "x$with_gsm" in
13406 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13407 xno) ;;
13408 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13409 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13410 esac
13414 if test "x$with_jpeg" != "xno"
13415 then
13416 if ${JPEG_CFLAGS:+false} :; then :
13417 if ${PKG_CONFIG+:} false; then :
13418 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13422 if ${JPEG_LIBS:+false} :; then :
13423 if ${PKG_CONFIG+:} false; then :
13424 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13429 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13430 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13431 ac_save_CPPFLAGS=$CPPFLAGS
13432 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13433 for ac_header in jpeglib.h
13434 do :
13435 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13436 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13437 cat >>confdefs.h <<_ACEOF
13438 #define HAVE_JPEGLIB_H 1
13439 _ACEOF
13443 done
13445 if test "$ac_cv_header_jpeglib_h" = "yes"
13446 then
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13448 $as_echo_n "checking for -ljpeg... " >&6; }
13449 if ${ac_cv_lib_soname_jpeg+:} false; then :
13450 $as_echo_n "(cached) " >&6
13451 else
13452 ac_check_soname_save_LIBS=$LIBS
13453 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13455 /* end confdefs.h. */
13457 /* Override any GCC internal prototype to avoid an error.
13458 Use char because int might match the return type of a GCC
13459 builtin and then its argument prototype would still apply. */
13460 #ifdef __cplusplus
13461 extern "C"
13462 #endif
13463 char jpeg_start_decompress ();
13465 main ()
13467 return jpeg_start_decompress ();
13469 return 0;
13471 _ACEOF
13472 if ac_fn_c_try_link "$LINENO"; then :
13473 case "$LIBEXT" in
13474 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13475 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'` ;;
13476 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13477 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13478 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13479 fi ;;
13480 esac
13482 rm -f core conftest.err conftest.$ac_objext \
13483 conftest$ac_exeext conftest.$ac_ext
13484 LIBS=$ac_check_soname_save_LIBS
13486 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13488 $as_echo "not found" >&6; }
13489 JPEG_CFLAGS=""
13490 else
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13492 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13494 cat >>confdefs.h <<_ACEOF
13495 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13496 _ACEOF
13500 else
13501 JPEG_CFLAGS=""
13503 CPPFLAGS=$ac_save_CPPFLAGS
13504 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13505 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13508 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13509 case "x$with_jpeg" in
13510 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13511 xno) ;;
13512 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13513 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13514 esac
13518 if test "x$with_png" != "xno"
13519 then
13520 if ${PNG_CFLAGS:+false} :; then :
13521 if ${PKG_CONFIG+:} false; then :
13522 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13525 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13526 if ${PNG_LIBS:+false} :; then :
13527 if ${PKG_CONFIG+:} false; then :
13528 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13531 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13533 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13534 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13535 ac_save_CPPFLAGS=$CPPFLAGS
13536 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13537 for ac_header in png.h
13538 do :
13539 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13540 if test "x$ac_cv_header_png_h" = xyes; then :
13541 cat >>confdefs.h <<_ACEOF
13542 #define HAVE_PNG_H 1
13543 _ACEOF
13547 done
13549 if test "$ac_cv_header_png_h" = "yes"
13550 then
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13552 $as_echo_n "checking for -lpng... " >&6; }
13553 if ${ac_cv_lib_soname_png+:} false; then :
13554 $as_echo_n "(cached) " >&6
13555 else
13556 ac_check_soname_save_LIBS=$LIBS
13557 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13561 /* Override any GCC internal prototype to avoid an error.
13562 Use char because int might match the return type of a GCC
13563 builtin and then its argument prototype would still apply. */
13564 #ifdef __cplusplus
13565 extern "C"
13566 #endif
13567 char png_create_read_struct ();
13569 main ()
13571 return png_create_read_struct ();
13573 return 0;
13575 _ACEOF
13576 if ac_fn_c_try_link "$LINENO"; then :
13577 case "$LIBEXT" in
13578 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13579 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'` ;;
13580 *) 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'`
13581 if ${ac_cv_lib_soname_png:+false} :; then :
13582 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13583 fi ;;
13584 esac
13586 rm -f core conftest.err conftest.$ac_objext \
13587 conftest$ac_exeext conftest.$ac_ext
13588 LIBS=$ac_check_soname_save_LIBS
13590 if ${ac_cv_lib_soname_png:+false} :; then :
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13592 $as_echo "not found" >&6; }
13593 PNG_CFLAGS=""
13594 else
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13596 $as_echo "$ac_cv_lib_soname_png" >&6; }
13598 cat >>confdefs.h <<_ACEOF
13599 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13600 _ACEOF
13602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604 #include <png.h>
13606 main ()
13608 typeof(png_set_expand_gray_1_2_4_to_8) *p
13610 return 0;
13612 _ACEOF
13613 if ac_fn_c_try_compile "$LINENO"; then :
13615 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13620 else
13621 PNG_CFLAGS=""
13623 CPPFLAGS=$ac_save_CPPFLAGS
13624 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13625 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13628 if test "x$ac_cv_lib_soname_png" = "x"; then :
13629 case "x$with_png" in
13630 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13631 xno) ;;
13632 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13633 This is an error since --with-png was requested." "$LINENO" 5 ;;
13634 esac
13638 if test "x$with_tiff" != "xno"
13639 then
13640 if ${TIFF_CFLAGS:+false} :; then :
13641 if ${PKG_CONFIG+:} false; then :
13642 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13646 if ${TIFF_LIBS:+false} :; then :
13647 if ${PKG_CONFIG+:} false; then :
13648 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13653 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13654 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13655 ac_save_CPPFLAGS=$CPPFLAGS
13656 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13657 for ac_header in tiffio.h
13658 do :
13659 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13660 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13661 cat >>confdefs.h <<_ACEOF
13662 #define HAVE_TIFFIO_H 1
13663 _ACEOF
13667 done
13669 if test "$ac_cv_header_tiffio_h" = "yes"
13670 then
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13672 $as_echo_n "checking for -ltiff... " >&6; }
13673 if ${ac_cv_lib_soname_tiff+:} false; then :
13674 $as_echo_n "(cached) " >&6
13675 else
13676 ac_check_soname_save_LIBS=$LIBS
13677 LIBS="-ltiff $TIFF_LIBS $LIBS"
13678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13679 /* end confdefs.h. */
13681 /* Override any GCC internal prototype to avoid an error.
13682 Use char because int might match the return type of a GCC
13683 builtin and then its argument prototype would still apply. */
13684 #ifdef __cplusplus
13685 extern "C"
13686 #endif
13687 char TIFFClientOpen ();
13689 main ()
13691 return TIFFClientOpen ();
13693 return 0;
13695 _ACEOF
13696 if ac_fn_c_try_link "$LINENO"; then :
13697 case "$LIBEXT" in
13698 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13699 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'` ;;
13700 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13701 if ${ac_cv_lib_soname_tiff:+false} :; then :
13702 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13703 fi ;;
13704 esac
13706 rm -f core conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13708 LIBS=$ac_check_soname_save_LIBS
13710 if ${ac_cv_lib_soname_tiff:+false} :; then :
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13712 $as_echo "not found" >&6; }
13714 else
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13716 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13718 cat >>confdefs.h <<_ACEOF
13719 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13720 _ACEOF
13725 CPPFLAGS=$ac_save_CPPFLAGS
13726 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13727 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13730 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13731 case "x$with_tiff" in
13732 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13733 xno) ;;
13734 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13735 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13736 esac
13740 if test "x$with_mpg123" != "xno"
13741 then
13742 if ${MPG123_CFLAGS:+false} :; then :
13743 if ${PKG_CONFIG+:} false; then :
13744 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13748 if ${MPG123_LIBS:+false} :; then :
13749 if ${PKG_CONFIG+:} false; then :
13750 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13754 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13755 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13756 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13757 ac_save_CPPFLAGS=$CPPFLAGS
13758 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13759 for ac_header in mpg123.h
13760 do :
13761 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13762 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13763 cat >>confdefs.h <<_ACEOF
13764 #define HAVE_MPG123_H 1
13765 _ACEOF
13769 done
13771 if test "$ac_cv_header_mpg123_h" = "yes"
13772 then
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13774 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13775 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13776 $as_echo_n "(cached) " >&6
13777 else
13778 ac_check_lib_save_LIBS=$LIBS
13779 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13783 /* Override any GCC internal prototype to avoid an error.
13784 Use char because int might match the return type of a GCC
13785 builtin and then its argument prototype would still apply. */
13786 #ifdef __cplusplus
13787 extern "C"
13788 #endif
13789 char mpg123_feed ();
13791 main ()
13793 return mpg123_feed ();
13795 return 0;
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"; then :
13799 ac_cv_lib_mpg123_mpg123_feed=yes
13800 else
13801 ac_cv_lib_mpg123_mpg123_feed=no
13803 rm -f core conftest.err conftest.$ac_objext \
13804 conftest$ac_exeext conftest.$ac_ext
13805 LIBS=$ac_check_lib_save_LIBS
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13808 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13809 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13811 else
13812 MPG123_LIBS=""
13815 else
13816 MPG123_CFLAGS=""
13817 MPG123_LIBS=""
13819 CPPFLAGS=$ac_save_CPPFLAGS
13820 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13821 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13824 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13825 case "x$with_mpg123" in
13826 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13827 xno) ;;
13828 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13829 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13830 esac
13831 enable_winemp3_acm=${enable_winemp3_acm:-no}
13834 if test "$ac_cv_header_AL_al_h" = "yes"
13835 then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13837 $as_echo_n "checking for -lopenal... " >&6; }
13838 if ${ac_cv_lib_soname_openal+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_check_soname_save_LIBS=$LIBS
13842 LIBS="-lopenal $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus
13850 extern "C"
13851 #endif
13852 char alGetSource3i ();
13854 main ()
13856 return alGetSource3i ();
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 case "$LIBEXT" in
13863 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13864 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'` ;;
13865 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13866 if ${ac_cv_lib_soname_openal:+false} :; then :
13867 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13868 fi ;;
13869 esac
13871 rm -f core conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 LIBS=$ac_check_soname_save_LIBS
13875 if ${ac_cv_lib_soname_openal:+false} :; then :
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13877 $as_echo "not found" >&6; }
13879 else
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13881 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13883 cat >>confdefs.h <<_ACEOF
13884 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13885 _ACEOF
13887 OPENAL_LIBS="-lopenal"
13889 ac_cv_lib_openal=yes
13891 cat >>confdefs.h <<_ACEOF
13892 #define HAVE_OPENAL 1
13893 _ACEOF
13897 if test "x$ac_cv_lib_openal" != xyes; then :
13898 case "x$with_openal" in
13899 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13900 xno) ;;
13901 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13902 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13903 esac
13904 enable_openal32=${enable_openal32:-no}
13907 if test "x$ac_cv_lib_openal" = xyes
13908 then
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13910 $as_echo_n "checking for openal-soft... " >&6; }
13911 if ${ac_cv_have_openalsoft+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13916 #include <AL/al.h>
13917 #include <AL/alc.h>
13918 #include <AL/alext.h>
13919 LPALCRENDERSAMPLESSOFT x;
13921 main ()
13925 return 0;
13927 _ACEOF
13928 if ac_fn_c_try_compile "$LINENO"; then :
13929 ac_cv_have_openalsoft=yes
13930 else
13931 ac_cv_have_openalsoft=no
13933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13936 $as_echo "$ac_cv_have_openalsoft" >&6; }
13938 if test "x$ac_cv_have_openalsoft" != xyes
13939 then
13940 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13941 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13942 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13943 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13944 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13945 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13946 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13947 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13948 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13949 enable_xapofx1_1=${enable_xapofx1_1:-no}
13950 enable_xapofx1_2=${enable_xapofx1_2:-no}
13951 enable_xapofx1_3=${enable_xapofx1_3:-no}
13952 enable_xapofx1_4=${enable_xapofx1_4:-no}
13953 enable_xapofx1_5=${enable_xapofx1_5:-no}
13954 enable_xaudio2_0=${enable_xaudio2_0:-no}
13955 enable_xaudio2_1=${enable_xaudio2_1:-no}
13956 enable_xaudio2_2=${enable_xaudio2_2:-no}
13957 enable_xaudio2_3=${enable_xaudio2_3:-no}
13958 enable_xaudio2_4=${enable_xaudio2_4:-no}
13959 enable_xaudio2_5=${enable_xaudio2_5:-no}
13960 enable_xaudio2_6=${enable_xaudio2_6:-no}
13961 enable_xaudio2_7=${enable_xaudio2_7:-no}
13962 enable_xaudio2_8=${enable_xaudio2_8:-no}
13963 enable_xaudio2_9=${enable_xaudio2_9:-no}
13966 if test "$ac_cv_header_kstat_h" = "yes"
13967 then
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13969 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13970 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13971 $as_echo_n "(cached) " >&6
13972 else
13973 ac_check_lib_save_LIBS=$LIBS
13974 LIBS="-lkstat $LIBS"
13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13978 /* Override any GCC internal prototype to avoid an error.
13979 Use char because int might match the return type of a GCC
13980 builtin and then its argument prototype would still apply. */
13981 #ifdef __cplusplus
13982 extern "C"
13983 #endif
13984 char kstat_open ();
13986 main ()
13988 return kstat_open ();
13990 return 0;
13992 _ACEOF
13993 if ac_fn_c_try_link "$LINENO"; then :
13994 ac_cv_lib_kstat_kstat_open=yes
13995 else
13996 ac_cv_lib_kstat_kstat_open=no
13998 rm -f core conftest.err conftest.$ac_objext \
13999 conftest$ac_exeext conftest.$ac_ext
14000 LIBS=$ac_check_lib_save_LIBS
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14003 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14004 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14006 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14008 KSTAT_LIBS="-lkstat"
14014 if test "$ac_cv_header_libprocstat_h" = "yes"
14015 then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14017 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14018 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 ac_check_lib_save_LIBS=$LIBS
14022 LIBS="-lprocstat $LIBS"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14026 /* Override any GCC internal prototype to avoid an error.
14027 Use char because int might match the return type of a GCC
14028 builtin and then its argument prototype would still apply. */
14029 #ifdef __cplusplus
14030 extern "C"
14031 #endif
14032 char procstat_open_sysctl ();
14034 main ()
14036 return procstat_open_sysctl ();
14038 return 0;
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"; then :
14042 ac_cv_lib_procstat_procstat_open_sysctl=yes
14043 else
14044 ac_cv_lib_procstat_procstat_open_sysctl=no
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS=$ac_check_lib_save_LIBS
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14051 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14052 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14054 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14056 PROCSTAT_LIBS="-lprocstat"
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14063 $as_echo_n "checking for -lodbc... " >&6; }
14064 if ${ac_cv_lib_soname_odbc+:} false; then :
14065 $as_echo_n "(cached) " >&6
14066 else
14067 ac_check_soname_save_LIBS=$LIBS
14068 LIBS="-lodbc $LIBS"
14069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14070 /* end confdefs.h. */
14072 /* Override any GCC internal prototype to avoid an error.
14073 Use char because int might match the return type of a GCC
14074 builtin and then its argument prototype would still apply. */
14075 #ifdef __cplusplus
14076 extern "C"
14077 #endif
14078 char SQLConnect ();
14080 main ()
14082 return SQLConnect ();
14084 return 0;
14086 _ACEOF
14087 if ac_fn_c_try_link "$LINENO"; then :
14088 case "$LIBEXT" in
14089 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14090 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'` ;;
14091 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14092 if ${ac_cv_lib_soname_odbc:+false} :; then :
14093 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14094 fi ;;
14095 esac
14097 rm -f core conftest.err conftest.$ac_objext \
14098 conftest$ac_exeext conftest.$ac_ext
14099 LIBS=$ac_check_soname_save_LIBS
14101 if ${ac_cv_lib_soname_odbc:+false} :; then :
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14103 $as_echo "not found" >&6; }
14104 cat >>confdefs.h <<_ACEOF
14105 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14106 _ACEOF
14108 else
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14110 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14112 cat >>confdefs.h <<_ACEOF
14113 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14114 _ACEOF
14119 if test "x$with_netapi" != "xno"
14120 then
14121 if ${NETAPI_CFLAGS:+false} :; then :
14122 if ${PKG_CONFIG+:} false; then :
14123 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14127 if ${NETAPI_LIBS:+false} :; then :
14128 if ${PKG_CONFIG+:} false; then :
14129 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14134 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14135 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14136 ac_save_CPPFLAGS=$CPPFLAGS
14137 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14139 $as_echo_n "checking for -lnetapi... " >&6; }
14140 if ${ac_cv_lib_soname_netapi+:} false; then :
14141 $as_echo_n "(cached) " >&6
14142 else
14143 ac_check_soname_save_LIBS=$LIBS
14144 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14151 #ifdef __cplusplus
14152 extern "C"
14153 #endif
14154 char libnetapi_init ();
14156 main ()
14158 return libnetapi_init ();
14160 return 0;
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"; then :
14164 case "$LIBEXT" in
14165 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14166 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'` ;;
14167 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14168 if ${ac_cv_lib_soname_netapi:+false} :; then :
14169 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14170 fi ;;
14171 esac
14173 rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175 LIBS=$ac_check_soname_save_LIBS
14177 if ${ac_cv_lib_soname_netapi:+false} :; then :
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14179 $as_echo "not found" >&6; }
14180 cat >>confdefs.h <<_ACEOF
14181 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14182 _ACEOF
14184 else
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14186 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14188 cat >>confdefs.h <<_ACEOF
14189 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14190 _ACEOF
14194 CPPFLAGS=$ac_save_CPPFLAGS
14195 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14196 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14200 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14201 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14202 then
14203 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14207 EXTRACFLAGS=""
14209 if test "x${GCC}" = "xyes"
14210 then
14211 EXTRACFLAGS="-Wall -pipe"
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14214 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14215 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14216 $as_echo_n "(cached) " >&6
14217 else
14218 if test "$cross_compiling" = yes; then :
14219 ac_cv_c_gcc_strength_bug="no"
14220 else
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14223 int L[4] = {0,1,2,3};
14225 main ()
14227 static int Array[3];
14228 unsigned int B = 3;
14229 int i;
14230 for(i=0; i<B; i++) Array[i] = i - 3;
14231 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14232 L[i] = 4;
14233 return (Array[1] != -2 || L[2] != 3)
14235 return 0;
14237 _ACEOF
14238 if ac_fn_c_try_run "$LINENO"; then :
14239 ac_cv_c_gcc_strength_bug="no"
14240 else
14241 ac_cv_c_gcc_strength_bug="yes"
14243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14244 conftest.$ac_objext conftest.beam conftest.$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14249 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14250 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14251 then
14252 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14256 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14257 if ${ac_cv_cflags__fno_builtin+:} false; then :
14258 $as_echo_n "(cached) " >&6
14259 else
14260 ac_wine_try_cflags_saved=$CFLAGS
14261 CFLAGS="$CFLAGS -fno-builtin"
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14264 int main(int argc, char **argv) { return 0; }
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"; then :
14267 ac_cv_cflags__fno_builtin=yes
14268 else
14269 ac_cv_cflags__fno_builtin=no
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 CFLAGS=$ac_wine_try_cflags_saved
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14276 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14277 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14278 BUILTINFLAG="-fno-builtin"
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14282 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14283 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14284 $as_echo_n "(cached) " >&6
14285 else
14286 ac_wine_try_cflags_saved=$CFLAGS
14287 CFLAGS="$CFLAGS -fno-strict-aliasing"
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 int main(int argc, char **argv) { return 0; }
14291 _ACEOF
14292 if ac_fn_c_try_link "$LINENO"; then :
14293 ac_cv_cflags__fno_strict_aliasing=yes
14294 else
14295 ac_cv_cflags__fno_strict_aliasing=no
14297 rm -f core conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 CFLAGS=$ac_wine_try_cflags_saved
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14302 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14303 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14304 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14307 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14308 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14309 $as_echo_n "(cached) " >&6
14310 else
14311 ac_wine_try_cflags_saved=$CFLAGS
14312 CFLAGS="$CFLAGS -fexcess-precision=standard"
14313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 /* end confdefs.h. */
14315 int main(int argc, char **argv) { return 0; }
14316 _ACEOF
14317 if ac_fn_c_try_link "$LINENO"; then :
14318 ac_cv_cflags__fexcess_precision_standard=yes
14319 else
14320 ac_cv_cflags__fexcess_precision_standard=no
14322 rm -f core conftest.err conftest.$ac_objext \
14323 conftest$ac_exeext conftest.$ac_ext
14324 CFLAGS=$ac_wine_try_cflags_saved
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14327 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14328 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14329 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14332 saved_CFLAGS=$CFLAGS
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14334 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14335 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14336 $as_echo_n "(cached) " >&6
14337 else
14338 ac_wine_try_cflags_saved=$CFLAGS
14339 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14342 int main(int argc, char **argv) { return 0; }
14343 _ACEOF
14344 if ac_fn_c_try_link "$LINENO"; then :
14345 ac_cv_cflags__Werror_unknown_warning_option=yes
14346 else
14347 ac_cv_cflags__Werror_unknown_warning_option=no
14349 rm -f core conftest.err conftest.$ac_objext \
14350 conftest$ac_exeext conftest.$ac_ext
14351 CFLAGS=$ac_wine_try_cflags_saved
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14354 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14355 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14356 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14359 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14360 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14361 $as_echo_n "(cached) " >&6
14362 else
14363 ac_wine_try_cflags_saved=$CFLAGS
14364 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h. */
14367 int main(int argc, char **argv) { return 0; }
14368 _ACEOF
14369 if ac_fn_c_try_link "$LINENO"; then :
14370 ac_cv_cflags__Wdeclaration_after_statement=yes
14371 else
14372 ac_cv_cflags__Wdeclaration_after_statement=no
14374 rm -f core conftest.err conftest.$ac_objext \
14375 conftest$ac_exeext conftest.$ac_ext
14376 CFLAGS=$ac_wine_try_cflags_saved
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14379 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14380 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14381 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14384 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14385 if ${ac_cv_cflags__Wempty_body+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 ac_wine_try_cflags_saved=$CFLAGS
14389 CFLAGS="$CFLAGS -Wempty-body"
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 int main(int argc, char **argv) { return 0; }
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_cflags__Wempty_body=yes
14396 else
14397 ac_cv_cflags__Wempty_body=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 CFLAGS=$ac_wine_try_cflags_saved
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14404 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14405 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14406 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14409 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14410 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 ac_wine_try_cflags_saved=$CFLAGS
14414 CFLAGS="$CFLAGS -Wignored-qualifiers"
14415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 int main(int argc, char **argv) { return 0; }
14418 _ACEOF
14419 if ac_fn_c_try_link "$LINENO"; then :
14420 ac_cv_cflags__Wignored_qualifiers=yes
14421 else
14422 ac_cv_cflags__Wignored_qualifiers=no
14424 rm -f core conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14426 CFLAGS=$ac_wine_try_cflags_saved
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14429 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14430 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14431 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14434 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14435 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14436 $as_echo_n "(cached) " >&6
14437 else
14438 ac_wine_try_cflags_saved=$CFLAGS
14439 CFLAGS="$CFLAGS -Wshift-overflow=2"
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14442 int main(int argc, char **argv) { return 0; }
14443 _ACEOF
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_cflags__Wshift_overflow_2=yes
14446 else
14447 ac_cv_cflags__Wshift_overflow_2=no
14449 rm -f core conftest.err conftest.$ac_objext \
14450 conftest$ac_exeext conftest.$ac_ext
14451 CFLAGS=$ac_wine_try_cflags_saved
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14454 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14455 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14456 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14459 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14460 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14461 $as_echo_n "(cached) " >&6
14462 else
14463 ac_wine_try_cflags_saved=$CFLAGS
14464 CFLAGS="$CFLAGS -Wstrict-prototypes"
14465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14467 int main(int argc, char **argv) { return 0; }
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"; then :
14470 ac_cv_cflags__Wstrict_prototypes=yes
14471 else
14472 ac_cv_cflags__Wstrict_prototypes=no
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 CFLAGS=$ac_wine_try_cflags_saved
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14479 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14480 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14481 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14484 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14485 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_wine_try_cflags_saved=$CFLAGS
14489 CFLAGS="$CFLAGS -Wtype-limits"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14492 int main(int argc, char **argv) { return 0; }
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_cflags__Wtype_limits=yes
14496 else
14497 ac_cv_cflags__Wtype_limits=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 CFLAGS=$ac_wine_try_cflags_saved
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14504 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14505 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14506 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14509 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14510 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 ac_wine_try_cflags_saved=$CFLAGS
14514 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 int main(int argc, char **argv) { return 0; }
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520 ac_cv_cflags__Wunused_but_set_parameter=yes
14521 else
14522 ac_cv_cflags__Wunused_but_set_parameter=no
14524 rm -f core conftest.err conftest.$ac_objext \
14525 conftest$ac_exeext conftest.$ac_ext
14526 CFLAGS=$ac_wine_try_cflags_saved
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14529 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14530 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14531 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14534 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14535 if ${ac_cv_cflags__Wvla+:} false; then :
14536 $as_echo_n "(cached) " >&6
14537 else
14538 ac_wine_try_cflags_saved=$CFLAGS
14539 CFLAGS="$CFLAGS -Wvla"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14542 int main(int argc, char **argv) { return 0; }
14543 _ACEOF
14544 if ac_fn_c_try_link "$LINENO"; then :
14545 ac_cv_cflags__Wvla=yes
14546 else
14547 ac_cv_cflags__Wvla=no
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 CFLAGS=$ac_wine_try_cflags_saved
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14554 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14555 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14556 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14559 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14560 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 ac_wine_try_cflags_saved=$CFLAGS
14564 CFLAGS="$CFLAGS -Wwrite-strings"
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14567 int main(int argc, char **argv) { return 0; }
14568 _ACEOF
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 ac_cv_cflags__Wwrite_strings=yes
14571 else
14572 ac_cv_cflags__Wwrite_strings=no
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14576 CFLAGS=$ac_wine_try_cflags_saved
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14579 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14580 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14581 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14585 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14586 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 ac_wine_try_cflags_saved=$CFLAGS
14590 CFLAGS="$CFLAGS -Wpointer-arith"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14593 int main(int argc, char **argv) { return 0; }
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_cflags__Wpointer_arith=yes
14597 else
14598 ac_cv_cflags__Wpointer_arith=no
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 CFLAGS=$ac_wine_try_cflags_saved
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14605 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14606 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14607 saved_string_h_CFLAGS=$CFLAGS
14608 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14610 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14611 if ${ac_cv_c_string_h_warnings+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14615 /* end confdefs.h. */
14616 #include <string.h>
14618 main ()
14622 return 0;
14624 _ACEOF
14625 if ac_fn_c_try_compile "$LINENO"; then :
14626 ac_cv_c_string_h_warnings=no
14627 else
14628 ac_cv_c_string_h_warnings=yes
14630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14633 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14634 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14635 CFLAGS=$saved_string_h_CFLAGS
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14639 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14640 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14641 $as_echo_n "(cached) " >&6
14642 else
14643 ac_wine_try_cflags_saved=$CFLAGS
14644 CFLAGS="$CFLAGS -Wlogical-op"
14645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646 /* end confdefs.h. */
14647 int main(int argc, char **argv) { return 0; }
14648 _ACEOF
14649 if ac_fn_c_try_link "$LINENO"; then :
14650 ac_cv_cflags__Wlogical_op=yes
14651 else
14652 ac_cv_cflags__Wlogical_op=no
14654 rm -f core conftest.err conftest.$ac_objext \
14655 conftest$ac_exeext conftest.$ac_ext
14656 CFLAGS=$ac_wine_try_cflags_saved
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14659 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14660 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14661 saved_string_h_CFLAGS=$CFLAGS
14662 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14664 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14665 if ${ac_cv_c_logicalop_noisy+:} false; then :
14666 $as_echo_n "(cached) " >&6
14667 else
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 #include <string.h>
14671 char*f(const char *h,char n) {return strchr(h,n);}
14673 main ()
14677 return 0;
14679 _ACEOF
14680 if ac_fn_c_try_compile "$LINENO"; then :
14681 ac_cv_c_logicalop_noisy=no
14682 else
14683 ac_cv_c_logicalop_noisy=yes
14685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14688 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14689 CFLAGS=$saved_string_h_CFLAGS
14690 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14693 CFLAGS=$saved_CFLAGS
14695 for ac_flag in $CFLAGS; do
14696 case $ac_flag in
14697 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14698 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14699 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 ac_wine_try_cflags_saved=$CFLAGS
14703 CFLAGS="$CFLAGS -gdwarf-2"
14704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14705 /* end confdefs.h. */
14706 int main(int argc, char **argv) { return 0; }
14707 _ACEOF
14708 if ac_fn_c_try_link "$LINENO"; then :
14709 ac_cv_cflags__gdwarf_2=yes
14710 else
14711 ac_cv_cflags__gdwarf_2=no
14713 rm -f core conftest.err conftest.$ac_objext \
14714 conftest$ac_exeext conftest.$ac_ext
14715 CFLAGS=$ac_wine_try_cflags_saved
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14718 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14719 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14720 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14723 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14724 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14725 $as_echo_n "(cached) " >&6
14726 else
14727 ac_wine_try_cflags_saved=$CFLAGS
14728 CFLAGS="$CFLAGS -gstrict-dwarf"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14731 int main(int argc, char **argv) { return 0; }
14732 _ACEOF
14733 if ac_fn_c_try_link "$LINENO"; then :
14734 ac_cv_cflags__gstrict_dwarf=yes
14735 else
14736 ac_cv_cflags__gstrict_dwarf=no
14738 rm -f core conftest.err conftest.$ac_objext \
14739 conftest$ac_exeext conftest.$ac_ext
14740 CFLAGS=$ac_wine_try_cflags_saved
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14743 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14744 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14745 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14746 fi ;;
14747 esac
14748 done
14750 case $host_cpu in
14751 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14752 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14753 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14754 $as_echo_n "(cached) " >&6
14755 else
14756 ac_wine_try_cflags_saved=$CFLAGS
14757 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 int main(int argc, char **argv) { return 0; }
14761 _ACEOF
14762 if ac_fn_c_try_link "$LINENO"; then :
14763 ac_cv_cflags__fno_omit_frame_pointer=yes
14764 else
14765 ac_cv_cflags__fno_omit_frame_pointer=no
14767 rm -f core conftest.err conftest.$ac_objext \
14768 conftest$ac_exeext conftest.$ac_ext
14769 CFLAGS=$ac_wine_try_cflags_saved
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14772 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14773 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14774 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14775 fi ;;
14776 esac
14778 case $host in
14779 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14780 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14781 if ${ac_cv_cflags__Wno_format+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 ac_wine_try_cflags_saved=$CFLAGS
14785 CFLAGS="$CFLAGS -Wno-format"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14788 int main(int argc, char **argv) { return 0; }
14789 _ACEOF
14790 if ac_fn_c_try_link "$LINENO"; then :
14791 ac_cv_cflags__Wno_format=yes
14792 else
14793 ac_cv_cflags__Wno_format=no
14795 rm -f core conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14797 CFLAGS=$ac_wine_try_cflags_saved
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14800 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14801 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14802 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14803 fi ;;
14804 esac
14806 if test "x$enable_maintainer_mode" = "xyes"
14807 then
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14809 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14810 if ${ac_cv_cflags__Werror+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_wine_try_cflags_saved=$CFLAGS
14814 CFLAGS="$CFLAGS -Werror"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_cflags__Werror=yes
14821 else
14822 ac_cv_cflags__Werror=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 CFLAGS=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14829 $as_echo "$ac_cv_cflags__Werror" >&6; }
14830 if test "x$ac_cv_cflags__Werror" = xyes; then :
14831 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14835 saved_CFLAGS="$CFLAGS"
14836 CFLAGS="$CFLAGS -Werror"
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14838 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14839 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14840 $as_echo_n "(cached) " >&6
14841 else
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14844 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14846 main ()
14850 return 0;
14852 _ACEOF
14853 if ac_fn_c_try_compile "$LINENO"; then :
14854 ac_cv_have_ms_hook_prologue="yes"
14855 else
14856 ac_cv_have_ms_hook_prologue="no"
14858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14861 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14862 CFLAGS="$saved_CFLAGS"
14863 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14864 then
14866 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14868 else
14869 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14876 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14877 if ${ac_cv_c_fortify_enabled+:} false; then :
14878 $as_echo_n "(cached) " >&6
14879 else
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 #include <string.h>
14884 main ()
14886 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14887 #error Fortify enabled
14888 #endif
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_compile "$LINENO"; then :
14894 ac_cv_c_fortify_enabled=no
14895 else
14896 ac_cv_c_fortify_enabled=yes
14898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14901 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14902 if test "$ac_cv_c_fortify_enabled" = yes
14903 then
14904 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14909 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14910 if ${ac_cv_c_extern_prefix+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14915 extern int ac_test;
14917 main ()
14919 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14921 return 0;
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"; then :
14925 ac_cv_c_extern_prefix="yes"
14926 else
14927 ac_cv_c_extern_prefix="no"
14929 rm -f core conftest.err conftest.$ac_objext \
14930 conftest$ac_exeext conftest.$ac_ext
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14933 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14935 case $host_cpu in
14936 *i[3456789]86*)
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14938 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14939 if ${ac_cv_c_stdcall_suffix+:} false; then :
14940 $as_echo_n "(cached) " >&6
14941 else
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14944 #ifndef _MSC_VER
14945 #define __stdcall __attribute__((__stdcall__))
14946 #endif
14947 int __stdcall ac_test(int i) { return i; }
14949 main ()
14951 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14953 return 0;
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_c_stdcall_suffix="yes"
14958 else
14959 ac_cv_c_stdcall_suffix="no"
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14965 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14966 *) ac_cv_c_stdcall_suffix="no" ;;
14967 esac
14970 if test "$ac_cv_c_extern_prefix" = "yes"
14971 then
14972 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14974 asm_name_prefix="_"
14975 else
14976 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14978 asm_name_prefix=""
14982 if test "$ac_cv_c_stdcall_suffix" = "yes"
14983 then
14984 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14986 else
14987 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14993 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14994 if ${ac_cv_asm_func_def+:} false; then :
14995 $as_echo_n "(cached) " >&6
14996 else
14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14998 /* end confdefs.h. */
15001 main ()
15003 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_asm_func_def=".def"
15010 else
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15015 main ()
15017 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15019 return 0;
15021 _ACEOF
15022 if ac_fn_c_try_link "$LINENO"; then :
15023 ac_cv_asm_func_def=".type @function"
15024 else
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15029 main ()
15031 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15033 return 0;
15035 _ACEOF
15036 if ac_fn_c_try_link "$LINENO"; then :
15037 ac_cv_asm_func_def=".type 2"
15038 else
15039 ac_cv_asm_func_def="unknown"
15041 rm -f core conftest.err conftest.$ac_objext \
15042 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15051 $as_echo "$ac_cv_asm_func_def" >&6; }
15054 case "$ac_cv_asm_func_def" in
15055 ".def")
15056 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15058 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15059 ".type @function")
15060 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15062 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15063 ".type 2")
15064 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15066 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15068 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15070 asm_func_header="" ;;
15071 esac
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15074 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15075 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15080 asm(".text\n\t.long 0");
15082 main ()
15086 return 0;
15088 _ACEOF
15089 if ac_fn_c_try_compile "$LINENO"; then :
15090 ac_cv_c_asm_outside_funcs="yes"
15091 else
15092 ac_cv_c_asm_outside_funcs="no"
15094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15097 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15100 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15101 if ${ac_cv_c_dot_previous+:} false; then :
15102 $as_echo_n "(cached) " >&6
15103 else
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15108 main ()
15110 asm(".text\nac_test:\t.long 0\n\t.previous");
15112 return 0;
15114 _ACEOF
15115 if ac_fn_c_try_link "$LINENO"; then :
15116 ac_cv_c_dot_previous="yes"
15117 else
15118 ac_cv_c_dot_previous="no"
15120 rm -f core conftest.err conftest.$ac_objext \
15121 conftest$ac_exeext conftest.$ac_ext
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15124 $as_echo "$ac_cv_c_dot_previous" >&6; }
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15127 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15128 if ${ac_cv_c_cfi_support+:} false; then :
15129 $as_echo_n "(cached) " >&6
15130 else
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15132 /* end confdefs.h. */
15133 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15135 main ()
15139 return 0;
15141 _ACEOF
15142 if ac_fn_c_try_compile "$LINENO"; then :
15143 ac_cv_c_cfi_support="yes"
15144 else
15145 ac_cv_c_cfi_support="no"
15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15150 $as_echo "$ac_cv_c_cfi_support" >&6; }
15152 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15153 asm_func_trailer=""
15154 if test "$ac_cv_c_dot_previous" = "yes"
15155 then
15156 asm_func_trailer="\\n\\t.previous"
15158 if test "$ac_cv_c_cfi_support" = "yes"
15159 then
15160 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15161 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15163 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15165 UNWINDFLAGS=-fasynchronous-unwind-tables
15167 else
15168 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15170 if test "x$enable_win64" = "xyes"
15171 then
15172 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15176 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15179 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15180 then
15181 cat >>confdefs.h <<_ACEOF
15182 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15183 _ACEOF
15185 else
15186 cat >>confdefs.h <<_ACEOF
15187 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15188 _ACEOF
15192 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15195 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15199 case $build_os in
15200 cygwin*|mingw32*) TOOLSEXT=".exe"
15202 esac
15204 case $host_os in
15205 linux-android*) ;;
15206 linux*)
15207 case $host_cpu in
15208 *i[3456789]86*|x86_64*)
15209 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15210 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15212 esac
15214 esac
15217 ac_save_CFLAGS="$CFLAGS"
15218 CFLAGS="$CFLAGS $BUILTINFLAG"
15219 for ac_func in \
15220 __res_get_state \
15221 __res_getservers \
15222 _finite \
15223 _isnan \
15224 _pclose \
15225 _popen \
15226 _snprintf \
15227 _spawnvp \
15228 _strdup \
15229 _stricmp \
15230 _strnicmp \
15231 _strtoi64 \
15232 _strtoui64 \
15233 _vsnprintf \
15234 asctime_r \
15235 chsize \
15236 dlopen \
15237 epoll_create \
15238 ffs \
15239 finitef \
15240 fnmatch \
15241 fork \
15242 fpclass \
15243 fstatfs \
15244 fstatvfs \
15245 ftruncate \
15246 futimens \
15247 futimes \
15248 futimesat \
15249 getattrlist \
15250 getopt_long_only \
15251 getpwuid \
15252 gettimeofday \
15253 getuid \
15254 if_nameindex \
15255 isnanf \
15256 kqueue \
15257 lstat \
15258 memmove \
15259 mmap \
15260 pclose \
15261 pipe2 \
15262 poll \
15263 popen \
15264 port_create \
15265 prctl \
15266 pread \
15267 proc_pidinfo \
15268 pwrite \
15269 readdir \
15270 readlink \
15271 sched_yield \
15272 select \
15273 setproctitle \
15274 setprogname \
15275 setrlimit \
15276 settimeofday \
15277 sigaltstack \
15278 sigprocmask \
15279 snprintf \
15280 statfs \
15281 statvfs \
15282 strcasecmp \
15283 strdup \
15284 strerror \
15285 strncasecmp \
15286 strtold \
15287 strtoll \
15288 strtoull \
15289 symlink \
15290 sysinfo \
15291 tcdrain \
15292 thr_kill2 \
15293 timegm \
15294 usleep \
15295 vsnprintf
15297 do :
15298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15301 cat >>confdefs.h <<_ACEOF
15302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15303 _ACEOF
15306 done
15308 CFLAGS="$ac_save_CFLAGS"
15310 if test "$ac_cv_func_dlopen" = no
15311 then
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15313 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15314 if ${ac_cv_lib_dl_dlopen+:} false; then :
15315 $as_echo_n "(cached) " >&6
15316 else
15317 ac_check_lib_save_LIBS=$LIBS
15318 LIBS="-ldl $LIBS"
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15322 /* Override any GCC internal prototype to avoid an error.
15323 Use char because int might match the return type of a GCC
15324 builtin and then its argument prototype would still apply. */
15325 #ifdef __cplusplus
15326 extern "C"
15327 #endif
15328 char dlopen ();
15330 main ()
15332 return dlopen ();
15334 return 0;
15336 _ACEOF
15337 if ac_fn_c_try_link "$LINENO"; then :
15338 ac_cv_lib_dl_dlopen=yes
15339 else
15340 ac_cv_lib_dl_dlopen=no
15342 rm -f core conftest.err conftest.$ac_objext \
15343 conftest$ac_exeext conftest.$ac_ext
15344 LIBS=$ac_check_lib_save_LIBS
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15347 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15348 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15349 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15350 DL_LIBS="-ldl"
15355 ac_wine_check_funcs_save_LIBS="$LIBS"
15356 LIBS="$LIBS $DL_LIBS"
15357 for ac_func in dladdr
15358 do :
15359 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15360 if test "x$ac_cv_func_dladdr" = xyes; then :
15361 cat >>confdefs.h <<_ACEOF
15362 #define HAVE_DLADDR 1
15363 _ACEOF
15366 done
15368 LIBS="$ac_wine_check_funcs_save_LIBS"
15370 if test "$ac_cv_func_poll" = no
15371 then
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15373 $as_echo_n "checking for poll in -lpoll... " >&6; }
15374 if ${ac_cv_lib_poll_poll+:} false; then :
15375 $as_echo_n "(cached) " >&6
15376 else
15377 ac_check_lib_save_LIBS=$LIBS
15378 LIBS="-lpoll $LIBS"
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15382 /* Override any GCC internal prototype to avoid an error.
15383 Use char because int might match the return type of a GCC
15384 builtin and then its argument prototype would still apply. */
15385 #ifdef __cplusplus
15386 extern "C"
15387 #endif
15388 char poll ();
15390 main ()
15392 return poll ();
15394 return 0;
15396 _ACEOF
15397 if ac_fn_c_try_link "$LINENO"; then :
15398 ac_cv_lib_poll_poll=yes
15399 else
15400 ac_cv_lib_poll_poll=no
15402 rm -f core conftest.err conftest.$ac_objext \
15403 conftest$ac_exeext conftest.$ac_ext
15404 LIBS=$ac_check_lib_save_LIBS
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15407 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15408 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15409 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15410 POLL_LIBS="-lpoll"
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15417 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15418 if ${ac_cv_search_gethostbyname+:} false; then :
15419 $as_echo_n "(cached) " >&6
15420 else
15421 ac_func_search_save_LIBS=$LIBS
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15428 #ifdef __cplusplus
15429 extern "C"
15430 #endif
15431 char gethostbyname ();
15433 main ()
15435 return gethostbyname ();
15437 return 0;
15439 _ACEOF
15440 for ac_lib in '' nsl; do
15441 if test -z "$ac_lib"; then
15442 ac_res="none required"
15443 else
15444 ac_res=-l$ac_lib
15445 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15447 if ac_fn_c_try_link "$LINENO"; then :
15448 ac_cv_search_gethostbyname=$ac_res
15450 rm -f core conftest.err conftest.$ac_objext \
15451 conftest$ac_exeext
15452 if ${ac_cv_search_gethostbyname+:} false; then :
15453 break
15455 done
15456 if ${ac_cv_search_gethostbyname+:} false; then :
15458 else
15459 ac_cv_search_gethostbyname=no
15461 rm conftest.$ac_ext
15462 LIBS=$ac_func_search_save_LIBS
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15465 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15466 ac_res=$ac_cv_search_gethostbyname
15467 if test "$ac_res" != no; then :
15468 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15474 $as_echo_n "checking for library containing connect... " >&6; }
15475 if ${ac_cv_search_connect+:} false; then :
15476 $as_echo_n "(cached) " >&6
15477 else
15478 ac_func_search_save_LIBS=$LIBS
15479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15480 /* end confdefs.h. */
15482 /* Override any GCC internal prototype to avoid an error.
15483 Use char because int might match the return type of a GCC
15484 builtin and then its argument prototype would still apply. */
15485 #ifdef __cplusplus
15486 extern "C"
15487 #endif
15488 char connect ();
15490 main ()
15492 return connect ();
15494 return 0;
15496 _ACEOF
15497 for ac_lib in '' socket; do
15498 if test -z "$ac_lib"; then
15499 ac_res="none required"
15500 else
15501 ac_res=-l$ac_lib
15502 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15504 if ac_fn_c_try_link "$LINENO"; then :
15505 ac_cv_search_connect=$ac_res
15507 rm -f core conftest.err conftest.$ac_objext \
15508 conftest$ac_exeext
15509 if ${ac_cv_search_connect+:} false; then :
15510 break
15512 done
15513 if ${ac_cv_search_connect+:} false; then :
15515 else
15516 ac_cv_search_connect=no
15518 rm conftest.$ac_ext
15519 LIBS=$ac_func_search_save_LIBS
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15522 $as_echo "$ac_cv_search_connect" >&6; }
15523 ac_res=$ac_cv_search_connect
15524 if test "$ac_res" != no; then :
15525 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15531 $as_echo_n "checking for library containing inet_aton... " >&6; }
15532 if ${ac_cv_search_inet_aton+:} false; then :
15533 $as_echo_n "(cached) " >&6
15534 else
15535 ac_func_search_save_LIBS=$LIBS
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15539 /* Override any GCC internal prototype to avoid an error.
15540 Use char because int might match the return type of a GCC
15541 builtin and then its argument prototype would still apply. */
15542 #ifdef __cplusplus
15543 extern "C"
15544 #endif
15545 char inet_aton ();
15547 main ()
15549 return inet_aton ();
15551 return 0;
15553 _ACEOF
15554 for ac_lib in '' resolv; do
15555 if test -z "$ac_lib"; then
15556 ac_res="none required"
15557 else
15558 ac_res=-l$ac_lib
15559 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15561 if ac_fn_c_try_link "$LINENO"; then :
15562 ac_cv_search_inet_aton=$ac_res
15564 rm -f core conftest.err conftest.$ac_objext \
15565 conftest$ac_exeext
15566 if ${ac_cv_search_inet_aton+:} false; then :
15567 break
15569 done
15570 if ${ac_cv_search_inet_aton+:} false; then :
15572 else
15573 ac_cv_search_inet_aton=no
15575 rm conftest.$ac_ext
15576 LIBS=$ac_func_search_save_LIBS
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15579 $as_echo "$ac_cv_search_inet_aton" >&6; }
15580 ac_res=$ac_cv_search_inet_aton
15581 if test "$ac_res" != no; then :
15582 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15587 for ac_func in \
15588 getaddrinfo \
15589 getnameinfo \
15590 getnetbyname \
15591 getprotobyname \
15592 getprotobynumber \
15593 getservbyport \
15594 inet_addr \
15595 inet_network \
15596 inet_ntop \
15597 inet_pton \
15598 sendmsg \
15599 socketpair \
15601 do :
15602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15605 cat >>confdefs.h <<_ACEOF
15606 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15607 _ACEOF
15610 done
15613 ac_save_LIBS=$LIBS
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15615 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15616 if ${ac_cv_search_clock_gettime+:} false; then :
15617 $as_echo_n "(cached) " >&6
15618 else
15619 ac_func_search_save_LIBS=$LIBS
15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15623 /* Override any GCC internal prototype to avoid an error.
15624 Use char because int might match the return type of a GCC
15625 builtin and then its argument prototype would still apply. */
15626 #ifdef __cplusplus
15627 extern "C"
15628 #endif
15629 char clock_gettime ();
15631 main ()
15633 return clock_gettime ();
15635 return 0;
15637 _ACEOF
15638 for ac_lib in '' rt; do
15639 if test -z "$ac_lib"; then
15640 ac_res="none required"
15641 else
15642 ac_res=-l$ac_lib
15643 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15645 if ac_fn_c_try_link "$LINENO"; then :
15646 ac_cv_search_clock_gettime=$ac_res
15648 rm -f core conftest.err conftest.$ac_objext \
15649 conftest$ac_exeext
15650 if ${ac_cv_search_clock_gettime+:} false; then :
15651 break
15653 done
15654 if ${ac_cv_search_clock_gettime+:} false; then :
15656 else
15657 ac_cv_search_clock_gettime=no
15659 rm conftest.$ac_ext
15660 LIBS=$ac_func_search_save_LIBS
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15663 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15664 ac_res=$ac_cv_search_clock_gettime
15665 if test "$ac_res" != no; then :
15666 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15668 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15670 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15674 LIBS=$ac_save_LIBS
15676 LDAP_LIBS=""
15678 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15679 then
15680 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15682 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15684 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15685 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_check_lib_save_LIBS=$LIBS
15689 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 char ldap_initialize ();
15701 main ()
15703 return ldap_initialize ();
15705 return 0;
15707 _ACEOF
15708 if ac_fn_c_try_link "$LINENO"; then :
15709 ac_cv_lib_ldap_r_ldap_initialize=yes
15710 else
15711 ac_cv_lib_ldap_r_ldap_initialize=no
15713 rm -f core conftest.err conftest.$ac_objext \
15714 conftest$ac_exeext conftest.$ac_ext
15715 LIBS=$ac_check_lib_save_LIBS
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15718 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15719 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15721 $as_echo_n "checking for ber_init in -llber... " >&6; }
15722 if ${ac_cv_lib_lber_ber_init+:} false; then :
15723 $as_echo_n "(cached) " >&6
15724 else
15725 ac_check_lib_save_LIBS=$LIBS
15726 LIBS="-llber $PTHREAD_LIBS $LIBS"
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15730 /* Override any GCC internal prototype to avoid an error.
15731 Use char because int might match the return type of a GCC
15732 builtin and then its argument prototype would still apply. */
15733 #ifdef __cplusplus
15734 extern "C"
15735 #endif
15736 char ber_init ();
15738 main ()
15740 return ber_init ();
15742 return 0;
15744 _ACEOF
15745 if ac_fn_c_try_link "$LINENO"; then :
15746 ac_cv_lib_lber_ber_init=yes
15747 else
15748 ac_cv_lib_lber_ber_init=no
15750 rm -f core conftest.err conftest.$ac_objext \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_lib_save_LIBS
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15755 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15756 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15758 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15760 LDAP_LIBS="-lldap_r -llber"
15767 ac_wine_check_funcs_save_LIBS="$LIBS"
15768 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15769 for ac_func in \
15770 ldap_count_references \
15771 ldap_first_reference \
15772 ldap_next_reference \
15773 ldap_parse_reference \
15774 ldap_parse_sort_control \
15775 ldap_parse_sortresponse_control \
15776 ldap_parse_vlv_control \
15777 ldap_parse_vlvresponse_control
15778 do :
15779 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15780 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15781 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15782 cat >>confdefs.h <<_ACEOF
15783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15784 _ACEOF
15787 done
15789 LIBS="$ac_wine_check_funcs_save_LIBS"
15791 if test "x$LDAP_LIBS" = "x"; then :
15792 case "x$with_ldap" in
15793 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15794 xno) ;;
15795 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15796 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15797 esac
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15802 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15803 if ${wine_cv_one_arg_mkdir+:} false; then :
15804 $as_echo_n "(cached) " >&6
15805 else
15806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15807 /* end confdefs.h. */
15808 #include <sys/stat.h>
15810 main ()
15812 mkdir("foo");
15814 return 0;
15816 _ACEOF
15817 if ac_fn_c_try_compile "$LINENO"; then :
15818 wine_cv_one_arg_mkdir=yes
15819 else
15820 wine_cv_one_arg_mkdir=no
15822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15825 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15826 if test "$wine_cv_one_arg_mkdir" = "yes"
15827 then
15829 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15834 $as_echo_n "checking for sched_setaffinity... " >&6; }
15835 if ${wine_cv_have_sched_setaffinity+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15840 #define _GNU_SOURCE
15841 #include <sched.h>
15843 main ()
15845 sched_setaffinity(0, 0, 0);
15847 return 0;
15849 _ACEOF
15850 if ac_fn_c_try_link "$LINENO"; then :
15851 wine_cv_have_sched_setaffinity=yes
15852 else
15853 wine_cv_have_sched_setaffinity=no
15855 rm -f core conftest.err conftest.$ac_objext \
15856 conftest$ac_exeext conftest.$ac_ext
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15859 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15860 if test "$wine_cv_have_sched_setaffinity" = "yes"
15861 then
15863 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15868 $as_echo_n "checking for fallocate... " >&6; }
15869 if ${wine_cv_have_fallocate+:} false; then :
15870 $as_echo_n "(cached) " >&6
15871 else
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15874 #define _GNU_SOURCE
15875 #include <fcntl.h>
15877 main ()
15879 fallocate(-1, 0, 0, 0);
15881 return 0;
15883 _ACEOF
15884 if ac_fn_c_try_link "$LINENO"; then :
15885 wine_cv_have_fallocate=yes
15886 else
15887 wine_cv_have_fallocate=no
15889 rm -f core conftest.err conftest.$ac_objext \
15890 conftest$ac_exeext conftest.$ac_ext
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15893 $as_echo "$wine_cv_have_fallocate" >&6; }
15894 if test "$wine_cv_have_fallocate" = "yes"
15895 then
15897 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15903 $as_echo_n "checking for inline... " >&6; }
15904 if ${ac_cv_c_inline+:} false; then :
15905 $as_echo_n "(cached) " >&6
15906 else
15907 ac_cv_c_inline=no
15908 for ac_kw in inline __inline__ __inline; do
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #ifndef __cplusplus
15912 typedef int foo_t;
15913 static $ac_kw foo_t static_foo () {return 0; }
15914 $ac_kw foo_t foo () {return 0; }
15915 #endif
15917 _ACEOF
15918 if ac_fn_c_try_compile "$LINENO"; then :
15919 ac_cv_c_inline=$ac_kw
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15922 test "$ac_cv_c_inline" != no && break
15923 done
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15927 $as_echo "$ac_cv_c_inline" >&6; }
15929 case $ac_cv_c_inline in
15930 inline | yes) ;;
15932 case $ac_cv_c_inline in
15933 no) ac_val=;;
15934 *) ac_val=$ac_cv_c_inline;;
15935 esac
15936 cat >>confdefs.h <<_ACEOF
15937 #ifndef __cplusplus
15938 #define inline $ac_val
15939 #endif
15940 _ACEOF
15942 esac
15944 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15945 if test "x$ac_cv_type_mode_t" = xyes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_MODE_T 1
15949 _ACEOF
15953 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15954 if test "x$ac_cv_type_off_t" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_OFF_T 1
15958 _ACEOF
15962 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15963 if test "x$ac_cv_type_pid_t" = xyes; then :
15965 cat >>confdefs.h <<_ACEOF
15966 #define HAVE_PID_T 1
15967 _ACEOF
15971 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15972 if test "x$ac_cv_type_size_t" = xyes; then :
15974 cat >>confdefs.h <<_ACEOF
15975 #define HAVE_SIZE_T 1
15976 _ACEOF
15980 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15981 if test "x$ac_cv_type_ssize_t" = xyes; then :
15983 cat >>confdefs.h <<_ACEOF
15984 #define HAVE_SSIZE_T 1
15985 _ACEOF
15989 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15990 if test "x$ac_cv_type_long_long" = xyes; then :
15992 cat >>confdefs.h <<_ACEOF
15993 #define HAVE_LONG_LONG 1
15994 _ACEOF
15998 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15999 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16001 cat >>confdefs.h <<_ACEOF
16002 #define HAVE_FSBLKCNT_T 1
16003 _ACEOF
16007 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16008 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16010 cat >>confdefs.h <<_ACEOF
16011 #define HAVE_FSFILCNT_T 1
16012 _ACEOF
16017 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16018 #include <signal.h>
16020 if test "x$ac_cv_type_sigset_t" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_SIGSET_T 1
16024 _ACEOF
16029 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16031 if test "x$ac_cv_type_request_sense" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_REQUEST_SENSE 1
16035 _ACEOF
16041 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16042 #ifdef HAVE_SYS_SOCKET_H
16043 #include <sys/socket.h>
16044 #endif
16045 #ifdef HAVE_SYS_SOCKETVAR_H
16046 #include <sys/socketvar.h>
16047 #endif
16048 #ifdef HAVE_NET_ROUTE_H
16049 #include <net/route.h>
16050 #endif
16051 #ifdef HAVE_NETINET_IN_H
16052 #include <netinet/in.h>
16053 #endif
16054 #ifdef HAVE_NETINET_IN_SYSTM_H
16055 #include <netinet/in_systm.h>
16056 #endif
16057 #ifdef HAVE_NETINET_IP_H
16058 #include <netinet/ip.h>
16059 #endif
16060 #ifdef HAVE_NETINET_IN_PCB_H
16061 #include <netinet/in_pcb.h>
16062 #endif
16064 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_XINPGEN 1
16068 _ACEOF
16074 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16075 #include <link.h>
16076 #endif
16077 #ifdef HAVE_SYS_LINK_H
16078 #include <sys/link.h>
16079 #endif
16081 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16083 cat >>confdefs.h <<_ACEOF
16084 #define HAVE_STRUCT_R_DEBUG 1
16085 _ACEOF
16089 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16090 #include <link.h>
16091 #endif
16092 #ifdef HAVE_SYS_LINK_H
16093 #include <sys/link.h>
16094 #endif
16096 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_LINK_MAP 1
16100 _ACEOF
16106 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16107 #include <linux/input.h>
16108 #endif
16110 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16112 cat >>confdefs.h <<_ACEOF
16113 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16114 _ACEOF
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16121 $as_echo_n "checking for sigaddset... " >&6; }
16122 if ${wine_cv_have_sigaddset+:} false; then :
16123 $as_echo_n "(cached) " >&6
16124 else
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h. */
16127 #include <signal.h>
16129 main ()
16131 sigset_t set; sigaddset(&set,SIGTERM);
16133 return 0;
16135 _ACEOF
16136 if ac_fn_c_try_link "$LINENO"; then :
16137 wine_cv_have_sigaddset=yes
16138 else
16139 wine_cv_have_sigaddset=no
16141 rm -f core conftest.err conftest.$ac_objext \
16142 conftest$ac_exeext conftest.$ac_ext
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16145 $as_echo "$wine_cv_have_sigaddset" >&6; }
16146 if test "$wine_cv_have_sigaddset" = "yes"
16147 then
16149 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16155 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16156 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160 /* end confdefs.h. */
16161 #include <netdb.h>
16163 main ()
16166 char *name=0;
16167 struct hostent he;
16168 struct hostent *result;
16169 char *buf=0;
16170 int bufsize=0;
16171 int errnr;
16172 char *addr=0;
16173 int addrlen=0;
16174 int addrtype=0;
16175 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16176 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16179 return 0;
16181 _ACEOF
16182 if ac_fn_c_try_link "$LINENO"; then :
16183 wine_cv_linux_gethostbyname_r_6=yes
16184 else
16185 wine_cv_linux_gethostbyname_r_6=no
16188 rm -f core conftest.err conftest.$ac_objext \
16189 conftest$ac_exeext conftest.$ac_ext
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16193 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16194 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16195 then
16197 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16201 if test "$ac_cv_header_linux_joystick_h" = "yes"
16202 then
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16204 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16205 if ${wine_cv_linux_joystick_22_api+:} false; then :
16206 $as_echo_n "(cached) " >&6
16207 else
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16211 #include <sys/ioctl.h>
16212 #include <sys/types.h>
16213 #include <linux/joystick.h>
16215 struct js_event blub;
16216 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16217 #error "no 2.2 header"
16218 #endif
16221 main ()
16223 /*empty*/
16225 return 0;
16227 _ACEOF
16228 if ac_fn_c_try_compile "$LINENO"; then :
16229 wine_cv_linux_joystick_22_api=yes
16230 else
16231 wine_cv_linux_joystick_22_api=no
16233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16237 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16238 if test "$wine_cv_linux_joystick_22_api" = "yes"
16239 then
16241 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16247 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16248 #ifdef HAVE_SYS_PARAM_H
16249 # include <sys/param.h>
16250 #endif
16251 #ifdef HAVE_SYS_MOUNT_H
16252 # include <sys/mount.h>
16253 #endif
16254 #ifdef HAVE_SYS_VFS_H
16255 # include <sys/vfs.h>
16256 #endif
16257 #ifdef HAVE_SYS_STATFS_H
16258 # include <sys/statfs.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_STATFS_F_BFREE 1
16265 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16270 #ifdef HAVE_SYS_PARAM_H
16271 # include <sys/param.h>
16272 #endif
16273 #ifdef HAVE_SYS_MOUNT_H
16274 # include <sys/mount.h>
16275 #endif
16276 #ifdef HAVE_SYS_VFS_H
16277 # include <sys/vfs.h>
16278 #endif
16279 #ifdef HAVE_SYS_STATFS_H
16280 # include <sys/statfs.h>
16281 #endif
16283 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16287 _ACEOF
16291 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16292 #ifdef HAVE_SYS_PARAM_H
16293 # include <sys/param.h>
16294 #endif
16295 #ifdef HAVE_SYS_MOUNT_H
16296 # include <sys/mount.h>
16297 #endif
16298 #ifdef HAVE_SYS_VFS_H
16299 # include <sys/vfs.h>
16300 #endif
16301 #ifdef HAVE_SYS_STATFS_H
16302 # include <sys/statfs.h>
16303 #endif
16305 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16309 _ACEOF
16313 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16314 #ifdef HAVE_SYS_PARAM_H
16315 # include <sys/param.h>
16316 #endif
16317 #ifdef HAVE_SYS_MOUNT_H
16318 # include <sys/mount.h>
16319 #endif
16320 #ifdef HAVE_SYS_VFS_H
16321 # include <sys/vfs.h>
16322 #endif
16323 #ifdef HAVE_SYS_STATFS_H
16324 # include <sys/statfs.h>
16325 #endif
16327 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16329 cat >>confdefs.h <<_ACEOF
16330 #define HAVE_STRUCT_STATFS_F_FFREE 1
16331 _ACEOF
16335 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16336 #ifdef HAVE_SYS_PARAM_H
16337 # include <sys/param.h>
16338 #endif
16339 #ifdef HAVE_SYS_MOUNT_H
16340 # include <sys/mount.h>
16341 #endif
16342 #ifdef HAVE_SYS_VFS_H
16343 # include <sys/vfs.h>
16344 #endif
16345 #ifdef HAVE_SYS_STATFS_H
16346 # include <sys/statfs.h>
16347 #endif
16349 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16353 _ACEOF
16357 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16358 #ifdef HAVE_SYS_PARAM_H
16359 # include <sys/param.h>
16360 #endif
16361 #ifdef HAVE_SYS_MOUNT_H
16362 # include <sys/mount.h>
16363 #endif
16364 #ifdef HAVE_SYS_VFS_H
16365 # include <sys/vfs.h>
16366 #endif
16367 #ifdef HAVE_SYS_STATFS_H
16368 # include <sys/statfs.h>
16369 #endif
16371 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16375 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16382 #include <sys/statvfs.h>
16383 #endif
16385 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16387 cat >>confdefs.h <<_ACEOF
16388 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16389 _ACEOF
16395 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16396 #include <dirent.h>
16397 #endif
16399 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16403 _ACEOF
16409 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16410 #ifdef HAVE_SYS_SOCKET_H
16411 # include <sys/socket.h>
16412 #endif
16413 #ifdef HAVE_SYS_UN_H
16414 # include <sys/un.h>
16415 #endif
16417 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16421 _ACEOF
16425 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16426 #ifdef HAVE_SYS_SOCKET_H
16427 # include <sys/socket.h>
16428 #endif
16429 #ifdef HAVE_SYS_UN_H
16430 # include <sys/un.h>
16431 #endif
16433 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16435 cat >>confdefs.h <<_ACEOF
16436 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16437 _ACEOF
16441 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16442 #ifdef HAVE_SYS_SOCKET_H
16443 # include <sys/socket.h>
16444 #endif
16445 #ifdef HAVE_SYS_UN_H
16446 # include <sys/un.h>
16447 #endif
16449 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16453 _ACEOF
16459 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16460 #ifdef HAVE_SCSI_SG_H
16461 #include <scsi/sg.h>
16462 #endif
16464 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16466 cat >>confdefs.h <<_ACEOF
16467 #define HAVE_SCSIREQ_T_CMD 1
16468 _ACEOF
16472 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>
16473 #ifdef HAVE_SCSI_SG_H
16474 #include <scsi/sg.h>
16475 #endif
16477 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16481 _ACEOF
16487 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16489 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_SIGINFO_T_SI_FD 1
16493 _ACEOF
16499 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16500 #ifdef HAVE_SYS_MTIO_H
16501 #include <sys/mtio.h>
16502 #endif
16504 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16508 _ACEOF
16512 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16513 #ifdef HAVE_SYS_MTIO_H
16514 #include <sys/mtio.h>
16515 #endif
16517 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16519 cat >>confdefs.h <<_ACEOF
16520 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16521 _ACEOF
16525 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16526 #ifdef HAVE_SYS_MTIO_H
16527 #include <sys/mtio.h>
16528 #endif
16530 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16532 cat >>confdefs.h <<_ACEOF
16533 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16534 _ACEOF
16540 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16541 #include <getopt.h>
16542 #endif
16544 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_STRUCT_OPTION_NAME 1
16548 _ACEOF
16554 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16555 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16557 cat >>confdefs.h <<_ACEOF
16558 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16559 _ACEOF
16563 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16564 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_STRUCT_STAT_ST_MTIM 1
16568 _ACEOF
16572 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16573 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16577 _ACEOF
16581 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16582 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_STRUCT_STAT_ST_CTIM 1
16586 _ACEOF
16590 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16591 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16593 cat >>confdefs.h <<_ACEOF
16594 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16595 _ACEOF
16599 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16600 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_STAT_ST_ATIM 1
16604 _ACEOF
16608 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16609 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16613 _ACEOF
16617 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16618 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16622 _ACEOF
16626 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16627 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16631 _ACEOF
16635 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16636 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16640 _ACEOF
16644 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16645 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16649 _ACEOF
16653 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16654 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16658 _ACEOF
16664 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
16665 #include <sys/types.h>
16666 #endif
16667 #ifdef HAVE_NETINET_IN_H
16668 #include <netinet/in.h>
16669 #endif
16671 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16673 cat >>confdefs.h <<_ACEOF
16674 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16675 _ACEOF
16681 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16682 #include <resolv.h>
16683 #endif
16685 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_STRUCT___RES_STATE 1
16689 _ACEOF
16695 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
16696 #include <resolv.h>
16697 #endif
16699 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16701 cat >>confdefs.h <<_ACEOF
16702 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16703 _ACEOF
16709 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16710 #include <sys/types.h>
16711 #endif
16712 #ifdef HAVE_NETINET_IN_H
16713 # include <netinet/in.h>
16714 #endif
16715 #ifdef HAVE_ARPA_NAMESER_H
16716 # include <arpa/nameser.h>
16717 #endif
16719 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_NS_MSG__MSG_PTR 1
16723 _ACEOF
16729 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16730 #include <sys/types.h>
16731 #endif
16732 #ifdef HAVE_NETINET_IP_H
16733 #include <netinet/ip.h>
16734 #endif
16735 #ifdef HAVE_NETINET_IP_ICMP_H
16736 #include <netinet/ip_icmp.h>
16737 #endif
16738 #ifdef HAVE_NETINET_ICMP_VAR_H
16739 #include <netinet/icmp_var.h>
16740 #endif
16742 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16744 cat >>confdefs.h <<_ACEOF
16745 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16746 _ACEOF
16752 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16753 #include <sys/types.h>
16754 #endif
16755 #ifdef HAVE_ALIAS_H
16756 #include <alias.h>
16757 #endif
16758 #ifdef HAVE_SYS_SOCKET_H
16759 #include <sys/socket.h>
16760 #endif
16761 #ifdef HAVE_SYS_SOCKETVAR_H
16762 #include <sys/socketvar.h>
16763 #endif
16764 #ifdef HAVE_SYS_TIMEOUT_H
16765 #include <sys/timeout.h>
16766 #endif
16767 #ifdef HAVE_NETINET_IN_H
16768 #include <netinet/in.h>
16769 #endif
16770 #ifdef HAVE_NETINET_IN_SYSTM_H
16771 #include <netinet/in_systm.h>
16772 #endif
16773 #ifdef HAVE_NETINET_IP_H
16774 #include <netinet/ip.h>
16775 #endif
16776 #ifdef HAVE_NETINET_IP_VAR_H
16777 #include <netinet/ip_var.h>
16778 #endif
16779 #ifdef HAVE_NETINET_IP_ICMP_H
16780 #include <netinet/ip_icmp.h>
16781 #endif
16782 #ifdef HAVE_NETINET_ICMP_VAR_H
16783 #include <netinet/icmp_var.h>
16784 #endif
16786 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16788 cat >>confdefs.h <<_ACEOF
16789 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16790 _ACEOF
16796 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16797 #include <sys/types.h>
16798 #endif
16799 #ifdef HAVE_SYS_SOCKETVAR_H
16800 #include <sys/socketvar.h>
16801 #endif
16802 #ifdef HAVE_NETINET_IN_H
16803 #include <netinet/in.h>
16804 #endif
16805 #ifdef HAVE_NETINET_IP_VAR_H
16806 #include <netinet/ip_var.h>
16807 #endif
16809 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16811 cat >>confdefs.h <<_ACEOF
16812 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16813 _ACEOF
16819 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
16820 #include <netinet/ip_var.h>
16821 #endif
16823 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16825 cat >>confdefs.h <<_ACEOF
16826 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16827 _ACEOF
16833 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16834 #include <sys/types.h>
16835 #endif
16836 #ifdef HAVE_SYS_SOCKETVAR_H
16837 #include <sys/socketvar.h>
16838 #endif
16839 #ifdef HAVE_NETINET_IN_H
16840 #include <netinet/in.h>
16841 #endif
16842 #ifdef HAVE_NETINET_TCP_H
16843 #include <netinet/tcp.h>
16844 #endif
16845 #ifdef HAVE_NETINET_TCP_VAR_H
16846 #include <netinet/tcp_var.h>
16847 #endif
16849 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16851 cat >>confdefs.h <<_ACEOF
16852 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16853 _ACEOF
16859 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
16860 #include <netinet/tcp_var.h>
16861 #endif
16863 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16865 cat >>confdefs.h <<_ACEOF
16866 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16867 _ACEOF
16873 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16874 #include <sys/types.h>
16875 #endif
16876 #ifdef HAVE_NETINET_IN_H
16877 #include <netinet/in.h>
16878 #endif
16879 #ifdef HAVE_NETINET_IP_VAR_H
16880 #include <netinet/ip_var.h>
16881 #endif
16882 #ifdef HAVE_NETINET_UDP_H
16883 #include <netinet/udp.h>
16884 #endif
16885 #ifdef HAVE_NETINET_UDP_VAR_H
16886 #include <netinet/udp_var.h>
16887 #endif
16889 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16891 cat >>confdefs.h <<_ACEOF
16892 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16893 _ACEOF
16899 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16900 #include <sys/types.h>
16901 #endif
16902 #ifdef HAVE_NET_IF_H
16903 # include <net/if.h>
16904 #endif
16906 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16908 cat >>confdefs.h <<_ACEOF
16909 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16910 _ACEOF
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16917 $as_echo_n "checking for timezone variable... " >&6; }
16918 if ${ac_cv_have_timezone+:} false; then :
16919 $as_echo_n "(cached) " >&6
16920 else
16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16922 /* end confdefs.h. */
16923 #include <time.h>
16925 main ()
16927 timezone = 1
16929 return 0;
16931 _ACEOF
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_have_timezone="yes"
16934 else
16935 ac_cv_have_timezone="no"
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16941 $as_echo "$ac_cv_have_timezone" >&6; }
16942 if test "$ac_cv_have_timezone" = "yes"
16943 then
16945 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16949 $as_echo_n "checking for daylight variable... " >&6; }
16950 if ${ac_cv_have_daylight+:} false; then :
16951 $as_echo_n "(cached) " >&6
16952 else
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 #include <time.h>
16957 main ()
16959 daylight = 1
16961 return 0;
16963 _ACEOF
16964 if ac_fn_c_try_link "$LINENO"; then :
16965 ac_cv_have_daylight="yes"
16966 else
16967 ac_cv_have_daylight="no"
16969 rm -f core conftest.err conftest.$ac_objext \
16970 conftest$ac_exeext conftest.$ac_ext
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16973 $as_echo "$ac_cv_have_daylight" >&6; }
16974 if test "$ac_cv_have_daylight" = "yes"
16975 then
16977 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16981 ac_save_LIBS="$LIBS"
16982 LIBS="$LIBS -lm"
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16984 $as_echo_n "checking for isfinite... " >&6; }
16985 if ${ac_cv_have_isfinite+:} false; then :
16986 $as_echo_n "(cached) " >&6
16987 else
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #define _GNU_SOURCE
16991 #include <math.h>
16993 main ()
16995 float f = 0.0; return isfinite(f)
16997 return 0;
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"; then :
17001 ac_cv_have_isfinite="yes"
17002 else
17003 ac_cv_have_isfinite="no"
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17009 $as_echo "$ac_cv_have_isfinite" >&6; }
17010 if test "$ac_cv_have_isfinite" = "yes"
17011 then
17013 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17018 $as_echo_n "checking for isinf... " >&6; }
17019 if ${ac_cv_have_isinf+:} false; then :
17020 $as_echo_n "(cached) " >&6
17021 else
17022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023 /* end confdefs.h. */
17024 #include <math.h>
17026 main ()
17028 float f = 0.0; return isinf(f)
17030 return 0;
17032 _ACEOF
17033 if ac_fn_c_try_link "$LINENO"; then :
17034 ac_cv_have_isinf="yes"
17035 else
17036 ac_cv_have_isinf="no"
17038 rm -f core conftest.err conftest.$ac_objext \
17039 conftest$ac_exeext conftest.$ac_ext
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17042 $as_echo "$ac_cv_have_isinf" >&6; }
17043 if test "$ac_cv_have_isinf" = "yes"
17044 then
17046 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17051 $as_echo_n "checking for isnan... " >&6; }
17052 if ${ac_cv_have_isnan+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 #include <math.h>
17059 main ()
17061 float f = 0.0; return isnan(f)
17063 return 0;
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_have_isnan="yes"
17068 else
17069 ac_cv_have_isnan="no"
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17075 $as_echo "$ac_cv_have_isnan" >&6; }
17076 if test "$ac_cv_have_isnan" = "yes"
17077 then
17079 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17083 for ac_func in \
17084 asinh \
17085 asinhf \
17086 cbrt \
17087 cbrtf \
17088 erf \
17089 erff \
17090 exp2 \
17091 exp2f \
17092 lgamma \
17093 lgammaf \
17094 llrint \
17095 llrintf \
17096 llround \
17097 llroundf \
17098 log2 \
17099 log2f \
17100 lrint \
17101 lrintf \
17102 lround \
17103 lroundf \
17104 powl \
17105 remainder \
17106 remainderf \
17107 rint \
17108 rintf \
17109 round \
17110 roundf \
17111 trunc \
17112 truncf
17114 do :
17115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17117 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17118 cat >>confdefs.h <<_ACEOF
17119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17120 _ACEOF
17123 done
17125 LIBS="$ac_save_LIBS"
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17128 $as_echo_n "checking for __builtin_clz... " >&6; }
17129 if ${ac_cv_have___builtin_clz+:} false; then :
17130 $as_echo_n "(cached) " >&6
17131 else
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17136 main ()
17138 return __builtin_clz(1)
17140 return 0;
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"; then :
17144 ac_cv_have___builtin_clz="yes"
17145 else
17146 ac_cv_have___builtin_clz="no"
17148 rm -f core conftest.err conftest.$ac_objext \
17149 conftest$ac_exeext conftest.$ac_ext
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17152 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17153 if test "$ac_cv_have___builtin_clz" = "yes"
17154 then
17156 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17161 $as_echo_n "checking for __builtin_popcount... " >&6; }
17162 if ${ac_cv_have___builtin_popcount+:} false; then :
17163 $as_echo_n "(cached) " >&6
17164 else
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17169 main ()
17171 return __builtin_popcount(1)
17173 return 0;
17175 _ACEOF
17176 if ac_fn_c_try_link "$LINENO"; then :
17177 ac_cv_have___builtin_popcount="yes"
17178 else
17179 ac_cv_have___builtin_popcount="no"
17181 rm -f core conftest.err conftest.$ac_objext \
17182 conftest$ac_exeext conftest.$ac_ext
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17185 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17186 if test "$ac_cv_have___builtin_popcount" = "yes"
17187 then
17189 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17194 case $host_cpu in
17195 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17196 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17197 if ${ac_cv_cpp_def___i386__+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17201 /* end confdefs.h. */
17202 #ifndef __i386__
17204 #endif
17205 _ACEOF
17206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17207 $EGREP "yes" >/dev/null 2>&1; then :
17208 ac_cv_cpp_def___i386__=yes
17209 else
17210 ac_cv_cpp_def___i386__=no
17212 rm -f conftest*
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17216 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17217 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17218 CFLAGS="$CFLAGS -D__i386__"
17219 LINTFLAGS="$LINTFLAGS -D__i386__"
17220 fi ;;
17221 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17222 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17223 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 #ifndef __x86_64__
17230 #endif
17231 _ACEOF
17232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17233 $EGREP "yes" >/dev/null 2>&1; then :
17234 ac_cv_cpp_def___x86_64__=yes
17235 else
17236 ac_cv_cpp_def___x86_64__=no
17238 rm -f conftest*
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17242 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17243 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17244 CFLAGS="$CFLAGS -D__x86_64__"
17245 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17246 fi ;;
17247 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17248 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17249 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 #ifndef __sparc64__
17256 #endif
17257 _ACEOF
17258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17259 $EGREP "yes" >/dev/null 2>&1; then :
17260 ac_cv_cpp_def___sparc64__=yes
17261 else
17262 ac_cv_cpp_def___sparc64__=no
17264 rm -f conftest*
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17268 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17269 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17270 CFLAGS="$CFLAGS -D__sparc64__"
17271 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17272 fi ;;
17273 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17274 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17275 if ${ac_cv_cpp_def___sparc__+:} false; then :
17276 $as_echo_n "(cached) " >&6
17277 else
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17280 #ifndef __sparc__
17282 #endif
17283 _ACEOF
17284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17285 $EGREP "yes" >/dev/null 2>&1; then :
17286 ac_cv_cpp_def___sparc__=yes
17287 else
17288 ac_cv_cpp_def___sparc__=no
17290 rm -f conftest*
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17294 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17295 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17296 CFLAGS="$CFLAGS -D__sparc__"
17297 LINTFLAGS="$LINTFLAGS -D__sparc__"
17298 fi ;;
17299 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17300 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17301 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 #ifndef __powerpc64__
17308 #endif
17309 _ACEOF
17310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17311 $EGREP "yes" >/dev/null 2>&1; then :
17312 ac_cv_cpp_def___powerpc64__=yes
17313 else
17314 ac_cv_cpp_def___powerpc64__=no
17316 rm -f conftest*
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17320 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17321 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17322 CFLAGS="$CFLAGS -D__powerpc64__"
17323 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17324 fi ;;
17325 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17326 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17327 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #ifndef __powerpc__
17334 #endif
17335 _ACEOF
17336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17337 $EGREP "yes" >/dev/null 2>&1; then :
17338 ac_cv_cpp_def___powerpc__=yes
17339 else
17340 ac_cv_cpp_def___powerpc__=no
17342 rm -f conftest*
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17346 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17347 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17348 CFLAGS="$CFLAGS -D__powerpc__"
17349 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17350 fi ;;
17351 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17352 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17353 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 #ifndef __aarch64__
17360 #endif
17361 _ACEOF
17362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17363 $EGREP "yes" >/dev/null 2>&1; then :
17364 ac_cv_cpp_def___aarch64__=yes
17365 else
17366 ac_cv_cpp_def___aarch64__=no
17368 rm -f conftest*
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17372 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17373 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17374 CFLAGS="$CFLAGS -D__aarch64__"
17375 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17376 fi ;;
17377 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17378 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17379 if ${ac_cv_cpp_def___arm__+:} false; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17384 #ifndef __arm__
17386 #endif
17387 _ACEOF
17388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17389 $EGREP "yes" >/dev/null 2>&1; then :
17390 ac_cv_cpp_def___arm__=yes
17391 else
17392 ac_cv_cpp_def___arm__=no
17394 rm -f conftest*
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17398 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17399 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17400 CFLAGS="$CFLAGS -D__arm__"
17401 LINTFLAGS="$LINTFLAGS -D__arm__"
17402 fi ;;
17403 esac
17405 case $host_vendor in
17406 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17407 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17408 if ${ac_cv_cpp_def___sun__+:} false; then :
17409 $as_echo_n "(cached) " >&6
17410 else
17411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17412 /* end confdefs.h. */
17413 #ifndef __sun__
17415 #endif
17416 _ACEOF
17417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17418 $EGREP "yes" >/dev/null 2>&1; then :
17419 ac_cv_cpp_def___sun__=yes
17420 else
17421 ac_cv_cpp_def___sun__=no
17423 rm -f conftest*
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17427 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17428 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17429 CFLAGS="$CFLAGS -D__sun__"
17430 LINTFLAGS="$LINTFLAGS -D__sun__"
17431 fi ;;
17432 esac
17438 ac_config_commands="$ac_config_commands include/stamp-h"
17440 $as_echo_n "creating Makefile rules..." >&6
17442 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17443 SOCKET_LIBS = $SOCKET_LIBS
17444 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17445 IOKIT_LIBS = $IOKIT_LIBS
17446 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17447 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17448 CORESERVICES_LIBS = $CORESERVICES_LIBS
17449 APPKIT_LIBS = $APPKIT_LIBS
17450 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17451 SECURITY_LIBS = $SECURITY_LIBS
17452 COREAUDIO_LIBS = $COREAUDIO_LIBS
17453 OPENAL_LIBS = $OPENAL_LIBS
17454 OPENCL_LIBS = $OPENCL_LIBS
17455 QUICKTIME_LIBS = $QUICKTIME_LIBS
17456 CARBON_LIBS = $CARBON_LIBS
17457 PTHREAD_LIBS = $PTHREAD_LIBS
17458 X_CFLAGS = $X_CFLAGS
17459 X_PRE_LIBS = $X_PRE_LIBS
17460 X_LIBS = $X_LIBS
17461 X_EXTRA_LIBS = $X_EXTRA_LIBS
17462 PCAP_LIBS = $PCAP_LIBS
17463 XML2_CFLAGS = $XML2_CFLAGS
17464 XML2_LIBS = $XML2_LIBS
17465 XSLT_CFLAGS = $XSLT_CFLAGS
17466 XSLT_LIBS = $XSLT_LIBS
17467 DBUS_CFLAGS = $DBUS_CFLAGS
17468 DBUS_LIBS = $DBUS_LIBS
17469 HAL_CFLAGS = $HAL_CFLAGS
17470 HAL_LIBS = $HAL_LIBS
17471 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17472 GNUTLS_LIBS = $GNUTLS_LIBS
17473 SANE_CFLAGS = $SANE_CFLAGS
17474 SANE_LIBS = $SANE_LIBS
17475 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17476 GPHOTO2_LIBS = $GPHOTO2_LIBS
17477 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17478 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17479 RESOLV_LIBS = $RESOLV_LIBS
17480 LCMS2_CFLAGS = $LCMS2_CFLAGS
17481 LCMS2_LIBS = $LCMS2_LIBS
17482 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17483 FREETYPE_LIBS = $FREETYPE_LIBS
17484 Z_LIBS = $Z_LIBS
17485 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17486 PULSE_CFLAGS = $PULSE_CFLAGS
17487 PULSE_LIBS = $PULSE_LIBS
17488 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17489 GSTREAMER_LIBS = $GSTREAMER_LIBS
17490 ALSA_LIBS = $ALSA_LIBS
17491 OSS4_CFLAGS = $OSS4_CFLAGS
17492 UDEV_CFLAGS = $UDEV_CFLAGS
17493 UDEV_LIBS = $UDEV_LIBS
17494 CAPI20_CFLAGS = $CAPI20_CFLAGS
17495 CAPI20_LIBS = $CAPI20_LIBS
17496 CUPS_CFLAGS = $CUPS_CFLAGS
17497 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17498 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17499 JPEG_CFLAGS = $JPEG_CFLAGS
17500 JPEG_LIBS = $JPEG_LIBS
17501 PNG_CFLAGS = $PNG_CFLAGS
17502 PNG_LIBS = $PNG_LIBS
17503 TIFF_CFLAGS = $TIFF_CFLAGS
17504 TIFF_LIBS = $TIFF_LIBS
17505 MPG123_CFLAGS = $MPG123_CFLAGS
17506 MPG123_LIBS = $MPG123_LIBS
17507 KSTAT_LIBS = $KSTAT_LIBS
17508 PROCSTAT_LIBS = $PROCSTAT_LIBS
17509 NETAPI_CFLAGS = $NETAPI_CFLAGS
17510 NETAPI_LIBS = $NETAPI_LIBS
17511 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17512 DL_LIBS = $DL_LIBS
17513 POLL_LIBS = $POLL_LIBS
17514 RT_LIBS = $RT_LIBS
17515 LDAP_LIBS = $LDAP_LIBS
17520 wine_fn_append_rule "
17521 # Rules automatically generated by configure
17523 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17525 .INIT: Makefile
17526 .MAKEFILEDEPS:
17527 all: Makefile
17528 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17529 @./config.status Make.tmp Makefile
17530 depend: \$(MAKEDEP) dummy
17531 \$(MAKEDEP)"
17533 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17534 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17536 if test "x$enable_fonts" != xno; then
17537 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17538 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17539 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17540 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17541 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17542 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17544 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17545 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17546 ac_config_links="$ac_config_links wine:tools/winewrapper"
17547 wine_fn_config_symlink wine
17548 if test "x$enable_win64" != xno; then
17549 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17550 wine_fn_config_symlink wine64
17553 wine_fn_config_dll acledit enable_acledit
17554 wine_fn_config_dll aclui enable_aclui implib
17555 wine_fn_config_dll activeds enable_activeds implib
17556 wine_fn_config_dll actxprxy enable_actxprxy clean
17557 wine_fn_config_lib adsiid
17558 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17559 wine_fn_config_test dlls/advapi32/tests advapi32_test
17560 wine_fn_config_dll advpack enable_advpack implib
17561 wine_fn_config_test dlls/advpack/tests advpack_test
17562 wine_fn_config_dll amstream enable_amstream clean
17563 wine_fn_config_test dlls/amstream/tests amstream_test
17564 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17566 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17569 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17571 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17572 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17573 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17577 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17579 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17580 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17581 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17582 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17584 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17585 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17586 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17587 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17588 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17589 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17590 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17592 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17593 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17595 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17597 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17599 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17600 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17601 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17603 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17604 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17605 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17606 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17607 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17608 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17609 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17610 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17612 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17614 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17615 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17616 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17617 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17618 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17620 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17622 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17624 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17626 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17627 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17628 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17629 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17636 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17641 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17643 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17647 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17648 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17650 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17659 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17661 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17662 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17668 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17669 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17681 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17682 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17683 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17685 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17686 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17690 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17691 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17692 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17693 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17694 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17695 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17696 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17697 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17698 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17699 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17700 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17701 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17702 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17703 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17704 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17705 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17706 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17707 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17708 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17709 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17710 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17711 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17712 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17713 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17714 wine_fn_config_dll apphelp enable_apphelp
17715 wine_fn_config_test dlls/apphelp/tests apphelp_test
17716 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17717 wine_fn_config_dll atl enable_atl clean,implib
17718 wine_fn_config_test dlls/atl/tests atl_test
17719 wine_fn_config_dll atl100 enable_atl100 clean,implib
17720 wine_fn_config_test dlls/atl100/tests atl100_test
17721 wine_fn_config_dll atl110 enable_atl110 clean
17722 wine_fn_config_dll atl80 enable_atl80 clean,implib
17723 wine_fn_config_test dlls/atl80/tests atl80_test
17724 wine_fn_config_dll atl90 enable_atl90 clean
17725 wine_fn_config_dll authz enable_authz
17726 wine_fn_config_dll avicap32 enable_avicap32 implib
17727 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17728 wine_fn_config_test dlls/avifil32/tests avifil32_test
17729 wine_fn_config_dll avifile.dll16 enable_win16
17730 wine_fn_config_dll avrt enable_avrt implib
17731 wine_fn_config_dll bcrypt enable_bcrypt implib
17732 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17733 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17734 wine_fn_config_dll browseui enable_browseui clean
17735 wine_fn_config_test dlls/browseui/tests browseui_test
17736 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17737 wine_fn_config_dll cabinet enable_cabinet implib
17738 wine_fn_config_test dlls/cabinet/tests cabinet_test
17739 wine_fn_config_dll capi2032 enable_capi2032 implib
17740 wine_fn_config_dll cards enable_cards implib
17741 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17742 wine_fn_config_dll clusapi enable_clusapi implib
17743 wine_fn_config_dll combase enable_combase
17744 wine_fn_config_test dlls/combase/tests combase_test
17745 wine_fn_config_dll comcat enable_comcat
17746 wine_fn_config_test dlls/comcat/tests comcat_test
17747 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17748 wine_fn_config_test dlls/comctl32/tests comctl32_test
17749 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17750 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17751 wine_fn_config_dll comm.drv16 enable_win16
17752 wine_fn_config_dll commdlg.dll16 enable_win16
17753 wine_fn_config_dll compobj.dll16 enable_win16
17754 wine_fn_config_dll compstui enable_compstui implib
17755 wine_fn_config_dll comsvcs enable_comsvcs implib
17756 wine_fn_config_dll concrt140 enable_concrt140
17757 wine_fn_config_dll connect enable_connect
17758 wine_fn_config_dll credui enable_credui clean,implib
17759 wine_fn_config_test dlls/credui/tests credui_test
17760 wine_fn_config_dll crtdll enable_crtdll
17761 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17762 wine_fn_config_test dlls/crypt32/tests crypt32_test
17763 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17764 wine_fn_config_dll cryptdll enable_cryptdll implib
17765 wine_fn_config_dll cryptext enable_cryptext
17766 wine_fn_config_dll cryptnet enable_cryptnet implib
17767 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17768 wine_fn_config_dll cryptui enable_cryptui clean,implib
17769 wine_fn_config_test dlls/cryptui/tests cryptui_test
17770 wine_fn_config_dll ctapi32 enable_ctapi32
17771 wine_fn_config_dll ctl3d.dll16 enable_win16
17772 wine_fn_config_dll ctl3d32 enable_ctl3d32
17773 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17774 wine_fn_config_dll d2d1 enable_d2d1 implib
17775 wine_fn_config_test dlls/d2d1/tests d2d1_test
17776 wine_fn_config_dll d3d10 enable_d3d10 implib
17777 wine_fn_config_test dlls/d3d10/tests d3d10_test
17778 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17779 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17780 wine_fn_config_dll d3d10core enable_d3d10core implib
17781 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17782 wine_fn_config_dll d3d11 enable_d3d11 implib
17783 wine_fn_config_test dlls/d3d11/tests d3d11_test
17784 wine_fn_config_dll d3d8 enable_d3d8 implib
17785 wine_fn_config_test dlls/d3d8/tests d3d8_test
17786 wine_fn_config_dll d3d9 enable_d3d9 implib
17787 wine_fn_config_test dlls/d3d9/tests d3d9_test
17788 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17789 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17790 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17791 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17792 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17793 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17794 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17795 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17796 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17797 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17798 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17799 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17800 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17801 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17802 wine_fn_config_dll d3dim enable_d3dim
17803 wine_fn_config_dll d3drm enable_d3drm implib
17804 wine_fn_config_test dlls/d3drm/tests d3drm_test
17805 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17806 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17807 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17808 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17809 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17810 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17811 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17812 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17813 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17814 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17815 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17816 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17817 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17818 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17819 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17820 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17821 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17822 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17823 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17824 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17825 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17826 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17827 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17828 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17829 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17830 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17831 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17832 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17833 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17834 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17835 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17836 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17837 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17838 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17839 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17840 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17841 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17842 wine_fn_config_dll davclnt enable_davclnt
17843 wine_fn_config_dll dbgeng enable_dbgeng implib
17844 wine_fn_config_dll dbghelp enable_dbghelp implib
17845 wine_fn_config_dll dciman32 enable_dciman32 implib
17846 wine_fn_config_dll ddeml.dll16 enable_win16
17847 wine_fn_config_dll ddraw enable_ddraw clean,implib
17848 wine_fn_config_test dlls/ddraw/tests ddraw_test
17849 wine_fn_config_dll ddrawex enable_ddrawex clean
17850 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17851 wine_fn_config_dll devenum enable_devenum clean
17852 wine_fn_config_test dlls/devenum/tests devenum_test
17853 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17854 wine_fn_config_dll difxapi enable_difxapi
17855 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17856 wine_fn_config_test dlls/dinput/tests dinput_test
17857 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17858 wine_fn_config_test dlls/dinput8/tests dinput8_test
17859 wine_fn_config_dll dispdib.dll16 enable_win16
17860 wine_fn_config_dll dispex enable_dispex clean
17861 wine_fn_config_test dlls/dispex/tests dispex_test
17862 wine_fn_config_dll display.drv16 enable_win16
17863 wine_fn_config_dll dmband enable_dmband clean
17864 wine_fn_config_test dlls/dmband/tests dmband_test
17865 wine_fn_config_dll dmcompos enable_dmcompos clean
17866 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17867 wine_fn_config_dll dmime enable_dmime clean
17868 wine_fn_config_test dlls/dmime/tests dmime_test
17869 wine_fn_config_dll dmloader enable_dmloader clean
17870 wine_fn_config_test dlls/dmloader/tests dmloader_test
17871 wine_fn_config_dll dmscript enable_dmscript clean
17872 wine_fn_config_test dlls/dmscript/tests dmscript_test
17873 wine_fn_config_dll dmstyle enable_dmstyle clean
17874 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17875 wine_fn_config_dll dmsynth enable_dmsynth clean
17876 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17877 wine_fn_config_dll dmusic enable_dmusic clean
17878 wine_fn_config_test dlls/dmusic/tests dmusic_test
17879 wine_fn_config_dll dmusic32 enable_dmusic32
17880 wine_fn_config_dll dnsapi enable_dnsapi implib
17881 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17882 wine_fn_config_dll dplay enable_dplay
17883 wine_fn_config_dll dplayx enable_dplayx clean,implib
17884 wine_fn_config_test dlls/dplayx/tests dplayx_test
17885 wine_fn_config_dll dpnaddr enable_dpnaddr
17886 wine_fn_config_dll dpnet enable_dpnet clean,implib
17887 wine_fn_config_test dlls/dpnet/tests dpnet_test
17888 wine_fn_config_dll dpnhpast enable_dpnhpast
17889 wine_fn_config_dll dpnlobby enable_dpnlobby
17890 wine_fn_config_dll dpvoice enable_dpvoice clean
17891 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17892 wine_fn_config_dll dpwsockx enable_dpwsockx
17893 wine_fn_config_dll drmclien enable_drmclien
17894 wine_fn_config_dll dsound enable_dsound clean,implib
17895 wine_fn_config_test dlls/dsound/tests dsound_test
17896 wine_fn_config_dll dssenh enable_dssenh
17897 wine_fn_config_test dlls/dssenh/tests dssenh_test
17898 wine_fn_config_dll dswave enable_dswave clean
17899 wine_fn_config_test dlls/dswave/tests dswave_test
17900 wine_fn_config_dll dwmapi enable_dwmapi implib
17901 wine_fn_config_dll dwrite enable_dwrite implib
17902 wine_fn_config_test dlls/dwrite/tests dwrite_test
17903 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17904 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17905 wine_fn_config_lib dxerr8
17906 wine_fn_config_lib dxerr9
17907 wine_fn_config_dll dxgi enable_dxgi implib
17908 wine_fn_config_test dlls/dxgi/tests dxgi_test
17909 wine_fn_config_lib dxguid
17910 wine_fn_config_dll dxva2 enable_dxva2
17911 wine_fn_config_dll esent enable_esent
17912 wine_fn_config_dll evr enable_evr
17913 wine_fn_config_dll explorerframe enable_explorerframe clean
17914 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17915 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17916 wine_fn_config_dll faultrep enable_faultrep implib
17917 wine_fn_config_test dlls/faultrep/tests faultrep_test
17918 wine_fn_config_dll fltlib enable_fltlib
17919 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17920 wine_fn_config_dll fntcache enable_fntcache
17921 wine_fn_config_dll fontsub enable_fontsub
17922 wine_fn_config_dll fusion enable_fusion
17923 wine_fn_config_test dlls/fusion/tests fusion_test
17924 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17925 wine_fn_config_dll gameux enable_gameux clean
17926 wine_fn_config_test dlls/gameux/tests gameux_test
17927 wine_fn_config_dll gdi.exe16 enable_win16
17928 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17929 wine_fn_config_test dlls/gdi32/tests gdi32_test
17930 wine_fn_config_dll gdiplus enable_gdiplus implib
17931 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17932 wine_fn_config_dll glu32 enable_glu32 implib
17933 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17934 wine_fn_config_dll gpkcsp enable_gpkcsp
17935 wine_fn_config_dll hal enable_hal
17936 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17937 wine_fn_config_dll hid enable_hid implib
17938 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17939 wine_fn_config_dll hlink enable_hlink clean,implib
17940 wine_fn_config_test dlls/hlink/tests hlink_test
17941 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17942 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17943 wine_fn_config_dll httpapi enable_httpapi
17944 wine_fn_config_dll iccvid enable_iccvid clean
17945 wine_fn_config_dll icmp enable_icmp
17946 wine_fn_config_dll ieframe enable_ieframe clean,implib
17947 wine_fn_config_test dlls/ieframe/tests ieframe_test
17948 wine_fn_config_dll ifsmgr.vxd enable_win16
17949 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17950 wine_fn_config_dll imagehlp enable_imagehlp implib
17951 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17952 wine_fn_config_dll imm.dll16 enable_win16
17953 wine_fn_config_dll imm32 enable_imm32 implib
17954 wine_fn_config_test dlls/imm32/tests imm32_test
17955 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17956 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17957 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17958 wine_fn_config_dll inetmib1 enable_inetmib1
17959 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17960 wine_fn_config_dll infosoft enable_infosoft clean
17961 wine_fn_config_test dlls/infosoft/tests infosoft_test
17962 wine_fn_config_dll initpki enable_initpki
17963 wine_fn_config_dll inkobj enable_inkobj
17964 wine_fn_config_dll inseng enable_inseng clean
17965 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17966 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17967 wine_fn_config_dll iprop enable_iprop
17968 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17969 wine_fn_config_dll itircl enable_itircl
17970 wine_fn_config_dll itss enable_itss clean
17971 wine_fn_config_test dlls/itss/tests itss_test
17972 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17973 wine_fn_config_dll jscript enable_jscript clean
17974 wine_fn_config_test dlls/jscript/tests jscript_test
17975 wine_fn_config_dll jsproxy enable_jsproxy implib
17976 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17977 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17978 wine_fn_config_test dlls/kernel32/tests kernel32_test
17979 wine_fn_config_dll kernelbase enable_kernelbase
17980 wine_fn_config_dll keyboard.drv16 enable_win16
17981 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17982 wine_fn_config_dll ksuser enable_ksuser
17983 wine_fn_config_dll ktmw32 enable_ktmw32
17984 wine_fn_config_dll loadperf enable_loadperf implib
17985 wine_fn_config_dll localspl enable_localspl clean
17986 wine_fn_config_test dlls/localspl/tests localspl_test
17987 wine_fn_config_dll localui enable_localui clean
17988 wine_fn_config_test dlls/localui/tests localui_test
17989 wine_fn_config_dll lz32 enable_lz32 implib
17990 wine_fn_config_test dlls/lz32/tests lz32_test
17991 wine_fn_config_dll lzexpand.dll16 enable_win16
17992 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17993 wine_fn_config_test dlls/mapi32/tests mapi32_test
17994 wine_fn_config_dll mapistub enable_mapistub
17995 wine_fn_config_dll mciavi32 enable_mciavi32
17996 wine_fn_config_dll mcicda enable_mcicda
17997 wine_fn_config_dll mciqtz32 enable_mciqtz32
17998 wine_fn_config_dll mciseq enable_mciseq
17999 wine_fn_config_dll mciwave enable_mciwave
18000 wine_fn_config_dll mf enable_mf
18001 wine_fn_config_dll mfplat enable_mfplat
18002 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18003 wine_fn_config_dll mgmtapi enable_mgmtapi
18004 wine_fn_config_dll midimap enable_midimap
18005 wine_fn_config_dll mlang enable_mlang clean,implib
18006 wine_fn_config_test dlls/mlang/tests mlang_test
18007 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18008 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18009 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18010 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18011 wine_fn_config_dll mmdevldr.vxd enable_win16
18012 wine_fn_config_dll mmsystem.dll16 enable_win16
18013 wine_fn_config_dll monodebg.vxd enable_win16
18014 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18015 wine_fn_config_dll mouse.drv16 enable_win16
18016 wine_fn_config_dll mpr enable_mpr clean,implib
18017 wine_fn_config_test dlls/mpr/tests mpr_test
18018 wine_fn_config_dll mprapi enable_mprapi implib
18019 wine_fn_config_dll msacm.dll16 enable_win16
18020 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18021 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18022 wine_fn_config_test dlls/msacm32/tests msacm32_test
18023 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18024 wine_fn_config_dll msasn1 enable_msasn1 implib
18025 wine_fn_config_dll mscat32 enable_mscat32
18026 wine_fn_config_dll mscms enable_mscms implib
18027 wine_fn_config_test dlls/mscms/tests mscms_test
18028 wine_fn_config_dll mscoree enable_mscoree clean
18029 wine_fn_config_test dlls/mscoree/tests mscoree_test
18030 wine_fn_config_dll msctf enable_msctf clean
18031 wine_fn_config_test dlls/msctf/tests msctf_test
18032 wine_fn_config_dll msctfp enable_msctfp clean
18033 wine_fn_config_dll msdaps enable_msdaps clean
18034 wine_fn_config_dll msdelta enable_msdelta
18035 wine_fn_config_dll msdmo enable_msdmo implib
18036 wine_fn_config_test dlls/msdmo/tests msdmo_test
18037 wine_fn_config_dll msdrm enable_msdrm
18038 wine_fn_config_dll msftedit enable_msftedit
18039 wine_fn_config_dll msg711.acm enable_msg711_acm
18040 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18041 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18042 wine_fn_config_dll mshtml enable_mshtml clean,implib
18043 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18044 wine_fn_config_dll msi enable_msi clean,implib
18045 wine_fn_config_test dlls/msi/tests msi_test
18046 wine_fn_config_dll msident enable_msident clean
18047 wine_fn_config_dll msimg32 enable_msimg32 implib
18048 wine_fn_config_dll msimsg enable_msimsg
18049 wine_fn_config_dll msimtf enable_msimtf clean
18050 wine_fn_config_dll msisip enable_msisip
18051 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18052 wine_fn_config_dll msls31 enable_msls31
18053 wine_fn_config_dll msnet32 enable_msnet32
18054 wine_fn_config_dll mspatcha enable_mspatcha implib
18055 wine_fn_config_dll msports enable_msports
18056 wine_fn_config_dll msrle32 enable_msrle32 clean
18057 wine_fn_config_test dlls/msrle32/tests msrle32_test
18058 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18059 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18060 wine_fn_config_dll mssign32 enable_mssign32
18061 wine_fn_config_dll mssip32 enable_mssip32
18062 wine_fn_config_dll mstask enable_mstask clean
18063 wine_fn_config_test dlls/mstask/tests mstask_test
18064 wine_fn_config_dll msvcirt enable_msvcirt
18065 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18066 wine_fn_config_dll msvcm80 enable_msvcm80
18067 wine_fn_config_dll msvcm90 enable_msvcm90
18068 wine_fn_config_dll msvcp100 enable_msvcp100
18069 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18070 wine_fn_config_dll msvcp110 enable_msvcp110
18071 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18072 wine_fn_config_dll msvcp120 enable_msvcp120
18073 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18074 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18075 wine_fn_config_dll msvcp140 enable_msvcp140
18076 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18077 wine_fn_config_dll msvcp60 enable_msvcp60
18078 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18079 wine_fn_config_dll msvcp70 enable_msvcp70
18080 wine_fn_config_dll msvcp71 enable_msvcp71
18081 wine_fn_config_dll msvcp80 enable_msvcp80
18082 wine_fn_config_dll msvcp90 enable_msvcp90
18083 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18084 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18085 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18086 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18087 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18088 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18089 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18090 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18091 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18092 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18093 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18094 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18095 wine_fn_config_dll msvcrt enable_msvcrt implib
18096 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18097 wine_fn_config_dll msvcrt20 enable_msvcrt20
18098 wine_fn_config_dll msvcrt40 enable_msvcrt40
18099 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18100 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18101 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18102 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18103 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18104 wine_fn_config_dll msvideo.dll16 enable_win16
18105 wine_fn_config_dll mswsock enable_mswsock implib
18106 wine_fn_config_dll msxml enable_msxml clean
18107 wine_fn_config_dll msxml2 enable_msxml2 clean
18108 wine_fn_config_dll msxml3 enable_msxml3 clean
18109 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18110 wine_fn_config_dll msxml4 enable_msxml4 clean
18111 wine_fn_config_dll msxml6 enable_msxml6 clean
18112 wine_fn_config_dll ncrypt enable_ncrypt
18113 wine_fn_config_dll nddeapi enable_nddeapi implib
18114 wine_fn_config_dll ndis.sys enable_ndis_sys
18115 wine_fn_config_dll netapi32 enable_netapi32 implib
18116 wine_fn_config_test dlls/netapi32/tests netapi32_test
18117 wine_fn_config_dll netcfgx enable_netcfgx clean
18118 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18119 wine_fn_config_dll netprofm enable_netprofm clean
18120 wine_fn_config_test dlls/netprofm/tests netprofm_test
18121 wine_fn_config_dll newdev enable_newdev implib
18122 wine_fn_config_dll normaliz enable_normaliz implib
18123 wine_fn_config_dll npmshtml enable_npmshtml
18124 wine_fn_config_dll npptools enable_npptools
18125 wine_fn_config_dll ntdll enable_ntdll implib
18126 wine_fn_config_test dlls/ntdll/tests ntdll_test
18127 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18128 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18129 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18130 wine_fn_config_dll ntprint enable_ntprint
18131 wine_fn_config_test dlls/ntprint/tests ntprint_test
18132 wine_fn_config_dll objsel enable_objsel clean
18133 wine_fn_config_dll odbc32 enable_odbc32 implib
18134 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18135 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18136 wine_fn_config_dll odbccu32 enable_odbccu32
18137 wine_fn_config_dll ole2.dll16 enable_win16
18138 wine_fn_config_dll ole2conv.dll16 enable_win16
18139 wine_fn_config_dll ole2disp.dll16 enable_win16
18140 wine_fn_config_dll ole2nls.dll16 enable_win16
18141 wine_fn_config_dll ole2prox.dll16 enable_win16
18142 wine_fn_config_dll ole2thk.dll16 enable_win16
18143 wine_fn_config_dll ole32 enable_ole32 clean,implib
18144 wine_fn_config_test dlls/ole32/tests ole32_test
18145 wine_fn_config_dll oleacc enable_oleacc clean,implib
18146 wine_fn_config_test dlls/oleacc/tests oleacc_test
18147 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18148 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18149 wine_fn_config_dll olecli.dll16 enable_win16
18150 wine_fn_config_dll olecli32 enable_olecli32 implib
18151 wine_fn_config_dll oledb32 enable_oledb32 clean
18152 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18153 wine_fn_config_dll oledlg enable_oledlg clean,implib
18154 wine_fn_config_test dlls/oledlg/tests oledlg_test
18155 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18156 wine_fn_config_dll olesvr.dll16 enable_win16
18157 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18158 wine_fn_config_dll olethk32 enable_olethk32
18159 wine_fn_config_dll openal32 enable_openal32
18160 wine_fn_config_dll opencl enable_opencl
18161 wine_fn_config_dll opengl32 enable_opengl32 implib
18162 wine_fn_config_test dlls/opengl32/tests opengl32_test
18163 wine_fn_config_dll packager enable_packager clean
18164 wine_fn_config_test dlls/packager/tests packager_test
18165 wine_fn_config_dll pdh enable_pdh implib
18166 wine_fn_config_test dlls/pdh/tests pdh_test
18167 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18168 wine_fn_config_dll pidgen enable_pidgen
18169 wine_fn_config_dll powrprof enable_powrprof implib
18170 wine_fn_config_dll printui enable_printui
18171 wine_fn_config_dll prntvpt enable_prntvpt
18172 wine_fn_config_dll propsys enable_propsys clean,implib
18173 wine_fn_config_test dlls/propsys/tests propsys_test
18174 wine_fn_config_dll psapi enable_psapi implib
18175 wine_fn_config_test dlls/psapi/tests psapi_test
18176 wine_fn_config_dll pstorec enable_pstorec clean
18177 wine_fn_config_dll qcap enable_qcap
18178 wine_fn_config_test dlls/qcap/tests qcap_test
18179 wine_fn_config_dll qedit enable_qedit clean
18180 wine_fn_config_test dlls/qedit/tests qedit_test
18181 wine_fn_config_dll qmgr enable_qmgr clean
18182 wine_fn_config_test dlls/qmgr/tests qmgr_test
18183 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18184 wine_fn_config_dll quartz enable_quartz clean,implib
18185 wine_fn_config_test dlls/quartz/tests quartz_test clean
18186 wine_fn_config_dll query enable_query
18187 wine_fn_config_dll rasapi16.dll16 enable_win16
18188 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18189 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18190 wine_fn_config_dll rasdlg enable_rasdlg implib
18191 wine_fn_config_dll regapi enable_regapi
18192 wine_fn_config_dll resutils enable_resutils implib
18193 wine_fn_config_dll riched20 enable_riched20 clean,implib
18194 wine_fn_config_test dlls/riched20/tests riched20_test
18195 wine_fn_config_dll riched32 enable_riched32
18196 wine_fn_config_test dlls/riched32/tests riched32_test
18197 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18198 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18199 wine_fn_config_dll rsabase enable_rsabase
18200 wine_fn_config_dll rsaenh enable_rsaenh implib
18201 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18202 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18203 wine_fn_config_dll rtutils enable_rtutils implib
18204 wine_fn_config_dll samlib enable_samlib
18205 wine_fn_config_dll sane.ds enable_sane_ds clean
18206 wine_fn_config_dll scarddlg enable_scarddlg
18207 wine_fn_config_dll sccbase enable_sccbase
18208 wine_fn_config_dll schannel enable_schannel
18209 wine_fn_config_test dlls/schannel/tests schannel_test
18210 wine_fn_config_dll schedsvc enable_schedsvc clean
18211 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18212 wine_fn_config_dll scrrun enable_scrrun clean
18213 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18214 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18215 wine_fn_config_dll secur32 enable_secur32 implib
18216 wine_fn_config_test dlls/secur32/tests secur32_test
18217 wine_fn_config_dll security enable_security
18218 wine_fn_config_dll sensapi enable_sensapi implib
18219 wine_fn_config_dll serialui enable_serialui clean
18220 wine_fn_config_test dlls/serialui/tests serialui_test
18221 wine_fn_config_dll setupapi enable_setupapi clean,implib
18222 wine_fn_config_test dlls/setupapi/tests setupapi_test
18223 wine_fn_config_dll setupx.dll16 enable_win16
18224 wine_fn_config_dll sfc enable_sfc implib
18225 wine_fn_config_dll sfc_os enable_sfc_os implib
18226 wine_fn_config_dll shdoclc enable_shdoclc clean
18227 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18228 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18229 wine_fn_config_dll shell.dll16 enable_win16
18230 wine_fn_config_dll shell32 enable_shell32 clean,implib
18231 wine_fn_config_test dlls/shell32/tests shell32_test
18232 wine_fn_config_dll shfolder enable_shfolder implib
18233 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18234 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18235 wine_fn_config_dll slbcsp enable_slbcsp
18236 wine_fn_config_dll slc enable_slc implib
18237 wine_fn_config_test dlls/slc/tests slc_test
18238 wine_fn_config_dll snmpapi enable_snmpapi implib
18239 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18240 wine_fn_config_dll softpub enable_softpub
18241 wine_fn_config_dll sound.drv16 enable_win16
18242 wine_fn_config_dll spoolss enable_spoolss implib
18243 wine_fn_config_test dlls/spoolss/tests spoolss_test
18244 wine_fn_config_dll sspicli enable_sspicli
18245 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18246 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18247 wine_fn_config_dll sti enable_sti clean,implib
18248 wine_fn_config_test dlls/sti/tests sti_test
18249 wine_fn_config_dll storage.dll16 enable_win16
18250 wine_fn_config_dll stress.dll16 enable_win16
18251 wine_fn_config_lib strmbase
18252 wine_fn_config_lib strmiids
18253 wine_fn_config_dll svrapi enable_svrapi
18254 wine_fn_config_dll sxs enable_sxs implib
18255 wine_fn_config_test dlls/sxs/tests sxs_test
18256 wine_fn_config_dll system.drv16 enable_win16
18257 wine_fn_config_dll t2embed enable_t2embed implib
18258 wine_fn_config_test dlls/t2embed/tests t2embed_test
18259 wine_fn_config_dll tapi32 enable_tapi32 implib
18260 wine_fn_config_dll taskschd enable_taskschd clean
18261 wine_fn_config_test dlls/taskschd/tests taskschd_test
18262 wine_fn_config_dll tdi.sys enable_tdi_sys
18263 wine_fn_config_dll toolhelp.dll16 enable_win16
18264 wine_fn_config_dll traffic enable_traffic
18265 wine_fn_config_dll twain.dll16 enable_win16
18266 wine_fn_config_dll twain_32 enable_twain_32
18267 wine_fn_config_test dlls/twain_32/tests twain_32_test
18268 wine_fn_config_dll typelib.dll16 enable_win16
18269 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18270 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18271 wine_fn_config_dll unicows enable_unicows implib
18272 wine_fn_config_dll updspapi enable_updspapi
18273 wine_fn_config_dll url enable_url implib
18274 wine_fn_config_dll urlmon enable_urlmon clean,implib
18275 wine_fn_config_test dlls/urlmon/tests urlmon_test
18276 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18277 wine_fn_config_dll user.exe16 enable_win16
18278 wine_fn_config_dll user32 enable_user32 clean,implib
18279 wine_fn_config_test dlls/user32/tests user32_test
18280 wine_fn_config_dll userenv enable_userenv implib
18281 wine_fn_config_test dlls/userenv/tests userenv_test
18282 wine_fn_config_dll usp10 enable_usp10 implib
18283 wine_fn_config_test dlls/usp10/tests usp10_test
18284 wine_fn_config_lib uuid
18285 wine_fn_config_dll uxtheme enable_uxtheme implib
18286 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18287 wine_fn_config_dll vbscript enable_vbscript clean
18288 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18289 wine_fn_config_dll vcomp enable_vcomp
18290 wine_fn_config_test dlls/vcomp/tests vcomp_test
18291 wine_fn_config_dll vcomp100 enable_vcomp100
18292 wine_fn_config_dll vcomp110 enable_vcomp110
18293 wine_fn_config_dll vcomp120 enable_vcomp120
18294 wine_fn_config_dll vcomp140 enable_vcomp140
18295 wine_fn_config_dll vcomp90 enable_vcomp90
18296 wine_fn_config_dll vcruntime140 enable_vcruntime140
18297 wine_fn_config_dll vdhcp.vxd enable_win16
18298 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18299 wine_fn_config_dll ver.dll16 enable_win16
18300 wine_fn_config_dll version enable_version implib
18301 wine_fn_config_test dlls/version/tests version_test
18302 wine_fn_config_dll vmm.vxd enable_win16
18303 wine_fn_config_dll vnbt.vxd enable_win16
18304 wine_fn_config_dll vnetbios.vxd enable_win16
18305 wine_fn_config_dll vssapi enable_vssapi
18306 wine_fn_config_dll vtdapi.vxd enable_win16
18307 wine_fn_config_dll vwin32.vxd enable_win16
18308 wine_fn_config_dll w32skrnl enable_win16
18309 wine_fn_config_dll w32sys.dll16 enable_win16
18310 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18311 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18312 wine_fn_config_dll wbemprox enable_wbemprox clean
18313 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18314 wine_fn_config_dll webservices enable_webservices implib
18315 wine_fn_config_test dlls/webservices/tests webservices_test
18316 wine_fn_config_dll wer enable_wer implib
18317 wine_fn_config_test dlls/wer/tests wer_test
18318 wine_fn_config_dll wevtapi enable_wevtapi
18319 wine_fn_config_dll wiaservc enable_wiaservc clean
18320 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18321 wine_fn_config_dll wimgapi enable_wimgapi
18322 wine_fn_config_dll win32s16.dll16 enable_win16
18323 wine_fn_config_dll win87em.dll16 enable_win16
18324 wine_fn_config_dll winaspi.dll16 enable_win16
18325 wine_fn_config_dll windebug.dll16 enable_win16
18326 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18327 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18328 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18329 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18330 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18331 wine_fn_config_dll winebus.sys enable_winebus_sys
18332 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18333 wine_fn_config_lib winecrt0
18334 wine_fn_config_dll wined3d enable_wined3d implib
18335 wine_fn_config_dll winegstreamer enable_winegstreamer
18336 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18337 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18338 wine_fn_config_dll winemapi enable_winemapi
18339 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18340 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18341 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18342 wine_fn_config_dll wineps16.drv16 enable_win16
18343 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18344 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18345 wine_fn_config_dll winex11.drv enable_winex11_drv
18346 wine_fn_config_dll wing.dll16 enable_win16
18347 wine_fn_config_dll wing32 enable_wing32
18348 wine_fn_config_dll winhttp enable_winhttp clean,implib
18349 wine_fn_config_test dlls/winhttp/tests winhttp_test
18350 wine_fn_config_dll wininet enable_wininet clean,implib
18351 wine_fn_config_test dlls/wininet/tests wininet_test
18352 wine_fn_config_dll winmm enable_winmm clean,implib
18353 wine_fn_config_test dlls/winmm/tests winmm_test
18354 wine_fn_config_dll winnls.dll16 enable_win16
18355 wine_fn_config_dll winnls32 enable_winnls32 implib
18356 wine_fn_config_dll winscard enable_winscard implib
18357 wine_fn_config_dll winsock.dll16 enable_win16
18358 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18359 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18360 wine_fn_config_dll winsta enable_winsta
18361 wine_fn_config_dll wintab.dll16 enable_win16
18362 wine_fn_config_dll wintab32 enable_wintab32 implib
18363 wine_fn_config_test dlls/wintab32/tests wintab32_test
18364 wine_fn_config_dll wintrust enable_wintrust implib
18365 wine_fn_config_test dlls/wintrust/tests wintrust_test
18366 wine_fn_config_dll wlanapi enable_wlanapi
18367 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18368 wine_fn_config_test dlls/wldap32/tests wldap32_test
18369 wine_fn_config_dll wmasf enable_wmasf
18370 wine_fn_config_dll wmi enable_wmi
18371 wine_fn_config_dll wmiutils enable_wmiutils clean
18372 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18373 wine_fn_config_dll wmp enable_wmp clean
18374 wine_fn_config_test dlls/wmp/tests wmp_test
18375 wine_fn_config_dll wmvcore enable_wmvcore
18376 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18377 wine_fn_config_dll wow32 enable_win16 implib
18378 wine_fn_config_dll wpc enable_wpc clean
18379 wine_fn_config_test dlls/wpc/tests wpc_test
18380 wine_fn_config_dll wpcap enable_wpcap
18381 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18382 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18383 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18384 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18385 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18386 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18387 wine_fn_config_dll wsock32 enable_wsock32 implib
18388 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18389 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18390 wine_fn_config_dll wuapi enable_wuapi clean
18391 wine_fn_config_dll wuaueng enable_wuaueng
18392 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18393 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18394 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18395 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18396 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18397 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18398 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18399 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18400 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18401 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18402 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18403 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18404 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18405 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18406 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18407 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18408 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18409 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18410 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18411 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18412 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18413 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18414 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18415 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18416 wine_fn_config_dll xinput1_1 enable_xinput1_1
18417 wine_fn_config_dll xinput1_2 enable_xinput1_2
18418 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18419 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18420 wine_fn_config_dll xinput1_4 enable_xinput1_4
18421 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18422 wine_fn_config_dll xmllite enable_xmllite implib
18423 wine_fn_config_test dlls/xmllite/tests xmllite_test
18424 wine_fn_config_dll xolehlp enable_xolehlp
18425 wine_fn_config_dll xpsprint enable_xpsprint
18426 wine_fn_config_dll xpssvcs enable_xpssvcs
18427 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18428 wine_fn_config_makefile include enable_include clean,install-dev
18429 wine_fn_config_makefile libs/port enable_libs_port
18430 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18431 wine_fn_config_makefile libs/wpp enable_libs_wpp
18432 wine_fn_config_makefile loader enable_loader clean,install-lib
18433 wine_fn_config_makefile po enable_po clean
18434 wine_fn_config_program arp enable_arp install
18435 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18436 wine_fn_config_program attrib enable_attrib clean,install
18437 wine_fn_config_program cabarc enable_cabarc install
18438 wine_fn_config_program cacls enable_cacls install
18439 wine_fn_config_program clock enable_clock clean,install
18440 wine_fn_config_program cmd enable_cmd clean,install
18441 wine_fn_config_test programs/cmd/tests cmd.exe_test
18442 wine_fn_config_program conhost enable_conhost install
18443 wine_fn_config_program control enable_control install
18444 wine_fn_config_program cscript enable_cscript clean,install
18445 wine_fn_config_program dpnsvr enable_dpnsvr install
18446 wine_fn_config_program dxdiag enable_dxdiag clean,install
18447 wine_fn_config_program eject enable_eject install
18448 wine_fn_config_program expand enable_expand install
18449 wine_fn_config_program explorer enable_explorer clean,install
18450 wine_fn_config_program extrac32 enable_extrac32 install
18451 wine_fn_config_program findstr enable_findstr install
18452 wine_fn_config_program fsutil enable_fsutil install
18453 wine_fn_config_program hh enable_hh install
18454 wine_fn_config_program hostname enable_hostname clean,install
18455 wine_fn_config_program icacls enable_icacls install
18456 wine_fn_config_program icinfo enable_icinfo install
18457 wine_fn_config_program iexplore enable_iexplore install
18458 wine_fn_config_program ipconfig enable_ipconfig clean,install
18459 wine_fn_config_program lodctr enable_lodctr install
18460 wine_fn_config_program mofcomp enable_mofcomp install
18461 wine_fn_config_program mshta enable_mshta install
18462 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18463 wine_fn_config_program msinfo32 enable_msinfo32 install
18464 wine_fn_config_program net enable_net clean,install
18465 wine_fn_config_program netsh enable_netsh install
18466 wine_fn_config_program netstat enable_netstat clean,install
18467 wine_fn_config_program ngen enable_ngen install
18468 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18469 wine_fn_config_program oleview enable_oleview clean,install
18470 wine_fn_config_program ping enable_ping install
18471 wine_fn_config_program plugplay enable_plugplay install
18472 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18473 wine_fn_config_program progman enable_progman clean,install
18474 wine_fn_config_program reg enable_reg clean,install
18475 wine_fn_config_test programs/reg/tests reg.exe_test
18476 wine_fn_config_program regasm enable_regasm install
18477 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18478 wine_fn_config_test programs/regedit/tests regedit.exe_test
18479 wine_fn_config_program regsvcs enable_regsvcs install
18480 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18481 wine_fn_config_program rpcss enable_rpcss clean,install
18482 wine_fn_config_program rundll.exe16 enable_win16 install
18483 wine_fn_config_program rundll32 enable_rundll32 install
18484 wine_fn_config_program sc enable_sc install
18485 wine_fn_config_program schtasks enable_schtasks install
18486 wine_fn_config_program sdbinst enable_sdbinst install
18487 wine_fn_config_program secedit enable_secedit install
18488 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18489 wine_fn_config_program services enable_services clean,install
18490 wine_fn_config_test programs/services/tests services.exe_test
18491 wine_fn_config_program shutdown enable_shutdown install
18492 wine_fn_config_program spoolsv enable_spoolsv install
18493 wine_fn_config_program start enable_start clean,install
18494 wine_fn_config_program subst enable_subst install
18495 wine_fn_config_program svchost enable_svchost install
18496 wine_fn_config_program systeminfo enable_systeminfo install
18497 wine_fn_config_program taskkill enable_taskkill clean,install
18498 wine_fn_config_program tasklist enable_tasklist install
18499 wine_fn_config_program taskmgr enable_taskmgr clean,install
18500 wine_fn_config_program termsv enable_termsv install
18501 wine_fn_config_program uninstaller enable_uninstaller clean,install
18502 wine_fn_config_program unlodctr enable_unlodctr install
18503 wine_fn_config_program view enable_view clean,install
18504 wine_fn_config_program wevtutil enable_wevtutil install
18505 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18506 wine_fn_config_program winebrowser enable_winebrowser install
18507 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18508 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18509 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18510 wine_fn_config_program winedevice enable_winedevice install
18511 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18512 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18513 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18514 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18515 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18516 wine_fn_config_program winetest enable_winetest clean
18517 wine_fn_config_program winevdm enable_win16 install
18518 wine_fn_config_program winhelp.exe16 enable_win16 install
18519 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18520 wine_fn_config_program winoldap.mod16 enable_win16 install
18521 wine_fn_config_program winver enable_winver install
18522 wine_fn_config_program wmic enable_wmic clean,install
18523 wine_fn_config_program wmplayer enable_wmplayer install
18524 wine_fn_config_program wordpad enable_wordpad clean,install
18525 wine_fn_config_program write enable_write clean,install
18526 wine_fn_config_program wscript enable_wscript clean,install
18527 wine_fn_config_test programs/wscript/tests wscript.exe_test
18528 wine_fn_config_program wusa enable_wusa install
18529 wine_fn_config_program xcopy enable_xcopy clean,install
18530 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18531 wine_fn_config_makefile server enable_server clean,install-lib
18532 wine_fn_config_tool tools clean
18533 wine_fn_config_tool tools/sfnt2fon clean
18534 wine_fn_config_tool tools/widl clean,install-dev
18535 wine_fn_config_tool tools/winebuild clean,install-dev
18536 wine_fn_config_tool tools/winedump clean,install-dev
18537 wine_fn_config_tool tools/winegcc clean,install-dev
18538 wine_fn_config_tool tools/winemaker clean,install-dev
18539 wine_fn_config_tool tools/wmc clean,install-dev
18540 wine_fn_config_tool tools/wrc clean,install-dev
18543 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18544 wine_fn_append_file CONFIGURE_TARGETS "tags"
18545 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18546 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18547 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18548 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18549 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18550 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18552 if test "x$enable_tools" != xno
18553 then
18554 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18555 ac_config_commands="$ac_config_commands tools/makedep"
18559 ac_config_commands="$ac_config_commands Makefile"
18562 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18566 if test "x$enable_maintainer_mode" = xyes
18567 then
18568 wine_fn_append_rule "configure: configure.ac aclocal.m4
18569 autoconf --warnings=all
18570 include/config.h.in: include/stamp-h.in
18571 include/stamp-h.in: configure.ac aclocal.m4
18572 autoheader --warnings=all
18573 @echo timestamp > \$@"
18576 if test "x$enable_tools" != xno
18577 then
18578 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18579 @./config.status tools/makedep
18580 Makefile: tools/makedep$ac_exeext"
18581 else
18582 wine_fn_append_rule "\$(MAKEDEP):
18583 @echo \"You need to run make in $TOOLSDIR first\" && false"
18586 if test -n "$with_wine64"
18587 then
18588 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18589 fonts server:
18590 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18591 $with_wine64/loader/wine:
18592 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18593 $with_wine64/loader/wine-preloader:
18594 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18595 clean::
18596 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18597 else
18598 WINELOADER_INSTALL="wine.inf"
18600 wine_fn_append_rule "install install-lib::
18601 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18602 uninstall::
18603 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18604 case $host_os in
18605 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18606 *) wine_fn_append_rule "install install-lib::
18607 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18608 uninstall::
18609 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18610 esac
18613 $as_echo " done" >&6
18614 cat >confcache <<\_ACEOF
18615 # This file is a shell script that caches the results of configure
18616 # tests run on this system so they can be shared between configure
18617 # scripts and configure runs, see configure's option --config-cache.
18618 # It is not useful on other systems. If it contains results you don't
18619 # want to keep, you may remove or edit it.
18621 # config.status only pays attention to the cache file if you give it
18622 # the --recheck option to rerun configure.
18624 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18625 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18626 # following values.
18628 _ACEOF
18630 # The following way of writing the cache mishandles newlines in values,
18631 # but we know of no workaround that is simple, portable, and efficient.
18632 # So, we kill variables containing newlines.
18633 # Ultrix sh set writes to stderr and can't be redirected directly,
18634 # and sets the high bit in the cache file unless we assign to the vars.
18636 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18637 eval ac_val=\$$ac_var
18638 case $ac_val in #(
18639 *${as_nl}*)
18640 case $ac_var in #(
18641 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18642 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18643 esac
18644 case $ac_var in #(
18645 _ | IFS | as_nl) ;; #(
18646 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18647 *) { eval $ac_var=; unset $ac_var;} ;;
18648 esac ;;
18649 esac
18650 done
18652 (set) 2>&1 |
18653 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18654 *${as_nl}ac_space=\ *)
18655 # `set' does not quote correctly, so add quotes: double-quote
18656 # substitution turns \\\\ into \\, and sed turns \\ into \.
18657 sed -n \
18658 "s/'/'\\\\''/g;
18659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18660 ;; #(
18662 # `set' quotes correctly as required by POSIX, so do not add quotes.
18663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18665 esac |
18666 sort
18668 sed '
18669 /^ac_cv_env_/b end
18670 t clear
18671 :clear
18672 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18673 t end
18674 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18675 :end' >>confcache
18676 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18677 if test -w "$cache_file"; then
18678 if test "x$cache_file" != "x/dev/null"; then
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18680 $as_echo "$as_me: updating cache $cache_file" >&6;}
18681 if test ! -f "$cache_file" || test -h "$cache_file"; then
18682 cat confcache >"$cache_file"
18683 else
18684 case $cache_file in #(
18685 */* | ?:*)
18686 mv -f confcache "$cache_file"$$ &&
18687 mv -f "$cache_file"$$ "$cache_file" ;; #(
18689 mv -f confcache "$cache_file" ;;
18690 esac
18693 else
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18695 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18698 rm -f confcache
18700 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18701 # Let make expand exec_prefix.
18702 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18704 DEFS=-DHAVE_CONFIG_H
18706 ac_libobjs=
18707 ac_ltlibobjs=
18709 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18710 # 1. Remove the extension, and $U if already installed.
18711 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18712 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18713 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18714 # will be set to the directory where LIBOBJS objects are built.
18715 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18716 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18717 done
18718 LIBOBJS=$ac_libobjs
18720 LTLIBOBJS=$ac_ltlibobjs
18724 : "${CONFIG_STATUS=./config.status}"
18725 ac_write_fail=0
18726 ac_clean_files_save=$ac_clean_files
18727 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18729 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18730 as_write_fail=0
18731 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18732 #! $SHELL
18733 # Generated by $as_me.
18734 # Run this file to recreate the current configuration.
18735 # Compiler output produced by configure, useful for debugging
18736 # configure, is in config.log if it exists.
18738 debug=false
18739 ac_cs_recheck=false
18740 ac_cs_silent=false
18742 SHELL=\${CONFIG_SHELL-$SHELL}
18743 export SHELL
18744 _ASEOF
18745 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18746 ## -------------------- ##
18747 ## M4sh Initialization. ##
18748 ## -------------------- ##
18750 # Be more Bourne compatible
18751 DUALCASE=1; export DUALCASE # for MKS sh
18752 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18753 emulate sh
18754 NULLCMD=:
18755 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18756 # is contrary to our usage. Disable this feature.
18757 alias -g '${1+"$@"}'='"$@"'
18758 setopt NO_GLOB_SUBST
18759 else
18760 case `(set -o) 2>/dev/null` in #(
18761 *posix*) :
18762 set -o posix ;; #(
18763 *) :
18765 esac
18769 as_nl='
18771 export as_nl
18772 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18773 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18774 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18775 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18776 # Prefer a ksh shell builtin over an external printf program on Solaris,
18777 # but without wasting forks for bash or zsh.
18778 if test -z "$BASH_VERSION$ZSH_VERSION" \
18779 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18780 as_echo='print -r --'
18781 as_echo_n='print -rn --'
18782 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18783 as_echo='printf %s\n'
18784 as_echo_n='printf %s'
18785 else
18786 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18787 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18788 as_echo_n='/usr/ucb/echo -n'
18789 else
18790 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18791 as_echo_n_body='eval
18792 arg=$1;
18793 case $arg in #(
18794 *"$as_nl"*)
18795 expr "X$arg" : "X\\(.*\\)$as_nl";
18796 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18797 esac;
18798 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18800 export as_echo_n_body
18801 as_echo_n='sh -c $as_echo_n_body as_echo'
18803 export as_echo_body
18804 as_echo='sh -c $as_echo_body as_echo'
18807 # The user is always right.
18808 if test "${PATH_SEPARATOR+set}" != set; then
18809 PATH_SEPARATOR=:
18810 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18811 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18812 PATH_SEPARATOR=';'
18817 # IFS
18818 # We need space, tab and new line, in precisely that order. Quoting is
18819 # there to prevent editors from complaining about space-tab.
18820 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18821 # splitting by setting IFS to empty value.)
18822 IFS=" "" $as_nl"
18824 # Find who we are. Look in the path if we contain no directory separator.
18825 as_myself=
18826 case $0 in #((
18827 *[\\/]* ) as_myself=$0 ;;
18828 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18829 for as_dir in $PATH
18831 IFS=$as_save_IFS
18832 test -z "$as_dir" && as_dir=.
18833 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18834 done
18835 IFS=$as_save_IFS
18838 esac
18839 # We did not find ourselves, most probably we were run as `sh COMMAND'
18840 # in which case we are not to be found in the path.
18841 if test "x$as_myself" = x; then
18842 as_myself=$0
18844 if test ! -f "$as_myself"; then
18845 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18846 exit 1
18849 # Unset variables that we do not need and which cause bugs (e.g. in
18850 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18851 # suppresses any "Segmentation fault" message there. '((' could
18852 # trigger a bug in pdksh 5.2.14.
18853 for as_var in BASH_ENV ENV MAIL MAILPATH
18854 do eval test x\${$as_var+set} = xset \
18855 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18856 done
18857 PS1='$ '
18858 PS2='> '
18859 PS4='+ '
18861 # NLS nuisances.
18862 LC_ALL=C
18863 export LC_ALL
18864 LANGUAGE=C
18865 export LANGUAGE
18867 # CDPATH.
18868 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18871 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18872 # ----------------------------------------
18873 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18874 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18875 # script with STATUS, using 1 if that was 0.
18876 as_fn_error ()
18878 as_status=$1; test $as_status -eq 0 && as_status=1
18879 if test "$4"; then
18880 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18881 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18883 $as_echo "$as_me: error: $2" >&2
18884 as_fn_exit $as_status
18885 } # as_fn_error
18888 # as_fn_set_status STATUS
18889 # -----------------------
18890 # Set $? to STATUS, without forking.
18891 as_fn_set_status ()
18893 return $1
18894 } # as_fn_set_status
18896 # as_fn_exit STATUS
18897 # -----------------
18898 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18899 as_fn_exit ()
18901 set +e
18902 as_fn_set_status $1
18903 exit $1
18904 } # as_fn_exit
18906 # as_fn_unset VAR
18907 # ---------------
18908 # Portably unset VAR.
18909 as_fn_unset ()
18911 { eval $1=; unset $1;}
18913 as_unset=as_fn_unset
18914 # as_fn_append VAR VALUE
18915 # ----------------------
18916 # Append the text in VALUE to the end of the definition contained in VAR. Take
18917 # advantage of any shell optimizations that allow amortized linear growth over
18918 # repeated appends, instead of the typical quadratic growth present in naive
18919 # implementations.
18920 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18921 eval 'as_fn_append ()
18923 eval $1+=\$2
18925 else
18926 as_fn_append ()
18928 eval $1=\$$1\$2
18930 fi # as_fn_append
18932 # as_fn_arith ARG...
18933 # ------------------
18934 # Perform arithmetic evaluation on the ARGs, and store the result in the
18935 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18936 # must be portable across $(()) and expr.
18937 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18938 eval 'as_fn_arith ()
18940 as_val=$(( $* ))
18942 else
18943 as_fn_arith ()
18945 as_val=`expr "$@" || test $? -eq 1`
18947 fi # as_fn_arith
18950 if expr a : '\(a\)' >/dev/null 2>&1 &&
18951 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18952 as_expr=expr
18953 else
18954 as_expr=false
18957 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18958 as_basename=basename
18959 else
18960 as_basename=false
18963 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18964 as_dirname=dirname
18965 else
18966 as_dirname=false
18969 as_me=`$as_basename -- "$0" ||
18970 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18971 X"$0" : 'X\(//\)$' \| \
18972 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18973 $as_echo X/"$0" |
18974 sed '/^.*\/\([^/][^/]*\)\/*$/{
18975 s//\1/
18978 /^X\/\(\/\/\)$/{
18979 s//\1/
18982 /^X\/\(\/\).*/{
18983 s//\1/
18986 s/.*/./; q'`
18988 # Avoid depending upon Character Ranges.
18989 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18990 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18991 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18992 as_cr_digits='0123456789'
18993 as_cr_alnum=$as_cr_Letters$as_cr_digits
18995 ECHO_C= ECHO_N= ECHO_T=
18996 case `echo -n x` in #(((((
18997 -n*)
18998 case `echo 'xy\c'` in
18999 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19000 xy) ECHO_C='\c';;
19001 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19002 ECHO_T=' ';;
19003 esac;;
19005 ECHO_N='-n';;
19006 esac
19008 rm -f conf$$ conf$$.exe conf$$.file
19009 if test -d conf$$.dir; then
19010 rm -f conf$$.dir/conf$$.file
19011 else
19012 rm -f conf$$.dir
19013 mkdir conf$$.dir 2>/dev/null
19015 if (echo >conf$$.file) 2>/dev/null; then
19016 if ln -s conf$$.file conf$$ 2>/dev/null; then
19017 as_ln_s='ln -s'
19018 # ... but there are two gotchas:
19019 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19020 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19021 # In both cases, we have to default to `cp -pR'.
19022 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19023 as_ln_s='cp -pR'
19024 elif ln conf$$.file conf$$ 2>/dev/null; then
19025 as_ln_s=ln
19026 else
19027 as_ln_s='cp -pR'
19029 else
19030 as_ln_s='cp -pR'
19032 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19033 rmdir conf$$.dir 2>/dev/null
19036 # as_fn_mkdir_p
19037 # -------------
19038 # Create "$as_dir" as a directory, including parents if necessary.
19039 as_fn_mkdir_p ()
19042 case $as_dir in #(
19043 -*) as_dir=./$as_dir;;
19044 esac
19045 test -d "$as_dir" || eval $as_mkdir_p || {
19046 as_dirs=
19047 while :; do
19048 case $as_dir in #(
19049 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19050 *) as_qdir=$as_dir;;
19051 esac
19052 as_dirs="'$as_qdir' $as_dirs"
19053 as_dir=`$as_dirname -- "$as_dir" ||
19054 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19055 X"$as_dir" : 'X\(//\)[^/]' \| \
19056 X"$as_dir" : 'X\(//\)$' \| \
19057 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19058 $as_echo X"$as_dir" |
19059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19060 s//\1/
19063 /^X\(\/\/\)[^/].*/{
19064 s//\1/
19067 /^X\(\/\/\)$/{
19068 s//\1/
19071 /^X\(\/\).*/{
19072 s//\1/
19075 s/.*/./; q'`
19076 test -d "$as_dir" && break
19077 done
19078 test -z "$as_dirs" || eval "mkdir $as_dirs"
19079 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19082 } # as_fn_mkdir_p
19083 if mkdir -p . 2>/dev/null; then
19084 as_mkdir_p='mkdir -p "$as_dir"'
19085 else
19086 test -d ./-p && rmdir ./-p
19087 as_mkdir_p=false
19091 # as_fn_executable_p FILE
19092 # -----------------------
19093 # Test if FILE is an executable regular file.
19094 as_fn_executable_p ()
19096 test -f "$1" && test -x "$1"
19097 } # as_fn_executable_p
19098 as_test_x='test -x'
19099 as_executable_p=as_fn_executable_p
19101 # Sed expression to map a string onto a valid CPP name.
19102 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19104 # Sed expression to map a string onto a valid variable name.
19105 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19108 exec 6>&1
19109 ## ----------------------------------- ##
19110 ## Main body of $CONFIG_STATUS script. ##
19111 ## ----------------------------------- ##
19112 _ASEOF
19113 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19116 # Save the log message, to keep $0 and so on meaningful, and to
19117 # report actual input values of CONFIG_FILES etc. instead of their
19118 # values after options handling.
19119 ac_log="
19120 This file was extended by Wine $as_me 1.9.20, which was
19121 generated by GNU Autoconf 2.69. Invocation command line was
19123 CONFIG_FILES = $CONFIG_FILES
19124 CONFIG_HEADERS = $CONFIG_HEADERS
19125 CONFIG_LINKS = $CONFIG_LINKS
19126 CONFIG_COMMANDS = $CONFIG_COMMANDS
19127 $ $0 $@
19129 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19132 _ACEOF
19134 case $ac_config_files in *"
19135 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19136 esac
19138 case $ac_config_headers in *"
19139 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19140 esac
19143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19144 # Files that config.status was made for.
19145 config_files="$ac_config_files"
19146 config_headers="$ac_config_headers"
19147 config_links="$ac_config_links"
19148 config_commands="$ac_config_commands"
19150 _ACEOF
19152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19153 ac_cs_usage="\
19154 \`$as_me' instantiates files and other configuration actions
19155 from templates according to the current configuration. Unless the files
19156 and actions are specified as TAGs, all are instantiated by default.
19158 Usage: $0 [OPTION]... [TAG]...
19160 -h, --help print this help, then exit
19161 -V, --version print version number and configuration settings, then exit
19162 --config print configuration, then exit
19163 -q, --quiet, --silent
19164 do not print progress messages
19165 -d, --debug don't remove temporary files
19166 --recheck update $as_me by reconfiguring in the same conditions
19167 --file=FILE[:TEMPLATE]
19168 instantiate the configuration file FILE
19169 --header=FILE[:TEMPLATE]
19170 instantiate the configuration header FILE
19172 Configuration files:
19173 $config_files
19175 Configuration headers:
19176 $config_headers
19178 Configuration links:
19179 $config_links
19181 Configuration commands:
19182 $config_commands
19184 Report bugs to <wine-devel@winehq.org>.
19185 Wine home page: <http://www.winehq.org>."
19187 _ACEOF
19188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19189 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19190 ac_cs_version="\\
19191 Wine config.status 1.9.20
19192 configured by $0, generated by GNU Autoconf 2.69,
19193 with options \\"\$ac_cs_config\\"
19195 Copyright (C) 2012 Free Software Foundation, Inc.
19196 This config.status script is free software; the Free Software Foundation
19197 gives unlimited permission to copy, distribute and modify it."
19199 ac_pwd='$ac_pwd'
19200 srcdir='$srcdir'
19201 test -n "\$AWK" || AWK=awk
19202 _ACEOF
19204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19205 # The default lists apply if the user does not specify any file.
19206 ac_need_defaults=:
19207 while test $# != 0
19209 case $1 in
19210 --*=?*)
19211 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19212 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19213 ac_shift=:
19215 --*=)
19216 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19217 ac_optarg=
19218 ac_shift=:
19221 ac_option=$1
19222 ac_optarg=$2
19223 ac_shift=shift
19225 esac
19227 case $ac_option in
19228 # Handling of the options.
19229 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19230 ac_cs_recheck=: ;;
19231 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19232 $as_echo "$ac_cs_version"; exit ;;
19233 --config | --confi | --conf | --con | --co | --c )
19234 $as_echo "$ac_cs_config"; exit ;;
19235 --debug | --debu | --deb | --de | --d | -d )
19236 debug=: ;;
19237 --file | --fil | --fi | --f )
19238 $ac_shift
19239 case $ac_optarg in
19240 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19241 '') as_fn_error $? "missing file argument" ;;
19242 esac
19243 as_fn_append CONFIG_FILES " '$ac_optarg'"
19244 ac_need_defaults=false;;
19245 --header | --heade | --head | --hea )
19246 $ac_shift
19247 case $ac_optarg in
19248 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19249 esac
19250 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19251 ac_need_defaults=false;;
19252 --he | --h)
19253 # Conflict between --help and --header
19254 as_fn_error $? "ambiguous option: \`$1'
19255 Try \`$0 --help' for more information.";;
19256 --help | --hel | -h )
19257 $as_echo "$ac_cs_usage"; exit ;;
19258 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19259 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19260 ac_cs_silent=: ;;
19262 # This is an error.
19263 -*) as_fn_error $? "unrecognized option: \`$1'
19264 Try \`$0 --help' for more information." ;;
19266 *) as_fn_append ac_config_targets " $1"
19267 ac_need_defaults=false ;;
19269 esac
19270 shift
19271 done
19273 ac_configure_extra_args=
19275 if $ac_cs_silent; then
19276 exec 6>/dev/null
19277 ac_configure_extra_args="$ac_configure_extra_args --silent"
19280 _ACEOF
19281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19282 if \$ac_cs_recheck; then
19283 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19284 shift
19285 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19286 CONFIG_SHELL='$SHELL'
19287 export CONFIG_SHELL
19288 exec "\$@"
19291 _ACEOF
19292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19293 exec 5>>config.log
19295 echo
19296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19297 ## Running $as_me. ##
19298 _ASBOX
19299 $as_echo "$ac_log"
19300 } >&5
19302 _ACEOF
19303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19305 # INIT-COMMANDS
19307 wine_fn_output_makedep ()
19309 as_dir=tools; as_fn_mkdir_p
19310 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19312 wine_fn_output_makefile ()
19314 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19315 `cat $wine_rules_file`
19316 _WINE_EOF
19317 as_fn_error $? "could not create Makefile" "$LINENO" 5
19320 _ACEOF
19322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19324 # Handling of arguments.
19325 for ac_config_target in $ac_config_targets
19327 case $ac_config_target in
19328 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19329 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19330 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19331 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19332 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19333 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19334 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19335 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19336 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19337 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19338 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19339 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19340 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19342 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19343 esac
19344 done
19347 # If the user did not use the arguments to specify the items to instantiate,
19348 # then the envvar interface is used. Set only those that are not.
19349 # We use the long form for the default assignment because of an extremely
19350 # bizarre bug on SunOS 4.1.3.
19351 if $ac_need_defaults; then
19352 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19353 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19354 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19355 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19358 # Have a temporary directory for convenience. Make it in the build tree
19359 # simply because there is no reason against having it here, and in addition,
19360 # creating and moving files from /tmp can sometimes cause problems.
19361 # Hook for its removal unless debugging.
19362 # Note that there is a small window in which the directory will not be cleaned:
19363 # after its creation but before its name has been assigned to `$tmp'.
19364 $debug ||
19366 tmp= ac_tmp=
19367 trap 'exit_status=$?
19368 : "${ac_tmp:=$tmp}"
19369 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19371 trap 'as_fn_exit 1' 1 2 13 15
19373 # Create a (secure) tmp directory for tmp files.
19376 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19377 test -d "$tmp"
19378 } ||
19380 tmp=./conf$$-$RANDOM
19381 (umask 077 && mkdir "$tmp")
19382 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19383 ac_tmp=$tmp
19385 # Set up the scripts for CONFIG_FILES section.
19386 # No need to generate them if there are no CONFIG_FILES.
19387 # This happens for instance with `./config.status config.h'.
19388 if test -n "$CONFIG_FILES"; then
19391 ac_cr=`echo X | tr X '\015'`
19392 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19393 # But we know of no other shell where ac_cr would be empty at this
19394 # point, so we can use a bashism as a fallback.
19395 if test "x$ac_cr" = x; then
19396 eval ac_cr=\$\'\\r\'
19398 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19399 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19400 ac_cs_awk_cr='\\r'
19401 else
19402 ac_cs_awk_cr=$ac_cr
19405 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19406 _ACEOF
19410 echo "cat >conf$$subs.awk <<_ACEOF" &&
19411 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19412 echo "_ACEOF"
19413 } >conf$$subs.sh ||
19414 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19415 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19416 ac_delim='%!_!# '
19417 for ac_last_try in false false false false false :; do
19418 . ./conf$$subs.sh ||
19419 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19421 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19422 if test $ac_delim_n = $ac_delim_num; then
19423 break
19424 elif $ac_last_try; then
19425 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19426 else
19427 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19429 done
19430 rm -f conf$$subs.sh
19432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19433 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19434 _ACEOF
19435 sed -n '
19437 s/^/S["/; s/!.*/"]=/
19440 s/^[^!]*!//
19441 :repl
19442 t repl
19443 s/'"$ac_delim"'$//
19444 t delim
19447 s/\(.\{148\}\)..*/\1/
19448 t more1
19449 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19452 b repl
19453 :more1
19454 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19457 s/.\{148\}//
19458 t nl
19459 :delim
19461 s/\(.\{148\}\)..*/\1/
19462 t more2
19463 s/["\\]/\\&/g; s/^/"/; s/$/"/
19466 :more2
19467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19470 s/.\{148\}//
19471 t delim
19472 ' <conf$$subs.awk | sed '
19473 /^[^""]/{
19475 s/\n//
19477 ' >>$CONFIG_STATUS || ac_write_fail=1
19478 rm -f conf$$subs.awk
19479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19480 _ACAWK
19481 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19482 for (key in S) S_is_set[key] = 1
19483 FS = "\a"
19487 line = $ 0
19488 nfields = split(line, field, "@")
19489 substed = 0
19490 len = length(field[1])
19491 for (i = 2; i < nfields; i++) {
19492 key = field[i]
19493 keylen = length(key)
19494 if (S_is_set[key]) {
19495 value = S[key]
19496 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19497 len += length(value) + length(field[++i])
19498 substed = 1
19499 } else
19500 len += 1 + keylen
19503 print line
19506 _ACAWK
19507 _ACEOF
19508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19509 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19510 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19511 else
19513 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19514 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19515 _ACEOF
19517 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19518 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19519 # trailing colons and then remove the whole line if VPATH becomes empty
19520 # (actually we leave an empty line to preserve line numbers).
19521 if test "x$srcdir" = x.; then
19522 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19524 s///
19525 s/^/:/
19526 s/[ ]*$/:/
19527 s/:\$(srcdir):/:/g
19528 s/:\${srcdir}:/:/g
19529 s/:@srcdir@:/:/g
19530 s/^:*//
19531 s/:*$//
19533 s/\(=[ ]*\).*/\1/
19535 s/\n//
19536 s/^[^=]*=[ ]*$//
19540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19541 fi # test -n "$CONFIG_FILES"
19543 # Set up the scripts for CONFIG_HEADERS section.
19544 # No need to generate them if there are no CONFIG_HEADERS.
19545 # This happens for instance with `./config.status Makefile'.
19546 if test -n "$CONFIG_HEADERS"; then
19547 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19548 BEGIN {
19549 _ACEOF
19551 # Transform confdefs.h into an awk script `defines.awk', embedded as
19552 # here-document in config.status, that substitutes the proper values into
19553 # config.h.in to produce config.h.
19555 # Create a delimiter string that does not exist in confdefs.h, to ease
19556 # handling of long lines.
19557 ac_delim='%!_!# '
19558 for ac_last_try in false false :; do
19559 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19560 if test -z "$ac_tt"; then
19561 break
19562 elif $ac_last_try; then
19563 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19564 else
19565 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19567 done
19569 # For the awk script, D is an array of macro values keyed by name,
19570 # likewise P contains macro parameters if any. Preserve backslash
19571 # newline sequences.
19573 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19574 sed -n '
19575 s/.\{148\}/&'"$ac_delim"'/g
19576 t rset
19577 :rset
19578 s/^[ ]*#[ ]*define[ ][ ]*/ /
19579 t def
19581 :def
19582 s/\\$//
19583 t bsnl
19584 s/["\\]/\\&/g
19585 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19586 D["\1"]=" \3"/p
19587 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19589 :bsnl
19590 s/["\\]/\\&/g
19591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19592 D["\1"]=" \3\\\\\\n"\\/p
19593 t cont
19594 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19595 t cont
19597 :cont
19599 s/.\{148\}/&'"$ac_delim"'/g
19600 t clear
19601 :clear
19602 s/\\$//
19603 t bsnlc
19604 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19606 :bsnlc
19607 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19608 b cont
19609 ' <confdefs.h | sed '
19610 s/'"$ac_delim"'/"\\\
19611 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19614 for (key in D) D_is_set[key] = 1
19615 FS = "\a"
19617 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19618 line = \$ 0
19619 split(line, arg, " ")
19620 if (arg[1] == "#") {
19621 defundef = arg[2]
19622 mac1 = arg[3]
19623 } else {
19624 defundef = substr(arg[1], 2)
19625 mac1 = arg[2]
19627 split(mac1, mac2, "(") #)
19628 macro = mac2[1]
19629 prefix = substr(line, 1, index(line, defundef) - 1)
19630 if (D_is_set[macro]) {
19631 # Preserve the white space surrounding the "#".
19632 print prefix "define", macro P[macro] D[macro]
19633 next
19634 } else {
19635 # Replace #undef with comments. This is necessary, for example,
19636 # in the case of _POSIX_SOURCE, which is predefined and required
19637 # on some systems where configure will not decide to define it.
19638 if (defundef == "undef") {
19639 print "/*", prefix defundef, macro, "*/"
19640 next
19644 { print }
19645 _ACAWK
19646 _ACEOF
19647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19648 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19649 fi # test -n "$CONFIG_HEADERS"
19652 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19653 shift
19654 for ac_tag
19656 case $ac_tag in
19657 :[FHLC]) ac_mode=$ac_tag; continue;;
19658 esac
19659 case $ac_mode$ac_tag in
19660 :[FHL]*:*);;
19661 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19662 :[FH]-) ac_tag=-:-;;
19663 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19664 esac
19665 ac_save_IFS=$IFS
19666 IFS=:
19667 set x $ac_tag
19668 IFS=$ac_save_IFS
19669 shift
19670 ac_file=$1
19671 shift
19673 case $ac_mode in
19674 :L) ac_source=$1;;
19675 :[FH])
19676 ac_file_inputs=
19677 for ac_f
19679 case $ac_f in
19680 -) ac_f="$ac_tmp/stdin";;
19681 *) # Look for the file first in the build tree, then in the source tree
19682 # (if the path is not absolute). The absolute path cannot be DOS-style,
19683 # because $ac_f cannot contain `:'.
19684 test -f "$ac_f" ||
19685 case $ac_f in
19686 [\\/$]*) false;;
19687 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19688 esac ||
19689 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19690 esac
19691 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19692 as_fn_append ac_file_inputs " '$ac_f'"
19693 done
19695 # Let's still pretend it is `configure' which instantiates (i.e., don't
19696 # use $as_me), people would be surprised to read:
19697 # /* config.h. Generated by config.status. */
19698 configure_input='Generated from '`
19699 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19700 `' by configure.'
19701 if test x"$ac_file" != x-; then
19702 configure_input="$ac_file. $configure_input"
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19704 $as_echo "$as_me: creating $ac_file" >&6;}
19706 # Neutralize special characters interpreted by sed in replacement strings.
19707 case $configure_input in #(
19708 *\&* | *\|* | *\\* )
19709 ac_sed_conf_input=`$as_echo "$configure_input" |
19710 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19711 *) ac_sed_conf_input=$configure_input;;
19712 esac
19714 case $ac_tag in
19715 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19717 esac
19719 esac
19721 ac_dir=`$as_dirname -- "$ac_file" ||
19722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19723 X"$ac_file" : 'X\(//\)[^/]' \| \
19724 X"$ac_file" : 'X\(//\)$' \| \
19725 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19726 $as_echo X"$ac_file" |
19727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19728 s//\1/
19731 /^X\(\/\/\)[^/].*/{
19732 s//\1/
19735 /^X\(\/\/\)$/{
19736 s//\1/
19739 /^X\(\/\).*/{
19740 s//\1/
19743 s/.*/./; q'`
19744 as_dir="$ac_dir"; as_fn_mkdir_p
19745 ac_builddir=.
19747 case "$ac_dir" in
19748 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19750 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19751 # A ".." for each directory in $ac_dir_suffix.
19752 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19753 case $ac_top_builddir_sub in
19754 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19755 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19756 esac ;;
19757 esac
19758 ac_abs_top_builddir=$ac_pwd
19759 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19760 # for backward compatibility:
19761 ac_top_builddir=$ac_top_build_prefix
19763 case $srcdir in
19764 .) # We are building in place.
19765 ac_srcdir=.
19766 ac_top_srcdir=$ac_top_builddir_sub
19767 ac_abs_top_srcdir=$ac_pwd ;;
19768 [\\/]* | ?:[\\/]* ) # Absolute name.
19769 ac_srcdir=$srcdir$ac_dir_suffix;
19770 ac_top_srcdir=$srcdir
19771 ac_abs_top_srcdir=$srcdir ;;
19772 *) # Relative name.
19773 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19774 ac_top_srcdir=$ac_top_build_prefix$srcdir
19775 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19776 esac
19777 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19780 case $ac_mode in
19783 # CONFIG_FILE
19786 _ACEOF
19788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19789 # If the template does not know about datarootdir, expand it.
19790 # FIXME: This hack should be removed a few years after 2.60.
19791 ac_datarootdir_hack=; ac_datarootdir_seen=
19792 ac_sed_dataroot='
19793 /datarootdir/ {
19797 /@datadir@/p
19798 /@docdir@/p
19799 /@infodir@/p
19800 /@localedir@/p
19801 /@mandir@/p'
19802 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19803 *datarootdir*) ac_datarootdir_seen=yes;;
19804 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19806 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19807 _ACEOF
19808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19809 ac_datarootdir_hack='
19810 s&@datadir@&$datadir&g
19811 s&@docdir@&$docdir&g
19812 s&@infodir@&$infodir&g
19813 s&@localedir@&$localedir&g
19814 s&@mandir@&$mandir&g
19815 s&\\\${datarootdir}&$datarootdir&g' ;;
19816 esac
19817 _ACEOF
19819 # Neutralize VPATH when `$srcdir' = `.'.
19820 # Shell code in configure.ac might set extrasub.
19821 # FIXME: do we really want to maintain this feature?
19822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19823 ac_sed_extra="$ac_vpsub
19824 $extrasub
19825 _ACEOF
19826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19828 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19829 s|@configure_input@|$ac_sed_conf_input|;t t
19830 s&@top_builddir@&$ac_top_builddir_sub&;t t
19831 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19832 s&@srcdir@&$ac_srcdir&;t t
19833 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19834 s&@top_srcdir@&$ac_top_srcdir&;t t
19835 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19836 s&@builddir@&$ac_builddir&;t t
19837 s&@abs_builddir@&$ac_abs_builddir&;t t
19838 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19839 $ac_datarootdir_hack
19841 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19842 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19844 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19845 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19846 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19847 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19849 which seems to be undefined. Please make sure it is defined" >&5
19850 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19851 which seems to be undefined. Please make sure it is defined" >&2;}
19853 rm -f "$ac_tmp/stdin"
19854 case $ac_file in
19855 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19856 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19857 esac \
19858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19862 # CONFIG_HEADER
19864 if test x"$ac_file" != x-; then
19866 $as_echo "/* $configure_input */" \
19867 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19868 } >"$ac_tmp/config.h" \
19869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19870 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19872 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19873 else
19874 rm -f "$ac_file"
19875 mv "$ac_tmp/config.h" "$ac_file" \
19876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19878 else
19879 $as_echo "/* $configure_input */" \
19880 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19881 || as_fn_error $? "could not create -" "$LINENO" 5
19886 # CONFIG_LINK
19889 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19891 else
19892 # Prefer the file from the source tree if names are identical.
19893 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19894 ac_source=$srcdir/$ac_source
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19898 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19900 if test ! -r "$ac_source"; then
19901 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19903 rm -f "$ac_file"
19905 # Try a relative symlink, then a hard link, then a copy.
19906 case $ac_source in
19907 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19908 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19909 esac
19910 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19911 ln "$ac_source" "$ac_file" 2>/dev/null ||
19912 cp -p "$ac_source" "$ac_file" ||
19913 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19916 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19917 $as_echo "$as_me: executing $ac_file commands" >&6;}
19919 esac
19922 case $ac_file$ac_mode in
19923 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19924 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19925 "Makefile":C) wine_fn_output_makefile Makefile ;;
19927 esac
19928 done # for ac_tag
19931 as_fn_exit 0
19932 _ACEOF
19933 ac_clean_files=$ac_clean_files_save
19935 test $ac_write_fail = 0 ||
19936 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19939 # configure is writing to config.log, and then calls config.status.
19940 # config.status does its own redirection, appending to config.log.
19941 # Unfortunately, on DOS this fails, as config.log is still kept open
19942 # by configure, so config.status won't be able to write to it; its
19943 # output is simply discarded. So we exec the FD to /dev/null,
19944 # effectively closing config.log, so it can be properly (re)opened and
19945 # appended to by config.status. When coming back to configure, we
19946 # need to make the FD available again.
19947 if test "$no_create" != yes; then
19948 ac_cs_success=:
19949 ac_config_status_args=
19950 test "$silent" = yes &&
19951 ac_config_status_args="$ac_config_status_args --quiet"
19952 exec 5>/dev/null
19953 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19954 exec 5>>config.log
19955 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19956 # would make configure fail if this is the last instruction.
19957 $ac_cs_success || as_fn_exit 1
19959 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19961 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19965 if test "$no_create" = "yes"
19966 then
19967 exit 0
19970 ac_save_IFS="$IFS"
19971 if test "x$wine_notices" != x; then
19972 echo >&6
19973 IFS="|"
19974 for msg in $wine_notices; do
19975 IFS="$ac_save_IFS"
19976 if ${msg:+false} :; then :
19978 else
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19980 $as_echo "$as_me: $msg" >&6;}
19982 done
19984 IFS="|"
19985 for msg in $wine_warnings; do
19986 IFS="$ac_save_IFS"
19987 if ${msg:+false} :; then :
19989 else
19990 echo >&2
19991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19992 $as_echo "$as_me: WARNING: $msg" >&2;}
19994 done
19995 IFS="$ac_save_IFS"
19997 $as_echo "
19998 $as_me: Finished. Do '${ac_make}' to compile Wine.
19999 " >&6