webservices/tests: Use IsEqualGUID() to compare GUIDs.
[wine.git] / configure
blob151704a5152fbbcc85d5bf9af7ce96bfc9bfc37a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.19.
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.19'
584 PACKAGE_STRING='Wine 1.9.19'
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_svchost
1558 enable_systeminfo
1559 enable_taskkill
1560 enable_tasklist
1561 enable_taskmgr
1562 enable_termsv
1563 enable_uninstaller
1564 enable_unlodctr
1565 enable_view
1566 enable_wevtutil
1567 enable_wineboot
1568 enable_winebrowser
1569 enable_winecfg
1570 enable_wineconsole
1571 enable_winedbg
1572 enable_winedevice
1573 enable_winefile
1574 enable_winemenubuilder
1575 enable_winemine
1576 enable_winemsibuilder
1577 enable_winepath
1578 enable_winetest
1579 enable_winhlp32
1580 enable_winver
1581 enable_wmic
1582 enable_wmplayer
1583 enable_wordpad
1584 enable_write
1585 enable_wscript
1586 enable_wusa
1587 enable_xcopy
1588 enable_server
1589 enable_tools
1591 ac_precious_vars='build_alias
1592 host_alias
1593 target_alias
1595 CFLAGS
1596 LDFLAGS
1597 LIBS
1598 CPPFLAGS
1600 CXXFLAGS
1603 XMKMF
1604 XML2_CFLAGS
1605 XML2_LIBS
1606 XSLT_CFLAGS
1607 XSLT_LIBS
1608 DBUS_CFLAGS
1609 DBUS_LIBS
1610 HAL_CFLAGS
1611 HAL_LIBS
1612 GNUTLS_CFLAGS
1613 GNUTLS_LIBS
1614 SANE_CFLAGS
1615 SANE_LIBS
1616 GPHOTO2_CFLAGS
1617 GPHOTO2_LIBS
1618 GPHOTO2_PORT_CFLAGS
1619 GPHOTO2_PORT_LIBS
1620 LCMS2_CFLAGS
1621 LCMS2_LIBS
1622 FREETYPE_CFLAGS
1623 FREETYPE_LIBS
1624 PULSE_CFLAGS
1625 PULSE_LIBS
1626 GSTREAMER_CFLAGS
1627 GSTREAMER_LIBS
1628 UDEV_CFLAGS
1629 UDEV_LIBS
1630 CAPI20_CFLAGS
1631 CAPI20_LIBS
1632 FONTCONFIG_CFLAGS
1633 FONTCONFIG_LIBS
1634 JPEG_CFLAGS
1635 JPEG_LIBS
1636 PNG_CFLAGS
1637 PNG_LIBS
1638 TIFF_CFLAGS
1639 TIFF_LIBS
1640 MPG123_CFLAGS
1641 MPG123_LIBS
1642 NETAPI_CFLAGS
1643 NETAPI_LIBS'
1646 # Initialize some variables set by options.
1647 ac_init_help=
1648 ac_init_version=false
1649 ac_unrecognized_opts=
1650 ac_unrecognized_sep=
1651 # The variables have the same names as the options, with
1652 # dashes changed to underlines.
1653 cache_file=/dev/null
1654 exec_prefix=NONE
1655 no_create=
1656 no_recursion=
1657 prefix=NONE
1658 program_prefix=NONE
1659 program_suffix=NONE
1660 program_transform_name=s,x,x,
1661 silent=
1662 site=
1663 srcdir=
1664 verbose=
1665 x_includes=NONE
1666 x_libraries=NONE
1668 # Installation directory options.
1669 # These are left unexpanded so users can "make install exec_prefix=/foo"
1670 # and all the variables that are supposed to be based on exec_prefix
1671 # by default will actually change.
1672 # Use braces instead of parens because sh, perl, etc. also accept them.
1673 # (The list follows the same order as the GNU Coding Standards.)
1674 bindir='${exec_prefix}/bin'
1675 sbindir='${exec_prefix}/sbin'
1676 libexecdir='${exec_prefix}/libexec'
1677 datarootdir='${prefix}/share'
1678 datadir='${datarootdir}'
1679 sysconfdir='${prefix}/etc'
1680 sharedstatedir='${prefix}/com'
1681 localstatedir='${prefix}/var'
1682 runstatedir='${localstatedir}/run'
1683 includedir='${prefix}/include'
1684 oldincludedir='/usr/include'
1685 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1686 infodir='${datarootdir}/info'
1687 htmldir='${docdir}'
1688 dvidir='${docdir}'
1689 pdfdir='${docdir}'
1690 psdir='${docdir}'
1691 libdir='${exec_prefix}/lib'
1692 localedir='${datarootdir}/locale'
1693 mandir='${datarootdir}/man'
1695 ac_prev=
1696 ac_dashdash=
1697 for ac_option
1699 # If the previous option needs an argument, assign it.
1700 if test -n "$ac_prev"; then
1701 eval $ac_prev=\$ac_option
1702 ac_prev=
1703 continue
1706 case $ac_option in
1707 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1708 *=) ac_optarg= ;;
1709 *) ac_optarg=yes ;;
1710 esac
1712 # Accept the important Cygnus configure options, so we can diagnose typos.
1714 case $ac_dashdash$ac_option in
1716 ac_dashdash=yes ;;
1718 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1719 ac_prev=bindir ;;
1720 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1721 bindir=$ac_optarg ;;
1723 -build | --build | --buil | --bui | --bu)
1724 ac_prev=build_alias ;;
1725 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1726 build_alias=$ac_optarg ;;
1728 -cache-file | --cache-file | --cache-fil | --cache-fi \
1729 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1730 ac_prev=cache_file ;;
1731 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1732 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1733 cache_file=$ac_optarg ;;
1735 --config-cache | -C)
1736 cache_file=config.cache ;;
1738 -datadir | --datadir | --datadi | --datad)
1739 ac_prev=datadir ;;
1740 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1741 datadir=$ac_optarg ;;
1743 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1744 | --dataroo | --dataro | --datar)
1745 ac_prev=datarootdir ;;
1746 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1747 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1748 datarootdir=$ac_optarg ;;
1750 -disable-* | --disable-*)
1751 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1754 as_fn_error $? "invalid feature name: $ac_useropt"
1755 ac_useropt_orig=$ac_useropt
1756 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1759 "enable_$ac_useropt"
1760 "*) ;;
1761 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1762 ac_unrecognized_sep=', ';;
1763 esac
1764 eval enable_$ac_useropt=no ;;
1766 -docdir | --docdir | --docdi | --doc | --do)
1767 ac_prev=docdir ;;
1768 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1769 docdir=$ac_optarg ;;
1771 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1772 ac_prev=dvidir ;;
1773 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1774 dvidir=$ac_optarg ;;
1776 -enable-* | --enable-*)
1777 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1778 # Reject names that are not valid shell variable names.
1779 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1780 as_fn_error $? "invalid feature name: $ac_useropt"
1781 ac_useropt_orig=$ac_useropt
1782 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1783 case $ac_user_opts in
1785 "enable_$ac_useropt"
1786 "*) ;;
1787 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1788 ac_unrecognized_sep=', ';;
1789 esac
1790 eval enable_$ac_useropt=\$ac_optarg ;;
1792 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1793 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1794 | --exec | --exe | --ex)
1795 ac_prev=exec_prefix ;;
1796 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1797 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1798 | --exec=* | --exe=* | --ex=*)
1799 exec_prefix=$ac_optarg ;;
1801 -gas | --gas | --ga | --g)
1802 # Obsolete; use --with-gas.
1803 with_gas=yes ;;
1805 -help | --help | --hel | --he | -h)
1806 ac_init_help=long ;;
1807 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1808 ac_init_help=recursive ;;
1809 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1810 ac_init_help=short ;;
1812 -host | --host | --hos | --ho)
1813 ac_prev=host_alias ;;
1814 -host=* | --host=* | --hos=* | --ho=*)
1815 host_alias=$ac_optarg ;;
1817 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1818 ac_prev=htmldir ;;
1819 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1820 | --ht=*)
1821 htmldir=$ac_optarg ;;
1823 -includedir | --includedir | --includedi | --included | --include \
1824 | --includ | --inclu | --incl | --inc)
1825 ac_prev=includedir ;;
1826 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1827 | --includ=* | --inclu=* | --incl=* | --inc=*)
1828 includedir=$ac_optarg ;;
1830 -infodir | --infodir | --infodi | --infod | --info | --inf)
1831 ac_prev=infodir ;;
1832 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1833 infodir=$ac_optarg ;;
1835 -libdir | --libdir | --libdi | --libd)
1836 ac_prev=libdir ;;
1837 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1838 libdir=$ac_optarg ;;
1840 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1841 | --libexe | --libex | --libe)
1842 ac_prev=libexecdir ;;
1843 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1844 | --libexe=* | --libex=* | --libe=*)
1845 libexecdir=$ac_optarg ;;
1847 -localedir | --localedir | --localedi | --localed | --locale)
1848 ac_prev=localedir ;;
1849 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1850 localedir=$ac_optarg ;;
1852 -localstatedir | --localstatedir | --localstatedi | --localstated \
1853 | --localstate | --localstat | --localsta | --localst | --locals)
1854 ac_prev=localstatedir ;;
1855 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1856 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1857 localstatedir=$ac_optarg ;;
1859 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1860 ac_prev=mandir ;;
1861 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1862 mandir=$ac_optarg ;;
1864 -nfp | --nfp | --nf)
1865 # Obsolete; use --without-fp.
1866 with_fp=no ;;
1868 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1869 | --no-cr | --no-c | -n)
1870 no_create=yes ;;
1872 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1873 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1874 no_recursion=yes ;;
1876 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1877 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1878 | --oldin | --oldi | --old | --ol | --o)
1879 ac_prev=oldincludedir ;;
1880 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1881 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1882 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1883 oldincludedir=$ac_optarg ;;
1885 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1886 ac_prev=prefix ;;
1887 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1888 prefix=$ac_optarg ;;
1890 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1891 | --program-pre | --program-pr | --program-p)
1892 ac_prev=program_prefix ;;
1893 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1894 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1895 program_prefix=$ac_optarg ;;
1897 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1898 | --program-suf | --program-su | --program-s)
1899 ac_prev=program_suffix ;;
1900 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1901 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1902 program_suffix=$ac_optarg ;;
1904 -program-transform-name | --program-transform-name \
1905 | --program-transform-nam | --program-transform-na \
1906 | --program-transform-n | --program-transform- \
1907 | --program-transform | --program-transfor \
1908 | --program-transfo | --program-transf \
1909 | --program-trans | --program-tran \
1910 | --progr-tra | --program-tr | --program-t)
1911 ac_prev=program_transform_name ;;
1912 -program-transform-name=* | --program-transform-name=* \
1913 | --program-transform-nam=* | --program-transform-na=* \
1914 | --program-transform-n=* | --program-transform-=* \
1915 | --program-transform=* | --program-transfor=* \
1916 | --program-transfo=* | --program-transf=* \
1917 | --program-trans=* | --program-tran=* \
1918 | --progr-tra=* | --program-tr=* | --program-t=*)
1919 program_transform_name=$ac_optarg ;;
1921 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1922 ac_prev=pdfdir ;;
1923 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1924 pdfdir=$ac_optarg ;;
1926 -psdir | --psdir | --psdi | --psd | --ps)
1927 ac_prev=psdir ;;
1928 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1929 psdir=$ac_optarg ;;
1931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1932 | -silent | --silent | --silen | --sile | --sil)
1933 silent=yes ;;
1935 -runstatedir | --runstatedir | --runstatedi | --runstated \
1936 | --runstate | --runstat | --runsta | --runst | --runs \
1937 | --run | --ru | --r)
1938 ac_prev=runstatedir ;;
1939 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1940 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1941 | --run=* | --ru=* | --r=*)
1942 runstatedir=$ac_optarg ;;
1944 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1945 ac_prev=sbindir ;;
1946 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1947 | --sbi=* | --sb=*)
1948 sbindir=$ac_optarg ;;
1950 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1951 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1952 | --sharedst | --shareds | --shared | --share | --shar \
1953 | --sha | --sh)
1954 ac_prev=sharedstatedir ;;
1955 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1956 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1957 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1958 | --sha=* | --sh=*)
1959 sharedstatedir=$ac_optarg ;;
1961 -site | --site | --sit)
1962 ac_prev=site ;;
1963 -site=* | --site=* | --sit=*)
1964 site=$ac_optarg ;;
1966 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1967 ac_prev=srcdir ;;
1968 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1969 srcdir=$ac_optarg ;;
1971 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1972 | --syscon | --sysco | --sysc | --sys | --sy)
1973 ac_prev=sysconfdir ;;
1974 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1975 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1976 sysconfdir=$ac_optarg ;;
1978 -target | --target | --targe | --targ | --tar | --ta | --t)
1979 ac_prev=target_alias ;;
1980 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1981 target_alias=$ac_optarg ;;
1983 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1984 verbose=yes ;;
1986 -version | --version | --versio | --versi | --vers | -V)
1987 ac_init_version=: ;;
1989 -with-* | --with-*)
1990 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1991 # Reject names that are not valid shell variable names.
1992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1993 as_fn_error $? "invalid package name: $ac_useropt"
1994 ac_useropt_orig=$ac_useropt
1995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1996 case $ac_user_opts in
1998 "with_$ac_useropt"
1999 "*) ;;
2000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2001 ac_unrecognized_sep=', ';;
2002 esac
2003 eval with_$ac_useropt=\$ac_optarg ;;
2005 -without-* | --without-*)
2006 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2007 # Reject names that are not valid shell variable names.
2008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2009 as_fn_error $? "invalid package name: $ac_useropt"
2010 ac_useropt_orig=$ac_useropt
2011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2012 case $ac_user_opts in
2014 "with_$ac_useropt"
2015 "*) ;;
2016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2017 ac_unrecognized_sep=', ';;
2018 esac
2019 eval with_$ac_useropt=no ;;
2021 --x)
2022 # Obsolete; use --with-x.
2023 with_x=yes ;;
2025 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2026 | --x-incl | --x-inc | --x-in | --x-i)
2027 ac_prev=x_includes ;;
2028 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2029 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2030 x_includes=$ac_optarg ;;
2032 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2033 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2034 ac_prev=x_libraries ;;
2035 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2036 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2037 x_libraries=$ac_optarg ;;
2039 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2040 Try \`$0 --help' for more information"
2043 *=*)
2044 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2045 # Reject names that are not valid shell variable names.
2046 case $ac_envvar in #(
2047 '' | [0-9]* | *[!_$as_cr_alnum]* )
2048 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2049 esac
2050 eval $ac_envvar=\$ac_optarg
2051 export $ac_envvar ;;
2054 # FIXME: should be removed in autoconf 3.0.
2055 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2056 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2057 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2058 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2061 esac
2062 done
2064 if test -n "$ac_prev"; then
2065 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2066 as_fn_error $? "missing argument to $ac_option"
2069 if test -n "$ac_unrecognized_opts"; then
2070 case $enable_option_checking in
2071 no) ;;
2072 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2073 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2074 esac
2077 # Check all directory arguments for consistency.
2078 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2079 datadir sysconfdir sharedstatedir localstatedir includedir \
2080 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2081 libdir localedir mandir runstatedir
2083 eval ac_val=\$$ac_var
2084 # Remove trailing slashes.
2085 case $ac_val in
2086 */ )
2087 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2088 eval $ac_var=\$ac_val;;
2089 esac
2090 # Be sure to have absolute directory names.
2091 case $ac_val in
2092 [\\/$]* | ?:[\\/]* ) continue;;
2093 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2094 esac
2095 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2096 done
2098 # There might be people who depend on the old broken behavior: `$host'
2099 # used to hold the argument of --host etc.
2100 # FIXME: To remove some day.
2101 build=$build_alias
2102 host=$host_alias
2103 target=$target_alias
2105 # FIXME: To remove some day.
2106 if test "x$host_alias" != x; then
2107 if test "x$build_alias" = x; then
2108 cross_compiling=maybe
2109 elif test "x$build_alias" != "x$host_alias"; then
2110 cross_compiling=yes
2114 ac_tool_prefix=
2115 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2117 test "$silent" = yes && exec 6>/dev/null
2120 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2121 ac_ls_di=`ls -di .` &&
2122 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2123 as_fn_error $? "working directory cannot be determined"
2124 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2125 as_fn_error $? "pwd does not report name of working directory"
2128 # Find the source files, if location was not specified.
2129 if test -z "$srcdir"; then
2130 ac_srcdir_defaulted=yes
2131 # Try the directory containing this script, then the parent directory.
2132 ac_confdir=`$as_dirname -- "$as_myself" ||
2133 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2134 X"$as_myself" : 'X\(//\)[^/]' \| \
2135 X"$as_myself" : 'X\(//\)$' \| \
2136 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2137 $as_echo X"$as_myself" |
2138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2139 s//\1/
2142 /^X\(\/\/\)[^/].*/{
2143 s//\1/
2146 /^X\(\/\/\)$/{
2147 s//\1/
2150 /^X\(\/\).*/{
2151 s//\1/
2154 s/.*/./; q'`
2155 srcdir=$ac_confdir
2156 if test ! -r "$srcdir/$ac_unique_file"; then
2157 srcdir=..
2159 else
2160 ac_srcdir_defaulted=no
2162 if test ! -r "$srcdir/$ac_unique_file"; then
2163 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2164 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2166 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2167 ac_abs_confdir=`(
2168 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2169 pwd)`
2170 # When building in place, set srcdir=.
2171 if test "$ac_abs_confdir" = "$ac_pwd"; then
2172 srcdir=.
2174 # Remove unnecessary trailing slashes from srcdir.
2175 # Double slashes in file names in object file debugging info
2176 # mess up M-x gdb in Emacs.
2177 case $srcdir in
2178 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2179 esac
2180 for ac_var in $ac_precious_vars; do
2181 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2182 eval ac_env_${ac_var}_value=\$${ac_var}
2183 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2184 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2185 done
2188 # Report the --help message.
2190 if test "$ac_init_help" = "long"; then
2191 # Omit some internal or obsolete options to make the list less imposing.
2192 # This message is too long to be a string in the A/UX 3.1 sh.
2193 cat <<_ACEOF
2194 \`configure' configures Wine 1.9.19 to adapt to many kinds of systems.
2196 Usage: $0 [OPTION]... [VAR=VALUE]...
2198 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2199 VAR=VALUE. See below for descriptions of some of the useful variables.
2201 Defaults for the options are specified in brackets.
2203 Configuration:
2204 -h, --help display this help and exit
2205 --help=short display options specific to this package
2206 --help=recursive display the short help of all the included packages
2207 -V, --version display version information and exit
2208 -q, --quiet, --silent do not print \`checking ...' messages
2209 --cache-file=FILE cache test results in FILE [disabled]
2210 -C, --config-cache alias for \`--cache-file=config.cache'
2211 -n, --no-create do not create output files
2212 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2214 Installation directories:
2215 --prefix=PREFIX install architecture-independent files in PREFIX
2216 [$ac_default_prefix]
2217 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2218 [PREFIX]
2220 By default, \`make install' will install all the files in
2221 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2222 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2223 for instance \`--prefix=\$HOME'.
2225 For better control, use the options below.
2227 Fine tuning of the installation directories:
2228 --bindir=DIR user executables [EPREFIX/bin]
2229 --sbindir=DIR system admin executables [EPREFIX/sbin]
2230 --libexecdir=DIR program executables [EPREFIX/libexec]
2231 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2232 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2233 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2234 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2235 --libdir=DIR object code libraries [EPREFIX/lib]
2236 --includedir=DIR C header files [PREFIX/include]
2237 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2238 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2239 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2240 --infodir=DIR info documentation [DATAROOTDIR/info]
2241 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2242 --mandir=DIR man documentation [DATAROOTDIR/man]
2243 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2244 --htmldir=DIR html documentation [DOCDIR]
2245 --dvidir=DIR dvi documentation [DOCDIR]
2246 --pdfdir=DIR pdf documentation [DOCDIR]
2247 --psdir=DIR ps documentation [DOCDIR]
2248 _ACEOF
2250 cat <<\_ACEOF
2252 X features:
2253 --x-includes=DIR X include files are in DIR
2254 --x-libraries=DIR X library files are in DIR
2256 System types:
2257 --build=BUILD configure for building on BUILD [guessed]
2258 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2259 _ACEOF
2262 if test -n "$ac_init_help"; then
2263 case $ac_init_help in
2264 short | recursive ) echo "Configuration of Wine 1.9.19:";;
2265 esac
2266 cat <<\_ACEOF
2268 Optional Features:
2269 --disable-option-checking ignore unrecognized --enable/--with options
2270 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2271 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2272 --disable-win16 do not include Win16 support
2273 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2274 binaries)
2275 --disable-tests do not build the regression tests
2276 --enable-maintainer-mode
2277 enable maintainer-specific build rules
2278 --disable-largefile omit support for large files
2280 Optional Packages:
2281 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2282 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2283 --without-alsa do not use the Alsa sound support
2284 --without-capi do not use CAPI (ISDN support)
2285 --without-cms do not use CMS (color management support)
2286 --without-coreaudio do not use the CoreAudio sound support
2287 --without-cups do not use CUPS
2288 --without-curses do not use (n)curses
2289 --without-dbus do not use DBus (dynamic device support)
2290 --without-fontconfig do not use fontconfig
2291 --without-freetype do not use the FreeType library
2292 --without-gettext do not use gettext
2293 --with-gettextpo use the GetTextPO library to rebuild po files
2294 --without-gphoto do not use gphoto (Digital Camera support)
2295 --without-glu do not use the GLU library
2296 --without-gnutls do not use GnuTLS (schannel support)
2297 --without-gsm do not use libgsm (GSM 06.10 codec support)
2298 --without-gstreamer do not use GStreamer (codecs support)
2299 --without-hal do not use HAL (dynamic device support)
2300 --without-jpeg do not use JPEG
2301 --without-ldap do not use LDAP
2302 --without-mpg123 do not use the mpg123 library
2303 --without-netapi do not use the Samba NetAPI library
2304 --without-openal do not use OpenAL
2305 --without-opencl do not use OpenCL
2306 --without-opengl do not use OpenGL
2307 --without-osmesa do not use the OSMesa library
2308 --without-oss do not use the OSS sound support
2309 --without-pcap do not use the Packet Capture library
2310 --without-png do not use PNG
2311 --without-pthread do not use the pthread library
2312 --without-pulse do not use PulseAudio sound support
2313 --without-sane do not use SANE (scanner support)
2314 --without-tiff do not use TIFF
2315 --without-udev do not use udev (plug and play support)
2316 --without-v4l do not use v4l1 (v4l support)
2317 --without-xcomposite do not use the Xcomposite extension
2318 --without-xcursor do not use the Xcursor extension
2319 --without-xinerama do not use Xinerama (multi-monitor support)
2320 --without-xinput do not use the Xinput extension
2321 --without-xinput2 do not use the Xinput 2 extension
2322 --without-xml do not use XML
2323 --without-xrandr do not use Xrandr (resolution changes)
2324 --without-xrender do not use the Xrender extension
2325 --without-xshape do not use the Xshape extension
2326 --without-xshm do not use XShm (shared memory extension)
2327 --without-xslt do not use XSLT
2328 --without-xxf86vm do not use XFree video mode extension
2329 --without-zlib do not use Zlib (data compression)
2330 --with-wine-tools=DIR use Wine tools from directory DIR
2331 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2332 --with-x use the X Window System
2334 Some influential environment variables:
2335 CC C compiler command
2336 CFLAGS C compiler flags
2337 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2338 nonstandard directory <lib dir>
2339 LIBS libraries to pass to the linker, e.g. -l<library>
2340 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2341 you have headers in a nonstandard directory <include dir>
2342 CXX C++ compiler command
2343 CXXFLAGS C++ compiler flags
2344 CPP C preprocessor
2345 XMKMF Path to xmkmf, Makefile generator for X Window System
2346 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2347 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2348 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2349 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2350 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2351 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2352 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2353 HAL_LIBS Linker flags for hal, overriding pkg-config
2354 GNUTLS_CFLAGS
2355 C compiler flags for gnutls, overriding pkg-config
2356 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2357 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2358 SANE_LIBS Linker flags for libsane, overriding pkg-config
2359 GPHOTO2_CFLAGS
2360 C compiler flags for libgphoto2, overriding pkg-config
2361 GPHOTO2_LIBS
2362 Linker flags for libgphoto2, overriding pkg-config
2363 GPHOTO2_PORT_CFLAGS
2364 C compiler flags for libgphoto2_port, overriding pkg-config
2365 GPHOTO2_PORT_LIBS
2366 Linker flags for libgphoto2_port, overriding pkg-config
2367 LCMS2_CFLAGS
2368 C compiler flags for lcms2, overriding pkg-config
2369 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2370 FREETYPE_CFLAGS
2371 C compiler flags for freetype2, overriding pkg-config
2372 FREETYPE_LIBS
2373 Linker flags for freetype2, overriding pkg-config
2374 PULSE_CFLAGS
2375 C compiler flags for libpulse, overriding pkg-config
2376 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2377 GSTREAMER_CFLAGS
2378 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2379 gstreamer-audio-1.0, overriding pkg-config
2380 GSTREAMER_LIBS
2381 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2382 gstreamer-audio-1.0, overriding pkg-config
2383 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2384 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2385 CAPI20_CFLAGS
2386 C compiler flags for capi20, overriding pkg-config
2387 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2388 FONTCONFIG_CFLAGS
2389 C compiler flags for fontconfig, overriding pkg-config
2390 FONTCONFIG_LIBS
2391 Linker flags for fontconfig, overriding pkg-config
2392 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2393 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2394 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2395 PNG_LIBS Linker flags for libpng, overriding pkg-config
2396 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2397 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2398 MPG123_CFLAGS
2399 C compiler flags for libmpg123, overriding pkg-config
2400 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2401 NETAPI_CFLAGS
2402 C compiler flags for netapi, overriding pkg-config
2403 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2405 Use these variables to override the choices made by `configure' or to help
2406 it to find libraries and programs with nonstandard names/locations.
2408 Report bugs to <wine-devel@winehq.org>.
2409 Wine home page: <http://www.winehq.org>.
2410 _ACEOF
2411 ac_status=$?
2414 if test "$ac_init_help" = "recursive"; then
2415 # If there are subdirs, report their specific --help.
2416 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2417 test -d "$ac_dir" ||
2418 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2419 continue
2420 ac_builddir=.
2422 case "$ac_dir" in
2423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2425 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2426 # A ".." for each directory in $ac_dir_suffix.
2427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2428 case $ac_top_builddir_sub in
2429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2431 esac ;;
2432 esac
2433 ac_abs_top_builddir=$ac_pwd
2434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2435 # for backward compatibility:
2436 ac_top_builddir=$ac_top_build_prefix
2438 case $srcdir in
2439 .) # We are building in place.
2440 ac_srcdir=.
2441 ac_top_srcdir=$ac_top_builddir_sub
2442 ac_abs_top_srcdir=$ac_pwd ;;
2443 [\\/]* | ?:[\\/]* ) # Absolute name.
2444 ac_srcdir=$srcdir$ac_dir_suffix;
2445 ac_top_srcdir=$srcdir
2446 ac_abs_top_srcdir=$srcdir ;;
2447 *) # Relative name.
2448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2449 ac_top_srcdir=$ac_top_build_prefix$srcdir
2450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2451 esac
2452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2454 cd "$ac_dir" || { ac_status=$?; continue; }
2455 # Check for guested configure.
2456 if test -f "$ac_srcdir/configure.gnu"; then
2457 echo &&
2458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2459 elif test -f "$ac_srcdir/configure"; then
2460 echo &&
2461 $SHELL "$ac_srcdir/configure" --help=recursive
2462 else
2463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2464 fi || ac_status=$?
2465 cd "$ac_pwd" || { ac_status=$?; break; }
2466 done
2469 test -n "$ac_init_help" && exit $ac_status
2470 if $ac_init_version; then
2471 cat <<\_ACEOF
2472 Wine configure 1.9.19
2473 generated by GNU Autoconf 2.69
2475 Copyright (C) 2012 Free Software Foundation, Inc.
2476 This configure script is free software; the Free Software Foundation
2477 gives unlimited permission to copy, distribute and modify it.
2478 _ACEOF
2479 exit
2482 ## ------------------------ ##
2483 ## Autoconf initialization. ##
2484 ## ------------------------ ##
2486 # ac_fn_c_try_compile LINENO
2487 # --------------------------
2488 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2489 ac_fn_c_try_compile ()
2491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2492 rm -f conftest.$ac_objext
2493 if { { ac_try="$ac_compile"
2494 case "(($ac_try" in
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2497 esac
2498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 $as_echo "$ac_try_echo"; } >&5
2500 (eval "$ac_compile") 2>conftest.err
2501 ac_status=$?
2502 if test -s conftest.err; then
2503 grep -v '^ *+' conftest.err >conftest.er1
2504 cat conftest.er1 >&5
2505 mv -f conftest.er1 conftest.err
2507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2508 test $ac_status = 0; } && {
2509 test -z "$ac_c_werror_flag" ||
2510 test ! -s conftest.err
2511 } && test -s conftest.$ac_objext; then :
2512 ac_retval=0
2513 else
2514 $as_echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2517 ac_retval=1
2519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2520 as_fn_set_status $ac_retval
2522 } # ac_fn_c_try_compile
2524 # ac_fn_cxx_try_compile LINENO
2525 # ----------------------------
2526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2527 ac_fn_cxx_try_compile ()
2529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2530 rm -f conftest.$ac_objext
2531 if { { ac_try="$ac_compile"
2532 case "(($ac_try" in
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2535 esac
2536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_compile") 2>conftest.err
2539 ac_status=$?
2540 if test -s conftest.err; then
2541 grep -v '^ *+' conftest.err >conftest.er1
2542 cat conftest.er1 >&5
2543 mv -f conftest.er1 conftest.err
2545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2546 test $ac_status = 0; } && {
2547 test -z "$ac_cxx_werror_flag" ||
2548 test ! -s conftest.err
2549 } && test -s conftest.$ac_objext; then :
2550 ac_retval=0
2551 else
2552 $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 ac_retval=1
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2558 as_fn_set_status $ac_retval
2560 } # ac_fn_cxx_try_compile
2562 # ac_fn_c_try_link LINENO
2563 # -----------------------
2564 # Try to link conftest.$ac_ext, and return whether this succeeded.
2565 ac_fn_c_try_link ()
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 rm -f conftest.$ac_objext conftest$ac_exeext
2569 if { { ac_try="$ac_link"
2570 case "(($ac_try" in
2571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2573 esac
2574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2575 $as_echo "$ac_try_echo"; } >&5
2576 (eval "$ac_link") 2>conftest.err
2577 ac_status=$?
2578 if test -s conftest.err; then
2579 grep -v '^ *+' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2581 mv -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; } && {
2585 test -z "$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest$ac_exeext && {
2588 test "$cross_compiling" = yes ||
2589 test -x conftest$ac_exeext
2590 }; then :
2591 ac_retval=0
2592 else
2593 $as_echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2596 ac_retval=1
2598 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2599 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2600 # interfere with the next link command; also delete a directory that is
2601 # left behind by Apple's compiler. We do this before executing the actions.
2602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 as_fn_set_status $ac_retval
2606 } # ac_fn_c_try_link
2608 # ac_fn_c_try_cpp LINENO
2609 # ----------------------
2610 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2611 ac_fn_c_try_cpp ()
2613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2614 if { { ac_try="$ac_cpp conftest.$ac_ext"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2622 ac_status=$?
2623 if test -s conftest.err; then
2624 grep -v '^ *+' conftest.err >conftest.er1
2625 cat conftest.er1 >&5
2626 mv -f conftest.er1 conftest.err
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } > conftest.i && {
2630 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 }; then :
2633 ac_retval=0
2634 else
2635 $as_echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.$ac_ext >&5
2638 ac_retval=1
2640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2641 as_fn_set_status $ac_retval
2643 } # ac_fn_c_try_cpp
2645 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2646 # -------------------------------------------------------
2647 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2648 # the include files in INCLUDES and setting the cache variable VAR
2649 # accordingly.
2650 ac_fn_c_check_header_mongrel ()
2652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2653 if eval \${$3+:} false; then :
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2655 $as_echo_n "checking for $2... " >&6; }
2656 if eval \${$3+:} false; then :
2657 $as_echo_n "(cached) " >&6
2659 eval ac_res=\$$3
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2661 $as_echo "$ac_res" >&6; }
2662 else
2663 # Is the header compilable?
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2665 $as_echo_n "checking $2 usability... " >&6; }
2666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2669 #include <$2>
2670 _ACEOF
2671 if ac_fn_c_try_compile "$LINENO"; then :
2672 ac_header_compiler=yes
2673 else
2674 ac_header_compiler=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2678 $as_echo "$ac_header_compiler" >&6; }
2680 # Is the header present?
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2682 $as_echo_n "checking $2 presence... " >&6; }
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2685 #include <$2>
2686 _ACEOF
2687 if ac_fn_c_try_cpp "$LINENO"; then :
2688 ac_header_preproc=yes
2689 else
2690 ac_header_preproc=no
2692 rm -f conftest.err conftest.i conftest.$ac_ext
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2694 $as_echo "$ac_header_preproc" >&6; }
2696 # So? What about this header?
2697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2698 yes:no: )
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2700 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2704 no:yes:* )
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2706 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2708 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2710 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2712 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2714 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2715 ( $as_echo "## ------------------------------------ ##
2716 ## Report this to wine-devel@winehq.org ##
2717 ## ------------------------------------ ##"
2718 ) | sed "s/^/$as_me: WARNING: /" >&2
2720 esac
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2722 $as_echo_n "checking for $2... " >&6; }
2723 if eval \${$3+:} false; then :
2724 $as_echo_n "(cached) " >&6
2725 else
2726 eval "$3=\$ac_header_compiler"
2728 eval ac_res=\$$3
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2730 $as_echo "$ac_res" >&6; }
2732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2734 } # ac_fn_c_check_header_mongrel
2736 # ac_fn_c_try_run LINENO
2737 # ----------------------
2738 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2739 # that executables *can* be run.
2740 ac_fn_c_try_run ()
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 if { { ac_try="$ac_link"
2744 case "(($ac_try" in
2745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2747 esac
2748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2749 $as_echo "$ac_try_echo"; } >&5
2750 (eval "$ac_link") 2>&5
2751 ac_status=$?
2752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2754 { { case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_try") 2>&5
2761 ac_status=$?
2762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2763 test $ac_status = 0; }; }; then :
2764 ac_retval=0
2765 else
2766 $as_echo "$as_me: program exited with status $ac_status" >&5
2767 $as_echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2770 ac_retval=$ac_status
2772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2773 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2774 as_fn_set_status $ac_retval
2776 } # ac_fn_c_try_run
2778 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2779 # -------------------------------------------------------
2780 # Tests whether HEADER exists and can be compiled using the include files in
2781 # INCLUDES, setting the cache variable VAR accordingly.
2782 ac_fn_c_check_header_compile ()
2784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2786 $as_echo_n "checking for $2... " >&6; }
2787 if eval \${$3+:} false; then :
2788 $as_echo_n "(cached) " >&6
2789 else
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2793 #include <$2>
2794 _ACEOF
2795 if ac_fn_c_try_compile "$LINENO"; then :
2796 eval "$3=yes"
2797 else
2798 eval "$3=no"
2800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802 eval ac_res=\$$3
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2804 $as_echo "$ac_res" >&6; }
2805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2807 } # ac_fn_c_check_header_compile
2809 # ac_fn_c_check_func LINENO FUNC VAR
2810 # ----------------------------------
2811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2812 ac_fn_c_check_func ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2816 $as_echo_n "checking for $2... " >&6; }
2817 if eval \${$3+:} false; then :
2818 $as_echo_n "(cached) " >&6
2819 else
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2822 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2824 #define $2 innocuous_$2
2826 /* System header to define __stub macros and hopefully few prototypes,
2827 which can conflict with char $2 (); below.
2828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2829 <limits.h> exists even on freestanding compilers. */
2831 #ifdef __STDC__
2832 # include <limits.h>
2833 #else
2834 # include <assert.h>
2835 #endif
2837 #undef $2
2839 /* Override any GCC internal prototype to avoid an error.
2840 Use char because int might match the return type of a GCC
2841 builtin and then its argument prototype would still apply. */
2842 #ifdef __cplusplus
2843 extern "C"
2844 #endif
2845 char $2 ();
2846 /* The GNU C library defines this for functions which it implements
2847 to always fail with ENOSYS. Some functions are actually named
2848 something starting with __ and the normal name is an alias. */
2849 #if defined __stub_$2 || defined __stub___$2
2850 choke me
2851 #endif
2854 main ()
2856 return $2 ();
2858 return 0;
2860 _ACEOF
2861 if ac_fn_c_try_link "$LINENO"; then :
2862 eval "$3=yes"
2863 else
2864 eval "$3=no"
2866 rm -f core conftest.err conftest.$ac_objext \
2867 conftest$ac_exeext conftest.$ac_ext
2869 eval ac_res=\$$3
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2871 $as_echo "$ac_res" >&6; }
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 } # ac_fn_c_check_func
2876 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2877 # ----------------------------------------------------
2878 # Tries to find if the field MEMBER exists in type AGGR, after including
2879 # INCLUDES, setting cache variable VAR accordingly.
2880 ac_fn_c_check_member ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2884 $as_echo_n "checking for $2.$3... " >&6; }
2885 if eval \${$4+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2892 main ()
2894 static $2 ac_aggr;
2895 if (ac_aggr.$3)
2896 return 0;
2898 return 0;
2900 _ACEOF
2901 if ac_fn_c_try_compile "$LINENO"; then :
2902 eval "$4=yes"
2903 else
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2908 main ()
2910 static $2 ac_aggr;
2911 if (sizeof ac_aggr.$3)
2912 return 0;
2914 return 0;
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 eval "$4=yes"
2919 else
2920 eval "$4=no"
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 eval ac_res=\$$4
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2928 $as_echo "$ac_res" >&6; }
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 } # ac_fn_c_check_member
2933 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2934 # -------------------------------------------
2935 # Tests whether TYPE exists after having included INCLUDES, setting cache
2936 # variable VAR accordingly.
2937 ac_fn_c_check_type ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2941 $as_echo_n "checking for $2... " >&6; }
2942 if eval \${$3+:} false; then :
2943 $as_echo_n "(cached) " >&6
2944 else
2945 eval "$3=no"
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2950 main ()
2952 if (sizeof ($2))
2953 return 0;
2955 return 0;
2957 _ACEOF
2958 if ac_fn_c_try_compile "$LINENO"; then :
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2963 main ()
2965 if (sizeof (($2)))
2966 return 0;
2968 return 0;
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2973 else
2974 eval "$3=yes"
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 eval ac_res=\$$3
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_type
2986 cat >config.log <<_ACEOF
2987 This file contains any messages produced by compilers while
2988 running configure, to aid debugging if configure makes a mistake.
2990 It was created by Wine $as_me 1.9.19, which was
2991 generated by GNU Autoconf 2.69. Invocation command line was
2993 $ $0 $@
2995 _ACEOF
2996 exec 5>>config.log
2998 cat <<_ASUNAME
2999 ## --------- ##
3000 ## Platform. ##
3001 ## --------- ##
3003 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3004 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3005 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3006 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3007 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3009 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3010 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3012 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3013 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3014 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3015 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3016 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3017 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3018 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3020 _ASUNAME
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3025 IFS=$as_save_IFS
3026 test -z "$as_dir" && as_dir=.
3027 $as_echo "PATH: $as_dir"
3028 done
3029 IFS=$as_save_IFS
3031 } >&5
3033 cat >&5 <<_ACEOF
3036 ## ----------- ##
3037 ## Core tests. ##
3038 ## ----------- ##
3040 _ACEOF
3043 # Keep a trace of the command line.
3044 # Strip out --no-create and --no-recursion so they do not pile up.
3045 # Strip out --silent because we don't want to record it for future runs.
3046 # Also quote any args containing shell meta-characters.
3047 # Make two passes to allow for proper duplicate-argument suppression.
3048 ac_configure_args=
3049 ac_configure_args0=
3050 ac_configure_args1=
3051 ac_must_keep_next=false
3052 for ac_pass in 1 2
3054 for ac_arg
3056 case $ac_arg in
3057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3059 | -silent | --silent | --silen | --sile | --sil)
3060 continue ;;
3061 *\'*)
3062 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3063 esac
3064 case $ac_pass in
3065 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3067 as_fn_append ac_configure_args1 " '$ac_arg'"
3068 if test $ac_must_keep_next = true; then
3069 ac_must_keep_next=false # Got value, back to normal.
3070 else
3071 case $ac_arg in
3072 *=* | --config-cache | -C | -disable-* | --disable-* \
3073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3075 | -with-* | --with-* | -without-* | --without-* | --x)
3076 case "$ac_configure_args0 " in
3077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3078 esac
3080 -* ) ac_must_keep_next=true ;;
3081 esac
3083 as_fn_append ac_configure_args " '$ac_arg'"
3085 esac
3086 done
3087 done
3088 { ac_configure_args0=; unset ac_configure_args0;}
3089 { ac_configure_args1=; unset ac_configure_args1;}
3091 # When interrupted or exit'd, cleanup temporary files, and complete
3092 # config.log. We remove comments because anyway the quotes in there
3093 # would cause problems or look ugly.
3094 # WARNING: Use '\'' to represent an apostrophe within the trap.
3095 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3096 trap 'exit_status=$?
3097 # Save into config.log some information that might help in debugging.
3099 echo
3101 $as_echo "## ---------------- ##
3102 ## Cache variables. ##
3103 ## ---------------- ##"
3104 echo
3105 # The following way of writing the cache mishandles newlines in values,
3107 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3108 eval ac_val=\$$ac_var
3109 case $ac_val in #(
3110 *${as_nl}*)
3111 case $ac_var in #(
3112 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3113 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3114 esac
3115 case $ac_var in #(
3116 _ | IFS | as_nl) ;; #(
3117 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3118 *) { eval $ac_var=; unset $ac_var;} ;;
3119 esac ;;
3120 esac
3121 done
3122 (set) 2>&1 |
3123 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3124 *${as_nl}ac_space=\ *)
3125 sed -n \
3126 "s/'\''/'\''\\\\'\'''\''/g;
3127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3128 ;; #(
3130 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3132 esac |
3133 sort
3135 echo
3137 $as_echo "## ----------------- ##
3138 ## Output variables. ##
3139 ## ----------------- ##"
3140 echo
3141 for ac_var in $ac_subst_vars
3143 eval ac_val=\$$ac_var
3144 case $ac_val in
3145 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3146 esac
3147 $as_echo "$ac_var='\''$ac_val'\''"
3148 done | sort
3149 echo
3151 if test -n "$ac_subst_files"; then
3152 $as_echo "## ------------------- ##
3153 ## File substitutions. ##
3154 ## ------------------- ##"
3155 echo
3156 for ac_var in $ac_subst_files
3158 eval ac_val=\$$ac_var
3159 case $ac_val in
3160 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3161 esac
3162 $as_echo "$ac_var='\''$ac_val'\''"
3163 done | sort
3164 echo
3167 if test -s confdefs.h; then
3168 $as_echo "## ----------- ##
3169 ## confdefs.h. ##
3170 ## ----------- ##"
3171 echo
3172 cat confdefs.h
3173 echo
3175 test "$ac_signal" != 0 &&
3176 $as_echo "$as_me: caught signal $ac_signal"
3177 $as_echo "$as_me: exit $exit_status"
3178 } >&5
3179 rm -f core *.core core.conftest.* &&
3180 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3181 exit $exit_status
3183 for ac_signal in 1 2 13 15; do
3184 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3185 done
3186 ac_signal=0
3188 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3189 rm -f -r conftest* confdefs.h
3191 $as_echo "/* confdefs.h */" > confdefs.h
3193 # Predefined preprocessor variables.
3195 cat >>confdefs.h <<_ACEOF
3196 #define PACKAGE_NAME "$PACKAGE_NAME"
3197 _ACEOF
3199 cat >>confdefs.h <<_ACEOF
3200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3201 _ACEOF
3203 cat >>confdefs.h <<_ACEOF
3204 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3205 _ACEOF
3207 cat >>confdefs.h <<_ACEOF
3208 #define PACKAGE_STRING "$PACKAGE_STRING"
3209 _ACEOF
3211 cat >>confdefs.h <<_ACEOF
3212 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3213 _ACEOF
3215 cat >>confdefs.h <<_ACEOF
3216 #define PACKAGE_URL "$PACKAGE_URL"
3217 _ACEOF
3220 # Let the site file select an alternate cache file if it wants to.
3221 # Prefer an explicitly selected file to automatically selected ones.
3222 ac_site_file1=NONE
3223 ac_site_file2=NONE
3224 if test -n "$CONFIG_SITE"; then
3225 # We do not want a PATH search for config.site.
3226 case $CONFIG_SITE in #((
3227 -*) ac_site_file1=./$CONFIG_SITE;;
3228 */*) ac_site_file1=$CONFIG_SITE;;
3229 *) ac_site_file1=./$CONFIG_SITE;;
3230 esac
3231 elif test "x$prefix" != xNONE; then
3232 ac_site_file1=$prefix/share/config.site
3233 ac_site_file2=$prefix/etc/config.site
3234 else
3235 ac_site_file1=$ac_default_prefix/share/config.site
3236 ac_site_file2=$ac_default_prefix/etc/config.site
3238 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3240 test "x$ac_site_file" = xNONE && continue
3241 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3243 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3244 sed 's/^/| /' "$ac_site_file" >&5
3245 . "$ac_site_file" \
3246 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $? "failed to load site script $ac_site_file
3249 See \`config.log' for more details" "$LINENO" 5; }
3251 done
3253 if test -r "$cache_file"; then
3254 # Some versions of bash will fail to source /dev/null (special files
3255 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3256 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3258 $as_echo "$as_me: loading cache $cache_file" >&6;}
3259 case $cache_file in
3260 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3261 *) . "./$cache_file";;
3262 esac
3264 else
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3266 $as_echo "$as_me: creating cache $cache_file" >&6;}
3267 >$cache_file
3270 # Check that the precious variables saved in the cache have kept the same
3271 # value.
3272 ac_cache_corrupted=false
3273 for ac_var in $ac_precious_vars; do
3274 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3275 eval ac_new_set=\$ac_env_${ac_var}_set
3276 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3277 eval ac_new_val=\$ac_env_${ac_var}_value
3278 case $ac_old_set,$ac_new_set in
3279 set,)
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3281 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3282 ac_cache_corrupted=: ;;
3283 ,set)
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3285 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3286 ac_cache_corrupted=: ;;
3287 ,);;
3289 if test "x$ac_old_val" != "x$ac_new_val"; then
3290 # differences in whitespace do not lead to failure.
3291 ac_old_val_w=`echo x $ac_old_val`
3292 ac_new_val_w=`echo x $ac_new_val`
3293 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3295 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3296 ac_cache_corrupted=:
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3299 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3300 eval $ac_var=\$ac_old_val
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3303 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3305 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3306 fi;;
3307 esac
3308 # Pass precious variables to config.status.
3309 if test "$ac_new_set" = set; then
3310 case $ac_new_val in
3311 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3312 *) ac_arg=$ac_var=$ac_new_val ;;
3313 esac
3314 case " $ac_configure_args " in
3315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3316 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3317 esac
3319 done
3320 if $ac_cache_corrupted; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3324 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3325 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3327 ## -------------------- ##
3328 ## Main body of script. ##
3329 ## -------------------- ##
3331 ac_ext=c
3332 ac_cpp='$CPP $CPPFLAGS'
3333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3339 ac_config_headers="$ac_config_headers include/config.h"
3341 ac_aux_dir=
3342 for ac_dir in tools "$srcdir"/tools; do
3343 if test -f "$ac_dir/install-sh"; then
3344 ac_aux_dir=$ac_dir
3345 ac_install_sh="$ac_aux_dir/install-sh -c"
3346 break
3347 elif test -f "$ac_dir/install.sh"; then
3348 ac_aux_dir=$ac_dir
3349 ac_install_sh="$ac_aux_dir/install.sh -c"
3350 break
3351 elif test -f "$ac_dir/shtool"; then
3352 ac_aux_dir=$ac_dir
3353 ac_install_sh="$ac_aux_dir/shtool install -c"
3354 break
3356 done
3357 if test -z "$ac_aux_dir"; then
3358 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3361 # These three variables are undocumented and unsupported,
3362 # and are intended to be withdrawn in a future Autoconf release.
3363 # They can cause serious problems if a builder's source tree is in a directory
3364 # whose full name contains unusual characters.
3365 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3366 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3367 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3371 libwine_version="1.0"
3375 # Check whether --enable-win16 was given.
3376 if test "${enable_win16+set}" = set; then :
3377 enableval=$enable_win16;
3380 # Check whether --enable-win64 was given.
3381 if test "${enable_win64+set}" = set; then :
3382 enableval=$enable_win64;
3385 # Check whether --enable-tests was given.
3386 if test "${enable_tests+set}" = set; then :
3387 enableval=$enable_tests;
3390 # Check whether --enable-maintainer-mode was given.
3391 if test "${enable_maintainer_mode+set}" = set; then :
3392 enableval=$enable_maintainer_mode;
3397 # Check whether --with-alsa was given.
3398 if test "${with_alsa+set}" = set; then :
3399 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3403 # Check whether --with-capi was given.
3404 if test "${with_capi+set}" = set; then :
3405 withval=$with_capi;
3409 # Check whether --with-cms was given.
3410 if test "${with_cms+set}" = set; then :
3411 withval=$with_cms;
3415 # Check whether --with-coreaudio was given.
3416 if test "${with_coreaudio+set}" = set; then :
3417 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3421 # Check whether --with-cups was given.
3422 if test "${with_cups+set}" = set; then :
3423 withval=$with_cups;
3427 # Check whether --with-curses was given.
3428 if test "${with_curses+set}" = set; then :
3429 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3433 # Check whether --with-dbus was given.
3434 if test "${with_dbus+set}" = set; then :
3435 withval=$with_dbus;
3439 # Check whether --with-fontconfig was given.
3440 if test "${with_fontconfig+set}" = set; then :
3441 withval=$with_fontconfig;
3445 # Check whether --with-freetype was given.
3446 if test "${with_freetype+set}" = set; then :
3447 withval=$with_freetype;
3451 # Check whether --with-gettext was given.
3452 if test "${with_gettext+set}" = set; then :
3453 withval=$with_gettext;
3457 # Check whether --with-gettextpo was given.
3458 if test "${with_gettextpo+set}" = set; then :
3459 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3463 # Check whether --with-gphoto was given.
3464 if test "${with_gphoto+set}" = set; then :
3465 withval=$with_gphoto;
3469 # Check whether --with-glu was given.
3470 if test "${with_glu+set}" = set; then :
3471 withval=$with_glu;
3475 # Check whether --with-gnutls was given.
3476 if test "${with_gnutls+set}" = set; then :
3477 withval=$with_gnutls;
3481 # Check whether --with-gsm was given.
3482 if test "${with_gsm+set}" = set; then :
3483 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3487 # Check whether --with-gstreamer was given.
3488 if test "${with_gstreamer+set}" = set; then :
3489 withval=$with_gstreamer;
3493 # Check whether --with-hal was given.
3494 if test "${with_hal+set}" = set; then :
3495 withval=$with_hal;
3499 # Check whether --with-jpeg was given.
3500 if test "${with_jpeg+set}" = set; then :
3501 withval=$with_jpeg;
3505 # Check whether --with-ldap was given.
3506 if test "${with_ldap+set}" = set; then :
3507 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3511 # Check whether --with-mpg123 was given.
3512 if test "${with_mpg123+set}" = set; then :
3513 withval=$with_mpg123;
3517 # Check whether --with-netapi was given.
3518 if test "${with_netapi+set}" = set; then :
3519 withval=$with_netapi;
3523 # Check whether --with-openal was given.
3524 if test "${with_openal+set}" = set; then :
3525 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3529 # Check whether --with-opencl was given.
3530 if test "${with_opencl+set}" = set; then :
3531 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3535 # Check whether --with-opengl was given.
3536 if test "${with_opengl+set}" = set; then :
3537 withval=$with_opengl;
3541 # Check whether --with-osmesa was given.
3542 if test "${with_osmesa+set}" = set; then :
3543 withval=$with_osmesa;
3547 # Check whether --with-oss was given.
3548 if test "${with_oss+set}" = set; then :
3549 withval=$with_oss;
3553 # Check whether --with-pcap was given.
3554 if test "${with_pcap+set}" = set; then :
3555 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3559 # Check whether --with-png was given.
3560 if test "${with_png+set}" = set; then :
3561 withval=$with_png;
3565 # Check whether --with-pthread was given.
3566 if test "${with_pthread+set}" = set; then :
3567 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3571 # Check whether --with-pulse was given.
3572 if test "${with_pulse+set}" = set; then :
3573 withval=$with_pulse;
3577 # Check whether --with-sane was given.
3578 if test "${with_sane+set}" = set; then :
3579 withval=$with_sane;
3583 # Check whether --with-tiff was given.
3584 if test "${with_tiff+set}" = set; then :
3585 withval=$with_tiff;
3589 # Check whether --with-udev was given.
3590 if test "${with_udev+set}" = set; then :
3591 withval=$with_udev;
3595 # Check whether --with-v4l was given.
3596 if test "${with_v4l+set}" = set; then :
3597 withval=$with_v4l;
3601 # Check whether --with-xcomposite was given.
3602 if test "${with_xcomposite+set}" = set; then :
3603 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3607 # Check whether --with-xcursor was given.
3608 if test "${with_xcursor+set}" = set; then :
3609 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3613 # Check whether --with-xinerama was given.
3614 if test "${with_xinerama+set}" = set; then :
3615 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3619 # Check whether --with-xinput was given.
3620 if test "${with_xinput+set}" = set; then :
3621 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3625 # Check whether --with-xinput2 was given.
3626 if test "${with_xinput2+set}" = set; then :
3627 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3631 # Check whether --with-xml was given.
3632 if test "${with_xml+set}" = set; then :
3633 withval=$with_xml;
3637 # Check whether --with-xrandr was given.
3638 if test "${with_xrandr+set}" = set; then :
3639 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3643 # Check whether --with-xrender was given.
3644 if test "${with_xrender+set}" = set; then :
3645 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3649 # Check whether --with-xshape was given.
3650 if test "${with_xshape+set}" = set; then :
3651 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3655 # Check whether --with-xshm was given.
3656 if test "${with_xshm+set}" = set; then :
3657 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3661 # Check whether --with-xslt was given.
3662 if test "${with_xslt+set}" = set; then :
3663 withval=$with_xslt;
3667 # Check whether --with-xxf86vm was given.
3668 if test "${with_xxf86vm+set}" = set; then :
3669 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
3673 # Check whether --with-zlib was given.
3674 if test "${with_zlib+set}" = set; then :
3675 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3680 # Check whether --with-wine-tools was given.
3681 if test "${with_wine_tools+set}" = set; then :
3682 withval=$with_wine_tools;
3686 # Check whether --with-wine64 was given.
3687 if test "${with_wine64+set}" = set; then :
3688 withval=$with_wine64;
3692 # Make sure we can run config.sub.
3693 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3694 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3697 $as_echo_n "checking build system type... " >&6; }
3698 if ${ac_cv_build+:} false; then :
3699 $as_echo_n "(cached) " >&6
3700 else
3701 ac_build_alias=$build_alias
3702 test "x$ac_build_alias" = x &&
3703 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3704 test "x$ac_build_alias" = x &&
3705 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3706 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3707 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3711 $as_echo "$ac_cv_build" >&6; }
3712 case $ac_cv_build in
3713 *-*-*) ;;
3714 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3715 esac
3716 build=$ac_cv_build
3717 ac_save_IFS=$IFS; IFS='-'
3718 set x $ac_cv_build
3719 shift
3720 build_cpu=$1
3721 build_vendor=$2
3722 shift; shift
3723 # Remember, the first character of IFS is used to create $*,
3724 # except with old shells:
3725 build_os=$*
3726 IFS=$ac_save_IFS
3727 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3731 $as_echo_n "checking host system type... " >&6; }
3732 if ${ac_cv_host+:} false; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test "x$host_alias" = x; then
3736 ac_cv_host=$ac_cv_build
3737 else
3738 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3739 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3744 $as_echo "$ac_cv_host" >&6; }
3745 case $ac_cv_host in
3746 *-*-*) ;;
3747 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3748 esac
3749 host=$ac_cv_host
3750 ac_save_IFS=$IFS; IFS='-'
3751 set x $ac_cv_host
3752 shift
3753 host_cpu=$1
3754 host_vendor=$2
3755 shift; shift
3756 # Remember, the first character of IFS is used to create $*,
3757 # except with old shells:
3758 host_os=$*
3759 IFS=$ac_save_IFS
3760 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3764 case "$srcdir" in
3765 .) ;;
3766 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3767 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3768 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3769 fi ;;
3770 esac
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3775 set x ${MAKE-make}
3776 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3777 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 cat >conftest.make <<\_ACEOF
3781 SHELL = /bin/sh
3782 all:
3783 @echo '@@@%%%=$(MAKE)=@@@%%%'
3784 _ACEOF
3785 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3787 *@@@%%%=?*=@@@%%%*)
3788 eval ac_cv_prog_make_${ac_make}_set=yes;;
3790 eval ac_cv_prog_make_${ac_make}_set=no;;
3791 esac
3792 rm -f conftest.make
3794 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3796 $as_echo "yes" >&6; }
3797 SET_MAKE=
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3801 SET_MAKE="MAKE=${MAKE-make}"
3804 ac_ext=c
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3809 if test -n "$ac_tool_prefix"; then
3810 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3811 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813 $as_echo_n "checking for $ac_word... " >&6; }
3814 if ${ac_cv_prog_CC+:} false; then :
3815 $as_echo_n "(cached) " >&6
3816 else
3817 if test -n "$CC"; then
3818 ac_cv_prog_CC="$CC" # Let the user override the test.
3819 else
3820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3821 for as_dir in $PATH
3823 IFS=$as_save_IFS
3824 test -z "$as_dir" && as_dir=.
3825 for ac_exec_ext in '' $ac_executable_extensions; do
3826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3827 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 break 2
3831 done
3832 done
3833 IFS=$as_save_IFS
3837 CC=$ac_cv_prog_CC
3838 if test -n "$CC"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840 $as_echo "$CC" >&6; }
3841 else
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3848 if test -z "$ac_cv_prog_CC"; then
3849 ac_ct_CC=$CC
3850 # Extract the first word of "gcc", so it can be a program name with args.
3851 set dummy gcc; ac_word=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3855 $as_echo_n "(cached) " >&6
3856 else
3857 if test -n "$ac_ct_CC"; then
3858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3859 else
3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3861 for as_dir in $PATH
3863 IFS=$as_save_IFS
3864 test -z "$as_dir" && as_dir=.
3865 for ac_exec_ext in '' $ac_executable_extensions; do
3866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3867 ac_cv_prog_ac_ct_CC="gcc"
3868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 break 2
3871 done
3872 done
3873 IFS=$as_save_IFS
3877 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3878 if test -n "$ac_ct_CC"; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3880 $as_echo "$ac_ct_CC" >&6; }
3881 else
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3883 $as_echo "no" >&6; }
3886 if test "x$ac_ct_CC" = x; then
3887 CC=""
3888 else
3889 case $cross_compiling:$ac_tool_warned in
3890 yes:)
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3893 ac_tool_warned=yes ;;
3894 esac
3895 CC=$ac_ct_CC
3897 else
3898 CC="$ac_cv_prog_CC"
3901 if test -z "$CC"; then
3902 if test -n "$ac_tool_prefix"; then
3903 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3904 set dummy ${ac_tool_prefix}cc; ac_word=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if ${ac_cv_prog_CC+:} false; then :
3908 $as_echo_n "(cached) " >&6
3909 else
3910 if test -n "$CC"; then
3911 ac_cv_prog_CC="$CC" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3916 IFS=$as_save_IFS
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_CC="${ac_tool_prefix}cc"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 break 2
3924 done
3925 done
3926 IFS=$as_save_IFS
3930 CC=$ac_cv_prog_CC
3931 if test -n "$CC"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3933 $as_echo "$CC" >&6; }
3934 else
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3942 if test -z "$CC"; then
3943 # Extract the first word of "cc", so it can be a program name with args.
3944 set dummy cc; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_CC+:} false; then :
3948 $as_echo_n "(cached) " >&6
3949 else
3950 if test -n "$CC"; then
3951 ac_cv_prog_CC="$CC" # Let the user override the test.
3952 else
3953 ac_prog_rejected=no
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3957 IFS=$as_save_IFS
3958 test -z "$as_dir" && as_dir=.
3959 for ac_exec_ext in '' $ac_executable_extensions; do
3960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3962 ac_prog_rejected=yes
3963 continue
3965 ac_cv_prog_CC="cc"
3966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 break 2
3969 done
3970 done
3971 IFS=$as_save_IFS
3973 if test $ac_prog_rejected = yes; then
3974 # We found a bogon in the path, so make sure we never use it.
3975 set dummy $ac_cv_prog_CC
3976 shift
3977 if test $# != 0; then
3978 # We chose a different compiler from the bogus one.
3979 # However, it has the same basename, so the bogon will be chosen
3980 # first if we set CC to just the basename; use the full file name.
3981 shift
3982 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3987 CC=$ac_cv_prog_CC
3988 if test -n "$CC"; then
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3990 $as_echo "$CC" >&6; }
3991 else
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993 $as_echo "no" >&6; }
3998 if test -z "$CC"; then
3999 if test -n "$ac_tool_prefix"; then
4000 for ac_prog in cl.exe
4002 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4003 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_CC+:} false; then :
4007 $as_echo_n "(cached) " >&6
4008 else
4009 if test -n "$CC"; then
4010 ac_cv_prog_CC="$CC" # Let the user override the test.
4011 else
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 for as_dir in $PATH
4015 IFS=$as_save_IFS
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4019 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 break 2
4023 done
4024 done
4025 IFS=$as_save_IFS
4029 CC=$ac_cv_prog_CC
4030 if test -n "$CC"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4032 $as_echo "$CC" >&6; }
4033 else
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4039 test -n "$CC" && break
4040 done
4042 if test -z "$CC"; then
4043 ac_ct_CC=$CC
4044 for ac_prog in cl.exe
4046 # Extract the first word of "$ac_prog", so it can be a program name with args.
4047 set dummy $ac_prog; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4051 $as_echo_n "(cached) " >&6
4052 else
4053 if test -n "$ac_ct_CC"; then
4054 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4055 else
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH
4059 IFS=$as_save_IFS
4060 test -z "$as_dir" && as_dir=.
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_prog_ac_ct_CC="$ac_prog"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 break 2
4067 done
4068 done
4069 IFS=$as_save_IFS
4073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4074 if test -n "$ac_ct_CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4076 $as_echo "$ac_ct_CC" >&6; }
4077 else
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4083 test -n "$ac_ct_CC" && break
4084 done
4086 if test "x$ac_ct_CC" = x; then
4087 CC=""
4088 else
4089 case $cross_compiling:$ac_tool_warned in
4090 yes:)
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4093 ac_tool_warned=yes ;;
4094 esac
4095 CC=$ac_ct_CC
4102 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 as_fn_error $? "no acceptable C compiler found in \$PATH
4105 See \`config.log' for more details" "$LINENO" 5; }
4107 # Provide some information about the compiler.
4108 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4109 set X $ac_compile
4110 ac_compiler=$2
4111 for ac_option in --version -v -V -qversion; do
4112 { { ac_try="$ac_compiler $ac_option >&5"
4113 case "(($ac_try" in
4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4115 *) ac_try_echo=$ac_try;;
4116 esac
4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4120 ac_status=$?
4121 if test -s conftest.err; then
4122 sed '10a\
4123 ... rest of stderr output deleted ...
4124 10q' conftest.err >conftest.er1
4125 cat conftest.er1 >&5
4127 rm -f conftest.er1 conftest.err
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }
4130 done
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4136 main ()
4140 return 0;
4142 _ACEOF
4143 ac_clean_files_save=$ac_clean_files
4144 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4145 # Try to create an executable without -o first, disregard a.out.
4146 # It will help us diagnose broken compilers, and finding out an intuition
4147 # of exeext.
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4149 $as_echo_n "checking whether the C compiler works... " >&6; }
4150 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4152 # The possible output files:
4153 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4155 ac_rmfiles=
4156 for ac_file in $ac_files
4158 case $ac_file in
4159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4160 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4161 esac
4162 done
4163 rm -f $ac_rmfiles
4165 if { { ac_try="$ac_link_default"
4166 case "(($ac_try" in
4167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4169 esac
4170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4171 $as_echo "$ac_try_echo"; } >&5
4172 (eval "$ac_link_default") 2>&5
4173 ac_status=$?
4174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4175 test $ac_status = 0; }; then :
4176 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4177 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4178 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4179 # so that the user can short-circuit this test for compilers unknown to
4180 # Autoconf.
4181 for ac_file in $ac_files ''
4183 test -f "$ac_file" || continue
4184 case $ac_file in
4185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4187 [ab].out )
4188 # We found the default executable, but exeext='' is most
4189 # certainly right.
4190 break;;
4191 *.* )
4192 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4193 then :; else
4194 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4196 # We set ac_cv_exeext here because the later test for it is not
4197 # safe: cross compilers may not add the suffix if given an `-o'
4198 # argument, so we may need to know it at that point already.
4199 # Even if this section looks crufty: it has the advantage of
4200 # actually working.
4201 break;;
4203 break;;
4204 esac
4205 done
4206 test "$ac_cv_exeext" = no && ac_cv_exeext=
4208 else
4209 ac_file=''
4211 if test -z "$ac_file"; then :
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4214 $as_echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.$ac_ext >&5
4217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error 77 "C compiler cannot create executables
4220 See \`config.log' for more details" "$LINENO" 5; }
4221 else
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4223 $as_echo "yes" >&6; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4226 $as_echo_n "checking for C compiler default output file name... " >&6; }
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4228 $as_echo "$ac_file" >&6; }
4229 ac_exeext=$ac_cv_exeext
4231 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4232 ac_clean_files=$ac_clean_files_save
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4234 $as_echo_n "checking for suffix of executables... " >&6; }
4235 if { { ac_try="$ac_link"
4236 case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_link") 2>&5
4243 ac_status=$?
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; then :
4246 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4247 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4248 # work properly (i.e., refer to `conftest.exe'), while it won't with
4249 # `rm'.
4250 for ac_file in conftest.exe conftest conftest.*; do
4251 test -f "$ac_file" || continue
4252 case $ac_file in
4253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4254 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4255 break;;
4256 * ) break;;
4257 esac
4258 done
4259 else
4260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4263 See \`config.log' for more details" "$LINENO" 5; }
4265 rm -f conftest conftest$ac_cv_exeext
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4267 $as_echo "$ac_cv_exeext" >&6; }
4269 rm -f conftest.$ac_ext
4270 EXEEXT=$ac_cv_exeext
4271 ac_exeext=$EXEEXT
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4274 #include <stdio.h>
4276 main ()
4278 FILE *f = fopen ("conftest.out", "w");
4279 return ferror (f) || fclose (f) != 0;
4282 return 0;
4284 _ACEOF
4285 ac_clean_files="$ac_clean_files conftest.out"
4286 # Check that the compiler produces executables we can run. If not, either
4287 # the compiler is broken, or we cross compile.
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4289 $as_echo_n "checking whether we are cross compiling... " >&6; }
4290 if test "$cross_compiling" != yes; then
4291 { { ac_try="$ac_link"
4292 case "(($ac_try" in
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4295 esac
4296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297 $as_echo "$ac_try_echo"; } >&5
4298 (eval "$ac_link") 2>&5
4299 ac_status=$?
4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301 test $ac_status = 0; }
4302 if { ac_try='./conftest$ac_cv_exeext'
4303 { { case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_try") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; }; then
4313 cross_compiling=no
4314 else
4315 if test "$cross_compiling" = maybe; then
4316 cross_compiling=yes
4317 else
4318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320 as_fn_error $? "cannot run C compiled programs.
4321 If you meant to cross compile, use \`--host'.
4322 See \`config.log' for more details" "$LINENO" 5; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4327 $as_echo "$cross_compiling" >&6; }
4329 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4330 ac_clean_files=$ac_clean_files_save
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4332 $as_echo_n "checking for suffix of object files... " >&6; }
4333 if ${ac_cv_objext+:} false; then :
4334 $as_echo_n "(cached) " >&6
4335 else
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4340 main ()
4344 return 0;
4346 _ACEOF
4347 rm -f conftest.o conftest.obj
4348 if { { ac_try="$ac_compile"
4349 case "(($ac_try" in
4350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4351 *) ac_try_echo=$ac_try;;
4352 esac
4353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4354 $as_echo "$ac_try_echo"; } >&5
4355 (eval "$ac_compile") 2>&5
4356 ac_status=$?
4357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 test $ac_status = 0; }; then :
4359 for ac_file in conftest.o conftest.obj conftest.*; do
4360 test -f "$ac_file" || continue;
4361 case $ac_file in
4362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4363 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4364 break;;
4365 esac
4366 done
4367 else
4368 $as_echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4373 as_fn_error $? "cannot compute suffix of object files: cannot compile
4374 See \`config.log' for more details" "$LINENO" 5; }
4376 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4379 $as_echo "$ac_cv_objext" >&6; }
4380 OBJEXT=$ac_cv_objext
4381 ac_objext=$OBJEXT
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4383 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4384 if ${ac_cv_c_compiler_gnu+:} false; then :
4385 $as_echo_n "(cached) " >&6
4386 else
4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4391 main ()
4393 #ifndef __GNUC__
4394 choke me
4395 #endif
4398 return 0;
4400 _ACEOF
4401 if ac_fn_c_try_compile "$LINENO"; then :
4402 ac_compiler_gnu=yes
4403 else
4404 ac_compiler_gnu=no
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4407 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4411 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4412 if test $ac_compiler_gnu = yes; then
4413 GCC=yes
4414 else
4415 GCC=
4417 ac_test_CFLAGS=${CFLAGS+set}
4418 ac_save_CFLAGS=$CFLAGS
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4420 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4421 if ${ac_cv_prog_cc_g+:} false; then :
4422 $as_echo_n "(cached) " >&6
4423 else
4424 ac_save_c_werror_flag=$ac_c_werror_flag
4425 ac_c_werror_flag=yes
4426 ac_cv_prog_cc_g=no
4427 CFLAGS="-g"
4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 /* end confdefs.h. */
4432 main ()
4436 return 0;
4438 _ACEOF
4439 if ac_fn_c_try_compile "$LINENO"; then :
4440 ac_cv_prog_cc_g=yes
4441 else
4442 CFLAGS=""
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4447 main ()
4451 return 0;
4453 _ACEOF
4454 if ac_fn_c_try_compile "$LINENO"; then :
4456 else
4457 ac_c_werror_flag=$ac_save_c_werror_flag
4458 CFLAGS="-g"
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4463 main ()
4467 return 0;
4469 _ACEOF
4470 if ac_fn_c_try_compile "$LINENO"; then :
4471 ac_cv_prog_cc_g=yes
4473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478 ac_c_werror_flag=$ac_save_c_werror_flag
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4481 $as_echo "$ac_cv_prog_cc_g" >&6; }
4482 if test "$ac_test_CFLAGS" = set; then
4483 CFLAGS=$ac_save_CFLAGS
4484 elif test $ac_cv_prog_cc_g = yes; then
4485 if test "$GCC" = yes; then
4486 CFLAGS="-g -O2"
4487 else
4488 CFLAGS="-g"
4490 else
4491 if test "$GCC" = yes; then
4492 CFLAGS="-O2"
4493 else
4494 CFLAGS=
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4498 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4499 if ${ac_cv_prog_cc_c89+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 ac_cv_prog_cc_c89=no
4503 ac_save_CC=$CC
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4506 #include <stdarg.h>
4507 #include <stdio.h>
4508 struct stat;
4509 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4510 struct buf { int x; };
4511 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4512 static char *e (p, i)
4513 char **p;
4514 int i;
4516 return p[i];
4518 static char *f (char * (*g) (char **, int), char **p, ...)
4520 char *s;
4521 va_list v;
4522 va_start (v,p);
4523 s = g (p, va_arg (v,int));
4524 va_end (v);
4525 return s;
4528 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4529 function prototypes and stuff, but not '\xHH' hex character constants.
4530 These don't provoke an error unfortunately, instead are silently treated
4531 as 'x'. The following induces an error, until -std is added to get
4532 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4533 array size at least. It's necessary to write '\x00'==0 to get something
4534 that's true only with -std. */
4535 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4537 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4538 inside strings and character constants. */
4539 #define FOO(x) 'x'
4540 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4542 int test (int i, double x);
4543 struct s1 {int (*f) (int a);};
4544 struct s2 {int (*f) (double a);};
4545 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4546 int argc;
4547 char **argv;
4549 main ()
4551 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4553 return 0;
4555 _ACEOF
4556 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4557 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4559 CC="$ac_save_CC $ac_arg"
4560 if ac_fn_c_try_compile "$LINENO"; then :
4561 ac_cv_prog_cc_c89=$ac_arg
4563 rm -f core conftest.err conftest.$ac_objext
4564 test "x$ac_cv_prog_cc_c89" != "xno" && break
4565 done
4566 rm -f conftest.$ac_ext
4567 CC=$ac_save_CC
4570 # AC_CACHE_VAL
4571 case "x$ac_cv_prog_cc_c89" in
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4574 $as_echo "none needed" >&6; } ;;
4575 xno)
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4577 $as_echo "unsupported" >&6; } ;;
4579 CC="$CC $ac_cv_prog_cc_c89"
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4581 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4582 esac
4583 if test "x$ac_cv_prog_cc_c89" != xno; then :
4587 ac_ext=c
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4593 ac_ext=cpp
4594 ac_cpp='$CXXCPP $CPPFLAGS'
4595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4598 if test -z "$CXX"; then
4599 if test -n "$CCC"; then
4600 CXX=$CCC
4601 else
4602 if test -n "$ac_tool_prefix"; then
4603 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_CXX+:} false; then :
4610 $as_echo_n "(cached) " >&6
4611 else
4612 if test -n "$CXX"; then
4613 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4618 IFS=$as_save_IFS
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 break 2
4626 done
4627 done
4628 IFS=$as_save_IFS
4632 CXX=$ac_cv_prog_CXX
4633 if test -n "$CXX"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4635 $as_echo "$CXX" >&6; }
4636 else
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 test -n "$CXX" && break
4643 done
4645 if test -z "$CXX"; then
4646 ac_ct_CXX=$CXX
4647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy $ac_prog; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 if test -n "$ac_ct_CXX"; then
4657 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_CXX="$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4677 if test -n "$ac_ct_CXX"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4679 $as_echo "$ac_ct_CXX" >&6; }
4680 else
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$ac_ct_CXX" && break
4687 done
4689 if test "x$ac_ct_CXX" = x; then
4690 CXX="g++"
4691 else
4692 case $cross_compiling:$ac_tool_warned in
4693 yes:)
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned=yes ;;
4697 esac
4698 CXX=$ac_ct_CXX
4704 # Provide some information about the compiler.
4705 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4706 set X $ac_compile
4707 ac_compiler=$2
4708 for ac_option in --version -v -V -qversion; do
4709 { { ac_try="$ac_compiler $ac_option >&5"
4710 case "(($ac_try" in
4711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4712 *) ac_try_echo=$ac_try;;
4713 esac
4714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4715 $as_echo "$ac_try_echo"; } >&5
4716 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4717 ac_status=$?
4718 if test -s conftest.err; then
4719 sed '10a\
4720 ... rest of stderr output deleted ...
4721 10q' conftest.err >conftest.er1
4722 cat conftest.er1 >&5
4724 rm -f conftest.er1 conftest.err
4725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4726 test $ac_status = 0; }
4727 done
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4730 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4731 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4732 $as_echo_n "(cached) " >&6
4733 else
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4738 main ()
4740 #ifndef __GNUC__
4741 choke me
4742 #endif
4745 return 0;
4747 _ACEOF
4748 if ac_fn_cxx_try_compile "$LINENO"; then :
4749 ac_compiler_gnu=yes
4750 else
4751 ac_compiler_gnu=no
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4754 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4758 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4759 if test $ac_compiler_gnu = yes; then
4760 GXX=yes
4761 else
4762 GXX=
4764 ac_test_CXXFLAGS=${CXXFLAGS+set}
4765 ac_save_CXXFLAGS=$CXXFLAGS
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4767 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4768 if ${ac_cv_prog_cxx_g+:} false; then :
4769 $as_echo_n "(cached) " >&6
4770 else
4771 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4772 ac_cxx_werror_flag=yes
4773 ac_cv_prog_cxx_g=no
4774 CXXFLAGS="-g"
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4779 main ()
4783 return 0;
4785 _ACEOF
4786 if ac_fn_cxx_try_compile "$LINENO"; then :
4787 ac_cv_prog_cxx_g=yes
4788 else
4789 CXXFLAGS=""
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4794 main ()
4798 return 0;
4800 _ACEOF
4801 if ac_fn_cxx_try_compile "$LINENO"; then :
4803 else
4804 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4805 CXXFLAGS="-g"
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4810 main ()
4814 return 0;
4816 _ACEOF
4817 if ac_fn_cxx_try_compile "$LINENO"; then :
4818 ac_cv_prog_cxx_g=yes
4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4828 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4829 if test "$ac_test_CXXFLAGS" = set; then
4830 CXXFLAGS=$ac_save_CXXFLAGS
4831 elif test $ac_cv_prog_cxx_g = yes; then
4832 if test "$GXX" = yes; then
4833 CXXFLAGS="-g -O2"
4834 else
4835 CXXFLAGS="-g"
4837 else
4838 if test "$GXX" = yes; then
4839 CXXFLAGS="-O2"
4840 else
4841 CXXFLAGS=
4844 ac_ext=c
4845 ac_cpp='$CPP $CPPFLAGS'
4846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4850 if test -n "$ac_tool_prefix"; then
4851 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4852 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if ${ac_cv_prog_CPPBIN+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 if test -n "$CPPBIN"; then
4859 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4860 else
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862 for as_dir in $PATH
4864 IFS=$as_save_IFS
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4868 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 break 2
4872 done
4873 done
4874 IFS=$as_save_IFS
4878 CPPBIN=$ac_cv_prog_CPPBIN
4879 if test -n "$CPPBIN"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4881 $as_echo "$CPPBIN" >&6; }
4882 else
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4889 if test -z "$ac_cv_prog_CPPBIN"; then
4890 ac_ct_CPPBIN=$CPPBIN
4891 # Extract the first word of "cpp", so it can be a program name with args.
4892 set dummy cpp; ac_word=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4896 $as_echo_n "(cached) " >&6
4897 else
4898 if test -n "$ac_ct_CPPBIN"; then
4899 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4900 else
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH
4904 IFS=$as_save_IFS
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_ac_ct_CPPBIN="cpp"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 break 2
4912 done
4913 done
4914 IFS=$as_save_IFS
4918 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4919 if test -n "$ac_ct_CPPBIN"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4921 $as_echo "$ac_ct_CPPBIN" >&6; }
4922 else
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4927 if test "x$ac_ct_CPPBIN" = x; then
4928 CPPBIN="cpp"
4929 else
4930 case $cross_compiling:$ac_tool_warned in
4931 yes:)
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4934 ac_tool_warned=yes ;;
4935 esac
4936 CPPBIN=$ac_ct_CPPBIN
4938 else
4939 CPPBIN="$ac_cv_prog_CPPBIN"
4943 cat >>confdefs.h <<_ACEOF
4944 #define EXEEXT "$ac_exeext"
4945 _ACEOF
4947 if test -n "$ac_tool_prefix"; then
4948 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4949 set dummy ${ac_tool_prefix}ld; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if ${ac_cv_prog_LD+:} false; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 if test -n "$LD"; then
4956 ac_cv_prog_LD="$LD" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4965 ac_cv_prog_LD="${ac_tool_prefix}ld"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4969 done
4970 done
4971 IFS=$as_save_IFS
4975 LD=$ac_cv_prog_LD
4976 if test -n "$LD"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4978 $as_echo "$LD" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4986 if test -z "$ac_cv_prog_LD"; then
4987 ac_ct_LD=$LD
4988 # Extract the first word of "ld", so it can be a program name with args.
4989 set dummy ld; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$ac_ct_LD"; then
4996 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5005 ac_cv_prog_ac_ct_LD="ld"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5009 done
5010 done
5011 IFS=$as_save_IFS
5015 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5016 if test -n "$ac_ct_LD"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5018 $as_echo "$ac_ct_LD" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5024 if test "x$ac_ct_LD" = x; then
5025 LD=""
5026 else
5027 case $cross_compiling:$ac_tool_warned in
5028 yes:)
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned=yes ;;
5032 esac
5033 LD=$ac_ct_LD
5035 else
5036 LD="$ac_cv_prog_LD"
5040 case $host in
5041 *-darwin*)
5042 with_fontconfig=${with_fontconfig:-no}
5044 *-mingw32*|*-cygwin*)
5045 enable_win16=${enable_win16:-no}
5046 CFLAGS="$CFLAGS -D_WIN32"
5048 esac
5050 case $host in
5051 x86_64*|amd64*)
5052 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5053 then
5054 CC="$CC -m32"
5055 CXX="$CXX -m32"
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5057 $as_echo_n "checking whether $CC works... " >&6; }
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main ()
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_link "$LINENO"; then :
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5078 rm -f core conftest.err conftest.$ac_objext \
5079 conftest$ac_exeext conftest.$ac_ext
5080 host_cpu="i386"
5081 notice_platform="32-bit "
5082 TARGETFLAGS="-m32"
5084 enable_win16=${enable_win16:-yes}
5085 else
5086 if test "x${GCC}" = "xyes"
5087 then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5089 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091 /* end confdefs.h. */
5092 #include <stdarg.h>
5094 main ()
5096 void func(__builtin_ms_va_list *args);
5098 return 0;
5100 _ACEOF
5101 if ac_fn_c_try_compile "$LINENO"; then :
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5103 $as_echo "yes" >&6; }
5104 else
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5107 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111 CC="$CC -m64"
5112 CXX="$CXX -m64"
5113 host_cpu="x86_64"
5114 notice_platform="64-bit "
5115 TARGETFLAGS="-m64"
5119 arm*)
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5121 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5124 int ac_test(int i) { return i; }
5126 main ()
5128 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5130 return 0;
5132 _ACEOF
5133 if ac_fn_c_try_link "$LINENO"; then :
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5135 $as_echo "yes" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5141 rm -f core conftest.err conftest.$ac_objext \
5142 conftest$ac_exeext conftest.$ac_ext
5143 CFLAGS="$CFLAGS -marm"
5144 TARGETFLAGS="-marm"
5147 i[3456789]86*)
5148 enable_win16=${enable_win16:-yes}
5150 esac
5152 enable_win16=${enable_win16:-no}
5153 enable_win64=${enable_win64:-no}
5155 enable_winetest=${enable_winetest:-$enable_tests}
5157 if test -n "$with_wine64"
5158 then
5159 if test "x$enable_win64" = "xyes"
5160 then
5161 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5162 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5164 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5165 You should create a separate build directory and run configure from there." "$LINENO" 5
5166 enable_fonts=${enable_fonts:-no}
5167 enable_server=${enable_server:-no}
5168 elif test "x$enable_win64" = "xyes"
5169 then
5170 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5174 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5175 if ${wine_cv_toolsdir+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 wine_cv_toolsdir="$with_wine_tools"
5179 if test -z "$with_wine_tools"; then
5180 if test "$cross_compiling" = "yes"; then
5181 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5182 elif test -n "$with_wine64"; then
5183 wine_cv_toolsdir="$with_wine64"
5186 if test -z "$wine_cv_toolsdir"; then
5187 wine_makedep=tools/makedep
5188 wine_cv_toolsdir="\$(top_builddir)"
5189 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5190 wine_makedep=$wine_cv_toolsdir/tools/makedep
5191 case "$wine_cv_toolsdir" in
5192 /*) ;;
5193 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5194 esac
5195 enable_tools=${enable_tools:-no}
5196 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5197 else
5198 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5202 $as_echo "$wine_cv_toolsdir" >&6; }
5203 TOOLSDIR=$wine_cv_toolsdir
5205 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5206 then
5207 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5211 for ac_prog in flex
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy $ac_prog; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_FLEX+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$FLEX"; then
5221 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_FLEX="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 FLEX=$ac_cv_prog_FLEX
5241 if test -n "$FLEX"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5243 $as_echo "$FLEX" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$FLEX" && break
5251 done
5252 test -n "$FLEX" || FLEX="none"
5254 if test "$FLEX" = "none"
5255 then
5256 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5259 $as_echo_n "checking whether flex is recent enough... " >&6; }
5260 cat >conftest.l <<EOF
5261 %top{
5262 #include "prediluvian.h"
5266 if $FLEX -t conftest.l >/dev/null 2>&5
5267 then
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5269 $as_echo "yes" >&6; }
5270 else
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5273 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5276 for ac_prog in bison
5278 # Extract the first word of "$ac_prog", so it can be a program name with args.
5279 set dummy $ac_prog; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if ${ac_cv_prog_BISON+:} false; then :
5283 $as_echo_n "(cached) " >&6
5284 else
5285 if test -n "$BISON"; then
5286 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5291 IFS=$as_save_IFS
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_BISON="$ac_prog"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 break 2
5299 done
5300 done
5301 IFS=$as_save_IFS
5305 BISON=$ac_cv_prog_BISON
5306 if test -n "$BISON"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5308 $as_echo "$BISON" >&6; }
5309 else
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5315 test -n "$BISON" && break
5316 done
5317 test -n "$BISON" || BISON="none"
5319 if test "$BISON" = "none"
5320 then
5321 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5324 if test -n "$ac_tool_prefix"; then
5325 for ac_prog in ar gar
5327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5328 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330 $as_echo_n "checking for $ac_word... " >&6; }
5331 if ${ac_cv_prog_AR+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 if test -n "$AR"; then
5335 ac_cv_prog_AR="$AR" # Let the user override the test.
5336 else
5337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 for as_dir in $PATH
5340 IFS=$as_save_IFS
5341 test -z "$as_dir" && as_dir=.
5342 for ac_exec_ext in '' $ac_executable_extensions; do
5343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5344 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 break 2
5348 done
5349 done
5350 IFS=$as_save_IFS
5354 AR=$ac_cv_prog_AR
5355 if test -n "$AR"; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5357 $as_echo "$AR" >&6; }
5358 else
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5364 test -n "$AR" && break
5365 done
5367 if test -z "$AR"; then
5368 ac_ct_AR=$AR
5369 for ac_prog in ar gar
5371 # Extract the first word of "$ac_prog", so it can be a program name with args.
5372 set dummy $ac_prog; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$ac_ct_AR"; then
5379 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_ac_ct_AR="$ac_prog"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5399 if test -n "$ac_ct_AR"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5401 $as_echo "$ac_ct_AR" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5408 test -n "$ac_ct_AR" && break
5409 done
5411 if test "x$ac_ct_AR" = x; then
5412 AR="ar"
5413 else
5414 case $cross_compiling:$ac_tool_warned in
5415 yes:)
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5418 ac_tool_warned=yes ;;
5419 esac
5420 AR=$ac_ct_AR
5424 if test -n "$ac_tool_prefix"; then
5425 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5426 set dummy ${ac_tool_prefix}strip; ac_word=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_STRIP+:} false; then :
5430 $as_echo_n "(cached) " >&6
5431 else
5432 if test -n "$STRIP"; then
5433 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5434 else
5435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5436 for as_dir in $PATH
5438 IFS=$as_save_IFS
5439 test -z "$as_dir" && as_dir=.
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 break 2
5446 done
5447 done
5448 IFS=$as_save_IFS
5452 STRIP=$ac_cv_prog_STRIP
5453 if test -n "$STRIP"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5455 $as_echo "$STRIP" >&6; }
5456 else
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5463 if test -z "$ac_cv_prog_STRIP"; then
5464 ac_ct_STRIP=$STRIP
5465 # Extract the first word of "strip", so it can be a program name with args.
5466 set dummy strip; ac_word=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5470 $as_echo_n "(cached) " >&6
5471 else
5472 if test -n "$ac_ct_STRIP"; then
5473 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5474 else
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5476 for as_dir in $PATH
5478 IFS=$as_save_IFS
5479 test -z "$as_dir" && as_dir=.
5480 for ac_exec_ext in '' $ac_executable_extensions; do
5481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5482 ac_cv_prog_ac_ct_STRIP="strip"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5484 break 2
5486 done
5487 done
5488 IFS=$as_save_IFS
5492 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5493 if test -n "$ac_ct_STRIP"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5495 $as_echo "$ac_ct_STRIP" >&6; }
5496 else
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5501 if test "x$ac_ct_STRIP" = x; then
5502 STRIP="strip"
5503 else
5504 case $cross_compiling:$ac_tool_warned in
5505 yes:)
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5508 ac_tool_warned=yes ;;
5509 esac
5510 STRIP=$ac_ct_STRIP
5512 else
5513 STRIP="$ac_cv_prog_STRIP"
5516 ARFLAGS=rc
5518 if test -n "$ac_tool_prefix"; then
5519 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5520 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_RANLIB+:} false; then :
5524 $as_echo_n "(cached) " >&6
5525 else
5526 if test -n "$RANLIB"; then
5527 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5528 else
5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 for as_dir in $PATH
5532 IFS=$as_save_IFS
5533 test -z "$as_dir" && as_dir=.
5534 for ac_exec_ext in '' $ac_executable_extensions; do
5535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5538 break 2
5540 done
5541 done
5542 IFS=$as_save_IFS
5546 RANLIB=$ac_cv_prog_RANLIB
5547 if test -n "$RANLIB"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5549 $as_echo "$RANLIB" >&6; }
5550 else
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if test -z "$ac_cv_prog_RANLIB"; then
5558 ac_ct_RANLIB=$RANLIB
5559 # Extract the first word of "ranlib", so it can be a program name with args.
5560 set dummy ranlib; ac_word=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -n "$ac_ct_RANLIB"; then
5567 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5568 else
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in $PATH
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_exec_ext in '' $ac_executable_extensions; do
5575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5576 ac_cv_prog_ac_ct_RANLIB="ranlib"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 break 2
5580 done
5581 done
5582 IFS=$as_save_IFS
5586 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5587 if test -n "$ac_ct_RANLIB"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5589 $as_echo "$ac_ct_RANLIB" >&6; }
5590 else
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5595 if test "x$ac_ct_RANLIB" = x; then
5596 RANLIB=":"
5597 else
5598 case $cross_compiling:$ac_tool_warned in
5599 yes:)
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5602 ac_tool_warned=yes ;;
5603 esac
5604 RANLIB=$ac_ct_RANLIB
5606 else
5607 RANLIB="$ac_cv_prog_RANLIB"
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5611 $as_echo_n "checking whether ln -s works... " >&6; }
5612 LN_S=$as_ln_s
5613 if test "$LN_S" = "ln -s"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5615 $as_echo "yes" >&6; }
5616 else
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5618 $as_echo "no, using $LN_S" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5622 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5623 if ${ac_cv_path_GREP+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 if test -z "$GREP"; then
5627 ac_path_GREP_found=false
5628 # Loop through the user's path and test for each of PROGNAME-LIST
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5632 IFS=$as_save_IFS
5633 test -z "$as_dir" && as_dir=.
5634 for ac_prog in grep ggrep; do
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5637 as_fn_executable_p "$ac_path_GREP" || continue
5638 # Check for GNU ac_path_GREP and select it if it is found.
5639 # Check for GNU $ac_path_GREP
5640 case `"$ac_path_GREP" --version 2>&1` in
5641 *GNU*)
5642 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5644 ac_count=0
5645 $as_echo_n 0123456789 >"conftest.in"
5646 while :
5648 cat "conftest.in" "conftest.in" >"conftest.tmp"
5649 mv "conftest.tmp" "conftest.in"
5650 cp "conftest.in" "conftest.nl"
5651 $as_echo 'GREP' >> "conftest.nl"
5652 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5654 as_fn_arith $ac_count + 1 && ac_count=$as_val
5655 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5656 # Best one so far, save it but keep looking for a better one
5657 ac_cv_path_GREP="$ac_path_GREP"
5658 ac_path_GREP_max=$ac_count
5660 # 10*(2^10) chars as input seems more than enough
5661 test $ac_count -gt 10 && break
5662 done
5663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5664 esac
5666 $ac_path_GREP_found && break 3
5667 done
5668 done
5669 done
5670 IFS=$as_save_IFS
5671 if test -z "$ac_cv_path_GREP"; then
5672 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5674 else
5675 ac_cv_path_GREP=$GREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5680 $as_echo "$ac_cv_path_GREP" >&6; }
5681 GREP="$ac_cv_path_GREP"
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5685 $as_echo_n "checking for egrep... " >&6; }
5686 if ${ac_cv_path_EGREP+:} false; then :
5687 $as_echo_n "(cached) " >&6
5688 else
5689 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5690 then ac_cv_path_EGREP="$GREP -E"
5691 else
5692 if test -z "$EGREP"; then
5693 ac_path_EGREP_found=false
5694 # Loop through the user's path and test for each of PROGNAME-LIST
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5698 IFS=$as_save_IFS
5699 test -z "$as_dir" && as_dir=.
5700 for ac_prog in egrep; do
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5703 as_fn_executable_p "$ac_path_EGREP" || continue
5704 # Check for GNU ac_path_EGREP and select it if it is found.
5705 # Check for GNU $ac_path_EGREP
5706 case `"$ac_path_EGREP" --version 2>&1` in
5707 *GNU*)
5708 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5710 ac_count=0
5711 $as_echo_n 0123456789 >"conftest.in"
5712 while :
5714 cat "conftest.in" "conftest.in" >"conftest.tmp"
5715 mv "conftest.tmp" "conftest.in"
5716 cp "conftest.in" "conftest.nl"
5717 $as_echo 'EGREP' >> "conftest.nl"
5718 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5719 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5720 as_fn_arith $ac_count + 1 && ac_count=$as_val
5721 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5722 # Best one so far, save it but keep looking for a better one
5723 ac_cv_path_EGREP="$ac_path_EGREP"
5724 ac_path_EGREP_max=$ac_count
5726 # 10*(2^10) chars as input seems more than enough
5727 test $ac_count -gt 10 && break
5728 done
5729 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5730 esac
5732 $ac_path_EGREP_found && break 3
5733 done
5734 done
5735 done
5736 IFS=$as_save_IFS
5737 if test -z "$ac_cv_path_EGREP"; then
5738 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5740 else
5741 ac_cv_path_EGREP=$EGREP
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5747 $as_echo "$ac_cv_path_EGREP" >&6; }
5748 EGREP="$ac_cv_path_EGREP"
5751 # Extract the first word of "ldconfig", so it can be a program name with args.
5752 set dummy ldconfig; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_path_LDCONFIG+:} false; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 case $LDCONFIG in
5759 [\\/]* | ?:[\\/]*)
5760 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in /sbin /usr/sbin $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5778 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5780 esac
5782 LDCONFIG=$ac_cv_path_LDCONFIG
5783 if test -n "$LDCONFIG"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5785 $as_echo "$LDCONFIG" >&6; }
5786 else
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5792 for ac_prog in msgfmt
5794 # Extract the first word of "$ac_prog", so it can be a program name with args.
5795 set dummy $ac_prog; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_MSGFMT+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$MSGFMT"; then
5802 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_MSGFMT="$ac_prog"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 MSGFMT=$ac_cv_prog_MSGFMT
5822 if test -n "$MSGFMT"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5824 $as_echo "$MSGFMT" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5831 test -n "$MSGFMT" && break
5832 done
5833 test -n "$MSGFMT" || MSGFMT="false"
5835 if ${ac_tool_prefix+:} false; then :
5836 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5837 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -n "$PKG_CONFIG"; then
5844 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5853 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5857 done
5858 done
5859 IFS=$as_save_IFS
5863 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5864 if test -n "$PKG_CONFIG"; then
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5866 $as_echo "$PKG_CONFIG" >&6; }
5867 else
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5869 $as_echo "no" >&6; }
5874 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5875 if test "x$cross_compiling" = xyes; then :
5877 else
5878 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5879 # Extract the first word of "pkg-config", so it can be a program name with args.
5880 set dummy pkg-config; ac_word=$2
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882 $as_echo_n "checking for $ac_word... " >&6; }
5883 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 if test -n "$PKG_CONFIG"; then
5887 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5888 else
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890 for as_dir in $PATH
5892 IFS=$as_save_IFS
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_PKG_CONFIG="pkg-config"
5897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898 break 2
5900 done
5901 done
5902 IFS=$as_save_IFS
5906 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5907 if test -n "$PKG_CONFIG"; then
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5909 $as_echo "$PKG_CONFIG" >&6; }
5910 else
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912 $as_echo "no" >&6; }
5917 else
5918 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5921 if test "x$enable_maintainer_mode" != "xyes"
5922 then
5923 FONTFORGE=""
5924 RSVG=""
5925 CONVERT=""
5926 ICOTOOL=""
5927 else
5928 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5929 for ac_prog in fontforge
5931 # Extract the first word of "$ac_prog", so it can be a program name with args.
5932 set dummy $ac_prog; ac_word=$2
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934 $as_echo_n "checking for $ac_word... " >&6; }
5935 if ${ac_cv_prog_FONTFORGE+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 if test -n "$FONTFORGE"; then
5939 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5940 else
5941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5942 for as_dir in $PATH
5944 IFS=$as_save_IFS
5945 test -z "$as_dir" && as_dir=.
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5948 ac_cv_prog_FONTFORGE="$ac_prog"
5949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5950 break 2
5952 done
5953 done
5954 IFS=$as_save_IFS
5958 FONTFORGE=$ac_cv_prog_FONTFORGE
5959 if test -n "$FONTFORGE"; then
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5961 $as_echo "$FONTFORGE" >&6; }
5962 else
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964 $as_echo "no" >&6; }
5968 test -n "$FONTFORGE" && break
5969 done
5970 test -n "$FONTFORGE" || FONTFORGE="false"
5972 for ac_prog in rsvg-convert rsvg
5974 # Extract the first word of "$ac_prog", so it can be a program name with args.
5975 set dummy $ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_RSVG+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$RSVG"; then
5982 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_RSVG="$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 RSVG=$ac_cv_prog_RSVG
6002 if test -n "$RSVG"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6004 $as_echo "$RSVG" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$RSVG" && break
6012 done
6013 test -n "$RSVG" || RSVG="false"
6015 for ac_prog in convert
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_CONVERT+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 if test -n "$CONVERT"; then
6025 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_CONVERT="$ac_prog"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 CONVERT=$ac_cv_prog_CONVERT
6045 if test -n "$CONVERT"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6047 $as_echo "$CONVERT" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6054 test -n "$CONVERT" && break
6055 done
6056 test -n "$CONVERT" || CONVERT="false"
6058 for ac_prog in icotool
6060 # Extract the first word of "$ac_prog", so it can be a program name with args.
6061 set dummy $ac_prog; ac_word=$2
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 $as_echo_n "checking for $ac_word... " >&6; }
6064 if ${ac_cv_prog_ICOTOOL+:} false; then :
6065 $as_echo_n "(cached) " >&6
6066 else
6067 if test -n "$ICOTOOL"; then
6068 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6069 else
6070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071 for as_dir in $PATH
6073 IFS=$as_save_IFS
6074 test -z "$as_dir" && as_dir=.
6075 for ac_exec_ext in '' $ac_executable_extensions; do
6076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6077 ac_cv_prog_ICOTOOL="$ac_prog"
6078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6079 break 2
6081 done
6082 done
6083 IFS=$as_save_IFS
6087 ICOTOOL=$ac_cv_prog_ICOTOOL
6088 if test -n "$ICOTOOL"; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6090 $as_echo "$ICOTOOL" >&6; }
6091 else
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6093 $as_echo "no" >&6; }
6097 test -n "$ICOTOOL" && break
6098 done
6099 test -n "$ICOTOOL" || ICOTOOL="false"
6101 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6102 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6104 if test "$CONVERT" = false
6105 then
6106 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6107 else
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6109 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6110 convert_version=`convert --version | head -n1`
6111 if test "x$convert_version" != "x"
6112 then
6113 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6114 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6115 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6116 then
6117 CONVERT=false
6120 if test "$CONVERT" = false
6121 then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6123 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6124 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6127 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6131 if test "$ICOTOOL" = false
6132 then
6133 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6136 $as_echo_n "checking for recent enough icotool... " >&6; }
6137 icotool_version=`icotool --version | head -n1`
6138 if test "x$icotool_version" != "x"
6139 then
6140 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6141 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6142 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6143 then
6144 ICOTOOL=false
6145 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6148 if test "$ICOTOOL" = false
6149 then
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6151 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6152 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6155 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6159 with_gettext=yes
6160 with_gettextpo=yes
6161 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6164 test "x$with_gettext" != xno || MSGFMT=false
6165 if test "$MSGFMT" != "false"
6166 then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6168 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6169 cat >conftest.po <<EOF
6170 # comment
6171 msgctxt "ctxt"
6172 msgid "id"
6173 msgstr "str"
6175 if $MSGFMT -o /dev/null conftest.po 2>&5
6176 then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6178 $as_echo "yes" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6182 MSGFMT=false
6185 if test "$MSGFMT" = false; then :
6186 case "x$with_gettext" in
6187 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6188 xno) ;;
6189 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6190 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6191 esac
6192 enable_po=${enable_po:-no}
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6197 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6198 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6201 ac_check_lib_save_LIBS=$LIBS
6202 LIBS="-li386 $LIBS"
6203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6206 /* Override any GCC internal prototype to avoid an error.
6207 Use char because int might match the return type of a GCC
6208 builtin and then its argument prototype would still apply. */
6209 #ifdef __cplusplus
6210 extern "C"
6211 #endif
6212 char i386_set_ldt ();
6214 main ()
6216 return i386_set_ldt ();
6218 return 0;
6220 _ACEOF
6221 if ac_fn_c_try_link "$LINENO"; then :
6222 ac_cv_lib_i386_i386_set_ldt=yes
6223 else
6224 ac_cv_lib_i386_i386_set_ldt=no
6226 rm -f core conftest.err conftest.$ac_objext \
6227 conftest$ac_exeext conftest.$ac_ext
6228 LIBS=$ac_check_lib_save_LIBS
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6231 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6232 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6233 cat >>confdefs.h <<_ACEOF
6234 #define HAVE_LIBI386 1
6235 _ACEOF
6237 LIBS="-li386 $LIBS"
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6242 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6243 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6244 $as_echo_n "(cached) " >&6
6245 else
6246 ac_check_lib_save_LIBS=$LIBS
6247 LIBS="-lossaudio $LIBS"
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6251 /* Override any GCC internal prototype to avoid an error.
6252 Use char because int might match the return type of a GCC
6253 builtin and then its argument prototype would still apply. */
6254 #ifdef __cplusplus
6255 extern "C"
6256 #endif
6257 char _oss_ioctl ();
6259 main ()
6261 return _oss_ioctl ();
6263 return 0;
6265 _ACEOF
6266 if ac_fn_c_try_link "$LINENO"; then :
6267 ac_cv_lib_ossaudio__oss_ioctl=yes
6268 else
6269 ac_cv_lib_ossaudio__oss_ioctl=no
6271 rm -f core conftest.err conftest.$ac_objext \
6272 conftest$ac_exeext conftest.$ac_ext
6273 LIBS=$ac_check_lib_save_LIBS
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6276 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6277 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6278 cat >>confdefs.h <<_ACEOF
6279 #define HAVE_LIBOSSAUDIO 1
6280 _ACEOF
6282 LIBS="-lossaudio $LIBS"
6287 OPENGL_LIBS=""
6291 # Check whether --enable-largefile was given.
6292 if test "${enable_largefile+set}" = set; then :
6293 enableval=$enable_largefile;
6296 if test "$enable_largefile" != no; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6299 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6300 if ${ac_cv_sys_largefile_CC+:} false; then :
6301 $as_echo_n "(cached) " >&6
6302 else
6303 ac_cv_sys_largefile_CC=no
6304 if test "$GCC" != yes; then
6305 ac_save_CC=$CC
6306 while :; do
6307 # IRIX 6.2 and later do not support large files by default,
6308 # so use the C compiler's -n32 option if that helps.
6309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6311 #include <sys/types.h>
6312 /* Check that off_t can represent 2**63 - 1 correctly.
6313 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6314 since some C++ compilers masquerading as C compilers
6315 incorrectly reject 9223372036854775807. */
6316 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6317 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6318 && LARGE_OFF_T % 2147483647 == 1)
6319 ? 1 : -1];
6321 main ()
6325 return 0;
6327 _ACEOF
6328 if ac_fn_c_try_compile "$LINENO"; then :
6329 break
6331 rm -f core conftest.err conftest.$ac_objext
6332 CC="$CC -n32"
6333 if ac_fn_c_try_compile "$LINENO"; then :
6334 ac_cv_sys_largefile_CC=' -n32'; break
6336 rm -f core conftest.err conftest.$ac_objext
6337 break
6338 done
6339 CC=$ac_save_CC
6340 rm -f conftest.$ac_ext
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6344 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6345 if test "$ac_cv_sys_largefile_CC" != no; then
6346 CC=$CC$ac_cv_sys_largefile_CC
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6350 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6351 if ${ac_cv_sys_file_offset_bits+:} false; then :
6352 $as_echo_n "(cached) " >&6
6353 else
6354 while :; do
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #include <sys/types.h>
6358 /* Check that off_t can represent 2**63 - 1 correctly.
6359 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6360 since some C++ compilers masquerading as C compilers
6361 incorrectly reject 9223372036854775807. */
6362 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6363 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6364 && LARGE_OFF_T % 2147483647 == 1)
6365 ? 1 : -1];
6367 main ()
6371 return 0;
6373 _ACEOF
6374 if ac_fn_c_try_compile "$LINENO"; then :
6375 ac_cv_sys_file_offset_bits=no; break
6377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6380 #define _FILE_OFFSET_BITS 64
6381 #include <sys/types.h>
6382 /* Check that off_t can represent 2**63 - 1 correctly.
6383 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6384 since some C++ compilers masquerading as C compilers
6385 incorrectly reject 9223372036854775807. */
6386 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6387 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6388 && LARGE_OFF_T % 2147483647 == 1)
6389 ? 1 : -1];
6391 main ()
6395 return 0;
6397 _ACEOF
6398 if ac_fn_c_try_compile "$LINENO"; then :
6399 ac_cv_sys_file_offset_bits=64; break
6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6402 ac_cv_sys_file_offset_bits=unknown
6403 break
6404 done
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6407 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6408 case $ac_cv_sys_file_offset_bits in #(
6409 no | unknown) ;;
6411 cat >>confdefs.h <<_ACEOF
6412 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6413 _ACEOF
6415 esac
6416 rm -rf conftest*
6417 if test $ac_cv_sys_file_offset_bits = unknown; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6419 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6420 if ${ac_cv_sys_large_files+:} false; then :
6421 $as_echo_n "(cached) " >&6
6422 else
6423 while :; do
6424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #include <sys/types.h>
6427 /* Check that off_t can represent 2**63 - 1 correctly.
6428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6429 since some C++ compilers masquerading as C compilers
6430 incorrectly reject 9223372036854775807. */
6431 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6433 && LARGE_OFF_T % 2147483647 == 1)
6434 ? 1 : -1];
6436 main ()
6440 return 0;
6442 _ACEOF
6443 if ac_fn_c_try_compile "$LINENO"; then :
6444 ac_cv_sys_large_files=no; break
6446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6448 /* end confdefs.h. */
6449 #define _LARGE_FILES 1
6450 #include <sys/types.h>
6451 /* Check that off_t can represent 2**63 - 1 correctly.
6452 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6453 since some C++ compilers masquerading as C compilers
6454 incorrectly reject 9223372036854775807. */
6455 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6457 && LARGE_OFF_T % 2147483647 == 1)
6458 ? 1 : -1];
6460 main ()
6464 return 0;
6466 _ACEOF
6467 if ac_fn_c_try_compile "$LINENO"; then :
6468 ac_cv_sys_large_files=1; break
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6471 ac_cv_sys_large_files=unknown
6472 break
6473 done
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6476 $as_echo "$ac_cv_sys_large_files" >&6; }
6477 case $ac_cv_sys_large_files in #(
6478 no | unknown) ;;
6480 cat >>confdefs.h <<_ACEOF
6481 #define _LARGE_FILES $ac_cv_sys_large_files
6482 _ACEOF
6484 esac
6485 rm -rf conftest*
6492 ac_ext=c
6493 ac_cpp='$CPP $CPPFLAGS'
6494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6498 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6499 # On Suns, sometimes $CPP names a directory.
6500 if test -n "$CPP" && test -d "$CPP"; then
6501 CPP=
6503 if test -z "$CPP"; then
6504 if ${ac_cv_prog_CPP+:} false; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 # Double quotes because CPP needs to be expanded
6508 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6510 ac_preproc_ok=false
6511 for ac_c_preproc_warn_flag in '' yes
6513 # Use a header file that comes with gcc, so configuring glibc
6514 # with a fresh cross-compiler works.
6515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6516 # <limits.h> exists even on freestanding compilers.
6517 # On the NeXT, cc -E runs the code through the compiler's parser,
6518 # not just through cpp. "Syntax error" is here to catch this case.
6519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6520 /* end confdefs.h. */
6521 #ifdef __STDC__
6522 # include <limits.h>
6523 #else
6524 # include <assert.h>
6525 #endif
6526 Syntax error
6527 _ACEOF
6528 if ac_fn_c_try_cpp "$LINENO"; then :
6530 else
6531 # Broken: fails on valid input.
6532 continue
6534 rm -f conftest.err conftest.i conftest.$ac_ext
6536 # OK, works on sane cases. Now check whether nonexistent headers
6537 # can be detected and how.
6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539 /* end confdefs.h. */
6540 #include <ac_nonexistent.h>
6541 _ACEOF
6542 if ac_fn_c_try_cpp "$LINENO"; then :
6543 # Broken: success on invalid input.
6544 continue
6545 else
6546 # Passes both tests.
6547 ac_preproc_ok=:
6548 break
6550 rm -f conftest.err conftest.i conftest.$ac_ext
6552 done
6553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6554 rm -f conftest.i conftest.err conftest.$ac_ext
6555 if $ac_preproc_ok; then :
6556 break
6559 done
6560 ac_cv_prog_CPP=$CPP
6563 CPP=$ac_cv_prog_CPP
6564 else
6565 ac_cv_prog_CPP=$CPP
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6568 $as_echo "$CPP" >&6; }
6569 ac_preproc_ok=false
6570 for ac_c_preproc_warn_flag in '' yes
6572 # Use a header file that comes with gcc, so configuring glibc
6573 # with a fresh cross-compiler works.
6574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6575 # <limits.h> exists even on freestanding compilers.
6576 # On the NeXT, cc -E runs the code through the compiler's parser,
6577 # not just through cpp. "Syntax error" is here to catch this case.
6578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6580 #ifdef __STDC__
6581 # include <limits.h>
6582 #else
6583 # include <assert.h>
6584 #endif
6585 Syntax error
6586 _ACEOF
6587 if ac_fn_c_try_cpp "$LINENO"; then :
6589 else
6590 # Broken: fails on valid input.
6591 continue
6593 rm -f conftest.err conftest.i conftest.$ac_ext
6595 # OK, works on sane cases. Now check whether nonexistent headers
6596 # can be detected and how.
6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6599 #include <ac_nonexistent.h>
6600 _ACEOF
6601 if ac_fn_c_try_cpp "$LINENO"; then :
6602 # Broken: success on invalid input.
6603 continue
6604 else
6605 # Passes both tests.
6606 ac_preproc_ok=:
6607 break
6609 rm -f conftest.err conftest.i conftest.$ac_ext
6611 done
6612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6613 rm -f conftest.i conftest.err conftest.$ac_ext
6614 if $ac_preproc_ok; then :
6616 else
6617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6619 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6620 See \`config.log' for more details" "$LINENO" 5; }
6623 ac_ext=c
6624 ac_cpp='$CPP $CPPFLAGS'
6625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6631 $as_echo_n "checking for ANSI C header files... " >&6; }
6632 if ${ac_cv_header_stdc+:} false; then :
6633 $as_echo_n "(cached) " >&6
6634 else
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 #include <stdlib.h>
6638 #include <stdarg.h>
6639 #include <string.h>
6640 #include <float.h>
6643 main ()
6647 return 0;
6649 _ACEOF
6650 if ac_fn_c_try_compile "$LINENO"; then :
6651 ac_cv_header_stdc=yes
6652 else
6653 ac_cv_header_stdc=no
6655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6657 if test $ac_cv_header_stdc = yes; then
6658 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <string.h>
6663 _ACEOF
6664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6665 $EGREP "memchr" >/dev/null 2>&1; then :
6667 else
6668 ac_cv_header_stdc=no
6670 rm -f conftest*
6674 if test $ac_cv_header_stdc = yes; then
6675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6677 /* end confdefs.h. */
6678 #include <stdlib.h>
6680 _ACEOF
6681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6682 $EGREP "free" >/dev/null 2>&1; then :
6684 else
6685 ac_cv_header_stdc=no
6687 rm -f conftest*
6691 if test $ac_cv_header_stdc = yes; then
6692 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6693 if test "$cross_compiling" = yes; then :
6695 else
6696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6698 #include <ctype.h>
6699 #include <stdlib.h>
6700 #if ((' ' & 0x0FF) == 0x020)
6701 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6702 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6703 #else
6704 # define ISLOWER(c) \
6705 (('a' <= (c) && (c) <= 'i') \
6706 || ('j' <= (c) && (c) <= 'r') \
6707 || ('s' <= (c) && (c) <= 'z'))
6708 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6709 #endif
6711 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6713 main ()
6715 int i;
6716 for (i = 0; i < 256; i++)
6717 if (XOR (islower (i), ISLOWER (i))
6718 || toupper (i) != TOUPPER (i))
6719 return 2;
6720 return 0;
6722 _ACEOF
6723 if ac_fn_c_try_run "$LINENO"; then :
6725 else
6726 ac_cv_header_stdc=no
6728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6729 conftest.$ac_objext conftest.beam conftest.$ac_ext
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6735 $as_echo "$ac_cv_header_stdc" >&6; }
6736 if test $ac_cv_header_stdc = yes; then
6738 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6742 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6743 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6744 inttypes.h stdint.h unistd.h
6745 do :
6746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6750 cat >>confdefs.h <<_ACEOF
6751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6752 _ACEOF
6756 done
6759 for ac_header in \
6760 AL/al.h \
6761 ApplicationServices/ApplicationServices.h \
6762 AudioToolbox/AudioConverter.h \
6763 AudioUnit/AudioUnit.h \
6764 AudioUnit/AudioComponent.h \
6765 CL/cl.h \
6766 Carbon/Carbon.h \
6767 CommonCrypto/CommonDigest.h \
6768 CoreAudio/CoreAudio.h \
6769 CoreServices/CoreServices.h \
6770 DiskArbitration/DiskArbitration.h \
6771 IOKit/IOKitLib.h \
6772 IOKit/hid/IOHIDLib.h \
6773 OpenAL/al.h \
6774 OpenCL/opencl.h \
6775 QuickTime/ImageCompression.h \
6776 Security/Security.h \
6777 alias.h \
6778 alsa/asoundlib.h \
6779 arpa/inet.h \
6780 arpa/nameser.h \
6781 asm/types.h \
6782 asm/user.h \
6783 curses.h \
6784 direct.h \
6785 dirent.h \
6786 dlfcn.h \
6787 elf.h \
6788 float.h \
6789 fnmatch.h \
6790 getopt.h \
6791 gettext-po.h \
6792 grp.h \
6793 gsm.h \
6794 gsm/gsm.h \
6795 ieeefp.h \
6796 inet/mib2.h \
6797 io.h \
6798 kstat.h \
6799 lber.h \
6800 ldap.h \
6801 libproc.h \
6802 link.h \
6803 linux/cdrom.h \
6804 linux/compiler.h \
6805 linux/filter.h \
6806 linux/hdreg.h \
6807 linux/input.h \
6808 linux/ioctl.h \
6809 linux/joystick.h \
6810 linux/major.h \
6811 linux/param.h \
6812 linux/serial.h \
6813 linux/types.h \
6814 linux/ucdrom.h \
6815 lwp.h \
6816 mach-o/nlist.h \
6817 mach-o/loader.h \
6818 mach/mach.h \
6819 mach/machine.h \
6820 machine/cpu.h \
6821 machine/limits.h \
6822 machine/sysarch.h \
6823 mntent.h \
6824 ncurses.h \
6825 netdb.h \
6826 netinet/in.h \
6827 netinet/in_systm.h \
6828 netinet/tcp.h \
6829 netinet/tcp_fsm.h \
6830 pcap/pcap.h \
6831 poll.h \
6832 port.h \
6833 process.h \
6834 pthread.h \
6835 pwd.h \
6836 sched.h \
6837 scsi/scsi.h \
6838 scsi/scsi_ioctl.h \
6839 scsi/sg.h \
6840 stdbool.h \
6841 stdint.h \
6842 stropts.h \
6843 sys/asoundlib.h \
6844 sys/attr.h \
6845 sys/cdio.h \
6846 sys/elf32.h \
6847 sys/epoll.h \
6848 sys/event.h \
6849 sys/exec_elf.h \
6850 sys/filio.h \
6851 sys/inotify.h \
6852 sys/ioctl.h \
6853 sys/ipc.h \
6854 sys/limits.h \
6855 sys/link.h \
6856 sys/mman.h \
6857 sys/modem.h \
6858 sys/msg.h \
6859 sys/mtio.h \
6860 sys/param.h \
6861 sys/poll.h \
6862 sys/prctl.h \
6863 sys/protosw.h \
6864 sys/ptrace.h \
6865 sys/queue.h \
6866 sys/resource.h \
6867 sys/scsiio.h \
6868 sys/shm.h \
6869 sys/signal.h \
6870 sys/socket.h \
6871 sys/socketvar.h \
6872 sys/sockio.h \
6873 sys/statvfs.h \
6874 sys/strtio.h \
6875 sys/syscall.h \
6876 sys/sysinfo.h \
6877 sys/tihdr.h \
6878 sys/time.h \
6879 sys/timeout.h \
6880 sys/times.h \
6881 sys/uio.h \
6882 sys/user.h \
6883 sys/utsname.h \
6884 sys/vm86.h \
6885 sys/vnode.h \
6886 sys/wait.h \
6887 syscall.h \
6888 termios.h \
6889 unistd.h \
6890 utime.h \
6891 valgrind/memcheck.h \
6892 valgrind/valgrind.h \
6893 zlib.h
6895 do :
6896 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6897 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6898 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6899 cat >>confdefs.h <<_ACEOF
6900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6901 _ACEOF
6905 done
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6908 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6909 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6910 $as_echo_n "(cached) " >&6
6911 else
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6914 #include <sys/types.h>
6916 main ()
6918 return makedev(0, 0);
6920 return 0;
6922 _ACEOF
6923 if ac_fn_c_try_link "$LINENO"; then :
6924 ac_cv_header_sys_types_h_makedev=yes
6925 else
6926 ac_cv_header_sys_types_h_makedev=no
6928 rm -f core conftest.err conftest.$ac_objext \
6929 conftest$ac_exeext conftest.$ac_ext
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6933 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6935 if test $ac_cv_header_sys_types_h_makedev = no; then
6936 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6937 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6939 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6945 if test $ac_cv_header_sys_mkdev_h = no; then
6946 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6947 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6949 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6958 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6959 if ${ac_cv_header_stat_broken+:} false; then :
6960 $as_echo_n "(cached) " >&6
6961 else
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 #include <sys/types.h>
6965 #include <sys/stat.h>
6967 #if defined S_ISBLK && defined S_IFDIR
6968 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6969 #endif
6971 #if defined S_ISBLK && defined S_IFCHR
6972 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6973 #endif
6975 #if defined S_ISLNK && defined S_IFREG
6976 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6977 #endif
6979 #if defined S_ISSOCK && defined S_IFREG
6980 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6981 #endif
6983 _ACEOF
6984 if ac_fn_c_try_compile "$LINENO"; then :
6985 ac_cv_header_stat_broken=no
6986 else
6987 ac_cv_header_stat_broken=yes
6989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6992 $as_echo "$ac_cv_header_stat_broken" >&6; }
6993 if test $ac_cv_header_stat_broken = yes; then
6995 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7001 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7002 do :
7003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7005 #ifdef HAVE_SYS_PARAM_H
7006 # include <sys/param.h>
7007 #endif
7009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7010 cat >>confdefs.h <<_ACEOF
7011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7012 _ACEOF
7016 done
7019 for ac_header in \
7020 netinet/ip.h \
7021 net/if.h \
7022 net/if_arp.h \
7023 net/if_dl.h \
7024 net/if_types.h \
7025 net/route.h \
7026 netinet/if_ether.h \
7027 netinet/if_inarp.h \
7028 netinet/in_pcb.h \
7029 netinet/ip_icmp.h \
7030 netinet/ip_var.h \
7031 netinet/udp.h \
7032 netipx/ipx.h \
7033 sys/un.h \
7035 do :
7036 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7037 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7038 #ifdef HAVE_SYS_SOCKET_H
7039 # include <sys/socket.h>
7040 #endif
7041 #ifdef HAVE_SYS_SOCKETVAR_H
7042 # include <sys/socketvar.h>
7043 #endif
7044 #ifdef HAVE_NET_ROUTE_H
7045 # include <net/route.h>
7046 #endif
7047 #ifdef HAVE_NETINET_IN_H
7048 # include <netinet/in.h>
7049 #endif
7050 #ifdef HAVE_NETINET_IN_SYSTM_H
7051 # include <netinet/in_systm.h>
7052 #endif
7053 #ifdef HAVE_NET_IF_H
7054 # include <net/if.h>
7055 #endif
7056 #ifdef HAVE_NETINET_IP_H
7057 # include <netinet/ip.h>
7058 #endif
7060 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7061 cat >>confdefs.h <<_ACEOF
7062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7063 _ACEOF
7067 done
7070 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7071 do :
7072 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7073 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7074 #ifdef HAVE_ALIAS_H
7075 # include <alias.h>
7076 #endif
7077 #ifdef HAVE_SYS_SOCKET_H
7078 # include <sys/socket.h>
7079 #endif
7080 #ifdef HAVE_SYS_SOCKETVAR_H
7081 # include <sys/socketvar.h>
7082 #endif
7083 #ifdef HAVE_SYS_TIMEOUT_H
7084 # include <sys/timeout.h>
7085 #endif
7086 #ifdef HAVE_NETINET_IN_H
7087 # include <netinet/in.h>
7088 #endif
7089 #ifdef HAVE_NETINET_IN_SYSTM_H
7090 # include <netinet/in_systm.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IP_H
7093 # include <netinet/ip.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IP_VAR_H
7096 # include <netinet/ip_var.h>
7097 #endif
7098 #ifdef HAVE_NETINET_IP_ICMP_H
7099 # include <netinet/ip_icmp.h>
7100 #endif
7101 #ifdef HAVE_NETINET_UDP_H
7102 # include <netinet/udp.h>
7103 #endif
7104 #ifdef HAVE_NETINET_TCP_H
7105 # include <netinet/tcp.h>
7106 #endif
7107 #ifdef HAVE_NETINET_TCP_TIMER_H
7108 #include <netinet/tcp_timer.h>
7109 #endif
7111 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7112 cat >>confdefs.h <<_ACEOF
7113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7114 _ACEOF
7118 done
7121 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7122 do :
7123 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7124 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7125 #ifdef HAVE_ASM_TYPES_H
7126 # include <asm/types.h>
7127 #endif
7128 #ifdef HAVE_SYS_SOCKET_H
7129 # include <sys/socket.h>
7130 #endif
7131 #ifdef HAVE_LINUX_TYPES_H
7132 # include <linux/types.h>
7133 #endif
7135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7136 cat >>confdefs.h <<_ACEOF
7137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7138 _ACEOF
7142 done
7145 for ac_header in mach-o/dyld_images.h
7146 do :
7147 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7148 # include <stdbool.h>
7149 #endif
7150 #ifdef HAVE_STDINT_H
7151 # include <stdint.h>
7152 #endif
7154 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7155 cat >>confdefs.h <<_ACEOF
7156 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7157 _ACEOF
7161 done
7164 for ac_header in resolv.h
7165 do :
7166 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7167 #ifdef HAVE_SYS_SOCKET_H
7168 # include <sys/socket.h>
7169 #endif
7170 #ifdef HAVE_NETINET_IN_H
7171 # include <netinet/in.h>
7172 #endif
7173 #ifdef HAVE_ARPA_NAMESER_H
7174 # include <arpa/nameser.h>
7175 #endif
7177 if test "x$ac_cv_header_resolv_h" = xyes; then :
7178 cat >>confdefs.h <<_ACEOF
7179 #define HAVE_RESOLV_H 1
7180 _ACEOF
7184 done
7187 for ac_header in ifaddrs.h
7188 do :
7189 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7191 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7192 cat >>confdefs.h <<_ACEOF
7193 #define HAVE_IFADDRS_H 1
7194 _ACEOF
7198 done
7201 for ac_header in sys/ucontext.h
7202 do :
7203 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7205 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7206 cat >>confdefs.h <<_ACEOF
7207 #define HAVE_SYS_UCONTEXT_H 1
7208 _ACEOF
7212 done
7215 for ac_header in sys/thr.h
7216 do :
7217 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7218 #ifdef HAVE_SYS_UCONTEXT_H
7219 #include <sys/ucontext.h>
7220 #endif
7222 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7223 cat >>confdefs.h <<_ACEOF
7224 #define HAVE_SYS_THR_H 1
7225 _ACEOF
7229 done
7232 for ac_header in pthread_np.h
7233 do :
7234 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7235 #include <pthread.h>
7236 #endif
7238 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7239 cat >>confdefs.h <<_ACEOF
7240 #define HAVE_PTHREAD_NP_H 1
7241 _ACEOF
7245 done
7248 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7249 do :
7250 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7251 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7252 #include <sys/time.h>
7253 #endif
7254 #include <sys/types.h>
7255 #ifdef HAVE_ASM_TYPES_H
7256 #include <asm/types.h>
7257 #endif
7259 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7260 cat >>confdefs.h <<_ACEOF
7261 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7262 _ACEOF
7266 done
7269 for ac_header in libprocstat.h
7270 do :
7271 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7272 #include <sys/param.h>
7273 #endif
7274 #ifdef HAVE_SYS_QUEUE_H
7275 #include <sys/queue.h>
7276 #endif
7277 #ifdef HAVE_SYS_SOCKET_H
7278 #include <sys/socket.h>
7279 #endif
7281 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7282 cat >>confdefs.h <<_ACEOF
7283 #define HAVE_LIBPROCSTAT_H 1
7284 _ACEOF
7288 done
7292 dlldir="\${libdir}/wine"
7294 DLLFLAGS="-D_REENTRANT"
7296 LDRPATH_INSTALL=""
7298 LDRPATH_LOCAL=""
7300 LDEXECFLAGS=""
7302 LIBEXT="so"
7303 DLLEXT=".so"
7304 IMPLIBEXT="def"
7305 # Extract the first word of "ldd", so it can be a program name with args.
7306 set dummy ldd; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_path_LDD+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 case $LDD in
7313 [\\/]* | ?:[\\/]*)
7314 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 as_dummy="/sbin:/usr/sbin:$PATH"
7319 for as_dir in $as_dummy
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7325 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7333 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7335 esac
7337 LDD=$ac_cv_path_LDD
7338 if test -n "$LDD"; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7340 $as_echo "$LDD" >&6; }
7341 else
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7343 $as_echo "no" >&6; }
7347 if test -n "$ac_tool_prefix"; then
7348 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7349 set dummy ${ac_tool_prefix}otool; ac_word=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351 $as_echo_n "checking for $ac_word... " >&6; }
7352 if ${ac_cv_prog_OTOOL+:} false; then :
7353 $as_echo_n "(cached) " >&6
7354 else
7355 if test -n "$OTOOL"; then
7356 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7357 else
7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 for as_dir in $PATH
7361 IFS=$as_save_IFS
7362 test -z "$as_dir" && as_dir=.
7363 for ac_exec_ext in '' $ac_executable_extensions; do
7364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7365 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 break 2
7369 done
7370 done
7371 IFS=$as_save_IFS
7375 OTOOL=$ac_cv_prog_OTOOL
7376 if test -n "$OTOOL"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7378 $as_echo "$OTOOL" >&6; }
7379 else
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7386 if test -z "$ac_cv_prog_OTOOL"; then
7387 ac_ct_OTOOL=$OTOOL
7388 # Extract the first word of "otool", so it can be a program name with args.
7389 set dummy otool; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 $as_echo_n "checking for $ac_word... " >&6; }
7392 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7393 $as_echo_n "(cached) " >&6
7394 else
7395 if test -n "$ac_ct_OTOOL"; then
7396 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7401 IFS=$as_save_IFS
7402 test -z "$as_dir" && as_dir=.
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_ac_ct_OTOOL="otool"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 break 2
7409 done
7410 done
7411 IFS=$as_save_IFS
7415 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7416 if test -n "$ac_ct_OTOOL"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7418 $as_echo "$ac_ct_OTOOL" >&6; }
7419 else
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7424 if test "x$ac_ct_OTOOL" = x; then
7425 OTOOL="otool"
7426 else
7427 case $cross_compiling:$ac_tool_warned in
7428 yes:)
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431 ac_tool_warned=yes ;;
7432 esac
7433 OTOOL=$ac_ct_OTOOL
7435 else
7436 OTOOL="$ac_cv_prog_OTOOL"
7439 if test -n "$ac_tool_prefix"; then
7440 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7441 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if ${ac_cv_prog_READELF+:} false; then :
7445 $as_echo_n "(cached) " >&6
7446 else
7447 if test -n "$READELF"; then
7448 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7449 else
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 for as_dir in $PATH
7453 IFS=$as_save_IFS
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7457 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 break 2
7461 done
7462 done
7463 IFS=$as_save_IFS
7467 READELF=$ac_cv_prog_READELF
7468 if test -n "$READELF"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7470 $as_echo "$READELF" >&6; }
7471 else
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7478 if test -z "$ac_cv_prog_READELF"; then
7479 ac_ct_READELF=$READELF
7480 # Extract the first word of "readelf", so it can be a program name with args.
7481 set dummy readelf; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7485 $as_echo_n "(cached) " >&6
7486 else
7487 if test -n "$ac_ct_READELF"; then
7488 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7489 else
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 for as_dir in $PATH
7493 IFS=$as_save_IFS
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7497 ac_cv_prog_ac_ct_READELF="readelf"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 break 2
7501 done
7502 done
7503 IFS=$as_save_IFS
7507 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7508 if test -n "$ac_ct_READELF"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7510 $as_echo "$ac_ct_READELF" >&6; }
7511 else
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7516 if test "x$ac_ct_READELF" = x; then
7517 READELF="true"
7518 else
7519 case $cross_compiling:$ac_tool_warned in
7520 yes:)
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523 ac_tool_warned=yes ;;
7524 esac
7525 READELF=$ac_ct_READELF
7527 else
7528 READELF="$ac_cv_prog_READELF"
7531 wine_rules_file=conf$$rules.make
7532 rm -f $wine_rules_file
7533 SUBDIRS=""
7535 DISABLED_SUBDIRS=""
7537 CONFIGURE_TARGETS=""
7539 ALL_TEST_RESOURCES=""
7542 wine_fn_append_file ()
7544 as_fn_append $1 " \\$as_nl $2"
7547 wine_fn_append_rule ()
7549 $as_echo "$1" >>$wine_rules_file
7552 wine_fn_has_flag ()
7554 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7557 wine_fn_all_rules ()
7559 wine_fn_append_file SUBDIRS $ac_dir
7560 wine_fn_append_rule \
7561 "all: $ac_dir
7562 .PHONY: $ac_dir
7563 $ac_dir: dummy
7564 @cd $ac_dir && \$(MAKE)"
7567 wine_fn_install_rules ()
7569 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7571 wine_fn_append_rule \
7572 ".PHONY: $ac_dir/install $ac_dir/uninstall
7573 $ac_dir/install:: $ac_dir
7574 @cd $ac_dir && \$(MAKE) install
7575 $ac_dir/uninstall::
7576 @cd $ac_dir && \$(MAKE) uninstall
7577 install:: $ac_dir/install
7578 __uninstall__: $ac_dir/uninstall"
7580 if wine_fn_has_flag install-lib
7581 then
7582 wine_fn_append_rule \
7583 ".PHONY: $ac_dir/install-lib
7584 $ac_dir/install-lib:: $ac_dir
7585 @cd $ac_dir && \$(MAKE) install-lib
7586 install-lib:: $ac_dir/install-lib"
7589 if wine_fn_has_flag install-dev
7590 then
7591 wine_fn_append_rule \
7592 ".PHONY: $ac_dir/install-dev
7593 $ac_dir/install-dev:: $ac_dir
7594 @cd $ac_dir && \$(MAKE) install-dev
7595 install-dev:: $ac_dir/install-dev"
7599 wine_fn_clean_rules ()
7601 ac_clean=$@
7603 if wine_fn_has_flag clean
7604 then
7605 wine_fn_append_rule \
7606 "$ac_dir/clean: dummy
7607 @cd $ac_dir && \$(MAKE) clean"
7608 else
7609 wine_fn_append_rule \
7610 "$ac_dir/clean: dummy
7611 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7613 wine_fn_append_rule \
7614 "__clean__: $ac_dir/clean
7615 .PHONY: $ac_dir/clean"
7618 wine_fn_disabled_rules ()
7620 ac_clean=$@
7622 wine_fn_append_file SUBDIRS $ac_dir
7623 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7624 wine_fn_append_rule \
7625 "__clean__: $ac_dir/clean
7626 .PHONY: $ac_dir/clean
7627 $ac_dir/clean: dummy
7628 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7631 wine_fn_config_makefile ()
7633 ac_dir=$1
7634 ac_enable=$2
7635 ac_flags=$3
7637 case $ac_dir in
7638 fonts|server) test -z "$with_wine64" || return ;;
7639 esac
7640 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7641 wine_fn_disabled_rules; return
7643 wine_fn_all_rules
7644 wine_fn_install_rules
7645 wine_fn_clean_rules
7648 wine_fn_config_lib ()
7650 ac_name=$1
7651 ac_flags=$2
7652 ac_dir=dlls/$ac_name
7653 ac_deps="include"
7655 if test "x$enable_tools" = xno; then :
7657 else
7658 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7660 wine_fn_all_rules
7661 wine_fn_clean_rules
7663 wine_fn_append_rule \
7664 ".PHONY: $ac_dir/install $ac_dir/uninstall
7665 $ac_dir/install:: $ac_dir
7666 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7667 $ac_dir/uninstall::
7668 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7669 install install-dev:: $ac_dir/install
7670 __uninstall__: $ac_dir/uninstall
7671 __builddeps__: $ac_dir
7672 $ac_dir: $ac_deps"
7675 wine_fn_config_dll ()
7677 ac_name=$1
7678 ac_dir=dlls/$ac_name
7679 ac_enable=$2
7680 ac_flags=$3
7681 ac_implib=${4:-$ac_name}
7682 ac_file=$ac_dir/lib$ac_implib
7683 ac_dll=$ac_name
7684 ac_deps="include"
7685 ac_implibflags=""
7687 if test "x$enable_tools" = xno; then :
7689 else
7690 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7692 case $ac_name in
7693 *16) ac_implibflags=" -m16" ;;
7694 *.*) ;;
7695 *) ac_dll=$ac_dll.dll ;;
7696 esac
7698 ac_clean=
7699 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7700 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7702 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7703 if test "$ac_enable" != enable_win16
7704 then
7705 wine_fn_clean_rules $ac_clean
7706 wine_fn_append_file SUBDIRS $ac_dir
7707 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7708 else
7709 wine_fn_disabled_rules $ac_clean
7710 return
7712 else
7713 wine_fn_all_rules
7714 wine_fn_clean_rules $ac_clean
7715 wine_fn_append_rule \
7716 "$ac_dir: __builddeps__
7717 manpages htmlpages sgmlpages xmlpages::
7718 @cd $ac_dir && \$(MAKE) \$@
7719 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7720 install install-lib:: $ac_dir/install-lib
7721 __uninstall__: $ac_dir/uninstall"
7722 if test -n "$DLLEXT"
7723 then
7724 wine_fn_append_rule \
7725 "$ac_dir/install-lib:: $ac_dir
7726 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7727 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7728 $ac_dir/uninstall::
7729 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7730 else
7731 wine_fn_append_rule \
7732 "$ac_dir/install-lib:: $ac_dir
7733 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7734 $ac_dir/uninstall::
7735 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7739 if wine_fn_has_flag staticimplib
7740 then
7741 wine_fn_append_rule \
7742 "__builddeps__: $ac_file.a
7743 $ac_file.a $ac_file.cross.a: $ac_deps
7744 $ac_file.a: dummy
7745 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7746 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7747 $ac_dir/install-dev:: $ac_file.a
7748 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7749 $ac_dir/uninstall::
7750 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7751 install install-dev:: $ac_dir/install-dev
7752 __uninstall__: $ac_dir/uninstall"
7754 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7755 then
7756 wine_fn_append_rule \
7757 "__builddeps__: $ac_file.cross.a
7758 $ac_file.cross.a: dummy
7759 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7762 elif wine_fn_has_flag implib
7763 then
7764 wine_fn_append_rule \
7765 "__builddeps__: $ac_file.$IMPLIBEXT
7766 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7767 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7768 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7769 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7770 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7771 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7772 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7775 install install-dev:: $ac_dir/install-dev
7776 __uninstall__: $ac_dir/uninstall"
7777 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7778 then
7779 wine_fn_append_rule \
7780 "__builddeps__: $ac_file.cross.a
7781 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7782 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7787 wine_fn_config_program ()
7789 ac_name=$1
7790 ac_dir=programs/$ac_name
7791 ac_enable=$2
7792 ac_flags=$3
7793 ac_program=$ac_name
7795 case $ac_name in
7796 *.*) ;;
7797 *) ac_program=$ac_program.exe ;;
7798 esac
7800 ac_clean=
7801 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7802 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7804 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7805 wine_fn_disabled_rules $ac_clean; return
7808 wine_fn_all_rules
7809 wine_fn_clean_rules $ac_clean
7810 wine_fn_append_rule "$ac_dir: __builddeps__"
7812 wine_fn_has_flag install || return
7813 wine_fn_append_rule \
7814 ".PHONY: $ac_dir/install $ac_dir/uninstall
7815 install install-lib:: $ac_dir/install
7816 __uninstall__: $ac_dir/uninstall"
7818 if test -n "$DLLEXT"
7819 then
7820 wine_fn_append_rule \
7821 "$ac_dir/install:: $ac_dir
7822 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7823 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7824 $ac_dir/uninstall::
7825 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7827 if test -z "$with_wine64" && wine_fn_has_flag installbin
7828 then
7829 wine_fn_append_rule \
7830 "$ac_dir/install:: __tooldeps__
7831 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7832 $ac_dir/uninstall::
7833 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7835 else
7836 wine_fn_append_rule \
7837 "$ac_dir/install:: $ac_dir
7838 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7839 $ac_dir/uninstall::
7840 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7843 if test -z "$with_wine64" && wine_fn_has_flag manpage
7844 then
7845 wine_fn_append_rule \
7846 "$ac_dir/install:: $ac_dir
7847 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7848 $ac_dir/uninstall::
7849 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7853 wine_fn_config_test ()
7855 ac_dir=$1
7856 ac_name=$2
7857 ac_flags=$3
7859 ac_clean=
7860 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7861 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7863 if test "x$enable_tests" = xno; then :
7864 wine_fn_disabled_rules $ac_clean; return
7867 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7868 wine_fn_all_rules
7869 wine_fn_clean_rules $ac_clean
7871 wine_fn_append_rule \
7872 "$ac_dir: __builddeps__
7873 programs/winetest: $ac_dir
7874 check test: $ac_dir/test
7875 .PHONY: $ac_dir/test
7876 $ac_dir/test: dummy
7877 @cd $ac_dir && \$(MAKE) test
7878 testclean::
7879 \$(RM) $ac_dir/*.ok"
7881 if test -n "$CROSSTARGET"
7882 then
7883 wine_fn_append_rule \
7884 "crosstest: $ac_dir/crosstest
7885 .PHONY: $ac_dir/crosstest
7886 $ac_dir/crosstest: __builddeps__ dummy
7887 @cd $ac_dir && \$(MAKE) crosstest"
7891 wine_fn_config_tool ()
7893 ac_dir=$1
7894 ac_flags=$2
7895 if test "x$enable_tools" = xno; then :
7896 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7899 wine_fn_all_rules
7900 wine_fn_install_rules
7901 wine_fn_clean_rules
7903 wine_fn_append_rule "__tooldeps__: $ac_dir"
7904 wine_fn_append_rule "$ac_dir: libs/port"
7905 case $ac_dir in
7906 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7907 esac
7910 wine_fn_config_symlink ()
7912 ac_linkdir=
7913 if test "x$1" = "x-d"
7914 then
7915 ac_linkdir=$2
7916 shift; shift
7918 ac_links=$@
7919 wine_fn_append_rule \
7920 "$ac_links:
7921 @./config.status \$@"
7922 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7923 test -n "$ac_linkdir" || return
7924 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7927 wine_binary="wine"
7928 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7929 WINELOADER_PROGRAMS="$wine_binary"
7931 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7933 case $host_os in
7934 cygwin*|mingw32*)
7935 if test -n "$ac_tool_prefix"; then
7936 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7937 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939 $as_echo_n "checking for $ac_word... " >&6; }
7940 if ${ac_cv_prog_DLLTOOL+:} false; then :
7941 $as_echo_n "(cached) " >&6
7942 else
7943 if test -n "$DLLTOOL"; then
7944 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7945 else
7946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 for as_dir in $PATH
7949 IFS=$as_save_IFS
7950 test -z "$as_dir" && as_dir=.
7951 for ac_exec_ext in '' $ac_executable_extensions; do
7952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7953 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 break 2
7957 done
7958 done
7959 IFS=$as_save_IFS
7963 DLLTOOL=$ac_cv_prog_DLLTOOL
7964 if test -n "$DLLTOOL"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7966 $as_echo "$DLLTOOL" >&6; }
7967 else
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7974 if test -z "$ac_cv_prog_DLLTOOL"; then
7975 ac_ct_DLLTOOL=$DLLTOOL
7976 # Extract the first word of "dlltool", so it can be a program name with args.
7977 set dummy dlltool; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7981 $as_echo_n "(cached) " >&6
7982 else
7983 if test -n "$ac_ct_DLLTOOL"; then
7984 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7985 else
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 for as_dir in $PATH
7989 IFS=$as_save_IFS
7990 test -z "$as_dir" && as_dir=.
7991 for ac_exec_ext in '' $ac_executable_extensions; do
7992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7993 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 break 2
7997 done
7998 done
7999 IFS=$as_save_IFS
8003 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8004 if test -n "$ac_ct_DLLTOOL"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8006 $as_echo "$ac_ct_DLLTOOL" >&6; }
8007 else
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8012 if test "x$ac_ct_DLLTOOL" = x; then
8013 DLLTOOL="false"
8014 else
8015 case $cross_compiling:$ac_tool_warned in
8016 yes:)
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8019 ac_tool_warned=yes ;;
8020 esac
8021 DLLTOOL=$ac_ct_DLLTOOL
8023 else
8024 DLLTOOL="$ac_cv_prog_DLLTOOL"
8027 LIBEXT="dll"
8028 DLLEXT=""
8029 IMPLIBEXT="a"
8030 enable_iphlpapi=${enable_iphlpapi:-no}
8031 enable_kernel32=${enable_kernel32:-no}
8032 enable_msvcrt=${enable_msvcrt:-no}
8033 enable_ntdll=${enable_ntdll:-no}
8034 enable_ws2_32=${enable_ws2_32:-no}
8035 enable_loader=${enable_loader:-no}
8036 enable_server=${enable_server:-no}
8037 with_x=${with_x:-no}
8038 with_pthread=${with_pthread:-no}
8040 crtlibs=""
8041 case $host_os in
8042 mingw32*)
8043 crtlibs="-lmsvcrt"
8044 SOCKET_LIBS="-lws2_32"
8046 esac
8048 LIBWINE_SHAREDLIB="libwine.dll"
8050 LIBWINE_IMPORTLIB="libwine.a"
8052 LIBWINE_INSTALL_LIB="libwine.dll"
8054 LIBWINE_INSTALL_DEV="libwine.a"
8056 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8058 LIBWINE_DEPENDS="wine.def"
8062 darwin*|macosx*)
8063 for ac_header in libunwind.h
8064 do :
8065 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8067 cat >>confdefs.h <<_ACEOF
8068 #define HAVE_LIBUNWIND_H 1
8069 _ACEOF
8073 done
8075 LIBEXT="dylib"
8076 DLLFLAGS="$DLLFLAGS -fPIC"
8077 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8078 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8079 COREFOUNDATION_LIBS="-framework CoreFoundation"
8081 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8083 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8085 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8087 CORESERVICES_LIBS="-framework CoreServices"
8089 APPKIT_LIBS="-framework AppKit"
8091 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8093 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8094 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8095 $as_echo_n "(cached) " >&6
8096 else
8097 ac_wine_try_cflags_saved=$CFLAGS
8098 CFLAGS="$CFLAGS -Wl,-no_pie"
8099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */
8101 int main(int argc, char **argv) { return 0; }
8102 _ACEOF
8103 if ac_fn_c_try_link "$LINENO"; then :
8104 ac_cv_cflags__Wl__no_pie=yes
8105 else
8106 ac_cv_cflags__Wl__no_pie=no
8108 rm -f core conftest.err conftest.$ac_objext \
8109 conftest$ac_exeext conftest.$ac_ext
8110 CFLAGS=$ac_wine_try_cflags_saved
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8113 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8114 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8115 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8117 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8118 then
8119 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8122 if test "$ac_cv_header_Security_Security_h" = "yes"
8123 then
8124 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8126 ac_save_LIBS="$LIBS"
8127 LIBS="$LIBS $SECURITY_LIBS"
8128 for ac_func in SSLCopyPeerCertificates
8129 do :
8130 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8131 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8132 cat >>confdefs.h <<_ACEOF
8133 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8134 _ACEOF
8137 done
8139 LIBS="$ac_save_LIBS"
8140 with_gnutls=${with_gnutls:-no}
8142 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8143 then
8144 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8145 then
8146 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8148 else
8149 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8152 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8153 ac_save_LIBS="$LIBS"
8154 LIBS="$LIBS $COREAUDIO_LIBS"
8155 for ac_func in AUGraphAddNode
8156 do :
8157 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8158 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8159 cat >>confdefs.h <<_ACEOF
8160 #define HAVE_AUGRAPHADDNODE 1
8161 _ACEOF
8164 done
8166 LIBS="$ac_save_LIBS"
8168 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8169 then
8170 OPENAL_LIBS="-framework OpenAL"
8173 cat >>confdefs.h <<_ACEOF
8174 #define HAVE_OPENAL 1
8175 _ACEOF
8177 ac_cv_lib_openal=yes
8179 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8180 then
8181 OPENCL_LIBS="-framework OpenCL"
8183 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8185 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8186 then
8187 ac_save_LIBS="$LIBS"
8188 LIBS="$LIBS $IOKIT_LIBS"
8189 for ac_func in IOHIDManagerCreate
8190 do :
8191 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8192 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8193 cat >>confdefs.h <<_ACEOF
8194 #define HAVE_IOHIDMANAGERCREATE 1
8195 _ACEOF
8198 done
8200 LIBS="$ac_save_LIBS"
8202 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8203 then
8204 ac_save_LIBS="$LIBS"
8205 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8207 $as_echo_n "checking for the QuickTime framework... " >&6; }
8208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 #include <QuickTime/ImageCompression.h>
8212 main ()
8214 CodecManagerVersion(NULL);
8216 return 0;
8218 _ACEOF
8219 if ac_fn_c_try_link "$LINENO"; then :
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8221 $as_echo "yes" >&6; }
8222 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8224 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8225 else
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8227 $as_echo "no" >&6; }
8228 ac_cv_header_QuickTime_ImageCompression_h=no
8230 rm -f core conftest.err conftest.$ac_objext \
8231 conftest$ac_exeext conftest.$ac_ext
8232 LIBS="$ac_save_LIBS"
8234 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8235 then
8236 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8238 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8239 then
8240 CARBON_LIBS="-framework Carbon"
8244 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8245 then
8246 ac_save_LIBS="$LIBS"
8247 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8248 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8249 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8250 enable_winemac_drv=${enable_winemac_drv:-yes}
8253 LIBS="$ac_save_LIBS"
8256 if test "x$enable_win16" = "xyes"
8257 then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8259 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8260 if test "$cross_compiling" = yes; then :
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8262 $as_echo "cross-compiling, assuming yes" >&6; }
8263 else
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 asm(".text\n"
8267 "bad:\tnop;nop\n"
8268 "good:\tnop;nop\n\t"
8269 ".globl _testfunc\n"
8270 "_testfunc:\tcallw good");
8271 extern void testfunc();
8273 main ()
8275 unsigned short *p = (unsigned short *)testfunc;
8276 return p[0] != 0xe866 || p[1] != 0xfffa
8278 return 0;
8280 _ACEOF
8281 if ac_fn_c_try_run "$LINENO"; then :
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8283 $as_echo "yes" >&6; }
8284 else
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8287 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
8289 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8290 conftest.$ac_objext conftest.beam conftest.$ac_ext
8295 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8297 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8299 LIBWINE_INSTALL_DEV="libwine.dylib"
8301 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8303 WINELOADER_DEPENDS="wine_info.plist"
8307 linux-android*)
8308 DLLFLAGS="$DLLFLAGS -fPIC"
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8310 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8311 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 ac_wine_try_cflags_saved=$CFLAGS
8315 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8322 else
8323 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8325 rm -f core conftest.err conftest.$ac_objext \
8326 conftest$ac_exeext conftest.$ac_ext
8327 CFLAGS=$ac_wine_try_cflags_saved
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8330 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8331 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8332 LDEXECFLAGS="-Wl,--export-dynamic"
8334 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8336 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8337 if eval \${$as_ac_var+:} false; then :
8338 $as_echo_n "(cached) " >&6
8339 else
8340 ac_wine_try_cflags_saved=$CFLAGS
8341 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343 /* end confdefs.h. */
8344 int main(int argc, char **argv) { return 0; }
8345 _ACEOF
8346 if ac_fn_c_try_link "$LINENO"; then :
8347 eval "$as_ac_var=yes"
8348 else
8349 eval "$as_ac_var=no"
8351 rm -f core conftest.err conftest.$ac_objext \
8352 conftest$ac_exeext conftest.$ac_ext
8353 CFLAGS=$ac_wine_try_cflags_saved
8355 eval ac_res=\$$as_ac_var
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8357 $as_echo "$ac_res" >&6; }
8358 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8359 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8360 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8361 else
8362 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8364 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8365 if eval \${$as_ac_var+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 ac_wine_try_cflags_saved=$CFLAGS
8369 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 int main(int argc, char **argv) { return 0; }
8373 _ACEOF
8374 if ac_fn_c_try_link "$LINENO"; then :
8375 eval "$as_ac_var=yes"
8376 else
8377 eval "$as_ac_var=no"
8379 rm -f core conftest.err conftest.$ac_objext \
8380 conftest$ac_exeext conftest.$ac_ext
8381 CFLAGS=$ac_wine_try_cflags_saved
8383 eval ac_res=\$$as_ac_var
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8385 $as_echo "$ac_res" >&6; }
8386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8387 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8388 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8393 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8394 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 ac_wine_try_cflags_saved=$CFLAGS
8398 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 int main(int argc, char **argv) { return 0; }
8402 _ACEOF
8403 if ac_fn_c_try_link "$LINENO"; then :
8404 ac_cv_cflags__Wl___enable_new_dtags=yes
8405 else
8406 ac_cv_cflags__Wl___enable_new_dtags=no
8408 rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 CFLAGS=$ac_wine_try_cflags_saved
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8413 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8414 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8415 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8418 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8419 if ${ac_cv_cflags__Wl__pie+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -Wl,-pie"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_cflags__Wl__pie=yes
8430 else
8431 ac_cv_cflags__Wl__pie=no
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8438 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8439 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8440 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8443 LIBWINE_SHAREDLIB="libwine.so"
8445 LIBWINE_INSTALL_LIB="libwine.so"
8447 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8452 DLLFLAGS="$DLLFLAGS -fPIC"
8453 LDEXECFLAGS=""
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8455 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8456 if ${ac_cv_c_dll_gnuelf+:} false; then :
8457 $as_echo_n "(cached) " >&6
8458 else
8459 ac_wine_try_cflags_saved=$CFLAGS
8460 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8463 void myfunc() {}
8464 _ACEOF
8465 if ac_fn_c_try_link "$LINENO"; then :
8466 ac_cv_c_dll_gnuelf="yes"
8467 else
8468 ac_cv_c_dll_gnuelf="no"
8470 rm -f core conftest.err conftest.$ac_objext \
8471 conftest$ac_exeext conftest.$ac_ext
8472 CFLAGS=$ac_wine_try_cflags_saved
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8475 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8476 if test "$ac_cv_c_dll_gnuelf" = "yes"
8477 then
8478 LIBWINE_LDFLAGS="-shared"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8480 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8481 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 ac_wine_try_cflags_saved=$CFLAGS
8485 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 int main(int argc, char **argv) { return 0; }
8489 _ACEOF
8490 if ac_fn_c_try_link "$LINENO"; then :
8491 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8492 else
8493 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8495 rm -f core conftest.err conftest.$ac_objext \
8496 conftest$ac_exeext conftest.$ac_ext
8497 CFLAGS=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8500 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8501 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8502 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8503 else
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8505 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8506 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_wine_try_cflags_saved=$CFLAGS
8510 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 int main(int argc, char **argv) { return 0; }
8514 _ACEOF
8515 if ac_fn_c_try_link "$LINENO"; then :
8516 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8517 else
8518 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8520 rm -f core conftest.err conftest.$ac_objext \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8525 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8526 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8527 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8531 echo '{ global: *; };' >conftest.map
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8533 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8534 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8535 $as_echo_n "(cached) " >&6
8536 else
8537 ac_wine_try_cflags_saved=$CFLAGS
8538 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8541 int main(int argc, char **argv) { return 0; }
8542 _ACEOF
8543 if ac_fn_c_try_link "$LINENO"; then :
8544 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8545 else
8546 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8548 rm -f core conftest.err conftest.$ac_objext \
8549 conftest$ac_exeext conftest.$ac_ext
8550 CFLAGS=$ac_wine_try_cflags_saved
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8553 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8554 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8555 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8557 rm -f conftest.map
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8560 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8561 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8562 $as_echo_n "(cached) " >&6
8563 else
8564 ac_wine_try_cflags_saved=$CFLAGS
8565 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8567 /* end confdefs.h. */
8568 int main(int argc, char **argv) { return 0; }
8569 _ACEOF
8570 if ac_fn_c_try_link "$LINENO"; then :
8571 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8572 else
8573 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8575 rm -f core conftest.err conftest.$ac_objext \
8576 conftest$ac_exeext conftest.$ac_ext
8577 CFLAGS=$ac_wine_try_cflags_saved
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8580 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8581 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8582 LDEXECFLAGS="-Wl,--export-dynamic"
8585 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8587 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8588 if eval \${$as_ac_var+:} false; then :
8589 $as_echo_n "(cached) " >&6
8590 else
8591 ac_wine_try_cflags_saved=$CFLAGS
8592 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 int main(int argc, char **argv) { return 0; }
8596 _ACEOF
8597 if ac_fn_c_try_link "$LINENO"; then :
8598 eval "$as_ac_var=yes"
8599 else
8600 eval "$as_ac_var=no"
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8604 CFLAGS=$ac_wine_try_cflags_saved
8606 eval ac_res=\$$as_ac_var
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8608 $as_echo "$ac_res" >&6; }
8609 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8610 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8611 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8612 else
8613 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8615 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8616 if eval \${$as_ac_var+:} false; then :
8617 $as_echo_n "(cached) " >&6
8618 else
8619 ac_wine_try_cflags_saved=$CFLAGS
8620 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8622 /* end confdefs.h. */
8623 int main(int argc, char **argv) { return 0; }
8624 _ACEOF
8625 if ac_fn_c_try_link "$LINENO"; then :
8626 eval "$as_ac_var=yes"
8627 else
8628 eval "$as_ac_var=no"
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 CFLAGS=$ac_wine_try_cflags_saved
8634 eval ac_res=\$$as_ac_var
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8636 $as_echo "$ac_res" >&6; }
8637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8638 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8639 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8644 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8645 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8646 $as_echo_n "(cached) " >&6
8647 else
8648 ac_wine_try_cflags_saved=$CFLAGS
8649 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8651 /* end confdefs.h. */
8652 int main(int argc, char **argv) { return 0; }
8653 _ACEOF
8654 if ac_fn_c_try_link "$LINENO"; then :
8655 ac_cv_cflags__Wl___enable_new_dtags=yes
8656 else
8657 ac_cv_cflags__Wl___enable_new_dtags=no
8659 rm -f core conftest.err conftest.$ac_objext \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8664 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8665 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8666 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8669 case $host_cpu in
8670 *i[3456789]86* | x86_64)
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8672 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8673 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8674 $as_echo_n "(cached) " >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8679 /* end confdefs.h. */
8680 int main(int argc, char **argv) { return 0; }
8681 _ACEOF
8682 if ac_fn_c_try_link "$LINENO"; then :
8683 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8684 else
8685 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8687 rm -f core conftest.err conftest.$ac_objext \
8688 conftest$ac_exeext conftest.$ac_ext
8689 CFLAGS=$ac_wine_try_cflags_saved
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8692 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8693 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8694 case $host_os in
8695 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8696 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8697 esac
8698 else
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8700 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8701 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8702 $as_echo_n "(cached) " >&6
8703 else
8704 ac_wine_try_cflags_saved=$CFLAGS
8705 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8708 int main(int argc, char **argv) { return 0; }
8709 _ACEOF
8710 if ac_fn_c_try_link "$LINENO"; then :
8711 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8712 else
8713 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8715 rm -f core conftest.err conftest.$ac_objext \
8716 conftest$ac_exeext conftest.$ac_ext
8717 CFLAGS=$ac_wine_try_cflags_saved
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8720 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8721 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8722 case $host_os in
8723 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8724 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8725 esac
8727 # Extract the first word of "prelink", so it can be a program name with args.
8728 set dummy prelink; ac_word=$2
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8730 $as_echo_n "checking for $ac_word... " >&6; }
8731 if ${ac_cv_path_PRELINK+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 case $PRELINK in
8735 [\\/]* | ?:[\\/]*)
8736 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 for as_dir in /sbin /usr/sbin $PATH
8742 IFS=$as_save_IFS
8743 test -z "$as_dir" && as_dir=.
8744 for ac_exec_ext in '' $ac_executable_extensions; do
8745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8746 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8748 break 2
8750 done
8751 done
8752 IFS=$as_save_IFS
8754 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8756 esac
8758 PRELINK=$ac_cv_path_PRELINK
8759 if test -n "$PRELINK"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8761 $as_echo "$PRELINK" >&6; }
8762 else
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8764 $as_echo "no" >&6; }
8768 if test "x$PRELINK" = xfalse
8769 then
8770 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8774 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8775 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8786 else
8787 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 CFLAGS=$ac_wine_try_cflags_saved
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8794 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8795 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8796 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8799 esac
8801 else
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8803 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8804 if ${ac_cv_c_dll_unixware+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 ac_wine_try_cflags_saved=$CFLAGS
8808 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8811 void myfunc() {}
8812 _ACEOF
8813 if ac_fn_c_try_link "$LINENO"; then :
8814 ac_cv_c_dll_unixware="yes"
8815 else
8816 ac_cv_c_dll_unixware="no"
8818 rm -f core conftest.err conftest.$ac_objext \
8819 conftest$ac_exeext conftest.$ac_ext
8820 CFLAGS=$ac_wine_try_cflags_saved
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8823 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8824 if test "$ac_cv_c_dll_unixware" = "yes"
8825 then
8826 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8829 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8831 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8833 LIBWINE_INSTALL_DEV="libwine.so"
8835 LIBWINE_DEPENDS="wine.map"
8838 esac
8840 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8841 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8842 enable_winemac_drv=${enable_winemac_drv:-no}
8843 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8845 CROSSTARGET=""
8847 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8848 then
8849 case "$host_cpu" in
8850 arm*)
8851 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8852 i[3456789]86*)
8853 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
8854 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8855 mingw32-gcc" ;;
8856 x86_64)
8857 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
8858 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8860 ac_prefix_list="" ;;
8861 esac
8862 for ac_prog in $ac_prefix_list
8864 # Extract the first word of "$ac_prog", so it can be a program name with args.
8865 set dummy $ac_prog; ac_word=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867 $as_echo_n "checking for $ac_word... " >&6; }
8868 if ${ac_cv_prog_CROSSCC+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 if test -n "$CROSSCC"; then
8872 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8873 else
8874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8875 for as_dir in $PATH
8877 IFS=$as_save_IFS
8878 test -z "$as_dir" && as_dir=.
8879 for ac_exec_ext in '' $ac_executable_extensions; do
8880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8881 ac_cv_prog_CROSSCC="$ac_prog"
8882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8883 break 2
8885 done
8886 done
8887 IFS=$as_save_IFS
8891 CROSSCC=$ac_cv_prog_CROSSCC
8892 if test -n "$CROSSCC"; then
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8894 $as_echo "$CROSSCC" >&6; }
8895 else
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8897 $as_echo "no" >&6; }
8901 test -n "$CROSSCC" && break
8902 done
8903 test -n "$CROSSCC" || CROSSCC="false"
8905 if test "$CROSSCC" != "false"
8906 then
8907 ac_save_CC="$CC"
8908 CC="$CROSSCC"
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8910 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8915 main ()
8919 return 0;
8921 _ACEOF
8922 if ac_fn_c_try_compile "$LINENO"; then :
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8924 $as_echo "yes" >&6; }
8925 set x $CROSSCC
8926 shift
8927 while test $# -ge 1
8929 case "$1" in
8930 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8931 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8932 esac
8933 shift
8934 done
8935 else
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937 $as_echo "no" >&6; }
8939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8940 CC="$ac_save_CC"
8945 if test "$ac_cv_header_pthread_h" = "yes"
8946 then
8947 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8948 if test "x$ac_cv_func_pthread_create" = xyes; then :
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8952 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8953 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8954 $as_echo_n "(cached) " >&6
8955 else
8956 ac_check_lib_save_LIBS=$LIBS
8957 LIBS="-lpthread $LIBS"
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8961 /* Override any GCC internal prototype to avoid an error.
8962 Use char because int might match the return type of a GCC
8963 builtin and then its argument prototype would still apply. */
8964 #ifdef __cplusplus
8965 extern "C"
8966 #endif
8967 char pthread_create ();
8969 main ()
8971 return pthread_create ();
8973 return 0;
8975 _ACEOF
8976 if ac_fn_c_try_link "$LINENO"; then :
8977 ac_cv_lib_pthread_pthread_create=yes
8978 else
8979 ac_cv_lib_pthread_pthread_create=no
8981 rm -f core conftest.err conftest.$ac_objext \
8982 conftest$ac_exeext conftest.$ac_ext
8983 LIBS=$ac_check_lib_save_LIBS
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8986 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8987 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8988 PTHREAD_LIBS="-lpthread"
8995 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8996 case "x$with_pthread" in
8997 xno) ;;
8998 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8999 Wine cannot support threads without libpthread.
9000 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9001 esac
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9007 $as_echo_n "checking for X... " >&6; }
9010 # Check whether --with-x was given.
9011 if test "${with_x+set}" = set; then :
9012 withval=$with_x;
9015 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9016 if test "x$with_x" = xno; then
9017 # The user explicitly disabled X.
9018 have_x=disabled
9019 else
9020 case $x_includes,$x_libraries in #(
9021 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9022 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9023 $as_echo_n "(cached) " >&6
9024 else
9025 # One or both of the vars are not set, and there is no cached value.
9026 ac_x_includes=no ac_x_libraries=no
9027 rm -f -r conftest.dir
9028 if mkdir conftest.dir; then
9029 cd conftest.dir
9030 cat >Imakefile <<'_ACEOF'
9031 incroot:
9032 @echo incroot='${INCROOT}'
9033 usrlibdir:
9034 @echo usrlibdir='${USRLIBDIR}'
9035 libdir:
9036 @echo libdir='${LIBDIR}'
9037 _ACEOF
9038 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9039 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9040 for ac_var in incroot usrlibdir libdir; do
9041 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9042 done
9043 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9044 for ac_extension in a so sl dylib la dll; do
9045 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9046 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9047 ac_im_usrlibdir=$ac_im_libdir; break
9049 done
9050 # Screen out bogus values from the imake configuration. They are
9051 # bogus both because they are the default anyway, and because
9052 # using them would break gcc on systems where it needs fixed includes.
9053 case $ac_im_incroot in
9054 /usr/include) ac_x_includes= ;;
9055 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9056 esac
9057 case $ac_im_usrlibdir in
9058 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9059 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9060 esac
9062 cd ..
9063 rm -f -r conftest.dir
9066 # Standard set of common directories for X headers.
9067 # Check X11 before X11Rn because it is often a symlink to the current release.
9068 ac_x_header_dirs='
9069 /usr/X11/include
9070 /usr/X11R7/include
9071 /usr/X11R6/include
9072 /usr/X11R5/include
9073 /usr/X11R4/include
9075 /usr/include/X11
9076 /usr/include/X11R7
9077 /usr/include/X11R6
9078 /usr/include/X11R5
9079 /usr/include/X11R4
9081 /usr/local/X11/include
9082 /usr/local/X11R7/include
9083 /usr/local/X11R6/include
9084 /usr/local/X11R5/include
9085 /usr/local/X11R4/include
9087 /usr/local/include/X11
9088 /usr/local/include/X11R7
9089 /usr/local/include/X11R6
9090 /usr/local/include/X11R5
9091 /usr/local/include/X11R4
9093 /usr/X386/include
9094 /usr/x386/include
9095 /usr/XFree86/include/X11
9097 /usr/include
9098 /usr/local/include
9099 /usr/unsupported/include
9100 /usr/athena/include
9101 /usr/local/x11r5/include
9102 /usr/lpp/Xamples/include
9104 /usr/openwin/include
9105 /usr/openwin/share/include'
9107 if test "$ac_x_includes" = no; then
9108 # Guess where to find include files, by looking for Xlib.h.
9109 # First, try using that file with no special directory specified.
9110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9111 /* end confdefs.h. */
9112 #include <X11/Xlib.h>
9113 _ACEOF
9114 if ac_fn_c_try_cpp "$LINENO"; then :
9115 # We can compile using X headers with no special include directory.
9116 ac_x_includes=
9117 else
9118 for ac_dir in $ac_x_header_dirs; do
9119 if test -r "$ac_dir/X11/Xlib.h"; then
9120 ac_x_includes=$ac_dir
9121 break
9123 done
9125 rm -f conftest.err conftest.i conftest.$ac_ext
9126 fi # $ac_x_includes = no
9128 if test "$ac_x_libraries" = no; then
9129 # Check for the libraries.
9130 # See if we find them without any special options.
9131 # Don't add to $LIBS permanently.
9132 ac_save_LIBS=$LIBS
9133 LIBS="-lX11 $LIBS"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 #include <X11/Xlib.h>
9138 main ()
9140 XrmInitialize ()
9142 return 0;
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 LIBS=$ac_save_LIBS
9147 # We can link X programs with no special library path.
9148 ac_x_libraries=
9149 else
9150 LIBS=$ac_save_LIBS
9151 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9153 # Don't even attempt the hair of trying to link an X program!
9154 for ac_extension in a so sl dylib la dll; do
9155 if test -r "$ac_dir/libX11.$ac_extension"; then
9156 ac_x_libraries=$ac_dir
9157 break 2
9159 done
9160 done
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 fi # $ac_x_libraries = no
9166 case $ac_x_includes,$ac_x_libraries in #(
9167 no,* | *,no | *\'*)
9168 # Didn't find X, or a directory has "'" in its name.
9169 ac_cv_have_x="have_x=no";; #(
9171 # Record where we found X for the cache.
9172 ac_cv_have_x="have_x=yes\
9173 ac_x_includes='$ac_x_includes'\
9174 ac_x_libraries='$ac_x_libraries'"
9175 esac
9177 ;; #(
9178 *) have_x=yes;;
9179 esac
9180 eval "$ac_cv_have_x"
9181 fi # $with_x != no
9183 if test "$have_x" != yes; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9185 $as_echo "$have_x" >&6; }
9186 no_x=yes
9187 else
9188 # If each of the values was on the command line, it overrides each guess.
9189 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9190 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9191 # Update the cache value to reflect the command line values.
9192 ac_cv_have_x="have_x=yes\
9193 ac_x_includes='$x_includes'\
9194 ac_x_libraries='$x_libraries'"
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9196 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9199 if test "$no_x" = yes; then
9200 # Not all programs may use this symbol, but it does not hurt to define it.
9202 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9204 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9205 else
9206 if test -n "$x_includes"; then
9207 X_CFLAGS="$X_CFLAGS -I$x_includes"
9210 # It would also be nice to do this for all -L options, not just this one.
9211 if test -n "$x_libraries"; then
9212 X_LIBS="$X_LIBS -L$x_libraries"
9213 # For Solaris; some versions of Sun CC require a space after -R and
9214 # others require no space. Words are not sufficient . . . .
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9216 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9217 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9218 ac_xsave_c_werror_flag=$ac_c_werror_flag
9219 ac_c_werror_flag=yes
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9224 main ()
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 $as_echo "no" >&6; }
9234 X_LIBS="$X_LIBS -R$x_libraries"
9235 else
9236 LIBS="$ac_xsave_LIBS -R $x_libraries"
9237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9241 main ()
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9250 $as_echo "yes" >&6; }
9251 X_LIBS="$X_LIBS -R $x_libraries"
9252 else
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9254 $as_echo "neither works" >&6; }
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 ac_c_werror_flag=$ac_xsave_c_werror_flag
9262 LIBS=$ac_xsave_LIBS
9265 # Check for system-dependent libraries X programs must link with.
9266 # Do this before checking for the system-independent R6 libraries
9267 # (-lICE), since we may need -lsocket or whatever for X linking.
9269 if test "$ISC" = yes; then
9270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9271 else
9272 # Martyn Johnson says this is needed for Ultrix, if the X
9273 # libraries were built with DECnet support. And Karl Berry says
9274 # the Alpha needs dnet_stub (dnet does not exist).
9275 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9282 #ifdef __cplusplus
9283 extern "C"
9284 #endif
9285 char XOpenDisplay ();
9287 main ()
9289 return XOpenDisplay ();
9291 return 0;
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9296 else
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9298 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9299 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_check_lib_save_LIBS=$LIBS
9303 LIBS="-ldnet $LIBS"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
9310 #ifdef __cplusplus
9311 extern "C"
9312 #endif
9313 char dnet_ntoa ();
9315 main ()
9317 return dnet_ntoa ();
9319 return 0;
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 ac_cv_lib_dnet_dnet_ntoa=yes
9324 else
9325 ac_cv_lib_dnet_dnet_ntoa=no
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_lib_save_LIBS
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9332 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9333 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9334 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9337 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9339 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9340 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_check_lib_save_LIBS=$LIBS
9344 LIBS="-ldnet_stub $LIBS"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9351 #ifdef __cplusplus
9352 extern "C"
9353 #endif
9354 char dnet_ntoa ();
9356 main ()
9358 return dnet_ntoa ();
9360 return 0;
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9365 else
9366 ac_cv_lib_dnet_stub_dnet_ntoa=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 LIBS=$ac_check_lib_save_LIBS
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9373 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9374 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9375 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 LIBS="$ac_xsave_LIBS"
9384 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9385 # to get the SysV transport functions.
9386 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9387 # needs -lnsl.
9388 # The nsl library prevents programs from opening the X display
9389 # on Irix 5.2, according to T.E. Dickey.
9390 # The functions gethostbyname, getservbyname, and inet_addr are
9391 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9392 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9393 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9397 if test $ac_cv_func_gethostbyname = no; then
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9399 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9400 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9401 $as_echo_n "(cached) " >&6
9402 else
9403 ac_check_lib_save_LIBS=$LIBS
9404 LIBS="-lnsl $LIBS"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9408 /* Override any GCC internal prototype to avoid an error.
9409 Use char because int might match the return type of a GCC
9410 builtin and then its argument prototype would still apply. */
9411 #ifdef __cplusplus
9412 extern "C"
9413 #endif
9414 char gethostbyname ();
9416 main ()
9418 return gethostbyname ();
9420 return 0;
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"; then :
9424 ac_cv_lib_nsl_gethostbyname=yes
9425 else
9426 ac_cv_lib_nsl_gethostbyname=no
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 LIBS=$ac_check_lib_save_LIBS
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9433 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9434 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9435 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9438 if test $ac_cv_lib_nsl_gethostbyname = no; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9440 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9441 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
9444 ac_check_lib_save_LIBS=$LIBS
9445 LIBS="-lbsd $LIBS"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 char gethostbyname ();
9457 main ()
9459 return gethostbyname ();
9461 return 0;
9463 _ACEOF
9464 if ac_fn_c_try_link "$LINENO"; then :
9465 ac_cv_lib_bsd_gethostbyname=yes
9466 else
9467 ac_cv_lib_bsd_gethostbyname=no
9469 rm -f core conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 LIBS=$ac_check_lib_save_LIBS
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9474 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9475 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9482 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9483 # socket/setsockopt and other routines are undefined under SCO ODT
9484 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9485 # on later versions), says Simon Leinen: it contains gethostby*
9486 # variants that don't use the name server (or something). -lsocket
9487 # must be given before -lnsl if both are needed. We assume that
9488 # if connect needs -lnsl, so does gethostbyname.
9489 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9490 if test "x$ac_cv_func_connect" = xyes; then :
9494 if test $ac_cv_func_connect = no; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9496 $as_echo_n "checking for connect in -lsocket... " >&6; }
9497 if ${ac_cv_lib_socket_connect+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 ac_check_lib_save_LIBS=$LIBS
9501 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9505 /* Override any GCC internal prototype to avoid an error.
9506 Use char because int might match the return type of a GCC
9507 builtin and then its argument prototype would still apply. */
9508 #ifdef __cplusplus
9509 extern "C"
9510 #endif
9511 char connect ();
9513 main ()
9515 return connect ();
9517 return 0;
9519 _ACEOF
9520 if ac_fn_c_try_link "$LINENO"; then :
9521 ac_cv_lib_socket_connect=yes
9522 else
9523 ac_cv_lib_socket_connect=no
9525 rm -f core conftest.err conftest.$ac_objext \
9526 conftest$ac_exeext conftest.$ac_ext
9527 LIBS=$ac_check_lib_save_LIBS
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9530 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9531 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9532 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9537 # Guillermo Gomez says -lposix is necessary on A/UX.
9538 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9539 if test "x$ac_cv_func_remove" = xyes; then :
9543 if test $ac_cv_func_remove = no; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9545 $as_echo_n "checking for remove in -lposix... " >&6; }
9546 if ${ac_cv_lib_posix_remove+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 ac_check_lib_save_LIBS=$LIBS
9550 LIBS="-lposix $LIBS"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9557 #ifdef __cplusplus
9558 extern "C"
9559 #endif
9560 char remove ();
9562 main ()
9564 return remove ();
9566 return 0;
9568 _ACEOF
9569 if ac_fn_c_try_link "$LINENO"; then :
9570 ac_cv_lib_posix_remove=yes
9571 else
9572 ac_cv_lib_posix_remove=no
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 LIBS=$ac_check_lib_save_LIBS
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9579 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9580 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9581 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9586 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9587 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9588 if test "x$ac_cv_func_shmat" = xyes; then :
9592 if test $ac_cv_func_shmat = no; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9594 $as_echo_n "checking for shmat in -lipc... " >&6; }
9595 if ${ac_cv_lib_ipc_shmat+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_check_lib_save_LIBS=$LIBS
9599 LIBS="-lipc $LIBS"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9606 #ifdef __cplusplus
9607 extern "C"
9608 #endif
9609 char shmat ();
9611 main ()
9613 return shmat ();
9615 return 0;
9617 _ACEOF
9618 if ac_fn_c_try_link "$LINENO"; then :
9619 ac_cv_lib_ipc_shmat=yes
9620 else
9621 ac_cv_lib_ipc_shmat=no
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9628 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9629 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9636 # Check for libraries that X11R6 Xt/Xaw programs need.
9637 ac_save_LDFLAGS=$LDFLAGS
9638 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9639 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9640 # check for ICE first), but we must link in the order -lSM -lICE or
9641 # we get undefined symbols. So assume we have SM if we have ICE.
9642 # These have to be linked with before -lX11, unlike the other
9643 # libraries we check for below, so use a different variable.
9644 # John Interrante, Karl Berry
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9646 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9647 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_check_lib_save_LIBS=$LIBS
9651 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char IceConnectionNumber ();
9663 main ()
9665 return IceConnectionNumber ();
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 ac_cv_lib_ICE_IceConnectionNumber=yes
9672 else
9673 ac_cv_lib_ICE_IceConnectionNumber=no
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9680 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9681 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9682 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9685 LDFLAGS=$ac_save_LDFLAGS
9690 if test "$have_x" = "yes"
9691 then
9692 ac_save_CPPFLAGS="$CPPFLAGS"
9693 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9696 $as_echo_n "checking for -lX11... " >&6; }
9697 if ${ac_cv_lib_soname_X11+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 ac_check_soname_save_LIBS=$LIBS
9701 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9708 #ifdef __cplusplus
9709 extern "C"
9710 #endif
9711 char XCreateWindow ();
9713 main ()
9715 return XCreateWindow ();
9717 return 0;
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 case "$LIBEXT" in
9722 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_X11:+false} :; then :
9726 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 fi ;;
9728 esac
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_X11:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9738 else
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9740 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9742 cat >>confdefs.h <<_ACEOF
9743 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9744 _ACEOF
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9749 $as_echo_n "checking for -lXext... " >&6; }
9750 if ${ac_cv_lib_soname_Xext+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_check_soname_save_LIBS=$LIBS
9754 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9761 #ifdef __cplusplus
9762 extern "C"
9763 #endif
9764 char XextCreateExtension ();
9766 main ()
9768 return XextCreateExtension ();
9770 return 0;
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774 case "$LIBEXT" in
9775 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9776 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'` ;;
9777 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9778 if ${ac_cv_lib_soname_Xext:+false} :; then :
9779 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9780 fi ;;
9781 esac
9783 rm -f core conftest.err conftest.$ac_objext \
9784 conftest$ac_exeext conftest.$ac_ext
9785 LIBS=$ac_check_soname_save_LIBS
9787 if ${ac_cv_lib_soname_Xext:+false} :; then :
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9789 $as_echo "not found" >&6; }
9791 else
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9793 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9795 cat >>confdefs.h <<_ACEOF
9796 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9797 _ACEOF
9799 X_LIBS="$X_LIBS -lXext"
9801 X_LIBS="$X_LIBS -lX11"
9803 for ac_header in X11/Xlib.h \
9804 X11/XKBlib.h \
9805 X11/Xutil.h \
9806 X11/Xcursor/Xcursor.h \
9807 X11/extensions/shape.h \
9808 X11/extensions/XInput.h \
9809 X11/extensions/XInput2.h \
9810 X11/extensions/XShm.h \
9811 X11/extensions/Xcomposite.h \
9812 X11/extensions/Xinerama.h \
9813 X11/extensions/Xrandr.h \
9814 X11/extensions/Xrender.h \
9815 X11/extensions/xf86vmode.h \
9816 X11/extensions/xf86vmproto.h
9817 do :
9818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9819 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9820 # include <X11/Xlib.h>
9821 #endif
9822 #ifdef HAVE_X11_XUTIL_H
9823 # include <X11/Xutil.h>
9824 #endif
9826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9827 cat >>confdefs.h <<_ACEOF
9828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9829 _ACEOF
9833 done
9836 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9837 then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9839 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9840 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9841 $as_echo_n "(cached) " >&6
9842 else
9843 ac_check_lib_save_LIBS=$LIBS
9844 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9851 #ifdef __cplusplus
9852 extern "C"
9853 #endif
9854 char XkbQueryExtension ();
9856 main ()
9858 return XkbQueryExtension ();
9860 return 0;
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 ac_cv_lib_X11_XkbQueryExtension=yes
9865 else
9866 ac_cv_lib_X11_XkbQueryExtension=no
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 LIBS=$ac_check_lib_save_LIBS
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9873 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9874 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9876 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9882 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9883 then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9885 $as_echo_n "checking for -lXcursor... " >&6; }
9886 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_check_soname_save_LIBS=$LIBS
9890 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XcursorImageLoadCursor ();
9902 main ()
9904 return XcursorImageLoadCursor ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 case "$LIBEXT" in
9911 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9912 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'` ;;
9913 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9914 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9915 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9916 fi ;;
9917 esac
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_soname_save_LIBS
9923 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9925 $as_echo "not found" >&6; }
9927 else
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9929 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9931 cat >>confdefs.h <<_ACEOF
9932 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9933 _ACEOF
9938 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9939 case "x$with_xcursor" in
9940 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9941 xno) ;;
9942 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9943 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9944 esac
9948 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9949 then
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9951 $as_echo_n "checking for -lXi... " >&6; }
9952 if ${ac_cv_lib_soname_Xi+:} false; then :
9953 $as_echo_n "(cached) " >&6
9954 else
9955 ac_check_soname_save_LIBS=$LIBS
9956 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9958 /* end confdefs.h. */
9960 /* Override any GCC internal prototype to avoid an error.
9961 Use char because int might match the return type of a GCC
9962 builtin and then its argument prototype would still apply. */
9963 #ifdef __cplusplus
9964 extern "C"
9965 #endif
9966 char XOpenDevice ();
9968 main ()
9970 return XOpenDevice ();
9972 return 0;
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 case "$LIBEXT" in
9977 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9978 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'` ;;
9979 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9980 if ${ac_cv_lib_soname_Xi:+false} :; then :
9981 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9982 fi ;;
9983 esac
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 LIBS=$ac_check_soname_save_LIBS
9989 if ${ac_cv_lib_soname_Xi:+false} :; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9991 $as_echo "not found" >&6; }
9993 else
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9995 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9997 cat >>confdefs.h <<_ACEOF
9998 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9999 _ACEOF
10004 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10005 case "x$with_xinput" in
10006 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10007 xno) ;;
10008 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10009 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10010 esac
10014 if test "x$ac_cv_lib_soname_Xi" != x
10015 then
10016 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10017 case "x$with_xinput2" in
10018 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10019 xno) ;;
10020 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10021 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10022 esac
10027 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10028 then
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10030 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10031 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10032 $as_echo_n "(cached) " >&6
10033 else
10034 ac_check_lib_save_LIBS=$LIBS
10035 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10042 #ifdef __cplusplus
10043 extern "C"
10044 #endif
10045 char XShmQueryExtension ();
10047 main ()
10049 return XShmQueryExtension ();
10051 return 0;
10053 _ACEOF
10054 if ac_fn_c_try_link "$LINENO"; then :
10055 ac_cv_lib_Xext_XShmQueryExtension=yes
10056 else
10057 ac_cv_lib_Xext_XShmQueryExtension=no
10059 rm -f core conftest.err conftest.$ac_objext \
10060 conftest$ac_exeext conftest.$ac_ext
10061 LIBS=$ac_check_lib_save_LIBS
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10064 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10065 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10067 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10072 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10073 case "x$with_xshm" in
10074 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10075 xno) ;;
10076 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10077 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10078 esac
10082 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10083 then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10085 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10086 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10094 /* Override any GCC internal prototype to avoid an error.
10095 Use char because int might match the return type of a GCC
10096 builtin and then its argument prototype would still apply. */
10097 #ifdef __cplusplus
10098 extern "C"
10099 #endif
10100 char XShapeQueryExtension ();
10102 main ()
10104 return XShapeQueryExtension ();
10106 return 0;
10108 _ACEOF
10109 if ac_fn_c_try_link "$LINENO"; then :
10110 ac_cv_lib_Xext_XShapeQueryExtension=yes
10111 else
10112 ac_cv_lib_Xext_XShapeQueryExtension=no
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_lib_save_LIBS
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10119 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10120 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10122 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10127 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10128 case "x$with_xshape" in
10129 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10130 xno) ;;
10131 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10132 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10133 esac
10137 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10138 then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10140 $as_echo_n "checking for -lXxf86vm... " >&6; }
10141 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_soname_save_LIBS=$LIBS
10145 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char XF86VidModeQueryExtension ();
10157 main ()
10159 return XF86VidModeQueryExtension ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 case "$LIBEXT" in
10166 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10170 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 fi ;;
10172 esac
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10182 else
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10184 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10186 cat >>confdefs.h <<_ACEOF
10187 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10188 _ACEOF
10193 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10194 case "x$with_xxf86vm" in
10195 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10196 xno) ;;
10197 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10198 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10199 esac
10203 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10204 then
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10206 $as_echo_n "checking for -lXrender... " >&6; }
10207 if ${ac_cv_lib_soname_Xrender+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_check_soname_save_LIBS=$LIBS
10211 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10218 #ifdef __cplusplus
10219 extern "C"
10220 #endif
10221 char XRenderQueryExtension ();
10223 main ()
10225 return XRenderQueryExtension ();
10227 return 0;
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 case "$LIBEXT" in
10232 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10233 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'` ;;
10234 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10235 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10236 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10237 fi ;;
10238 esac
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 LIBS=$ac_check_soname_save_LIBS
10244 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10246 $as_echo "not found" >&6; }
10248 else
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10250 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10252 cat >>confdefs.h <<_ACEOF
10253 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10254 _ACEOF
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10257 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10258 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10259 $as_echo_n "(cached) " >&6
10260 else
10261 ac_check_lib_save_LIBS=$LIBS
10262 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10264 /* end confdefs.h. */
10266 /* Override any GCC internal prototype to avoid an error.
10267 Use char because int might match the return type of a GCC
10268 builtin and then its argument prototype would still apply. */
10269 #ifdef __cplusplus
10270 extern "C"
10271 #endif
10272 char XRenderSetPictureTransform ();
10274 main ()
10276 return XRenderSetPictureTransform ();
10278 return 0;
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10283 else
10284 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 LIBS=$ac_check_lib_save_LIBS
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10291 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10292 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10294 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10299 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10300 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_check_lib_save_LIBS=$LIBS
10304 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10311 #ifdef __cplusplus
10312 extern "C"
10313 #endif
10314 char XRenderCreateLinearGradient ();
10316 main ()
10318 return XRenderCreateLinearGradient ();
10320 return 0;
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"; then :
10324 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10325 else
10326 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10328 rm -f core conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10330 LIBS=$ac_check_lib_save_LIBS
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10333 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10334 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10336 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10343 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10344 case "x$with_xrender" in
10345 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10346 xno) ;;
10347 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10348 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10349 esac
10353 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10354 then
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 #include <X11/Xlib.h>
10358 #include <X11/extensions/Xrandr.h>
10360 main ()
10362 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10364 return 0;
10366 _ACEOF
10367 if ac_fn_c_try_compile "$LINENO"; then :
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10369 $as_echo_n "checking for -lXrandr... " >&6; }
10370 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10371 $as_echo_n "(cached) " >&6
10372 else
10373 ac_check_soname_save_LIBS=$LIBS
10374 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10378 /* Override any GCC internal prototype to avoid an error.
10379 Use char because int might match the return type of a GCC
10380 builtin and then its argument prototype would still apply. */
10381 #ifdef __cplusplus
10382 extern "C"
10383 #endif
10384 char XRRQueryExtension ();
10386 main ()
10388 return XRRQueryExtension ();
10390 return 0;
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 case "$LIBEXT" in
10395 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10396 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'` ;;
10397 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10398 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10399 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10400 fi ;;
10401 esac
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_soname_save_LIBS
10407 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10409 $as_echo "not found" >&6; }
10411 else
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10413 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10415 cat >>confdefs.h <<_ACEOF
10416 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10417 _ACEOF
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 #include <X11/Xlib.h>
10422 #include <X11/extensions/Xrandr.h>
10424 main ()
10426 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10428 return 0;
10430 _ACEOF
10431 if ac_fn_c_try_compile "$LINENO"; then :
10433 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10441 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10442 case "x$with_xrandr" in
10443 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10444 xno) ;;
10445 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10446 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10447 esac
10451 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10452 then
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 #include <X11/Xlib.h>
10456 #include <X11/extensions/Xinerama.h>
10458 main ()
10460 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10462 return 0;
10464 _ACEOF
10465 if ac_fn_c_try_compile "$LINENO"; then :
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10467 $as_echo_n "checking for -lXinerama... " >&6; }
10468 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10469 $as_echo_n "(cached) " >&6
10470 else
10471 ac_check_soname_save_LIBS=$LIBS
10472 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10474 /* end confdefs.h. */
10476 /* Override any GCC internal prototype to avoid an error.
10477 Use char because int might match the return type of a GCC
10478 builtin and then its argument prototype would still apply. */
10479 #ifdef __cplusplus
10480 extern "C"
10481 #endif
10482 char XineramaQueryScreens ();
10484 main ()
10486 return XineramaQueryScreens ();
10488 return 0;
10490 _ACEOF
10491 if ac_fn_c_try_link "$LINENO"; then :
10492 case "$LIBEXT" in
10493 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10494 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'` ;;
10495 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10496 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10497 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10498 fi ;;
10499 esac
10501 rm -f core conftest.err conftest.$ac_objext \
10502 conftest$ac_exeext conftest.$ac_ext
10503 LIBS=$ac_check_soname_save_LIBS
10505 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10507 $as_echo "not found" >&6; }
10509 else
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10511 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10513 cat >>confdefs.h <<_ACEOF
10514 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10515 _ACEOF
10520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10522 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10523 case "x$with_xinerama" in
10524 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10525 xno) ;;
10526 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10527 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10528 esac
10532 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10533 then
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10535 $as_echo_n "checking for -lXcomposite... " >&6; }
10536 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10537 $as_echo_n "(cached) " >&6
10538 else
10539 ac_check_soname_save_LIBS=$LIBS
10540 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10547 #ifdef __cplusplus
10548 extern "C"
10549 #endif
10550 char XCompositeRedirectWindow ();
10552 main ()
10554 return XCompositeRedirectWindow ();
10556 return 0;
10558 _ACEOF
10559 if ac_fn_c_try_link "$LINENO"; then :
10560 case "$LIBEXT" in
10561 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10562 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'` ;;
10563 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10564 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10565 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10566 fi ;;
10567 esac
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 LIBS=$ac_check_soname_save_LIBS
10573 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10575 $as_echo "not found" >&6; }
10577 else
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10579 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10581 cat >>confdefs.h <<_ACEOF
10582 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10583 _ACEOF
10588 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10589 case "x$with_xcomposite" in
10590 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10591 xno) ;;
10592 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10593 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10594 esac
10598 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10599 #include <X11/Xlib.h>
10600 #endif
10602 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10604 cat >>confdefs.h <<_ACEOF
10605 #define HAVE_XICCALLBACK_CALLBACK 1
10606 _ACEOF
10610 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10611 #include <X11/Xlib.h>
10612 #endif
10614 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10616 cat >>confdefs.h <<_ACEOF
10617 #define HAVE_XEVENT_XCOOKIE 1
10618 _ACEOF
10625 opengl_msg=""
10626 if test "x$with_opengl" != "xno"
10627 then
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10629 $as_echo_n "checking for -lGL... " >&6; }
10630 if ${ac_cv_lib_soname_GL+:} false; then :
10631 $as_echo_n "(cached) " >&6
10632 else
10633 ac_check_soname_save_LIBS=$LIBS
10634 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10638 /* Override any GCC internal prototype to avoid an error.
10639 Use char because int might match the return type of a GCC
10640 builtin and then its argument prototype would still apply. */
10641 #ifdef __cplusplus
10642 extern "C"
10643 #endif
10644 char glXCreateContext ();
10646 main ()
10648 return glXCreateContext ();
10650 return 0;
10652 _ACEOF
10653 if ac_fn_c_try_link "$LINENO"; then :
10654 case "$LIBEXT" in
10655 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10656 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'` ;;
10657 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10658 if ${ac_cv_lib_soname_GL:+false} :; then :
10659 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10660 fi ;;
10661 esac
10663 rm -f core conftest.err conftest.$ac_objext \
10664 conftest$ac_exeext conftest.$ac_ext
10665 LIBS=$ac_check_soname_save_LIBS
10667 if ${ac_cv_lib_soname_GL:+false} :; then :
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10669 $as_echo "not found" >&6; }
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10671 $as_echo_n "checking for -lGL... " >&6; }
10672 if ${ac_cv_lib_soname_GL+:} false; then :
10673 $as_echo_n "(cached) " >&6
10674 else
10675 ac_check_soname_save_LIBS=$LIBS
10676 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"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h. */
10680 /* Override any GCC internal prototype to avoid an error.
10681 Use char because int might match the return type of a GCC
10682 builtin and then its argument prototype would still apply. */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char glXCreateContext ();
10688 main ()
10690 return glXCreateContext ();
10692 return 0;
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"; then :
10696 case "$LIBEXT" in
10697 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10698 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'` ;;
10699 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10700 if ${ac_cv_lib_soname_GL:+false} :; then :
10701 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10702 fi ;;
10703 esac
10705 rm -f core conftest.err conftest.$ac_objext \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_soname_save_LIBS
10709 if ${ac_cv_lib_soname_GL:+false} :; then :
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10711 $as_echo "not found" >&6; }
10712 if test -f /usr/X11R6/lib/libGL.a
10713 then
10714 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10715 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10716 else
10717 opengl_msg="No OpenGL library found on this system."
10719 else
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10721 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10723 cat >>confdefs.h <<_ACEOF
10724 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10725 _ACEOF
10727 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"
10729 else
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10731 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10733 cat >>confdefs.h <<_ACEOF
10734 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10735 _ACEOF
10737 OPENGL_LIBS="-lGL"
10739 if test "x$with_glu" != "xno"
10740 then
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10742 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10743 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10744 $as_echo_n "(cached) " >&6
10745 else
10746 ac_check_lib_save_LIBS=$LIBS
10747 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10749 /* end confdefs.h. */
10751 /* Override any GCC internal prototype to avoid an error.
10752 Use char because int might match the return type of a GCC
10753 builtin and then its argument prototype would still apply. */
10754 #ifdef __cplusplus
10755 extern "C"
10756 #endif
10757 char gluLookAt ();
10759 main ()
10761 return gluLookAt ();
10763 return 0;
10765 _ACEOF
10766 if ac_fn_c_try_link "$LINENO"; then :
10767 ac_cv_lib_GLU_gluLookAt=yes
10768 else
10769 ac_cv_lib_GLU_gluLookAt=no
10771 rm -f core conftest.err conftest.$ac_objext \
10772 conftest$ac_exeext conftest.$ac_ext
10773 LIBS=$ac_check_lib_save_LIBS
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10776 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10777 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10781 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10782 case "x$with_glu" in
10783 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10784 xno) ;;
10785 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10786 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10787 esac
10792 if test "x$with_osmesa" != "xno"
10793 then
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10795 $as_echo_n "checking for -lOSMesa... " >&6; }
10796 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10797 $as_echo_n "(cached) " >&6
10798 else
10799 ac_check_soname_save_LIBS=$LIBS
10800 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10804 /* Override any GCC internal prototype to avoid an error.
10805 Use char because int might match the return type of a GCC
10806 builtin and then its argument prototype would still apply. */
10807 #ifdef __cplusplus
10808 extern "C"
10809 #endif
10810 char glAccum ();
10812 main ()
10814 return glAccum ();
10816 return 0;
10818 _ACEOF
10819 if ac_fn_c_try_link "$LINENO"; then :
10820 case "$LIBEXT" in
10821 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10822 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'` ;;
10823 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10824 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10825 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10826 fi ;;
10827 esac
10829 rm -f core conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_soname_save_LIBS
10833 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10835 $as_echo "not found" >&6; }
10837 else
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10839 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10841 cat >>confdefs.h <<_ACEOF
10842 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10843 _ACEOF
10847 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10848 case "x$with_osmesa" in
10849 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10850 xno) ;;
10851 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10852 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10853 esac
10858 if test -n "$opengl_msg"; then :
10859 case "x$with_opengl" in
10860 x) as_fn_append wine_warnings "|$opengl_msg
10861 OpenGL and Direct3D won't be supported." ;;
10862 xno) ;;
10863 *) as_fn_error $? "$opengl_msg
10864 OpenGL and Direct3D won't be supported.
10865 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10866 esac
10870 CPPFLAGS="$ac_save_CPPFLAGS"
10871 else
10872 X_CFLAGS=""
10873 X_LIBS=""
10875 if test "x$X_LIBS" = "x"; then :
10876 case "x$with_x" in
10877 xno) ;;
10878 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10879 without X support, which probably isn't what you want. You will need
10880 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10881 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10882 esac
10883 enable_winex11_drv=${enable_winex11_drv:-no}
10886 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10888 if test "$ac_cv_header_CL_cl_h" = "yes"
10889 then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10891 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10892 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10893 $as_echo_n "(cached) " >&6
10894 else
10895 ac_check_lib_save_LIBS=$LIBS
10896 LIBS="-lOpenCL $LIBS"
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10900 /* Override any GCC internal prototype to avoid an error.
10901 Use char because int might match the return type of a GCC
10902 builtin and then its argument prototype would still apply. */
10903 #ifdef __cplusplus
10904 extern "C"
10905 #endif
10906 char clGetPlatformInfo ();
10908 main ()
10910 return clGetPlatformInfo ();
10912 return 0;
10914 _ACEOF
10915 if ac_fn_c_try_link "$LINENO"; then :
10916 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10917 else
10918 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10920 rm -f core conftest.err conftest.$ac_objext \
10921 conftest$ac_exeext conftest.$ac_ext
10922 LIBS=$ac_check_lib_save_LIBS
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10925 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10926 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10927 OPENCL_LIBS="-lOpenCL"
10932 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10933 case "x$with_opencl" in
10934 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10935 xno) ;;
10936 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10937 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10938 esac
10939 enable_opencl=${enable_opencl:-no}
10942 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10943 then
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10945 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10946 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10947 $as_echo_n "(cached) " >&6
10948 else
10949 ac_check_lib_save_LIBS=$LIBS
10950 LIBS="-lpcap $LIBS"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10957 #ifdef __cplusplus
10958 extern "C"
10959 #endif
10960 char pcap_create ();
10962 main ()
10964 return pcap_create ();
10966 return 0;
10968 _ACEOF
10969 if ac_fn_c_try_link "$LINENO"; then :
10970 ac_cv_lib_pcap_pcap_create=yes
10971 else
10972 ac_cv_lib_pcap_pcap_create=no
10974 rm -f core conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10976 LIBS=$ac_check_lib_save_LIBS
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10979 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10980 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10981 PCAP_LIBS="-lpcap"
10986 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10987 case "x$with_pcap" in
10988 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10989 xno) ;;
10990 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10991 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10992 esac
10993 enable_wpcap=${enable_wpcap:-no}
10997 if test "x$with_xml" != "xno"
10998 then
10999 if ${XML2_CFLAGS:+false} :; then :
11000 if ${PKG_CONFIG+:} false; then :
11001 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11004 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11005 if ${XML2_LIBS:+false} :; then :
11006 if ${PKG_CONFIG+:} false; then :
11007 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11010 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11011 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11012 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11013 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11014 ac_save_CPPFLAGS=$CPPFLAGS
11015 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11016 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11017 do :
11018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11019 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11021 cat >>confdefs.h <<_ACEOF
11022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11023 _ACEOF
11027 done
11029 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"
11030 then
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11032 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11033 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11034 $as_echo_n "(cached) " >&6
11035 else
11036 ac_check_lib_save_LIBS=$LIBS
11037 LIBS="-lxml2 $XML2_LIBS $LIBS"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11041 /* Override any GCC internal prototype to avoid an error.
11042 Use char because int might match the return type of a GCC
11043 builtin and then its argument prototype would still apply. */
11044 #ifdef __cplusplus
11045 extern "C"
11046 #endif
11047 char xmlParseMemory ();
11049 main ()
11051 return xmlParseMemory ();
11053 return 0;
11055 _ACEOF
11056 if ac_fn_c_try_link "$LINENO"; then :
11057 ac_cv_lib_xml2_xmlParseMemory=yes
11058 else
11059 ac_cv_lib_xml2_xmlParseMemory=no
11061 rm -f core conftest.err conftest.$ac_objext \
11062 conftest$ac_exeext conftest.$ac_ext
11063 LIBS=$ac_check_lib_save_LIBS
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11066 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11067 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11069 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11071 else
11072 XML2_LIBS=""
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11076 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11077 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_lib_save_LIBS=$LIBS
11081 LIBS="-lxml2 $XML2_LIBS $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char xmlReadMemory ();
11093 main ()
11095 return xmlReadMemory ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 ac_cv_lib_xml2_xmlReadMemory=yes
11102 else
11103 ac_cv_lib_xml2_xmlReadMemory=no
11105 rm -f core conftest.err conftest.$ac_objext \
11106 conftest$ac_exeext conftest.$ac_ext
11107 LIBS=$ac_check_lib_save_LIBS
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11110 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11111 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11113 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11118 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11119 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11120 $as_echo_n "(cached) " >&6
11121 else
11122 ac_check_lib_save_LIBS=$LIBS
11123 LIBS="-lxml2 $XML2_LIBS $LIBS"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11130 #ifdef __cplusplus
11131 extern "C"
11132 #endif
11133 char xmlNewDocPI ();
11135 main ()
11137 return xmlNewDocPI ();
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_link "$LINENO"; then :
11143 ac_cv_lib_xml2_xmlNewDocPI=yes
11144 else
11145 ac_cv_lib_xml2_xmlNewDocPI=no
11147 rm -f core conftest.err conftest.$ac_objext \
11148 conftest$ac_exeext conftest.$ac_ext
11149 LIBS=$ac_check_lib_save_LIBS
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11152 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11153 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11155 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11160 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11161 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11162 $as_echo_n "(cached) " >&6
11163 else
11164 ac_check_lib_save_LIBS=$LIBS
11165 LIBS="-lxml2 $XML2_LIBS $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char xmlSchemaSetParserStructuredErrors ();
11177 main ()
11179 return xmlSchemaSetParserStructuredErrors ();
11181 return 0;
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11186 else
11187 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11194 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11195 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11197 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11202 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11203 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11204 $as_echo_n "(cached) " >&6
11205 else
11206 ac_check_lib_save_LIBS=$LIBS
11207 LIBS="-lxml2 $XML2_LIBS $LIBS"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char xmlSchemaSetValidStructuredErrors ();
11219 main ()
11221 return xmlSchemaSetValidStructuredErrors ();
11223 return 0;
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11228 else
11229 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11236 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11237 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11239 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11244 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11245 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11246 $as_echo_n "(cached) " >&6
11247 else
11248 ac_check_lib_save_LIBS=$LIBS
11249 LIBS="-lxml2 $XML2_LIBS $LIBS"
11250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11253 /* Override any GCC internal prototype to avoid an error.
11254 Use char because int might match the return type of a GCC
11255 builtin and then its argument prototype would still apply. */
11256 #ifdef __cplusplus
11257 extern "C"
11258 #endif
11259 char xmlFirstElementChild ();
11261 main ()
11263 return xmlFirstElementChild ();
11265 return 0;
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"; then :
11269 ac_cv_lib_xml2_xmlFirstElementChild=yes
11270 else
11271 ac_cv_lib_xml2_xmlFirstElementChild=no
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_lib_save_LIBS
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11278 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11279 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11281 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11285 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11287 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11289 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11293 else
11294 XML2_CFLAGS=""
11295 XML2_LIBS=""
11297 CPPFLAGS=$ac_save_CPPFLAGS
11298 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11299 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11302 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11303 case "x$with_xml" in
11304 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11305 xno) ;;
11306 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11307 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11308 esac
11312 if test "x$with_xslt" != "xno"
11313 then
11314 if ${XSLT_CFLAGS:+false} :; then :
11315 if ${PKG_CONFIG+:} false; then :
11316 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11319 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11320 if ${XSLT_LIBS:+false} :; then :
11321 if ${PKG_CONFIG+:} false; then :
11322 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11325 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11326 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11327 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11328 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11329 ac_save_CPPFLAGS=$CPPFLAGS
11330 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11331 for ac_header in libxslt/pattern.h libxslt/transform.h
11332 do :
11333 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11334 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11335 # include <libxslt/pattern.h>
11336 #endif
11338 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11339 cat >>confdefs.h <<_ACEOF
11340 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11341 _ACEOF
11345 done
11347 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11348 then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11350 $as_echo_n "checking for -lxslt... " >&6; }
11351 if ${ac_cv_lib_soname_xslt+:} false; then :
11352 $as_echo_n "(cached) " >&6
11353 else
11354 ac_check_soname_save_LIBS=$LIBS
11355 LIBS="-lxslt $XSLT_LIBS $LIBS"
11356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11357 /* end confdefs.h. */
11359 /* Override any GCC internal prototype to avoid an error.
11360 Use char because int might match the return type of a GCC
11361 builtin and then its argument prototype would still apply. */
11362 #ifdef __cplusplus
11363 extern "C"
11364 #endif
11365 char xsltCompilePattern ();
11367 main ()
11369 return xsltCompilePattern ();
11371 return 0;
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"; then :
11375 case "$LIBEXT" in
11376 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11377 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'` ;;
11378 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11379 if ${ac_cv_lib_soname_xslt:+false} :; then :
11380 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11381 fi ;;
11382 esac
11384 rm -f core conftest.err conftest.$ac_objext \
11385 conftest$ac_exeext conftest.$ac_ext
11386 LIBS=$ac_check_soname_save_LIBS
11388 if ${ac_cv_lib_soname_xslt:+false} :; then :
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11390 $as_echo "not found" >&6; }
11392 else
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11394 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11396 cat >>confdefs.h <<_ACEOF
11397 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11398 _ACEOF
11402 else
11403 XSLT_CFLAGS=""
11405 CPPFLAGS=$ac_save_CPPFLAGS
11406 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11407 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11410 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11411 case "x$with_xslt" in
11412 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11413 xno) ;;
11414 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11415 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11416 esac
11420 if test "x$with_dbus" != "xno"
11421 then
11422 if ${DBUS_CFLAGS:+false} :; then :
11423 if ${PKG_CONFIG+:} false; then :
11424 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11428 if ${DBUS_LIBS:+false} :; then :
11429 if ${PKG_CONFIG+:} false; then :
11430 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11435 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11436 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11437 ac_save_CPPFLAGS=$CPPFLAGS
11438 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11439 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11440 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11442 $as_echo_n "checking for -ldbus-1... " >&6; }
11443 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11444 $as_echo_n "(cached) " >&6
11445 else
11446 ac_check_soname_save_LIBS=$LIBS
11447 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 char dbus_connection_close ();
11459 main ()
11461 return dbus_connection_close ();
11463 return 0;
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 case "$LIBEXT" in
11468 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11469 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'` ;;
11470 *) 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'`
11471 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11472 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11473 fi ;;
11474 esac
11476 rm -f core conftest.err conftest.$ac_objext \
11477 conftest$ac_exeext conftest.$ac_ext
11478 LIBS=$ac_check_soname_save_LIBS
11480 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11482 $as_echo "not found" >&6; }
11483 DBUS_CFLAGS=""
11484 else
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11486 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11488 cat >>confdefs.h <<_ACEOF
11489 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11490 _ACEOF
11494 else
11495 DBUS_CFLAGS=""
11499 CPPFLAGS=$ac_save_CPPFLAGS
11500 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11501 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11504 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11505 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11506 case "x$with_dbus" in
11507 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11508 xno) ;;
11509 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11510 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11511 esac
11515 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11516 then
11517 if ${HAL_CFLAGS:+false} :; then :
11518 if ${PKG_CONFIG+:} false; then :
11519 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11523 if ${HAL_LIBS:+false} :; then :
11524 if ${PKG_CONFIG+:} false; then :
11525 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11529 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11530 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11531 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11532 ac_save_CPPFLAGS=$CPPFLAGS
11533 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11534 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11535 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11537 $as_echo_n "checking for -lhal... " >&6; }
11538 if ${ac_cv_lib_soname_hal+:} false; then :
11539 $as_echo_n "(cached) " >&6
11540 else
11541 ac_check_soname_save_LIBS=$LIBS
11542 LIBS="-lhal $HAL_LIBS $LIBS"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11549 #ifdef __cplusplus
11550 extern "C"
11551 #endif
11552 char libhal_ctx_new ();
11554 main ()
11556 return libhal_ctx_new ();
11558 return 0;
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"; then :
11562 case "$LIBEXT" in
11563 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11564 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'` ;;
11565 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11566 if ${ac_cv_lib_soname_hal:+false} :; then :
11567 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11568 fi ;;
11569 esac
11571 rm -f core conftest.err conftest.$ac_objext \
11572 conftest$ac_exeext conftest.$ac_ext
11573 LIBS=$ac_check_soname_save_LIBS
11575 if ${ac_cv_lib_soname_hal:+false} :; then :
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11577 $as_echo "not found" >&6; }
11578 HAL_CFLAGS=""
11579 else
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11581 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11583 cat >>confdefs.h <<_ACEOF
11584 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11585 _ACEOF
11589 else
11590 HAL_CFLAGS=""
11594 CPPFLAGS=$ac_save_CPPFLAGS
11595 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11596 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11598 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11599 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11600 case "x$with_hal" in
11601 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11602 xno) ;;
11603 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11604 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11605 esac
11610 if test "x$with_gnutls" != "xno"
11611 then
11612 if ${GNUTLS_CFLAGS:+false} :; then :
11613 if ${PKG_CONFIG+:} false; then :
11614 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11618 if ${GNUTLS_LIBS:+false} :; then :
11619 if ${PKG_CONFIG+:} false; then :
11620 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11625 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11626 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11627 ac_save_CPPFLAGS=$CPPFLAGS
11628 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11629 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11630 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11633 #include <gnutls/gnutls.h>
11634 #include <gnutls/crypto.h>
11636 main ()
11638 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11640 return 0;
11642 _ACEOF
11643 if ac_fn_c_try_compile "$LINENO"; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11645 $as_echo_n "checking for -lgnutls... " >&6; }
11646 if ${ac_cv_lib_soname_gnutls+:} false; then :
11647 $as_echo_n "(cached) " >&6
11648 else
11649 ac_check_soname_save_LIBS=$LIBS
11650 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11657 #ifdef __cplusplus
11658 extern "C"
11659 #endif
11660 char gnutls_global_init ();
11662 main ()
11664 return gnutls_global_init ();
11666 return 0;
11668 _ACEOF
11669 if ac_fn_c_try_link "$LINENO"; then :
11670 case "$LIBEXT" in
11671 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11672 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'` ;;
11673 *) 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'`
11674 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11675 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'`
11676 fi ;;
11677 esac
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_soname_save_LIBS
11683 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11685 $as_echo "not found" >&6; }
11686 GNUTLS_CFLAGS=""
11687 else
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11689 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11691 cat >>confdefs.h <<_ACEOF
11692 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11693 _ACEOF
11697 ac_wine_check_funcs_save_LIBS="$LIBS"
11698 LIBS="$LIBS $GNUTLS_LIBS"
11699 for ac_func in gnutls_hash
11700 do :
11701 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11702 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11703 cat >>confdefs.h <<_ACEOF
11704 #define HAVE_GNUTLS_HASH 1
11705 _ACEOF
11707 else
11708 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11710 done
11712 LIBS="$ac_wine_check_funcs_save_LIBS"
11714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11715 else
11716 GNUTLS_CFLAGS=""
11720 CPPFLAGS=$ac_save_CPPFLAGS
11721 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11722 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11725 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11726 case "x$with_gnutls" in
11727 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11728 xno) ;;
11729 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11730 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11731 esac
11735 CURSES_LIBS=""
11736 if test "$ac_cv_header_ncurses_h" = "yes"
11737 then
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11739 $as_echo_n "checking for -lncurses... " >&6; }
11740 if ${ac_cv_lib_soname_ncurses+:} false; then :
11741 $as_echo_n "(cached) " >&6
11742 else
11743 ac_check_soname_save_LIBS=$LIBS
11744 LIBS="-lncurses $LIBS"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11751 #ifdef __cplusplus
11752 extern "C"
11753 #endif
11754 char waddch ();
11756 main ()
11758 return waddch ();
11760 return 0;
11762 _ACEOF
11763 if ac_fn_c_try_link "$LINENO"; then :
11764 case "$LIBEXT" in
11765 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11766 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'` ;;
11767 *) 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'`
11768 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11769 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11770 fi ;;
11771 esac
11773 rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
11775 LIBS=$ac_check_soname_save_LIBS
11777 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11779 $as_echo "not found" >&6; }
11781 else
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11783 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11785 cat >>confdefs.h <<_ACEOF
11786 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11787 _ACEOF
11789 CURSES_LIBS="-lncurses"
11791 elif test "$ac_cv_header_curses_h" = "yes"
11792 then
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11794 $as_echo_n "checking for -lcurses... " >&6; }
11795 if ${ac_cv_lib_soname_curses+:} false; then :
11796 $as_echo_n "(cached) " >&6
11797 else
11798 ac_check_soname_save_LIBS=$LIBS
11799 LIBS="-lcurses $LIBS"
11800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11803 /* Override any GCC internal prototype to avoid an error.
11804 Use char because int might match the return type of a GCC
11805 builtin and then its argument prototype would still apply. */
11806 #ifdef __cplusplus
11807 extern "C"
11808 #endif
11809 char waddch ();
11811 main ()
11813 return waddch ();
11815 return 0;
11817 _ACEOF
11818 if ac_fn_c_try_link "$LINENO"; then :
11819 case "$LIBEXT" in
11820 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11821 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'` ;;
11822 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11823 if ${ac_cv_lib_soname_curses:+false} :; then :
11824 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11825 fi ;;
11826 esac
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_soname_save_LIBS
11832 if ${ac_cv_lib_soname_curses:+false} :; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11834 $as_echo "not found" >&6; }
11836 else
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11838 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11840 cat >>confdefs.h <<_ACEOF
11841 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11842 _ACEOF
11844 CURSES_LIBS="-lcurses"
11847 ac_save_LIBS="$LIBS"
11848 LIBS="$LIBS $CURSES_LIBS"
11849 for ac_func in mousemask
11850 do :
11851 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11852 if test "x$ac_cv_func_mousemask" = xyes; then :
11853 cat >>confdefs.h <<_ACEOF
11854 #define HAVE_MOUSEMASK 1
11855 _ACEOF
11858 done
11860 LIBS="$ac_save_LIBS"
11861 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11862 case "x$with_curses" in
11863 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11864 xno) ;;
11865 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11866 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11867 esac
11871 if test "x$with_sane" != "xno"
11872 then
11873 if ${SANE_CFLAGS:+false} :; then :
11874 if ${PKG_CONFIG+:} false; then :
11875 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11878 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11879 if ${SANE_LIBS:+false} :; then :
11880 if ${PKG_CONFIG+:} false; then :
11881 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11884 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11886 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11887 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11888 ac_save_CPPFLAGS=$CPPFLAGS
11889 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11890 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11891 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11893 $as_echo_n "checking for -lsane... " >&6; }
11894 if ${ac_cv_lib_soname_sane+:} false; then :
11895 $as_echo_n "(cached) " >&6
11896 else
11897 ac_check_soname_save_LIBS=$LIBS
11898 LIBS="-lsane $SANE_LIBS $LIBS"
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char sane_init ();
11910 main ()
11912 return sane_init ();
11914 return 0;
11916 _ACEOF
11917 if ac_fn_c_try_link "$LINENO"; then :
11918 case "$LIBEXT" in
11919 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11920 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'` ;;
11921 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11922 if ${ac_cv_lib_soname_sane:+false} :; then :
11923 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11924 fi ;;
11925 esac
11927 rm -f core conftest.err conftest.$ac_objext \
11928 conftest$ac_exeext conftest.$ac_ext
11929 LIBS=$ac_check_soname_save_LIBS
11931 if ${ac_cv_lib_soname_sane:+false} :; then :
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11933 $as_echo "not found" >&6; }
11934 SANE_CFLAGS=""
11935 else
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11937 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11939 cat >>confdefs.h <<_ACEOF
11940 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11941 _ACEOF
11945 else
11946 SANE_CFLAGS=""
11950 CPPFLAGS=$ac_save_CPPFLAGS
11951 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11952 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11955 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11956 case "x$with_sane" in
11957 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11958 xno) ;;
11959 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11960 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11961 esac
11965 if test "x$with_v4l" != "xno"
11966 then
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11968 $as_echo_n "checking for -lv4l1... " >&6; }
11969 if ${ac_cv_lib_soname_v4l1+:} false; then :
11970 $as_echo_n "(cached) " >&6
11971 else
11972 ac_check_soname_save_LIBS=$LIBS
11973 LIBS="-lv4l1 $LIBS"
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11977 /* Override any GCC internal prototype to avoid an error.
11978 Use char because int might match the return type of a GCC
11979 builtin and then its argument prototype would still apply. */
11980 #ifdef __cplusplus
11981 extern "C"
11982 #endif
11983 char v4l1_open ();
11985 main ()
11987 return v4l1_open ();
11989 return 0;
11991 _ACEOF
11992 if ac_fn_c_try_link "$LINENO"; then :
11993 case "$LIBEXT" in
11994 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11995 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'` ;;
11996 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11997 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11998 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11999 fi ;;
12000 esac
12002 rm -f core conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_soname_save_LIBS
12006 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12008 $as_echo "not found" >&6; }
12010 else
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12012 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12014 cat >>confdefs.h <<_ACEOF
12015 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12016 _ACEOF
12021 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12022 case "x$with_v4l" in
12023 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12024 xno) ;;
12025 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12026 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12027 esac
12031 if test "x$with_gphoto" != "xno"
12032 then
12033 if ${GPHOTO2_CFLAGS:+false} :; then :
12034 if ${PKG_CONFIG+:} false; then :
12035 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12038 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12039 if ${GPHOTO2_LIBS:+false} :; then :
12040 if ${PKG_CONFIG+:} false; then :
12041 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12044 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12045 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12048 ac_save_CPPFLAGS=$CPPFLAGS
12049 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12050 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12051 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12053 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12054 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12055 $as_echo_n "(cached) " >&6
12056 else
12057 ac_check_lib_save_LIBS=$LIBS
12058 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 /* Override any GCC internal prototype to avoid an error.
12063 Use char because int might match the return type of a GCC
12064 builtin and then its argument prototype would still apply. */
12065 #ifdef __cplusplus
12066 extern "C"
12067 #endif
12068 char gp_camera_new ();
12070 main ()
12072 return gp_camera_new ();
12074 return 0;
12076 _ACEOF
12077 if ac_fn_c_try_link "$LINENO"; then :
12078 ac_cv_lib_gphoto2_gp_camera_new=yes
12079 else
12080 ac_cv_lib_gphoto2_gp_camera_new=no
12082 rm -f core conftest.err conftest.$ac_objext \
12083 conftest$ac_exeext conftest.$ac_ext
12084 LIBS=$ac_check_lib_save_LIBS
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12087 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12088 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12090 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12092 else
12093 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12096 else
12097 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12101 CPPFLAGS=$ac_save_CPPFLAGS
12102 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12103 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12105 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12106 if ${PKG_CONFIG+:} false; then :
12107 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12110 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12111 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12112 if ${PKG_CONFIG+:} false; then :
12113 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12116 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12117 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12118 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12119 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12120 ac_save_CPPFLAGS=$CPPFLAGS
12121 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12122 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12123 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12125 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12126 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_lib_save_LIBS=$LIBS
12130 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char gp_port_info_list_new ();
12142 main ()
12144 return gp_port_info_list_new ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12151 else
12152 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12154 rm -f core conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12159 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12160 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12162 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12164 else
12165 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12168 else
12169 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12173 CPPFLAGS=$ac_save_CPPFLAGS
12174 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12175 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12178 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12179 case "x$with_gphoto" in
12180 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12181 xno) ;;
12182 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12183 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12184 esac
12187 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12188 case "x$with_gphoto" in
12189 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12190 xno) ;;
12191 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12192 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12193 esac
12198 if test "$ac_cv_header_resolv_h" = "yes"
12199 then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12201 $as_echo_n "checking for resolver library... " >&6; }
12202 if ${ac_cv_have_resolv+:} false; then :
12203 $as_echo_n "(cached) " >&6
12204 else
12205 ac_save_LIBS="$LIBS"
12206 for lib in '' -lresolv
12208 LIBS="$lib $ac_save_LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12211 #ifdef HAVE_NETINET_IN_H
12212 #include <netinet/in.h>
12213 #endif
12214 #include <resolv.h>
12216 main ()
12218 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12220 return 0;
12222 _ACEOF
12223 if ac_fn_c_try_link "$LINENO"; then :
12224 ac_cv_have_resolv=${lib:-"none required"}
12225 else
12226 ac_cv_have_resolv="not found"
12228 rm -f core conftest.err conftest.$ac_objext \
12229 conftest$ac_exeext conftest.$ac_ext
12230 test "x$ac_cv_have_resolv" = "xnot found" || break
12231 done
12232 LIBS="$ac_save_LIBS"
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12235 $as_echo "$ac_cv_have_resolv" >&6; }
12237 case "$ac_cv_have_resolv" in
12238 "not found") ;;
12239 "none required")
12241 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12244 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12246 RESOLV_LIBS=$ac_cv_have_resolv
12248 esac
12251 if test "x$with_cms" != "xno"
12252 then
12253 if ${LCMS2_CFLAGS:+false} :; then :
12254 if ${PKG_CONFIG+:} false; then :
12255 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12259 if ${LCMS2_LIBS:+false} :; then :
12260 if ${PKG_CONFIG+:} false; then :
12261 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12265 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12266 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12267 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12268 ac_save_CPPFLAGS=$CPPFLAGS
12269 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12270 for ac_header in lcms2.h
12271 do :
12272 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12273 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12274 cat >>confdefs.h <<_ACEOF
12275 #define HAVE_LCMS2_H 1
12276 _ACEOF
12280 done
12282 if test "$ac_cv_header_lcms2_h" = "yes"
12283 then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12285 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12286 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12287 $as_echo_n "(cached) " >&6
12288 else
12289 ac_check_lib_save_LIBS=$LIBS
12290 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12294 /* Override any GCC internal prototype to avoid an error.
12295 Use char because int might match the return type of a GCC
12296 builtin and then its argument prototype would still apply. */
12297 #ifdef __cplusplus
12298 extern "C"
12299 #endif
12300 char cmsOpenProfileFromFile ();
12302 main ()
12304 return cmsOpenProfileFromFile ();
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_link "$LINENO"; then :
12310 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12311 else
12312 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12314 rm -f core conftest.err conftest.$ac_objext \
12315 conftest$ac_exeext conftest.$ac_ext
12316 LIBS=$ac_check_lib_save_LIBS
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12319 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12320 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12322 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12324 else
12325 LCMS2_LIBS=""
12328 else
12329 LCMS2_CFLAGS=""
12330 LCMS2_LIBS=""
12332 CPPFLAGS=$ac_save_CPPFLAGS
12333 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12334 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12337 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12338 case "x$with_cms" in
12339 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12340 xno) ;;
12341 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12342 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12343 esac
12347 if test "x$with_freetype" != "xno"
12348 then
12349 if ${FREETYPE_CFLAGS:+false} :; then :
12350 if ${PKG_CONFIG+:} false; then :
12351 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12354 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12355 if ${FREETYPE_LIBS:+false} :; then :
12356 if ${PKG_CONFIG+:} false; then :
12357 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12360 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12361 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12362 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12363 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12364 ac_save_CPPFLAGS=$CPPFLAGS
12365 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12366 for ac_header in ft2build.h
12367 do :
12368 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12369 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12370 cat >>confdefs.h <<_ACEOF
12371 #define HAVE_FT2BUILD_H 1
12372 _ACEOF
12376 done
12378 if test "$ac_cv_header_ft2build_h" = "yes"
12379 then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12381 $as_echo_n "checking for -lfreetype... " >&6; }
12382 if ${ac_cv_lib_soname_freetype+:} false; then :
12383 $as_echo_n "(cached) " >&6
12384 else
12385 ac_check_soname_save_LIBS=$LIBS
12386 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12393 #ifdef __cplusplus
12394 extern "C"
12395 #endif
12396 char FT_Init_FreeType ();
12398 main ()
12400 return FT_Init_FreeType ();
12402 return 0;
12404 _ACEOF
12405 if ac_fn_c_try_link "$LINENO"; then :
12406 case "$LIBEXT" in
12407 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12408 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'` ;;
12409 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12410 if ${ac_cv_lib_soname_freetype:+false} :; then :
12411 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12412 fi ;;
12413 esac
12415 rm -f core conftest.err conftest.$ac_objext \
12416 conftest$ac_exeext conftest.$ac_ext
12417 LIBS=$ac_check_soname_save_LIBS
12419 if ${ac_cv_lib_soname_freetype:+false} :; then :
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12421 $as_echo "not found" >&6; }
12422 FREETYPE_LIBS=""
12423 else
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12425 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12427 cat >>confdefs.h <<_ACEOF
12428 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12429 _ACEOF
12432 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12434 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12435 #include FT_MODULE_H
12437 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12439 cat >>confdefs.h <<_ACEOF
12440 #define HAVE_FT_TRUETYPEENGINETYPE 1
12441 _ACEOF
12447 else
12448 FREETYPE_CFLAGS=""
12449 FREETYPE_LIBS=""
12451 CPPFLAGS=$ac_save_CPPFLAGS
12452 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12453 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12456 if test "x$ac_cv_lib_soname_freetype" = x; then :
12457 case "x$with_freetype" in
12458 xno) ;;
12459 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12460 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12461 esac
12462 enable_fonts=${enable_fonts:-no}
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12466 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12467 if ${ac_cv_c_ppdev+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12472 #ifdef HAVE_SYS_IOCTL_H
12473 # include <sys/ioctl.h>
12474 #endif
12475 #include <linux/ppdev.h>
12477 main ()
12479 ioctl (1,PPCLAIM,0)
12481 return 0;
12483 _ACEOF
12484 if ac_fn_c_try_compile "$LINENO"; then :
12485 ac_cv_c_ppdev="yes"
12486 else
12487 ac_cv_c_ppdev="no"
12489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12492 $as_echo "$ac_cv_c_ppdev" >&6; }
12493 if test "$ac_cv_c_ppdev" = "yes"
12494 then
12496 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12500 ac_wine_check_funcs_save_LIBS="$LIBS"
12501 LIBS="$LIBS $PTHREAD_LIBS"
12502 for ac_func in \
12503 pthread_attr_get_np \
12504 pthread_getattr_np \
12505 pthread_getthreadid_np \
12506 pthread_get_stackaddr_np \
12507 pthread_get_stacksize_np
12508 do :
12509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12512 cat >>confdefs.h <<_ACEOF
12513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12514 _ACEOF
12517 done
12519 LIBS="$ac_wine_check_funcs_save_LIBS"
12521 if test "$ac_cv_header_zlib_h" = "yes"
12522 then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12524 $as_echo_n "checking for inflate in -lz... " >&6; }
12525 if ${ac_cv_lib_z_inflate+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 ac_check_lib_save_LIBS=$LIBS
12529 LIBS="-lz $LIBS"
12530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 /* end confdefs.h. */
12533 /* Override any GCC internal prototype to avoid an error.
12534 Use char because int might match the return type of a GCC
12535 builtin and then its argument prototype would still apply. */
12536 #ifdef __cplusplus
12537 extern "C"
12538 #endif
12539 char inflate ();
12541 main ()
12543 return inflate ();
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_link "$LINENO"; then :
12549 ac_cv_lib_z_inflate=yes
12550 else
12551 ac_cv_lib_z_inflate=no
12553 rm -f core conftest.err conftest.$ac_objext \
12554 conftest$ac_exeext conftest.$ac_ext
12555 LIBS=$ac_check_lib_save_LIBS
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12558 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12559 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12561 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12563 Z_LIBS="-lz"
12568 if test "x$Z_LIBS" = "x"; then :
12569 case "x$with_zlib" in
12570 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12571 xno) ;;
12572 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12573 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12574 esac
12578 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12579 then
12580 if test "$ac_cv_header_gettext_po_h" = "yes"
12581 then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12583 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12584 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12585 $as_echo_n "(cached) " >&6
12586 else
12587 ac_check_lib_save_LIBS=$LIBS
12588 LIBS="-lgettextpo $LIBS"
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 /* Override any GCC internal prototype to avoid an error.
12593 Use char because int might match the return type of a GCC
12594 builtin and then its argument prototype would still apply. */
12595 #ifdef __cplusplus
12596 extern "C"
12597 #endif
12598 char po_message_msgctxt ();
12600 main ()
12602 return po_message_msgctxt ();
12604 return 0;
12606 _ACEOF
12607 if ac_fn_c_try_link "$LINENO"; then :
12608 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12609 else
12610 ac_cv_lib_gettextpo_po_message_msgctxt=no
12612 rm -f core conftest.err conftest.$ac_objext \
12613 conftest$ac_exeext conftest.$ac_ext
12614 LIBS=$ac_check_lib_save_LIBS
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12617 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12618 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12620 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12622 GETTEXTPO_LIBS="-lgettextpo"
12627 if test "x$GETTEXTPO_LIBS" = "x"; then :
12628 case "x$with_gettextpo" in
12629 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12630 xno) ;;
12631 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12632 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12633 esac
12636 if test "$srcdir" != .; then :
12637 case "x$with_gettextpo" in
12638 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12639 xno) ;;
12640 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12641 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12642 esac
12647 if test "x$with_pulse" != "xno";
12648 then
12649 if ${PULSE_CFLAGS:+false} :; then :
12650 if ${PKG_CONFIG+:} false; then :
12651 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12655 if ${PULSE_LIBS:+false} :; then :
12656 if ${PKG_CONFIG+:} false; then :
12657 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12662 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12663 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12664 ac_save_CPPFLAGS=$CPPFLAGS
12665 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12666 for ac_header in pulse/pulseaudio.h
12667 do :
12668 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12669 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12670 cat >>confdefs.h <<_ACEOF
12671 #define HAVE_PULSE_PULSEAUDIO_H 1
12672 _ACEOF
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12674 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12675 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12676 $as_echo_n "(cached) " >&6
12677 else
12678 ac_check_lib_save_LIBS=$LIBS
12679 LIBS="-lpulse $PULSE_LIBS $LIBS"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12686 #ifdef __cplusplus
12687 extern "C"
12688 #endif
12689 char pa_stream_is_corked ();
12691 main ()
12693 return pa_stream_is_corked ();
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 ac_cv_lib_pulse_pa_stream_is_corked=yes
12700 else
12701 ac_cv_lib_pulse_pa_stream_is_corked=no
12703 rm -f core conftest.err conftest.$ac_objext \
12704 conftest$ac_exeext conftest.$ac_ext
12705 LIBS=$ac_check_lib_save_LIBS
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12708 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12709 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12711 else
12712 PULSE_LIBS=""
12715 else
12716 PULSE_LIBS=""
12719 done
12721 CPPFLAGS=$ac_save_CPPFLAGS
12722 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12723 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12726 if test -z "$PULSE_LIBS"; then :
12727 case "x$with_pulse" in
12728 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12729 xno) ;;
12730 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12731 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12732 esac
12733 enable_winepulse_drv=${enable_winepulse_drv:-no}
12736 if test "x$with_gstreamer" != "xno"
12737 then
12738 if ${GSTREAMER_CFLAGS:+false} :; then :
12739 if ${PKG_CONFIG+:} false; then :
12740 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12744 if ${GSTREAMER_LIBS:+false} :; then :
12745 if ${PKG_CONFIG+:} false; then :
12746 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12751 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12752 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12753 ac_save_CPPFLAGS=$CPPFLAGS
12754 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12755 ac_gst_incl=""
12756 for i in $GSTREAMER_CFLAGS
12758 case "$i" in
12759 -I*) ac_gst_incl="$ac_gst_incl $i";;
12760 esac
12761 done
12762 GSTREAMER_CFLAGS=$ac_gst_incl
12763 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12764 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12765 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12767 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12769 /* end confdefs.h. */
12770 #include <gst/gst.h>
12772 main ()
12774 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12776 return 0;
12778 _ACEOF
12779 if ac_fn_c_try_compile "$LINENO"; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12781 $as_echo "yes" >&6; }
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12783 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12784 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12785 $as_echo_n "(cached) " >&6
12786 else
12787 ac_check_lib_save_LIBS=$LIBS
12788 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 /* Override any GCC internal prototype to avoid an error.
12793 Use char because int might match the return type of a GCC
12794 builtin and then its argument prototype would still apply. */
12795 #ifdef __cplusplus
12796 extern "C"
12797 #endif
12798 char gst_pad_new ();
12800 main ()
12802 return gst_pad_new ();
12804 return 0;
12806 _ACEOF
12807 if ac_fn_c_try_link "$LINENO"; then :
12808 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12809 else
12810 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12812 rm -f core conftest.err conftest.$ac_objext \
12813 conftest$ac_exeext conftest.$ac_ext
12814 LIBS=$ac_check_lib_save_LIBS
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12817 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12818 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12822 else
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824 $as_echo "no" >&6; }
12825 ac_glib2_broken=yes
12826 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12832 CPPFLAGS=$ac_save_CPPFLAGS
12833 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12834 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12837 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 :
12838 case "x$with_gstreamer" in
12839 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12840 xno) ;;
12841 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12842 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12843 esac
12846 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12848 ALSA_LIBS=""
12850 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12851 then
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12853 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12854 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12855 $as_echo_n "(cached) " >&6
12856 else
12857 ac_check_lib_save_LIBS=$LIBS
12858 LIBS="-lasound $LIBS"
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12865 #ifdef __cplusplus
12866 extern "C"
12867 #endif
12868 char snd_pcm_hw_params_get_access_mask ();
12870 main ()
12872 return snd_pcm_hw_params_get_access_mask ();
12874 return 0;
12876 _ACEOF
12877 if ac_fn_c_try_link "$LINENO"; then :
12878 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12879 else
12880 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12882 rm -f core conftest.err conftest.$ac_objext \
12883 conftest$ac_exeext conftest.$ac_ext
12884 LIBS=$ac_check_lib_save_LIBS
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12887 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12888 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12890 /* end confdefs.h. */
12891 #ifdef HAVE_ALSA_ASOUNDLIB_H
12892 #include <alsa/asoundlib.h>
12893 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12894 #include <sys/asoundlib.h>
12895 #endif
12897 main ()
12899 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12901 return 0;
12903 _ACEOF
12904 if ac_fn_c_try_compile "$LINENO"; then :
12905 ALSA_LIBS="-lasound"
12907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12911 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12913 if test "x$with_oss" != xno
12914 then
12915 ac_save_CPPFLAGS="$CPPFLAGS"
12916 if test -f /etc/oss.conf
12917 then
12918 . /etc/oss.conf
12920 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12921 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12922 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12923 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12924 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12926 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12928 cat >>confdefs.h <<_ACEOF
12929 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12930 _ACEOF
12932 OSS4_CFLAGS="$ac_oss_incl"
12939 CPPFLAGS="$ac_save_CPPFLAGS"
12941 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12942 case "x$with_oss" in
12943 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12944 xno) ;;
12945 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12946 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12947 esac
12948 enable_wineoss_drv=${enable_wineoss_drv:-no}
12951 if test "x$with_udev" != "xno"
12952 then
12953 if ${UDEV_CFLAGS:+false} :; then :
12954 if ${PKG_CONFIG+:} false; then :
12955 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12959 if ${UDEV_LIBS:+false} :; then :
12960 if ${PKG_CONFIG+:} false; then :
12961 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
12966 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
12967 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
12968 ac_save_CPPFLAGS=$CPPFLAGS
12969 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
12970 for ac_header in libudev.h
12971 do :
12972 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
12973 if test "x$ac_cv_header_libudev_h" = xyes; then :
12974 cat >>confdefs.h <<_ACEOF
12975 #define HAVE_LIBUDEV_H 1
12976 _ACEOF
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
12978 $as_echo_n "checking for udev_new in -ludev... " >&6; }
12979 if ${ac_cv_lib_udev_udev_new+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 ac_check_lib_save_LIBS=$LIBS
12983 LIBS="-ludev $UDEV_LIBS $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char udev_new ();
12995 main ()
12997 return udev_new ();
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003 ac_cv_lib_udev_udev_new=yes
13004 else
13005 ac_cv_lib_udev_udev_new=no
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_lib_save_LIBS
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13012 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13013 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13015 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13017 else
13018 UDEV_LIBS=""
13021 else
13022 UDEV_LIBS=""
13025 done
13027 CPPFLAGS=$ac_save_CPPFLAGS
13028 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13029 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13032 if test "x$UDEV_LIBS" = "x"; then :
13033 case "x$with_udev" in
13034 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13035 xno) ;;
13036 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13037 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13038 esac
13042 if test "x$with_capi" != "xno"
13043 then
13044 if ${CAPI20_CFLAGS:+false} :; then :
13045 if ${PKG_CONFIG+:} false; then :
13046 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13050 if ${CAPI20_LIBS:+false} :; then :
13051 if ${PKG_CONFIG+:} false; then :
13052 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13057 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13058 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13059 ac_save_CPPFLAGS=$CPPFLAGS
13060 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13061 for ac_header in capi20.h linux/capi.h
13062 do :
13063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13064 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13066 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13067 cat >>confdefs.h <<_ACEOF
13068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13069 _ACEOF
13073 done
13075 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13076 then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13078 $as_echo_n "checking for -lcapi20... " >&6; }
13079 if ${ac_cv_lib_soname_capi20+:} false; then :
13080 $as_echo_n "(cached) " >&6
13081 else
13082 ac_check_soname_save_LIBS=$LIBS
13083 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13090 #ifdef __cplusplus
13091 extern "C"
13092 #endif
13093 char capi20_register ();
13095 main ()
13097 return capi20_register ();
13099 return 0;
13101 _ACEOF
13102 if ac_fn_c_try_link "$LINENO"; then :
13103 case "$LIBEXT" in
13104 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13105 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'` ;;
13106 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13107 if ${ac_cv_lib_soname_capi20:+false} :; then :
13108 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13109 fi ;;
13110 esac
13112 rm -f core conftest.err conftest.$ac_objext \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_soname_save_LIBS
13116 if ${ac_cv_lib_soname_capi20:+false} :; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13118 $as_echo "not found" >&6; }
13120 else
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13122 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13124 cat >>confdefs.h <<_ACEOF
13125 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13126 _ACEOF
13131 CPPFLAGS=$ac_save_CPPFLAGS
13132 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13133 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13136 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13137 case "x$with_capi" in
13138 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13139 xno) ;;
13140 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13141 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13142 esac
13146 CUPS_CFLAGS=""
13148 if test "x$with_cups" != "xno"
13149 then
13150 ac_save_CPPFLAGS="$CPPFLAGS"
13151 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13152 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13153 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13154 for ac_header in cups/cups.h
13155 do :
13156 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13157 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13158 cat >>confdefs.h <<_ACEOF
13159 #define HAVE_CUPS_CUPS_H 1
13160 _ACEOF
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13162 $as_echo_n "checking for -lcups... " >&6; }
13163 if ${ac_cv_lib_soname_cups+:} false; then :
13164 $as_echo_n "(cached) " >&6
13165 else
13166 ac_check_soname_save_LIBS=$LIBS
13167 LIBS="-lcups $ac_cups_libs $LIBS"
13168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13169 /* end confdefs.h. */
13171 /* Override any GCC internal prototype to avoid an error.
13172 Use char because int might match the return type of a GCC
13173 builtin and then its argument prototype would still apply. */
13174 #ifdef __cplusplus
13175 extern "C"
13176 #endif
13177 char cupsGetDefault ();
13179 main ()
13181 return cupsGetDefault ();
13183 return 0;
13185 _ACEOF
13186 if ac_fn_c_try_link "$LINENO"; then :
13187 case "$LIBEXT" in
13188 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13189 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'` ;;
13190 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13191 if ${ac_cv_lib_soname_cups:+false} :; then :
13192 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13193 fi ;;
13194 esac
13196 rm -f core conftest.err conftest.$ac_objext \
13197 conftest$ac_exeext conftest.$ac_ext
13198 LIBS=$ac_check_soname_save_LIBS
13200 if ${ac_cv_lib_soname_cups:+false} :; then :
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13202 $as_echo "not found" >&6; }
13204 else
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13206 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13208 cat >>confdefs.h <<_ACEOF
13209 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13210 _ACEOF
13212 CUPS_CFLAGS="$ac_cups_cflags"
13214 for ac_header in cups/ppd.h
13215 do :
13216 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13217 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13218 cat >>confdefs.h <<_ACEOF
13219 #define HAVE_CUPS_PPD_H 1
13220 _ACEOF
13224 done
13228 done
13230 CPPFLAGS="$ac_save_CPPFLAGS"
13232 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13233 case "x$with_cups" in
13234 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13235 xno) ;;
13236 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13237 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13238 esac
13242 if test "x$with_fontconfig" != "xno"
13243 then
13244 if ${FONTCONFIG_CFLAGS:+false} :; then :
13245 if ${PKG_CONFIG+:} false; then :
13246 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13249 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13250 if ${FONTCONFIG_LIBS:+false} :; then :
13251 if ${PKG_CONFIG+:} false; then :
13252 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13255 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13257 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13258 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13259 ac_save_CPPFLAGS=$CPPFLAGS
13260 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13261 for ac_header in fontconfig/fontconfig.h
13262 do :
13263 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13267 _ACEOF
13271 done
13273 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13274 then
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13276 $as_echo_n "checking for -lfontconfig... " >&6; }
13277 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13278 $as_echo_n "(cached) " >&6
13279 else
13280 ac_check_soname_save_LIBS=$LIBS
13281 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13288 #ifdef __cplusplus
13289 extern "C"
13290 #endif
13291 char FcInit ();
13293 main ()
13295 return FcInit ();
13297 return 0;
13299 _ACEOF
13300 if ac_fn_c_try_link "$LINENO"; then :
13301 case "$LIBEXT" in
13302 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13303 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'` ;;
13304 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13305 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13306 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13307 fi ;;
13308 esac
13310 rm -f core conftest.err conftest.$ac_objext \
13311 conftest$ac_exeext conftest.$ac_ext
13312 LIBS=$ac_check_soname_save_LIBS
13314 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13316 $as_echo "not found" >&6; }
13317 FONTCONFIG_CFLAGS=""
13318 else
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13320 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13322 cat >>confdefs.h <<_ACEOF
13323 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13324 _ACEOF
13328 else
13329 FONTCONFIG_CFLAGS=""
13331 CPPFLAGS=$ac_save_CPPFLAGS
13332 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13333 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13336 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13337 case "x$with_fontconfig" in
13338 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13339 xno) ;;
13340 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13341 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13342 esac
13346 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13347 then
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13349 $as_echo_n "checking for -lgsm... " >&6; }
13350 if ${ac_cv_lib_soname_gsm+:} false; then :
13351 $as_echo_n "(cached) " >&6
13352 else
13353 ac_check_soname_save_LIBS=$LIBS
13354 LIBS="-lgsm $LIBS"
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13358 /* Override any GCC internal prototype to avoid an error.
13359 Use char because int might match the return type of a GCC
13360 builtin and then its argument prototype would still apply. */
13361 #ifdef __cplusplus
13362 extern "C"
13363 #endif
13364 char gsm_create ();
13366 main ()
13368 return gsm_create ();
13370 return 0;
13372 _ACEOF
13373 if ac_fn_c_try_link "$LINENO"; then :
13374 case "$LIBEXT" in
13375 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13376 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'` ;;
13377 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13378 if ${ac_cv_lib_soname_gsm:+false} :; then :
13379 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13380 fi ;;
13381 esac
13383 rm -f core conftest.err conftest.$ac_objext \
13384 conftest$ac_exeext conftest.$ac_ext
13385 LIBS=$ac_check_soname_save_LIBS
13387 if ${ac_cv_lib_soname_gsm:+false} :; then :
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13389 $as_echo "not found" >&6; }
13391 else
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13393 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13395 cat >>confdefs.h <<_ACEOF
13396 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13397 _ACEOF
13402 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13403 case "x$with_gsm" in
13404 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13405 xno) ;;
13406 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13407 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13408 esac
13412 if test "x$with_jpeg" != "xno"
13413 then
13414 if ${JPEG_CFLAGS:+false} :; then :
13415 if ${PKG_CONFIG+:} false; then :
13416 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13420 if ${JPEG_LIBS:+false} :; then :
13421 if ${PKG_CONFIG+:} false; then :
13422 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13427 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13428 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13429 ac_save_CPPFLAGS=$CPPFLAGS
13430 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13431 for ac_header in jpeglib.h
13432 do :
13433 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13434 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13435 cat >>confdefs.h <<_ACEOF
13436 #define HAVE_JPEGLIB_H 1
13437 _ACEOF
13441 done
13443 if test "$ac_cv_header_jpeglib_h" = "yes"
13444 then
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13446 $as_echo_n "checking for -ljpeg... " >&6; }
13447 if ${ac_cv_lib_soname_jpeg+:} false; then :
13448 $as_echo_n "(cached) " >&6
13449 else
13450 ac_check_soname_save_LIBS=$LIBS
13451 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13455 /* Override any GCC internal prototype to avoid an error.
13456 Use char because int might match the return type of a GCC
13457 builtin and then its argument prototype would still apply. */
13458 #ifdef __cplusplus
13459 extern "C"
13460 #endif
13461 char jpeg_start_decompress ();
13463 main ()
13465 return jpeg_start_decompress ();
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_link "$LINENO"; then :
13471 case "$LIBEXT" in
13472 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13473 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'` ;;
13474 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13475 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13476 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13477 fi ;;
13478 esac
13480 rm -f core conftest.err conftest.$ac_objext \
13481 conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_soname_save_LIBS
13484 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13486 $as_echo "not found" >&6; }
13487 JPEG_CFLAGS=""
13488 else
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13490 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13492 cat >>confdefs.h <<_ACEOF
13493 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13494 _ACEOF
13498 else
13499 JPEG_CFLAGS=""
13501 CPPFLAGS=$ac_save_CPPFLAGS
13502 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13503 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13506 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13507 case "x$with_jpeg" in
13508 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13509 xno) ;;
13510 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13511 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13512 esac
13516 if test "x$with_png" != "xno"
13517 then
13518 if ${PNG_CFLAGS:+false} :; then :
13519 if ${PKG_CONFIG+:} false; then :
13520 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13523 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13524 if ${PNG_LIBS:+false} :; then :
13525 if ${PKG_CONFIG+:} false; then :
13526 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13529 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13531 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13532 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13533 ac_save_CPPFLAGS=$CPPFLAGS
13534 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13535 for ac_header in png.h
13536 do :
13537 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13538 if test "x$ac_cv_header_png_h" = xyes; then :
13539 cat >>confdefs.h <<_ACEOF
13540 #define HAVE_PNG_H 1
13541 _ACEOF
13545 done
13547 if test "$ac_cv_header_png_h" = "yes"
13548 then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13550 $as_echo_n "checking for -lpng... " >&6; }
13551 if ${ac_cv_lib_soname_png+:} false; then :
13552 $as_echo_n "(cached) " >&6
13553 else
13554 ac_check_soname_save_LIBS=$LIBS
13555 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13559 /* Override any GCC internal prototype to avoid an error.
13560 Use char because int might match the return type of a GCC
13561 builtin and then its argument prototype would still apply. */
13562 #ifdef __cplusplus
13563 extern "C"
13564 #endif
13565 char png_create_read_struct ();
13567 main ()
13569 return png_create_read_struct ();
13571 return 0;
13573 _ACEOF
13574 if ac_fn_c_try_link "$LINENO"; then :
13575 case "$LIBEXT" in
13576 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13577 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'` ;;
13578 *) 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'`
13579 if ${ac_cv_lib_soname_png:+false} :; then :
13580 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13581 fi ;;
13582 esac
13584 rm -f core conftest.err conftest.$ac_objext \
13585 conftest$ac_exeext conftest.$ac_ext
13586 LIBS=$ac_check_soname_save_LIBS
13588 if ${ac_cv_lib_soname_png:+false} :; then :
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13590 $as_echo "not found" >&6; }
13591 PNG_CFLAGS=""
13592 else
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13594 $as_echo "$ac_cv_lib_soname_png" >&6; }
13596 cat >>confdefs.h <<_ACEOF
13597 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13598 _ACEOF
13600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13601 /* end confdefs.h. */
13602 #include <png.h>
13604 main ()
13606 typeof(png_set_expand_gray_1_2_4_to_8) *p
13608 return 0;
13610 _ACEOF
13611 if ac_fn_c_try_compile "$LINENO"; then :
13613 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13618 else
13619 PNG_CFLAGS=""
13621 CPPFLAGS=$ac_save_CPPFLAGS
13622 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13623 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13626 if test "x$ac_cv_lib_soname_png" = "x"; then :
13627 case "x$with_png" in
13628 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13629 xno) ;;
13630 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13631 This is an error since --with-png was requested." "$LINENO" 5 ;;
13632 esac
13636 if test "x$with_tiff" != "xno"
13637 then
13638 if ${TIFF_CFLAGS:+false} :; then :
13639 if ${PKG_CONFIG+:} false; then :
13640 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13644 if ${TIFF_LIBS:+false} :; then :
13645 if ${PKG_CONFIG+:} false; then :
13646 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13651 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13652 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13653 ac_save_CPPFLAGS=$CPPFLAGS
13654 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13655 for ac_header in tiffio.h
13656 do :
13657 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13658 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13659 cat >>confdefs.h <<_ACEOF
13660 #define HAVE_TIFFIO_H 1
13661 _ACEOF
13665 done
13667 if test "$ac_cv_header_tiffio_h" = "yes"
13668 then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13670 $as_echo_n "checking for -ltiff... " >&6; }
13671 if ${ac_cv_lib_soname_tiff+:} false; then :
13672 $as_echo_n "(cached) " >&6
13673 else
13674 ac_check_soname_save_LIBS=$LIBS
13675 LIBS="-ltiff $TIFF_LIBS $LIBS"
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13679 /* Override any GCC internal prototype to avoid an error.
13680 Use char because int might match the return type of a GCC
13681 builtin and then its argument prototype would still apply. */
13682 #ifdef __cplusplus
13683 extern "C"
13684 #endif
13685 char TIFFClientOpen ();
13687 main ()
13689 return TIFFClientOpen ();
13691 return 0;
13693 _ACEOF
13694 if ac_fn_c_try_link "$LINENO"; then :
13695 case "$LIBEXT" in
13696 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13697 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'` ;;
13698 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13699 if ${ac_cv_lib_soname_tiff:+false} :; then :
13700 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13701 fi ;;
13702 esac
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 LIBS=$ac_check_soname_save_LIBS
13708 if ${ac_cv_lib_soname_tiff:+false} :; then :
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13710 $as_echo "not found" >&6; }
13712 else
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13714 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13716 cat >>confdefs.h <<_ACEOF
13717 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13718 _ACEOF
13723 CPPFLAGS=$ac_save_CPPFLAGS
13724 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13725 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13728 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13729 case "x$with_tiff" in
13730 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13731 xno) ;;
13732 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13733 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13734 esac
13738 if test "x$with_mpg123" != "xno"
13739 then
13740 if ${MPG123_CFLAGS:+false} :; then :
13741 if ${PKG_CONFIG+:} false; then :
13742 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13746 if ${MPG123_LIBS:+false} :; then :
13747 if ${PKG_CONFIG+:} false; then :
13748 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13752 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13753 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13754 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13755 ac_save_CPPFLAGS=$CPPFLAGS
13756 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13757 for ac_header in mpg123.h
13758 do :
13759 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13760 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13761 cat >>confdefs.h <<_ACEOF
13762 #define HAVE_MPG123_H 1
13763 _ACEOF
13767 done
13769 if test "$ac_cv_header_mpg123_h" = "yes"
13770 then
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13772 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13773 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13774 $as_echo_n "(cached) " >&6
13775 else
13776 ac_check_lib_save_LIBS=$LIBS
13777 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13781 /* Override any GCC internal prototype to avoid an error.
13782 Use char because int might match the return type of a GCC
13783 builtin and then its argument prototype would still apply. */
13784 #ifdef __cplusplus
13785 extern "C"
13786 #endif
13787 char mpg123_feed ();
13789 main ()
13791 return mpg123_feed ();
13793 return 0;
13795 _ACEOF
13796 if ac_fn_c_try_link "$LINENO"; then :
13797 ac_cv_lib_mpg123_mpg123_feed=yes
13798 else
13799 ac_cv_lib_mpg123_mpg123_feed=no
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13803 LIBS=$ac_check_lib_save_LIBS
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13806 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13807 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13809 else
13810 MPG123_LIBS=""
13813 else
13814 MPG123_CFLAGS=""
13815 MPG123_LIBS=""
13817 CPPFLAGS=$ac_save_CPPFLAGS
13818 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13819 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13822 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13823 case "x$with_mpg123" in
13824 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13825 xno) ;;
13826 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13827 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13828 esac
13829 enable_winemp3_acm=${enable_winemp3_acm:-no}
13832 if test "$ac_cv_header_AL_al_h" = "yes"
13833 then
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13835 $as_echo_n "checking for -lopenal... " >&6; }
13836 if ${ac_cv_lib_soname_openal+:} false; then :
13837 $as_echo_n "(cached) " >&6
13838 else
13839 ac_check_soname_save_LIBS=$LIBS
13840 LIBS="-lopenal $LIBS"
13841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13844 /* Override any GCC internal prototype to avoid an error.
13845 Use char because int might match the return type of a GCC
13846 builtin and then its argument prototype would still apply. */
13847 #ifdef __cplusplus
13848 extern "C"
13849 #endif
13850 char alGetSource3i ();
13852 main ()
13854 return alGetSource3i ();
13856 return 0;
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"; then :
13860 case "$LIBEXT" in
13861 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13862 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'` ;;
13863 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13864 if ${ac_cv_lib_soname_openal:+false} :; then :
13865 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13866 fi ;;
13867 esac
13869 rm -f core conftest.err conftest.$ac_objext \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS=$ac_check_soname_save_LIBS
13873 if ${ac_cv_lib_soname_openal:+false} :; then :
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13875 $as_echo "not found" >&6; }
13877 else
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13879 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13881 cat >>confdefs.h <<_ACEOF
13882 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13883 _ACEOF
13885 OPENAL_LIBS="-lopenal"
13887 ac_cv_lib_openal=yes
13889 cat >>confdefs.h <<_ACEOF
13890 #define HAVE_OPENAL 1
13891 _ACEOF
13895 if test "x$ac_cv_lib_openal" != xyes; then :
13896 case "x$with_openal" in
13897 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13898 xno) ;;
13899 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13900 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13901 esac
13902 enable_openal32=${enable_openal32:-no}
13905 if test "x$ac_cv_lib_openal" = xyes
13906 then
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13908 $as_echo_n "checking for openal-soft... " >&6; }
13909 if ${ac_cv_have_openalsoft+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 #include <AL/al.h>
13915 #include <AL/alc.h>
13916 #include <AL/alext.h>
13917 LPALCRENDERSAMPLESSOFT x;
13919 main ()
13923 return 0;
13925 _ACEOF
13926 if ac_fn_c_try_compile "$LINENO"; then :
13927 ac_cv_have_openalsoft=yes
13928 else
13929 ac_cv_have_openalsoft=no
13931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13934 $as_echo "$ac_cv_have_openalsoft" >&6; }
13936 if test "x$ac_cv_have_openalsoft" != xyes
13937 then
13938 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13939 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13940 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13941 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13942 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13943 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13944 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13945 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13946 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13947 enable_xapofx1_1=${enable_xapofx1_1:-no}
13948 enable_xapofx1_2=${enable_xapofx1_2:-no}
13949 enable_xapofx1_3=${enable_xapofx1_3:-no}
13950 enable_xapofx1_4=${enable_xapofx1_4:-no}
13951 enable_xapofx1_5=${enable_xapofx1_5:-no}
13952 enable_xaudio2_0=${enable_xaudio2_0:-no}
13953 enable_xaudio2_1=${enable_xaudio2_1:-no}
13954 enable_xaudio2_2=${enable_xaudio2_2:-no}
13955 enable_xaudio2_3=${enable_xaudio2_3:-no}
13956 enable_xaudio2_4=${enable_xaudio2_4:-no}
13957 enable_xaudio2_5=${enable_xaudio2_5:-no}
13958 enable_xaudio2_6=${enable_xaudio2_6:-no}
13959 enable_xaudio2_7=${enable_xaudio2_7:-no}
13960 enable_xaudio2_8=${enable_xaudio2_8:-no}
13961 enable_xaudio2_9=${enable_xaudio2_9:-no}
13964 if test "$ac_cv_header_kstat_h" = "yes"
13965 then
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13967 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13968 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13969 $as_echo_n "(cached) " >&6
13970 else
13971 ac_check_lib_save_LIBS=$LIBS
13972 LIBS="-lkstat $LIBS"
13973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13974 /* end confdefs.h. */
13976 /* Override any GCC internal prototype to avoid an error.
13977 Use char because int might match the return type of a GCC
13978 builtin and then its argument prototype would still apply. */
13979 #ifdef __cplusplus
13980 extern "C"
13981 #endif
13982 char kstat_open ();
13984 main ()
13986 return kstat_open ();
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_link "$LINENO"; then :
13992 ac_cv_lib_kstat_kstat_open=yes
13993 else
13994 ac_cv_lib_kstat_kstat_open=no
13996 rm -f core conftest.err conftest.$ac_objext \
13997 conftest$ac_exeext conftest.$ac_ext
13998 LIBS=$ac_check_lib_save_LIBS
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14001 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14002 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14004 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14006 KSTAT_LIBS="-lkstat"
14012 if test "$ac_cv_header_libprocstat_h" = "yes"
14013 then
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14015 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14016 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14017 $as_echo_n "(cached) " >&6
14018 else
14019 ac_check_lib_save_LIBS=$LIBS
14020 LIBS="-lprocstat $LIBS"
14021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14024 /* Override any GCC internal prototype to avoid an error.
14025 Use char because int might match the return type of a GCC
14026 builtin and then its argument prototype would still apply. */
14027 #ifdef __cplusplus
14028 extern "C"
14029 #endif
14030 char procstat_open_sysctl ();
14032 main ()
14034 return procstat_open_sysctl ();
14036 return 0;
14038 _ACEOF
14039 if ac_fn_c_try_link "$LINENO"; then :
14040 ac_cv_lib_procstat_procstat_open_sysctl=yes
14041 else
14042 ac_cv_lib_procstat_procstat_open_sysctl=no
14044 rm -f core conftest.err conftest.$ac_objext \
14045 conftest$ac_exeext conftest.$ac_ext
14046 LIBS=$ac_check_lib_save_LIBS
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14049 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14050 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14052 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14054 PROCSTAT_LIBS="-lprocstat"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14061 $as_echo_n "checking for -lodbc... " >&6; }
14062 if ${ac_cv_lib_soname_odbc+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 ac_check_soname_save_LIBS=$LIBS
14066 LIBS="-lodbc $LIBS"
14067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 /* Override any GCC internal prototype to avoid an error.
14071 Use char because int might match the return type of a GCC
14072 builtin and then its argument prototype would still apply. */
14073 #ifdef __cplusplus
14074 extern "C"
14075 #endif
14076 char SQLConnect ();
14078 main ()
14080 return SQLConnect ();
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 case "$LIBEXT" in
14087 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14088 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'` ;;
14089 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14090 if ${ac_cv_lib_soname_odbc:+false} :; then :
14091 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14092 fi ;;
14093 esac
14095 rm -f core conftest.err conftest.$ac_objext \
14096 conftest$ac_exeext conftest.$ac_ext
14097 LIBS=$ac_check_soname_save_LIBS
14099 if ${ac_cv_lib_soname_odbc:+false} :; then :
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14101 $as_echo "not found" >&6; }
14102 cat >>confdefs.h <<_ACEOF
14103 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14104 _ACEOF
14106 else
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14108 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14110 cat >>confdefs.h <<_ACEOF
14111 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14112 _ACEOF
14117 if test "x$with_netapi" != "xno"
14118 then
14119 if ${NETAPI_CFLAGS:+false} :; then :
14120 if ${PKG_CONFIG+:} false; then :
14121 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14125 if ${NETAPI_LIBS:+false} :; then :
14126 if ${PKG_CONFIG+:} false; then :
14127 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14132 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14133 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14134 ac_save_CPPFLAGS=$CPPFLAGS
14135 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14137 $as_echo_n "checking for -lnetapi... " >&6; }
14138 if ${ac_cv_lib_soname_netapi+:} false; then :
14139 $as_echo_n "(cached) " >&6
14140 else
14141 ac_check_soname_save_LIBS=$LIBS
14142 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14146 /* Override any GCC internal prototype to avoid an error.
14147 Use char because int might match the return type of a GCC
14148 builtin and then its argument prototype would still apply. */
14149 #ifdef __cplusplus
14150 extern "C"
14151 #endif
14152 char libnetapi_init ();
14154 main ()
14156 return libnetapi_init ();
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 case "$LIBEXT" in
14163 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14164 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'` ;;
14165 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14166 if ${ac_cv_lib_soname_netapi:+false} :; then :
14167 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14168 fi ;;
14169 esac
14171 rm -f core conftest.err conftest.$ac_objext \
14172 conftest$ac_exeext conftest.$ac_ext
14173 LIBS=$ac_check_soname_save_LIBS
14175 if ${ac_cv_lib_soname_netapi:+false} :; then :
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14177 $as_echo "not found" >&6; }
14178 cat >>confdefs.h <<_ACEOF
14179 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14180 _ACEOF
14182 else
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14184 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14186 cat >>confdefs.h <<_ACEOF
14187 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14188 _ACEOF
14192 CPPFLAGS=$ac_save_CPPFLAGS
14193 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14194 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14198 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14199 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14200 then
14201 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14205 EXTRACFLAGS=""
14207 if test "x${GCC}" = "xyes"
14208 then
14209 EXTRACFLAGS="-Wall -pipe"
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14212 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14213 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14214 $as_echo_n "(cached) " >&6
14215 else
14216 if test "$cross_compiling" = yes; then :
14217 ac_cv_c_gcc_strength_bug="no"
14218 else
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 int L[4] = {0,1,2,3};
14223 main ()
14225 static int Array[3];
14226 unsigned int B = 3;
14227 int i;
14228 for(i=0; i<B; i++) Array[i] = i - 3;
14229 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14230 L[i] = 4;
14231 return (Array[1] != -2 || L[2] != 3)
14233 return 0;
14235 _ACEOF
14236 if ac_fn_c_try_run "$LINENO"; then :
14237 ac_cv_c_gcc_strength_bug="no"
14238 else
14239 ac_cv_c_gcc_strength_bug="yes"
14241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14242 conftest.$ac_objext conftest.beam conftest.$ac_ext
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14247 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14248 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14249 then
14250 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14254 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14255 if ${ac_cv_cflags__fno_builtin+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_wine_try_cflags_saved=$CFLAGS
14259 CFLAGS="$CFLAGS -fno-builtin"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14263 _ACEOF
14264 if ac_fn_c_try_link "$LINENO"; then :
14265 ac_cv_cflags__fno_builtin=yes
14266 else
14267 ac_cv_cflags__fno_builtin=no
14269 rm -f core conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14271 CFLAGS=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14274 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14275 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14276 BUILTINFLAG="-fno-builtin"
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14280 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14281 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14282 $as_echo_n "(cached) " >&6
14283 else
14284 ac_wine_try_cflags_saved=$CFLAGS
14285 CFLAGS="$CFLAGS -fno-strict-aliasing"
14286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 int main(int argc, char **argv) { return 0; }
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_cflags__fno_strict_aliasing=yes
14292 else
14293 ac_cv_cflags__fno_strict_aliasing=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 CFLAGS=$ac_wine_try_cflags_saved
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14300 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14301 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14302 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14305 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14306 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 ac_wine_try_cflags_saved=$CFLAGS
14310 CFLAGS="$CFLAGS -fexcess-precision=standard"
14311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14313 int main(int argc, char **argv) { return 0; }
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"; then :
14316 ac_cv_cflags__fexcess_precision_standard=yes
14317 else
14318 ac_cv_cflags__fexcess_precision_standard=no
14320 rm -f core conftest.err conftest.$ac_objext \
14321 conftest$ac_exeext conftest.$ac_ext
14322 CFLAGS=$ac_wine_try_cflags_saved
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14325 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14326 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14327 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14330 saved_CFLAGS=$CFLAGS
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14332 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14333 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 ac_wine_try_cflags_saved=$CFLAGS
14337 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14340 int main(int argc, char **argv) { return 0; }
14341 _ACEOF
14342 if ac_fn_c_try_link "$LINENO"; then :
14343 ac_cv_cflags__Werror_unknown_warning_option=yes
14344 else
14345 ac_cv_cflags__Werror_unknown_warning_option=no
14347 rm -f core conftest.err conftest.$ac_objext \
14348 conftest$ac_exeext conftest.$ac_ext
14349 CFLAGS=$ac_wine_try_cflags_saved
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14352 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14353 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14354 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14357 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14358 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14359 $as_echo_n "(cached) " >&6
14360 else
14361 ac_wine_try_cflags_saved=$CFLAGS
14362 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14365 int main(int argc, char **argv) { return 0; }
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"; then :
14368 ac_cv_cflags__Wdeclaration_after_statement=yes
14369 else
14370 ac_cv_cflags__Wdeclaration_after_statement=no
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 CFLAGS=$ac_wine_try_cflags_saved
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14377 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14378 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14379 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14382 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14383 if ${ac_cv_cflags__Wempty_body+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_wine_try_cflags_saved=$CFLAGS
14387 CFLAGS="$CFLAGS -Wempty-body"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_cflags__Wempty_body=yes
14394 else
14395 ac_cv_cflags__Wempty_body=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 CFLAGS=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14402 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14403 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14404 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14407 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14408 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 ac_wine_try_cflags_saved=$CFLAGS
14412 CFLAGS="$CFLAGS -Wignored-qualifiers"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 int main(int argc, char **argv) { return 0; }
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_cflags__Wignored_qualifiers=yes
14419 else
14420 ac_cv_cflags__Wignored_qualifiers=no
14422 rm -f core conftest.err conftest.$ac_objext \
14423 conftest$ac_exeext conftest.$ac_ext
14424 CFLAGS=$ac_wine_try_cflags_saved
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14427 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14428 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14429 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14432 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14433 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 ac_wine_try_cflags_saved=$CFLAGS
14437 CFLAGS="$CFLAGS -Wshift-overflow=2"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 int main(int argc, char **argv) { return 0; }
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 ac_cv_cflags__Wshift_overflow_2=yes
14444 else
14445 ac_cv_cflags__Wshift_overflow_2=no
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 CFLAGS=$ac_wine_try_cflags_saved
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14452 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14453 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14454 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14457 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14458 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 ac_wine_try_cflags_saved=$CFLAGS
14462 CFLAGS="$CFLAGS -Wstrict-prototypes"
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465 int main(int argc, char **argv) { return 0; }
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"; then :
14468 ac_cv_cflags__Wstrict_prototypes=yes
14469 else
14470 ac_cv_cflags__Wstrict_prototypes=no
14472 rm -f core conftest.err conftest.$ac_objext \
14473 conftest$ac_exeext conftest.$ac_ext
14474 CFLAGS=$ac_wine_try_cflags_saved
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14477 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14478 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14479 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14482 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14483 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14484 $as_echo_n "(cached) " >&6
14485 else
14486 ac_wine_try_cflags_saved=$CFLAGS
14487 CFLAGS="$CFLAGS -Wtype-limits"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14490 int main(int argc, char **argv) { return 0; }
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_cflags__Wtype_limits=yes
14494 else
14495 ac_cv_cflags__Wtype_limits=no
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 CFLAGS=$ac_wine_try_cflags_saved
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14502 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14503 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14504 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14507 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14508 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 ac_wine_try_cflags_saved=$CFLAGS
14512 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 int main(int argc, char **argv) { return 0; }
14516 _ACEOF
14517 if ac_fn_c_try_link "$LINENO"; then :
14518 ac_cv_cflags__Wunused_but_set_parameter=yes
14519 else
14520 ac_cv_cflags__Wunused_but_set_parameter=no
14522 rm -f core conftest.err conftest.$ac_objext \
14523 conftest$ac_exeext conftest.$ac_ext
14524 CFLAGS=$ac_wine_try_cflags_saved
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14527 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14528 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14529 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14532 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14533 if ${ac_cv_cflags__Wvla+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 ac_wine_try_cflags_saved=$CFLAGS
14537 CFLAGS="$CFLAGS -Wvla"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 int main(int argc, char **argv) { return 0; }
14541 _ACEOF
14542 if ac_fn_c_try_link "$LINENO"; then :
14543 ac_cv_cflags__Wvla=yes
14544 else
14545 ac_cv_cflags__Wvla=no
14547 rm -f core conftest.err conftest.$ac_objext \
14548 conftest$ac_exeext conftest.$ac_ext
14549 CFLAGS=$ac_wine_try_cflags_saved
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14552 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14553 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14554 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14557 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14558 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -Wwrite-strings"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__Wwrite_strings=yes
14569 else
14570 ac_cv_cflags__Wwrite_strings=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14577 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14578 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14579 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14583 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14584 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 ac_wine_try_cflags_saved=$CFLAGS
14588 CFLAGS="$CFLAGS -Wpointer-arith"
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 int main(int argc, char **argv) { return 0; }
14592 _ACEOF
14593 if ac_fn_c_try_link "$LINENO"; then :
14594 ac_cv_cflags__Wpointer_arith=yes
14595 else
14596 ac_cv_cflags__Wpointer_arith=no
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 CFLAGS=$ac_wine_try_cflags_saved
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14603 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14604 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14605 saved_string_h_CFLAGS=$CFLAGS
14606 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14608 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14609 if ${ac_cv_c_string_h_warnings+:} false; then :
14610 $as_echo_n "(cached) " >&6
14611 else
14612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14614 #include <string.h>
14616 main ()
14620 return 0;
14622 _ACEOF
14623 if ac_fn_c_try_compile "$LINENO"; then :
14624 ac_cv_c_string_h_warnings=no
14625 else
14626 ac_cv_c_string_h_warnings=yes
14628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14631 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14632 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14633 CFLAGS=$saved_string_h_CFLAGS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14637 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14638 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_wine_try_cflags_saved=$CFLAGS
14642 CFLAGS="$CFLAGS -Wlogical-op"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 int main(int argc, char **argv) { return 0; }
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 ac_cv_cflags__Wlogical_op=yes
14649 else
14650 ac_cv_cflags__Wlogical_op=no
14652 rm -f core conftest.err conftest.$ac_objext \
14653 conftest$ac_exeext conftest.$ac_ext
14654 CFLAGS=$ac_wine_try_cflags_saved
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14657 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14658 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14659 saved_string_h_CFLAGS=$CFLAGS
14660 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14662 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14663 if ${ac_cv_c_logicalop_noisy+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 #include <string.h>
14669 char*f(const char *h,char n) {return strchr(h,n);}
14671 main ()
14675 return 0;
14677 _ACEOF
14678 if ac_fn_c_try_compile "$LINENO"; then :
14679 ac_cv_c_logicalop_noisy=no
14680 else
14681 ac_cv_c_logicalop_noisy=yes
14683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14686 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14687 CFLAGS=$saved_string_h_CFLAGS
14688 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14691 CFLAGS=$saved_CFLAGS
14693 for ac_flag in $CFLAGS; do
14694 case $ac_flag in
14695 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14696 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14697 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14698 $as_echo_n "(cached) " >&6
14699 else
14700 ac_wine_try_cflags_saved=$CFLAGS
14701 CFLAGS="$CFLAGS -gdwarf-2"
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 int main(int argc, char **argv) { return 0; }
14705 _ACEOF
14706 if ac_fn_c_try_link "$LINENO"; then :
14707 ac_cv_cflags__gdwarf_2=yes
14708 else
14709 ac_cv_cflags__gdwarf_2=no
14711 rm -f core conftest.err conftest.$ac_objext \
14712 conftest$ac_exeext conftest.$ac_ext
14713 CFLAGS=$ac_wine_try_cflags_saved
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14716 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14717 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14718 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14721 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14722 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 ac_wine_try_cflags_saved=$CFLAGS
14726 CFLAGS="$CFLAGS -gstrict-dwarf"
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_cflags__gstrict_dwarf=yes
14733 else
14734 ac_cv_cflags__gstrict_dwarf=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 CFLAGS=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14741 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14742 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14743 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14744 fi ;;
14745 esac
14746 done
14748 case $host_cpu in
14749 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14750 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14751 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 ac_wine_try_cflags_saved=$CFLAGS
14755 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 int main(int argc, char **argv) { return 0; }
14759 _ACEOF
14760 if ac_fn_c_try_link "$LINENO"; then :
14761 ac_cv_cflags__fno_omit_frame_pointer=yes
14762 else
14763 ac_cv_cflags__fno_omit_frame_pointer=no
14765 rm -f core conftest.err conftest.$ac_objext \
14766 conftest$ac_exeext conftest.$ac_ext
14767 CFLAGS=$ac_wine_try_cflags_saved
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14770 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14771 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14772 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14773 fi ;;
14774 esac
14776 case $host in
14777 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14778 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14779 if ${ac_cv_cflags__Wno_format+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 ac_wine_try_cflags_saved=$CFLAGS
14783 CFLAGS="$CFLAGS -Wno-format"
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14786 int main(int argc, char **argv) { return 0; }
14787 _ACEOF
14788 if ac_fn_c_try_link "$LINENO"; then :
14789 ac_cv_cflags__Wno_format=yes
14790 else
14791 ac_cv_cflags__Wno_format=no
14793 rm -f core conftest.err conftest.$ac_objext \
14794 conftest$ac_exeext conftest.$ac_ext
14795 CFLAGS=$ac_wine_try_cflags_saved
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14798 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14799 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14800 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14801 fi ;;
14802 esac
14804 if test "x$enable_maintainer_mode" = "xyes"
14805 then
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14807 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14808 if ${ac_cv_cflags__Werror+:} false; then :
14809 $as_echo_n "(cached) " >&6
14810 else
14811 ac_wine_try_cflags_saved=$CFLAGS
14812 CFLAGS="$CFLAGS -Werror"
14813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14814 /* end confdefs.h. */
14815 int main(int argc, char **argv) { return 0; }
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_cflags__Werror=yes
14819 else
14820 ac_cv_cflags__Werror=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 CFLAGS=$ac_wine_try_cflags_saved
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14827 $as_echo "$ac_cv_cflags__Werror" >&6; }
14828 if test "x$ac_cv_cflags__Werror" = xyes; then :
14829 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14833 saved_CFLAGS="$CFLAGS"
14834 CFLAGS="$CFLAGS -Werror"
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14836 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14837 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14844 main ()
14848 return 0;
14850 _ACEOF
14851 if ac_fn_c_try_compile "$LINENO"; then :
14852 ac_cv_have_ms_hook_prologue="yes"
14853 else
14854 ac_cv_have_ms_hook_prologue="no"
14856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14859 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14860 CFLAGS="$saved_CFLAGS"
14861 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14862 then
14864 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14866 else
14867 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14874 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14875 if ${ac_cv_c_fortify_enabled+:} false; then :
14876 $as_echo_n "(cached) " >&6
14877 else
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14880 #include <string.h>
14882 main ()
14884 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14885 #error Fortify enabled
14886 #endif
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_compile "$LINENO"; then :
14892 ac_cv_c_fortify_enabled=no
14893 else
14894 ac_cv_c_fortify_enabled=yes
14896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14899 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14900 if test "$ac_cv_c_fortify_enabled" = yes
14901 then
14902 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14907 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14908 if ${ac_cv_c_extern_prefix+:} false; then :
14909 $as_echo_n "(cached) " >&6
14910 else
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 extern int ac_test;
14915 main ()
14917 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14919 return 0;
14921 _ACEOF
14922 if ac_fn_c_try_link "$LINENO"; then :
14923 ac_cv_c_extern_prefix="yes"
14924 else
14925 ac_cv_c_extern_prefix="no"
14927 rm -f core conftest.err conftest.$ac_objext \
14928 conftest$ac_exeext conftest.$ac_ext
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14931 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14933 case $host_cpu in
14934 *i[3456789]86*)
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14936 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14937 if ${ac_cv_c_stdcall_suffix+:} false; then :
14938 $as_echo_n "(cached) " >&6
14939 else
14940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14942 #ifndef _MSC_VER
14943 #define __stdcall __attribute__((__stdcall__))
14944 #endif
14945 int __stdcall ac_test(int i) { return i; }
14947 main ()
14949 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14951 return 0;
14953 _ACEOF
14954 if ac_fn_c_try_link "$LINENO"; then :
14955 ac_cv_c_stdcall_suffix="yes"
14956 else
14957 ac_cv_c_stdcall_suffix="no"
14959 rm -f core conftest.err conftest.$ac_objext \
14960 conftest$ac_exeext conftest.$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14963 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14964 *) ac_cv_c_stdcall_suffix="no" ;;
14965 esac
14968 if test "$ac_cv_c_extern_prefix" = "yes"
14969 then
14970 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14972 asm_name_prefix="_"
14973 else
14974 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14976 asm_name_prefix=""
14980 if test "$ac_cv_c_stdcall_suffix" = "yes"
14981 then
14982 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14984 else
14985 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14991 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14992 if ${ac_cv_asm_func_def+:} false; then :
14993 $as_echo_n "(cached) " >&6
14994 else
14995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14996 /* end confdefs.h. */
14999 main ()
15001 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"; then :
15007 ac_cv_asm_func_def=".def"
15008 else
15009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15010 /* end confdefs.h. */
15013 main ()
15015 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"; then :
15021 ac_cv_asm_func_def=".type @function"
15022 else
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15027 main ()
15029 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15031 return 0;
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_asm_func_def=".type 2"
15036 else
15037 ac_cv_asm_func_def="unknown"
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15049 $as_echo "$ac_cv_asm_func_def" >&6; }
15052 case "$ac_cv_asm_func_def" in
15053 ".def")
15054 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15056 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15057 ".type @function")
15058 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15060 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15061 ".type 2")
15062 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15064 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15066 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15068 asm_func_header="" ;;
15069 esac
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15072 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15073 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15074 $as_echo_n "(cached) " >&6
15075 else
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15078 asm(".text\n\t.long 0");
15080 main ()
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_compile "$LINENO"; then :
15088 ac_cv_c_asm_outside_funcs="yes"
15089 else
15090 ac_cv_c_asm_outside_funcs="no"
15092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15095 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15098 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15099 if ${ac_cv_c_dot_previous+:} false; then :
15100 $as_echo_n "(cached) " >&6
15101 else
15102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15106 main ()
15108 asm(".text\nac_test:\t.long 0\n\t.previous");
15110 return 0;
15112 _ACEOF
15113 if ac_fn_c_try_link "$LINENO"; then :
15114 ac_cv_c_dot_previous="yes"
15115 else
15116 ac_cv_c_dot_previous="no"
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15122 $as_echo "$ac_cv_c_dot_previous" >&6; }
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15125 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15126 if ${ac_cv_c_cfi_support+:} false; then :
15127 $as_echo_n "(cached) " >&6
15128 else
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15131 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15133 main ()
15137 return 0;
15139 _ACEOF
15140 if ac_fn_c_try_compile "$LINENO"; then :
15141 ac_cv_c_cfi_support="yes"
15142 else
15143 ac_cv_c_cfi_support="no"
15145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15148 $as_echo "$ac_cv_c_cfi_support" >&6; }
15150 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15151 asm_func_trailer=""
15152 if test "$ac_cv_c_dot_previous" = "yes"
15153 then
15154 asm_func_trailer="\\n\\t.previous"
15156 if test "$ac_cv_c_cfi_support" = "yes"
15157 then
15158 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15159 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15161 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15163 UNWINDFLAGS=-fasynchronous-unwind-tables
15165 else
15166 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15168 if test "x$enable_win64" = "xyes"
15169 then
15170 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15174 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15177 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15178 then
15179 cat >>confdefs.h <<_ACEOF
15180 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15181 _ACEOF
15183 else
15184 cat >>confdefs.h <<_ACEOF
15185 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15186 _ACEOF
15190 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15193 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15197 case $build_os in
15198 cygwin*|mingw32*) TOOLSEXT=".exe"
15200 esac
15202 case $host_os in
15203 linux-android*) ;;
15204 linux*)
15205 case $host_cpu in
15206 *i[3456789]86*|x86_64*)
15207 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15208 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15210 esac
15212 esac
15215 ac_save_CFLAGS="$CFLAGS"
15216 CFLAGS="$CFLAGS $BUILTINFLAG"
15217 for ac_func in \
15218 __res_get_state \
15219 __res_getservers \
15220 _finite \
15221 _isnan \
15222 _pclose \
15223 _popen \
15224 _snprintf \
15225 _spawnvp \
15226 _strdup \
15227 _stricmp \
15228 _strnicmp \
15229 _strtoi64 \
15230 _strtoui64 \
15231 _vsnprintf \
15232 asctime_r \
15233 chsize \
15234 dlopen \
15235 epoll_create \
15236 ffs \
15237 finitef \
15238 fnmatch \
15239 fork \
15240 fpclass \
15241 fstatfs \
15242 fstatvfs \
15243 ftruncate \
15244 futimens \
15245 futimes \
15246 futimesat \
15247 getattrlist \
15248 getopt_long_only \
15249 getpwuid \
15250 gettimeofday \
15251 getuid \
15252 if_nameindex \
15253 isnanf \
15254 kqueue \
15255 lstat \
15256 memmove \
15257 mmap \
15258 pclose \
15259 pipe2 \
15260 poll \
15261 popen \
15262 port_create \
15263 prctl \
15264 pread \
15265 proc_pidinfo \
15266 pwrite \
15267 readdir \
15268 readlink \
15269 sched_yield \
15270 select \
15271 setproctitle \
15272 setprogname \
15273 setrlimit \
15274 settimeofday \
15275 sigaltstack \
15276 sigprocmask \
15277 snprintf \
15278 statfs \
15279 statvfs \
15280 strcasecmp \
15281 strdup \
15282 strerror \
15283 strncasecmp \
15284 strtold \
15285 strtoll \
15286 strtoull \
15287 symlink \
15288 sysinfo \
15289 tcdrain \
15290 thr_kill2 \
15291 timegm \
15292 usleep \
15293 vsnprintf
15295 do :
15296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15299 cat >>confdefs.h <<_ACEOF
15300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15301 _ACEOF
15304 done
15306 CFLAGS="$ac_save_CFLAGS"
15308 if test "$ac_cv_func_dlopen" = no
15309 then
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15311 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15312 if ${ac_cv_lib_dl_dlopen+:} false; then :
15313 $as_echo_n "(cached) " >&6
15314 else
15315 ac_check_lib_save_LIBS=$LIBS
15316 LIBS="-ldl $LIBS"
15317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15318 /* end confdefs.h. */
15320 /* Override any GCC internal prototype to avoid an error.
15321 Use char because int might match the return type of a GCC
15322 builtin and then its argument prototype would still apply. */
15323 #ifdef __cplusplus
15324 extern "C"
15325 #endif
15326 char dlopen ();
15328 main ()
15330 return dlopen ();
15332 return 0;
15334 _ACEOF
15335 if ac_fn_c_try_link "$LINENO"; then :
15336 ac_cv_lib_dl_dlopen=yes
15337 else
15338 ac_cv_lib_dl_dlopen=no
15340 rm -f core conftest.err conftest.$ac_objext \
15341 conftest$ac_exeext conftest.$ac_ext
15342 LIBS=$ac_check_lib_save_LIBS
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15345 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15346 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15347 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15348 DL_LIBS="-ldl"
15353 ac_wine_check_funcs_save_LIBS="$LIBS"
15354 LIBS="$LIBS $DL_LIBS"
15355 for ac_func in dladdr
15356 do :
15357 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15358 if test "x$ac_cv_func_dladdr" = xyes; then :
15359 cat >>confdefs.h <<_ACEOF
15360 #define HAVE_DLADDR 1
15361 _ACEOF
15364 done
15366 LIBS="$ac_wine_check_funcs_save_LIBS"
15368 if test "$ac_cv_func_poll" = no
15369 then
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15371 $as_echo_n "checking for poll in -lpoll... " >&6; }
15372 if ${ac_cv_lib_poll_poll+:} false; then :
15373 $as_echo_n "(cached) " >&6
15374 else
15375 ac_check_lib_save_LIBS=$LIBS
15376 LIBS="-lpoll $LIBS"
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15380 /* Override any GCC internal prototype to avoid an error.
15381 Use char because int might match the return type of a GCC
15382 builtin and then its argument prototype would still apply. */
15383 #ifdef __cplusplus
15384 extern "C"
15385 #endif
15386 char poll ();
15388 main ()
15390 return poll ();
15392 return 0;
15394 _ACEOF
15395 if ac_fn_c_try_link "$LINENO"; then :
15396 ac_cv_lib_poll_poll=yes
15397 else
15398 ac_cv_lib_poll_poll=no
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_lib_save_LIBS
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15405 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15406 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15407 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15408 POLL_LIBS="-lpoll"
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15415 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15416 if ${ac_cv_search_gethostbyname+:} false; then :
15417 $as_echo_n "(cached) " >&6
15418 else
15419 ac_func_search_save_LIBS=$LIBS
15420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15421 /* end confdefs.h. */
15423 /* Override any GCC internal prototype to avoid an error.
15424 Use char because int might match the return type of a GCC
15425 builtin and then its argument prototype would still apply. */
15426 #ifdef __cplusplus
15427 extern "C"
15428 #endif
15429 char gethostbyname ();
15431 main ()
15433 return gethostbyname ();
15435 return 0;
15437 _ACEOF
15438 for ac_lib in '' nsl; do
15439 if test -z "$ac_lib"; then
15440 ac_res="none required"
15441 else
15442 ac_res=-l$ac_lib
15443 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15445 if ac_fn_c_try_link "$LINENO"; then :
15446 ac_cv_search_gethostbyname=$ac_res
15448 rm -f core conftest.err conftest.$ac_objext \
15449 conftest$ac_exeext
15450 if ${ac_cv_search_gethostbyname+:} false; then :
15451 break
15453 done
15454 if ${ac_cv_search_gethostbyname+:} false; then :
15456 else
15457 ac_cv_search_gethostbyname=no
15459 rm conftest.$ac_ext
15460 LIBS=$ac_func_search_save_LIBS
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15463 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15464 ac_res=$ac_cv_search_gethostbyname
15465 if test "$ac_res" != no; then :
15466 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15472 $as_echo_n "checking for library containing connect... " >&6; }
15473 if ${ac_cv_search_connect+:} false; then :
15474 $as_echo_n "(cached) " >&6
15475 else
15476 ac_func_search_save_LIBS=$LIBS
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15483 #ifdef __cplusplus
15484 extern "C"
15485 #endif
15486 char connect ();
15488 main ()
15490 return connect ();
15492 return 0;
15494 _ACEOF
15495 for ac_lib in '' socket; do
15496 if test -z "$ac_lib"; then
15497 ac_res="none required"
15498 else
15499 ac_res=-l$ac_lib
15500 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15502 if ac_fn_c_try_link "$LINENO"; then :
15503 ac_cv_search_connect=$ac_res
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext
15507 if ${ac_cv_search_connect+:} false; then :
15508 break
15510 done
15511 if ${ac_cv_search_connect+:} false; then :
15513 else
15514 ac_cv_search_connect=no
15516 rm conftest.$ac_ext
15517 LIBS=$ac_func_search_save_LIBS
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15520 $as_echo "$ac_cv_search_connect" >&6; }
15521 ac_res=$ac_cv_search_connect
15522 if test "$ac_res" != no; then :
15523 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15529 $as_echo_n "checking for library containing inet_aton... " >&6; }
15530 if ${ac_cv_search_inet_aton+:} false; then :
15531 $as_echo_n "(cached) " >&6
15532 else
15533 ac_func_search_save_LIBS=$LIBS
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15540 #ifdef __cplusplus
15541 extern "C"
15542 #endif
15543 char inet_aton ();
15545 main ()
15547 return inet_aton ();
15549 return 0;
15551 _ACEOF
15552 for ac_lib in '' resolv; do
15553 if test -z "$ac_lib"; then
15554 ac_res="none required"
15555 else
15556 ac_res=-l$ac_lib
15557 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15559 if ac_fn_c_try_link "$LINENO"; then :
15560 ac_cv_search_inet_aton=$ac_res
15562 rm -f core conftest.err conftest.$ac_objext \
15563 conftest$ac_exeext
15564 if ${ac_cv_search_inet_aton+:} false; then :
15565 break
15567 done
15568 if ${ac_cv_search_inet_aton+:} false; then :
15570 else
15571 ac_cv_search_inet_aton=no
15573 rm conftest.$ac_ext
15574 LIBS=$ac_func_search_save_LIBS
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15577 $as_echo "$ac_cv_search_inet_aton" >&6; }
15578 ac_res=$ac_cv_search_inet_aton
15579 if test "$ac_res" != no; then :
15580 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15585 for ac_func in \
15586 getaddrinfo \
15587 getnameinfo \
15588 getnetbyname \
15589 getprotobyname \
15590 getprotobynumber \
15591 getservbyport \
15592 inet_addr \
15593 inet_network \
15594 inet_ntop \
15595 inet_pton \
15596 sendmsg \
15597 socketpair \
15599 do :
15600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15602 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15603 cat >>confdefs.h <<_ACEOF
15604 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15605 _ACEOF
15608 done
15611 ac_save_LIBS=$LIBS
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15613 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15614 if ${ac_cv_search_clock_gettime+:} false; then :
15615 $as_echo_n "(cached) " >&6
15616 else
15617 ac_func_search_save_LIBS=$LIBS
15618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15624 #ifdef __cplusplus
15625 extern "C"
15626 #endif
15627 char clock_gettime ();
15629 main ()
15631 return clock_gettime ();
15633 return 0;
15635 _ACEOF
15636 for ac_lib in '' rt; do
15637 if test -z "$ac_lib"; then
15638 ac_res="none required"
15639 else
15640 ac_res=-l$ac_lib
15641 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15643 if ac_fn_c_try_link "$LINENO"; then :
15644 ac_cv_search_clock_gettime=$ac_res
15646 rm -f core conftest.err conftest.$ac_objext \
15647 conftest$ac_exeext
15648 if ${ac_cv_search_clock_gettime+:} false; then :
15649 break
15651 done
15652 if ${ac_cv_search_clock_gettime+:} false; then :
15654 else
15655 ac_cv_search_clock_gettime=no
15657 rm conftest.$ac_ext
15658 LIBS=$ac_func_search_save_LIBS
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15661 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15662 ac_res=$ac_cv_search_clock_gettime
15663 if test "$ac_res" != no; then :
15664 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15666 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15668 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15672 LIBS=$ac_save_LIBS
15674 LDAP_LIBS=""
15676 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15677 then
15678 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15680 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15682 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15683 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15684 $as_echo_n "(cached) " >&6
15685 else
15686 ac_check_lib_save_LIBS=$LIBS
15687 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15689 /* end confdefs.h. */
15691 /* Override any GCC internal prototype to avoid an error.
15692 Use char because int might match the return type of a GCC
15693 builtin and then its argument prototype would still apply. */
15694 #ifdef __cplusplus
15695 extern "C"
15696 #endif
15697 char ldap_initialize ();
15699 main ()
15701 return ldap_initialize ();
15703 return 0;
15705 _ACEOF
15706 if ac_fn_c_try_link "$LINENO"; then :
15707 ac_cv_lib_ldap_r_ldap_initialize=yes
15708 else
15709 ac_cv_lib_ldap_r_ldap_initialize=no
15711 rm -f core conftest.err conftest.$ac_objext \
15712 conftest$ac_exeext conftest.$ac_ext
15713 LIBS=$ac_check_lib_save_LIBS
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15716 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15717 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15719 $as_echo_n "checking for ber_init in -llber... " >&6; }
15720 if ${ac_cv_lib_lber_ber_init+:} false; then :
15721 $as_echo_n "(cached) " >&6
15722 else
15723 ac_check_lib_save_LIBS=$LIBS
15724 LIBS="-llber $PTHREAD_LIBS $LIBS"
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15731 #ifdef __cplusplus
15732 extern "C"
15733 #endif
15734 char ber_init ();
15736 main ()
15738 return ber_init ();
15740 return 0;
15742 _ACEOF
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 ac_cv_lib_lber_ber_init=yes
15745 else
15746 ac_cv_lib_lber_ber_init=no
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_lib_save_LIBS
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15753 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15754 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15756 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15758 LDAP_LIBS="-lldap_r -llber"
15765 ac_wine_check_funcs_save_LIBS="$LIBS"
15766 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15767 for ac_func in \
15768 ldap_count_references \
15769 ldap_first_reference \
15770 ldap_next_reference \
15771 ldap_parse_reference \
15772 ldap_parse_sort_control \
15773 ldap_parse_sortresponse_control \
15774 ldap_parse_vlv_control \
15775 ldap_parse_vlvresponse_control
15776 do :
15777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15779 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15780 cat >>confdefs.h <<_ACEOF
15781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15782 _ACEOF
15785 done
15787 LIBS="$ac_wine_check_funcs_save_LIBS"
15789 if test "x$LDAP_LIBS" = "x"; then :
15790 case "x$with_ldap" in
15791 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15792 xno) ;;
15793 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15794 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15795 esac
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15800 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15801 if ${wine_cv_one_arg_mkdir+:} false; then :
15802 $as_echo_n "(cached) " >&6
15803 else
15804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15806 #include <sys/stat.h>
15808 main ()
15810 mkdir("foo");
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_compile "$LINENO"; then :
15816 wine_cv_one_arg_mkdir=yes
15817 else
15818 wine_cv_one_arg_mkdir=no
15820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15823 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15824 if test "$wine_cv_one_arg_mkdir" = "yes"
15825 then
15827 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15832 $as_echo_n "checking for sched_setaffinity... " >&6; }
15833 if ${wine_cv_have_sched_setaffinity+:} false; then :
15834 $as_echo_n "(cached) " >&6
15835 else
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838 #define _GNU_SOURCE
15839 #include <sched.h>
15841 main ()
15843 sched_setaffinity(0, 0, 0);
15845 return 0;
15847 _ACEOF
15848 if ac_fn_c_try_link "$LINENO"; then :
15849 wine_cv_have_sched_setaffinity=yes
15850 else
15851 wine_cv_have_sched_setaffinity=no
15853 rm -f core conftest.err conftest.$ac_objext \
15854 conftest$ac_exeext conftest.$ac_ext
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15857 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15858 if test "$wine_cv_have_sched_setaffinity" = "yes"
15859 then
15861 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15866 $as_echo_n "checking for fallocate... " >&6; }
15867 if ${wine_cv_have_fallocate+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872 #define _GNU_SOURCE
15873 #include <fcntl.h>
15875 main ()
15877 fallocate(-1, 0, 0, 0);
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_link "$LINENO"; then :
15883 wine_cv_have_fallocate=yes
15884 else
15885 wine_cv_have_fallocate=no
15887 rm -f core conftest.err conftest.$ac_objext \
15888 conftest$ac_exeext conftest.$ac_ext
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15891 $as_echo "$wine_cv_have_fallocate" >&6; }
15892 if test "$wine_cv_have_fallocate" = "yes"
15893 then
15895 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15901 $as_echo_n "checking for inline... " >&6; }
15902 if ${ac_cv_c_inline+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 ac_cv_c_inline=no
15906 for ac_kw in inline __inline__ __inline; do
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15909 #ifndef __cplusplus
15910 typedef int foo_t;
15911 static $ac_kw foo_t static_foo () {return 0; }
15912 $ac_kw foo_t foo () {return 0; }
15913 #endif
15915 _ACEOF
15916 if ac_fn_c_try_compile "$LINENO"; then :
15917 ac_cv_c_inline=$ac_kw
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15920 test "$ac_cv_c_inline" != no && break
15921 done
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15925 $as_echo "$ac_cv_c_inline" >&6; }
15927 case $ac_cv_c_inline in
15928 inline | yes) ;;
15930 case $ac_cv_c_inline in
15931 no) ac_val=;;
15932 *) ac_val=$ac_cv_c_inline;;
15933 esac
15934 cat >>confdefs.h <<_ACEOF
15935 #ifndef __cplusplus
15936 #define inline $ac_val
15937 #endif
15938 _ACEOF
15940 esac
15942 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15943 if test "x$ac_cv_type_mode_t" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_MODE_T 1
15947 _ACEOF
15951 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15952 if test "x$ac_cv_type_off_t" = xyes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define HAVE_OFF_T 1
15956 _ACEOF
15960 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15961 if test "x$ac_cv_type_pid_t" = xyes; then :
15963 cat >>confdefs.h <<_ACEOF
15964 #define HAVE_PID_T 1
15965 _ACEOF
15969 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15970 if test "x$ac_cv_type_size_t" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_SIZE_T 1
15974 _ACEOF
15978 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15979 if test "x$ac_cv_type_ssize_t" = xyes; then :
15981 cat >>confdefs.h <<_ACEOF
15982 #define HAVE_SSIZE_T 1
15983 _ACEOF
15987 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15988 if test "x$ac_cv_type_long_long" = xyes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_LONG_LONG 1
15992 _ACEOF
15996 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15997 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15999 cat >>confdefs.h <<_ACEOF
16000 #define HAVE_FSBLKCNT_T 1
16001 _ACEOF
16005 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16006 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16008 cat >>confdefs.h <<_ACEOF
16009 #define HAVE_FSFILCNT_T 1
16010 _ACEOF
16015 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16016 #include <signal.h>
16018 if test "x$ac_cv_type_sigset_t" = xyes; then :
16020 cat >>confdefs.h <<_ACEOF
16021 #define HAVE_SIGSET_T 1
16022 _ACEOF
16027 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16029 if test "x$ac_cv_type_request_sense" = xyes; then :
16031 cat >>confdefs.h <<_ACEOF
16032 #define HAVE_REQUEST_SENSE 1
16033 _ACEOF
16039 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16040 #ifdef HAVE_SYS_SOCKET_H
16041 #include <sys/socket.h>
16042 #endif
16043 #ifdef HAVE_SYS_SOCKETVAR_H
16044 #include <sys/socketvar.h>
16045 #endif
16046 #ifdef HAVE_NET_ROUTE_H
16047 #include <net/route.h>
16048 #endif
16049 #ifdef HAVE_NETINET_IN_H
16050 #include <netinet/in.h>
16051 #endif
16052 #ifdef HAVE_NETINET_IN_SYSTM_H
16053 #include <netinet/in_systm.h>
16054 #endif
16055 #ifdef HAVE_NETINET_IP_H
16056 #include <netinet/ip.h>
16057 #endif
16058 #ifdef HAVE_NETINET_IN_PCB_H
16059 #include <netinet/in_pcb.h>
16060 #endif
16062 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16064 cat >>confdefs.h <<_ACEOF
16065 #define HAVE_STRUCT_XINPGEN 1
16066 _ACEOF
16072 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16073 #include <link.h>
16074 #endif
16075 #ifdef HAVE_SYS_LINK_H
16076 #include <sys/link.h>
16077 #endif
16079 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16081 cat >>confdefs.h <<_ACEOF
16082 #define HAVE_STRUCT_R_DEBUG 1
16083 _ACEOF
16087 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16088 #include <link.h>
16089 #endif
16090 #ifdef HAVE_SYS_LINK_H
16091 #include <sys/link.h>
16092 #endif
16094 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define HAVE_STRUCT_LINK_MAP 1
16098 _ACEOF
16104 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16105 #include <linux/input.h>
16106 #endif
16108 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16112 _ACEOF
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16119 $as_echo_n "checking for sigaddset... " >&6; }
16120 if ${wine_cv_have_sigaddset+:} false; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16125 #include <signal.h>
16127 main ()
16129 sigset_t set; sigaddset(&set,SIGTERM);
16131 return 0;
16133 _ACEOF
16134 if ac_fn_c_try_link "$LINENO"; then :
16135 wine_cv_have_sigaddset=yes
16136 else
16137 wine_cv_have_sigaddset=no
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext conftest.$ac_ext
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16143 $as_echo "$wine_cv_have_sigaddset" >&6; }
16144 if test "$wine_cv_have_sigaddset" = "yes"
16145 then
16147 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16153 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16154 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16159 #include <netdb.h>
16161 main ()
16164 char *name=0;
16165 struct hostent he;
16166 struct hostent *result;
16167 char *buf=0;
16168 int bufsize=0;
16169 int errnr;
16170 char *addr=0;
16171 int addrlen=0;
16172 int addrtype=0;
16173 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16174 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16177 return 0;
16179 _ACEOF
16180 if ac_fn_c_try_link "$LINENO"; then :
16181 wine_cv_linux_gethostbyname_r_6=yes
16182 else
16183 wine_cv_linux_gethostbyname_r_6=no
16186 rm -f core conftest.err conftest.$ac_objext \
16187 conftest$ac_exeext conftest.$ac_ext
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16191 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16192 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16193 then
16195 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16199 if test "$ac_cv_header_linux_joystick_h" = "yes"
16200 then
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16202 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16203 if ${wine_cv_linux_joystick_22_api+:} false; then :
16204 $as_echo_n "(cached) " >&6
16205 else
16206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16209 #include <sys/ioctl.h>
16210 #include <sys/types.h>
16211 #include <linux/joystick.h>
16213 struct js_event blub;
16214 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16215 #error "no 2.2 header"
16216 #endif
16219 main ()
16221 /*empty*/
16223 return 0;
16225 _ACEOF
16226 if ac_fn_c_try_compile "$LINENO"; then :
16227 wine_cv_linux_joystick_22_api=yes
16228 else
16229 wine_cv_linux_joystick_22_api=no
16231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16235 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16236 if test "$wine_cv_linux_joystick_22_api" = "yes"
16237 then
16239 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16245 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16246 #ifdef HAVE_SYS_PARAM_H
16247 # include <sys/param.h>
16248 #endif
16249 #ifdef HAVE_SYS_MOUNT_H
16250 # include <sys/mount.h>
16251 #endif
16252 #ifdef HAVE_SYS_VFS_H
16253 # include <sys/vfs.h>
16254 #endif
16255 #ifdef HAVE_SYS_STATFS_H
16256 # include <sys/statfs.h>
16257 #endif
16259 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_STRUCT_STATFS_F_BFREE 1
16263 _ACEOF
16267 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16268 #ifdef HAVE_SYS_PARAM_H
16269 # include <sys/param.h>
16270 #endif
16271 #ifdef HAVE_SYS_MOUNT_H
16272 # include <sys/mount.h>
16273 #endif
16274 #ifdef HAVE_SYS_VFS_H
16275 # include <sys/vfs.h>
16276 #endif
16277 #ifdef HAVE_SYS_STATFS_H
16278 # include <sys/statfs.h>
16279 #endif
16281 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16285 _ACEOF
16289 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16290 #ifdef HAVE_SYS_PARAM_H
16291 # include <sys/param.h>
16292 #endif
16293 #ifdef HAVE_SYS_MOUNT_H
16294 # include <sys/mount.h>
16295 #endif
16296 #ifdef HAVE_SYS_VFS_H
16297 # include <sys/vfs.h>
16298 #endif
16299 #ifdef HAVE_SYS_STATFS_H
16300 # include <sys/statfs.h>
16301 #endif
16303 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16307 _ACEOF
16311 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16314 #endif
16315 #ifdef HAVE_SYS_MOUNT_H
16316 # include <sys/mount.h>
16317 #endif
16318 #ifdef HAVE_SYS_VFS_H
16319 # include <sys/vfs.h>
16320 #endif
16321 #ifdef HAVE_SYS_STATFS_H
16322 # include <sys/statfs.h>
16323 #endif
16325 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_STATFS_F_FFREE 1
16329 _ACEOF
16333 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16334 #ifdef HAVE_SYS_PARAM_H
16335 # include <sys/param.h>
16336 #endif
16337 #ifdef HAVE_SYS_MOUNT_H
16338 # include <sys/mount.h>
16339 #endif
16340 #ifdef HAVE_SYS_VFS_H
16341 # include <sys/vfs.h>
16342 #endif
16343 #ifdef HAVE_SYS_STATFS_H
16344 # include <sys/statfs.h>
16345 #endif
16347 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16351 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16356 #ifdef HAVE_SYS_PARAM_H
16357 # include <sys/param.h>
16358 #endif
16359 #ifdef HAVE_SYS_MOUNT_H
16360 # include <sys/mount.h>
16361 #endif
16362 #ifdef HAVE_SYS_VFS_H
16363 # include <sys/vfs.h>
16364 #endif
16365 #ifdef HAVE_SYS_STATFS_H
16366 # include <sys/statfs.h>
16367 #endif
16369 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16371 cat >>confdefs.h <<_ACEOF
16372 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16373 _ACEOF
16379 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16380 #include <sys/statvfs.h>
16381 #endif
16383 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16387 _ACEOF
16393 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16394 #include <dirent.h>
16395 #endif
16397 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16399 cat >>confdefs.h <<_ACEOF
16400 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16401 _ACEOF
16407 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16408 #ifdef HAVE_SYS_SOCKET_H
16409 # include <sys/socket.h>
16410 #endif
16411 #ifdef HAVE_SYS_UN_H
16412 # include <sys/un.h>
16413 #endif
16415 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16417 cat >>confdefs.h <<_ACEOF
16418 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16419 _ACEOF
16423 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16424 #ifdef HAVE_SYS_SOCKET_H
16425 # include <sys/socket.h>
16426 #endif
16427 #ifdef HAVE_SYS_UN_H
16428 # include <sys/un.h>
16429 #endif
16431 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16435 _ACEOF
16439 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16440 #ifdef HAVE_SYS_SOCKET_H
16441 # include <sys/socket.h>
16442 #endif
16443 #ifdef HAVE_SYS_UN_H
16444 # include <sys/un.h>
16445 #endif
16447 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16451 _ACEOF
16457 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16458 #ifdef HAVE_SCSI_SG_H
16459 #include <scsi/sg.h>
16460 #endif
16462 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16464 cat >>confdefs.h <<_ACEOF
16465 #define HAVE_SCSIREQ_T_CMD 1
16466 _ACEOF
16470 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>
16471 #ifdef HAVE_SCSI_SG_H
16472 #include <scsi/sg.h>
16473 #endif
16475 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16477 cat >>confdefs.h <<_ACEOF
16478 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16479 _ACEOF
16485 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16487 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_SIGINFO_T_SI_FD 1
16491 _ACEOF
16497 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16498 #ifdef HAVE_SYS_MTIO_H
16499 #include <sys/mtio.h>
16500 #endif
16502 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16506 _ACEOF
16510 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16511 #ifdef HAVE_SYS_MTIO_H
16512 #include <sys/mtio.h>
16513 #endif
16515 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16519 _ACEOF
16523 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16524 #ifdef HAVE_SYS_MTIO_H
16525 #include <sys/mtio.h>
16526 #endif
16528 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16532 _ACEOF
16538 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16539 #include <getopt.h>
16540 #endif
16542 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_STRUCT_OPTION_NAME 1
16546 _ACEOF
16552 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16553 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16555 cat >>confdefs.h <<_ACEOF
16556 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16557 _ACEOF
16561 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16562 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_STRUCT_STAT_ST_MTIM 1
16566 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16571 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16573 cat >>confdefs.h <<_ACEOF
16574 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16575 _ACEOF
16579 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16580 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16582 cat >>confdefs.h <<_ACEOF
16583 #define HAVE_STRUCT_STAT_ST_CTIM 1
16584 _ACEOF
16588 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16589 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16593 _ACEOF
16597 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16598 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16600 cat >>confdefs.h <<_ACEOF
16601 #define HAVE_STRUCT_STAT_ST_ATIM 1
16602 _ACEOF
16606 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16607 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16611 _ACEOF
16615 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16616 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16620 _ACEOF
16624 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16625 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16629 _ACEOF
16633 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16634 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16638 _ACEOF
16642 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16643 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16647 _ACEOF
16651 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16652 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16656 _ACEOF
16662 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
16663 #include <sys/types.h>
16664 #endif
16665 #ifdef HAVE_NETINET_IN_H
16666 #include <netinet/in.h>
16667 #endif
16669 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16673 _ACEOF
16679 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16680 #include <resolv.h>
16681 #endif
16683 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_STRUCT___RES_STATE 1
16687 _ACEOF
16693 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
16694 #include <resolv.h>
16695 #endif
16697 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16699 cat >>confdefs.h <<_ACEOF
16700 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16701 _ACEOF
16707 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16708 #include <sys/types.h>
16709 #endif
16710 #ifdef HAVE_NETINET_IN_H
16711 # include <netinet/in.h>
16712 #endif
16713 #ifdef HAVE_ARPA_NAMESER_H
16714 # include <arpa/nameser.h>
16715 #endif
16717 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_NS_MSG__MSG_PTR 1
16721 _ACEOF
16727 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16728 #include <sys/types.h>
16729 #endif
16730 #ifdef HAVE_NETINET_IP_H
16731 #include <netinet/ip.h>
16732 #endif
16733 #ifdef HAVE_NETINET_IP_ICMP_H
16734 #include <netinet/ip_icmp.h>
16735 #endif
16736 #ifdef HAVE_NETINET_ICMP_VAR_H
16737 #include <netinet/icmp_var.h>
16738 #endif
16740 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16742 cat >>confdefs.h <<_ACEOF
16743 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16744 _ACEOF
16750 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16751 #include <sys/types.h>
16752 #endif
16753 #ifdef HAVE_ALIAS_H
16754 #include <alias.h>
16755 #endif
16756 #ifdef HAVE_SYS_SOCKET_H
16757 #include <sys/socket.h>
16758 #endif
16759 #ifdef HAVE_SYS_SOCKETVAR_H
16760 #include <sys/socketvar.h>
16761 #endif
16762 #ifdef HAVE_SYS_TIMEOUT_H
16763 #include <sys/timeout.h>
16764 #endif
16765 #ifdef HAVE_NETINET_IN_H
16766 #include <netinet/in.h>
16767 #endif
16768 #ifdef HAVE_NETINET_IN_SYSTM_H
16769 #include <netinet/in_systm.h>
16770 #endif
16771 #ifdef HAVE_NETINET_IP_H
16772 #include <netinet/ip.h>
16773 #endif
16774 #ifdef HAVE_NETINET_IP_VAR_H
16775 #include <netinet/ip_var.h>
16776 #endif
16777 #ifdef HAVE_NETINET_IP_ICMP_H
16778 #include <netinet/ip_icmp.h>
16779 #endif
16780 #ifdef HAVE_NETINET_ICMP_VAR_H
16781 #include <netinet/icmp_var.h>
16782 #endif
16784 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16788 _ACEOF
16794 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16795 #include <sys/types.h>
16796 #endif
16797 #ifdef HAVE_SYS_SOCKETVAR_H
16798 #include <sys/socketvar.h>
16799 #endif
16800 #ifdef HAVE_NETINET_IN_H
16801 #include <netinet/in.h>
16802 #endif
16803 #ifdef HAVE_NETINET_IP_VAR_H
16804 #include <netinet/ip_var.h>
16805 #endif
16807 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16809 cat >>confdefs.h <<_ACEOF
16810 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16811 _ACEOF
16817 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
16818 #include <netinet/ip_var.h>
16819 #endif
16821 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16825 _ACEOF
16831 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16832 #include <sys/types.h>
16833 #endif
16834 #ifdef HAVE_SYS_SOCKETVAR_H
16835 #include <sys/socketvar.h>
16836 #endif
16837 #ifdef HAVE_NETINET_IN_H
16838 #include <netinet/in.h>
16839 #endif
16840 #ifdef HAVE_NETINET_TCP_H
16841 #include <netinet/tcp.h>
16842 #endif
16843 #ifdef HAVE_NETINET_TCP_VAR_H
16844 #include <netinet/tcp_var.h>
16845 #endif
16847 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16851 _ACEOF
16857 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
16858 #include <netinet/tcp_var.h>
16859 #endif
16861 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16865 _ACEOF
16871 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16872 #include <sys/types.h>
16873 #endif
16874 #ifdef HAVE_NETINET_IN_H
16875 #include <netinet/in.h>
16876 #endif
16877 #ifdef HAVE_NETINET_IP_VAR_H
16878 #include <netinet/ip_var.h>
16879 #endif
16880 #ifdef HAVE_NETINET_UDP_H
16881 #include <netinet/udp.h>
16882 #endif
16883 #ifdef HAVE_NETINET_UDP_VAR_H
16884 #include <netinet/udp_var.h>
16885 #endif
16887 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16891 _ACEOF
16897 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16898 #include <sys/types.h>
16899 #endif
16900 #ifdef HAVE_NET_IF_H
16901 # include <net/if.h>
16902 #endif
16904 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16908 _ACEOF
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16915 $as_echo_n "checking for timezone variable... " >&6; }
16916 if ${ac_cv_have_timezone+:} false; then :
16917 $as_echo_n "(cached) " >&6
16918 else
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16921 #include <time.h>
16923 main ()
16925 timezone = 1
16927 return 0;
16929 _ACEOF
16930 if ac_fn_c_try_link "$LINENO"; then :
16931 ac_cv_have_timezone="yes"
16932 else
16933 ac_cv_have_timezone="no"
16935 rm -f core conftest.err conftest.$ac_objext \
16936 conftest$ac_exeext conftest.$ac_ext
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16939 $as_echo "$ac_cv_have_timezone" >&6; }
16940 if test "$ac_cv_have_timezone" = "yes"
16941 then
16943 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16947 $as_echo_n "checking for daylight variable... " >&6; }
16948 if ${ac_cv_have_daylight+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16953 #include <time.h>
16955 main ()
16957 daylight = 1
16959 return 0;
16961 _ACEOF
16962 if ac_fn_c_try_link "$LINENO"; then :
16963 ac_cv_have_daylight="yes"
16964 else
16965 ac_cv_have_daylight="no"
16967 rm -f core conftest.err conftest.$ac_objext \
16968 conftest$ac_exeext conftest.$ac_ext
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16971 $as_echo "$ac_cv_have_daylight" >&6; }
16972 if test "$ac_cv_have_daylight" = "yes"
16973 then
16975 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16979 ac_save_LIBS="$LIBS"
16980 LIBS="$LIBS -lm"
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16982 $as_echo_n "checking for isfinite... " >&6; }
16983 if ${ac_cv_have_isfinite+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16987 /* end confdefs.h. */
16988 #define _GNU_SOURCE
16989 #include <math.h>
16991 main ()
16993 float f = 0.0; return isfinite(f)
16995 return 0;
16997 _ACEOF
16998 if ac_fn_c_try_link "$LINENO"; then :
16999 ac_cv_have_isfinite="yes"
17000 else
17001 ac_cv_have_isfinite="no"
17003 rm -f core conftest.err conftest.$ac_objext \
17004 conftest$ac_exeext conftest.$ac_ext
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17007 $as_echo "$ac_cv_have_isfinite" >&6; }
17008 if test "$ac_cv_have_isfinite" = "yes"
17009 then
17011 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17016 $as_echo_n "checking for isinf... " >&6; }
17017 if ${ac_cv_have_isinf+:} false; then :
17018 $as_echo_n "(cached) " >&6
17019 else
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <math.h>
17024 main ()
17026 float f = 0.0; return isinf(f)
17028 return 0;
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_have_isinf="yes"
17033 else
17034 ac_cv_have_isinf="no"
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17040 $as_echo "$ac_cv_have_isinf" >&6; }
17041 if test "$ac_cv_have_isinf" = "yes"
17042 then
17044 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17049 $as_echo_n "checking for isnan... " >&6; }
17050 if ${ac_cv_have_isnan+:} false; then :
17051 $as_echo_n "(cached) " >&6
17052 else
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 #include <math.h>
17057 main ()
17059 float f = 0.0; return isnan(f)
17061 return 0;
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_have_isnan="yes"
17066 else
17067 ac_cv_have_isnan="no"
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17073 $as_echo "$ac_cv_have_isnan" >&6; }
17074 if test "$ac_cv_have_isnan" = "yes"
17075 then
17077 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17081 for ac_func in \
17082 asinh \
17083 asinhf \
17084 cbrt \
17085 cbrtf \
17086 erf \
17087 erff \
17088 exp2 \
17089 exp2f \
17090 lgamma \
17091 lgammaf \
17092 llrint \
17093 llrintf \
17094 llround \
17095 llroundf \
17096 log2 \
17097 log2f \
17098 lrint \
17099 lrintf \
17100 lround \
17101 lroundf \
17102 powl \
17103 remainder \
17104 remainderf \
17105 rint \
17106 rintf \
17107 round \
17108 roundf \
17109 trunc \
17110 truncf
17112 do :
17113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17116 cat >>confdefs.h <<_ACEOF
17117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17118 _ACEOF
17121 done
17123 LIBS="$ac_save_LIBS"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17126 $as_echo_n "checking for __builtin_clz... " >&6; }
17127 if ${ac_cv_have___builtin_clz+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17134 main ()
17136 return __builtin_clz(1)
17138 return 0;
17140 _ACEOF
17141 if ac_fn_c_try_link "$LINENO"; then :
17142 ac_cv_have___builtin_clz="yes"
17143 else
17144 ac_cv_have___builtin_clz="no"
17146 rm -f core conftest.err conftest.$ac_objext \
17147 conftest$ac_exeext conftest.$ac_ext
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17150 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17151 if test "$ac_cv_have___builtin_clz" = "yes"
17152 then
17154 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17159 $as_echo_n "checking for __builtin_popcount... " >&6; }
17160 if ${ac_cv_have___builtin_popcount+:} false; then :
17161 $as_echo_n "(cached) " >&6
17162 else
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17167 main ()
17169 return __builtin_popcount(1)
17171 return 0;
17173 _ACEOF
17174 if ac_fn_c_try_link "$LINENO"; then :
17175 ac_cv_have___builtin_popcount="yes"
17176 else
17177 ac_cv_have___builtin_popcount="no"
17179 rm -f core conftest.err conftest.$ac_objext \
17180 conftest$ac_exeext conftest.$ac_ext
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17183 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17184 if test "$ac_cv_have___builtin_popcount" = "yes"
17185 then
17187 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17192 case $host_cpu in
17193 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17194 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17195 if ${ac_cv_cpp_def___i386__+:} false; then :
17196 $as_echo_n "(cached) " >&6
17197 else
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #ifndef __i386__
17202 #endif
17203 _ACEOF
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "yes" >/dev/null 2>&1; then :
17206 ac_cv_cpp_def___i386__=yes
17207 else
17208 ac_cv_cpp_def___i386__=no
17210 rm -f conftest*
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17214 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17215 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17216 CFLAGS="$CFLAGS -D__i386__"
17217 LINTFLAGS="$LINTFLAGS -D__i386__"
17218 fi ;;
17219 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17220 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17221 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #ifndef __x86_64__
17228 #endif
17229 _ACEOF
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "yes" >/dev/null 2>&1; then :
17232 ac_cv_cpp_def___x86_64__=yes
17233 else
17234 ac_cv_cpp_def___x86_64__=no
17236 rm -f conftest*
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17240 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17241 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17242 CFLAGS="$CFLAGS -D__x86_64__"
17243 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17244 fi ;;
17245 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17246 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17247 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17248 $as_echo_n "(cached) " >&6
17249 else
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17252 #ifndef __sparc64__
17254 #endif
17255 _ACEOF
17256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17257 $EGREP "yes" >/dev/null 2>&1; then :
17258 ac_cv_cpp_def___sparc64__=yes
17259 else
17260 ac_cv_cpp_def___sparc64__=no
17262 rm -f conftest*
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17266 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17267 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17268 CFLAGS="$CFLAGS -D__sparc64__"
17269 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17270 fi ;;
17271 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17272 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17273 if ${ac_cv_cpp_def___sparc__+:} false; then :
17274 $as_echo_n "(cached) " >&6
17275 else
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 #ifndef __sparc__
17280 #endif
17281 _ACEOF
17282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17283 $EGREP "yes" >/dev/null 2>&1; then :
17284 ac_cv_cpp_def___sparc__=yes
17285 else
17286 ac_cv_cpp_def___sparc__=no
17288 rm -f conftest*
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17292 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17293 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17294 CFLAGS="$CFLAGS -D__sparc__"
17295 LINTFLAGS="$LINTFLAGS -D__sparc__"
17296 fi ;;
17297 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17298 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17299 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 #ifndef __powerpc64__
17306 #endif
17307 _ACEOF
17308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17309 $EGREP "yes" >/dev/null 2>&1; then :
17310 ac_cv_cpp_def___powerpc64__=yes
17311 else
17312 ac_cv_cpp_def___powerpc64__=no
17314 rm -f conftest*
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17318 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17319 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17320 CFLAGS="$CFLAGS -D__powerpc64__"
17321 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17322 fi ;;
17323 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17324 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17325 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17326 $as_echo_n "(cached) " >&6
17327 else
17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17329 /* end confdefs.h. */
17330 #ifndef __powerpc__
17332 #endif
17333 _ACEOF
17334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17335 $EGREP "yes" >/dev/null 2>&1; then :
17336 ac_cv_cpp_def___powerpc__=yes
17337 else
17338 ac_cv_cpp_def___powerpc__=no
17340 rm -f conftest*
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17344 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17345 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17346 CFLAGS="$CFLAGS -D__powerpc__"
17347 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17348 fi ;;
17349 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17350 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17351 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17352 $as_echo_n "(cached) " >&6
17353 else
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #ifndef __aarch64__
17358 #endif
17359 _ACEOF
17360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17361 $EGREP "yes" >/dev/null 2>&1; then :
17362 ac_cv_cpp_def___aarch64__=yes
17363 else
17364 ac_cv_cpp_def___aarch64__=no
17366 rm -f conftest*
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17370 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17371 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17372 CFLAGS="$CFLAGS -D__aarch64__"
17373 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17374 fi ;;
17375 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17376 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17377 if ${ac_cv_cpp_def___arm__+:} false; then :
17378 $as_echo_n "(cached) " >&6
17379 else
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17382 #ifndef __arm__
17384 #endif
17385 _ACEOF
17386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17387 $EGREP "yes" >/dev/null 2>&1; then :
17388 ac_cv_cpp_def___arm__=yes
17389 else
17390 ac_cv_cpp_def___arm__=no
17392 rm -f conftest*
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17396 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17397 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17398 CFLAGS="$CFLAGS -D__arm__"
17399 LINTFLAGS="$LINTFLAGS -D__arm__"
17400 fi ;;
17401 esac
17403 case $host_vendor in
17404 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17405 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17406 if ${ac_cv_cpp_def___sun__+:} false; then :
17407 $as_echo_n "(cached) " >&6
17408 else
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 /* end confdefs.h. */
17411 #ifndef __sun__
17413 #endif
17414 _ACEOF
17415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17416 $EGREP "yes" >/dev/null 2>&1; then :
17417 ac_cv_cpp_def___sun__=yes
17418 else
17419 ac_cv_cpp_def___sun__=no
17421 rm -f conftest*
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17425 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17426 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17427 CFLAGS="$CFLAGS -D__sun__"
17428 LINTFLAGS="$LINTFLAGS -D__sun__"
17429 fi ;;
17430 esac
17436 ac_config_commands="$ac_config_commands include/stamp-h"
17438 $as_echo_n "creating Makefile rules..." >&6
17440 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17441 SOCKET_LIBS = $SOCKET_LIBS
17442 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17443 IOKIT_LIBS = $IOKIT_LIBS
17444 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17445 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17446 CORESERVICES_LIBS = $CORESERVICES_LIBS
17447 APPKIT_LIBS = $APPKIT_LIBS
17448 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17449 SECURITY_LIBS = $SECURITY_LIBS
17450 COREAUDIO_LIBS = $COREAUDIO_LIBS
17451 OPENAL_LIBS = $OPENAL_LIBS
17452 OPENCL_LIBS = $OPENCL_LIBS
17453 QUICKTIME_LIBS = $QUICKTIME_LIBS
17454 CARBON_LIBS = $CARBON_LIBS
17455 PTHREAD_LIBS = $PTHREAD_LIBS
17456 X_CFLAGS = $X_CFLAGS
17457 X_PRE_LIBS = $X_PRE_LIBS
17458 X_LIBS = $X_LIBS
17459 X_EXTRA_LIBS = $X_EXTRA_LIBS
17460 PCAP_LIBS = $PCAP_LIBS
17461 XML2_CFLAGS = $XML2_CFLAGS
17462 XML2_LIBS = $XML2_LIBS
17463 XSLT_CFLAGS = $XSLT_CFLAGS
17464 XSLT_LIBS = $XSLT_LIBS
17465 DBUS_CFLAGS = $DBUS_CFLAGS
17466 DBUS_LIBS = $DBUS_LIBS
17467 HAL_CFLAGS = $HAL_CFLAGS
17468 HAL_LIBS = $HAL_LIBS
17469 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17470 GNUTLS_LIBS = $GNUTLS_LIBS
17471 SANE_CFLAGS = $SANE_CFLAGS
17472 SANE_LIBS = $SANE_LIBS
17473 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17474 GPHOTO2_LIBS = $GPHOTO2_LIBS
17475 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17476 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17477 RESOLV_LIBS = $RESOLV_LIBS
17478 LCMS2_CFLAGS = $LCMS2_CFLAGS
17479 LCMS2_LIBS = $LCMS2_LIBS
17480 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17481 FREETYPE_LIBS = $FREETYPE_LIBS
17482 Z_LIBS = $Z_LIBS
17483 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17484 PULSE_CFLAGS = $PULSE_CFLAGS
17485 PULSE_LIBS = $PULSE_LIBS
17486 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17487 GSTREAMER_LIBS = $GSTREAMER_LIBS
17488 ALSA_LIBS = $ALSA_LIBS
17489 OSS4_CFLAGS = $OSS4_CFLAGS
17490 UDEV_CFLAGS = $UDEV_CFLAGS
17491 UDEV_LIBS = $UDEV_LIBS
17492 CAPI20_CFLAGS = $CAPI20_CFLAGS
17493 CAPI20_LIBS = $CAPI20_LIBS
17494 CUPS_CFLAGS = $CUPS_CFLAGS
17495 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17496 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17497 JPEG_CFLAGS = $JPEG_CFLAGS
17498 JPEG_LIBS = $JPEG_LIBS
17499 PNG_CFLAGS = $PNG_CFLAGS
17500 PNG_LIBS = $PNG_LIBS
17501 TIFF_CFLAGS = $TIFF_CFLAGS
17502 TIFF_LIBS = $TIFF_LIBS
17503 MPG123_CFLAGS = $MPG123_CFLAGS
17504 MPG123_LIBS = $MPG123_LIBS
17505 KSTAT_LIBS = $KSTAT_LIBS
17506 PROCSTAT_LIBS = $PROCSTAT_LIBS
17507 NETAPI_CFLAGS = $NETAPI_CFLAGS
17508 NETAPI_LIBS = $NETAPI_LIBS
17509 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17510 DL_LIBS = $DL_LIBS
17511 POLL_LIBS = $POLL_LIBS
17512 RT_LIBS = $RT_LIBS
17513 LDAP_LIBS = $LDAP_LIBS
17518 wine_fn_append_rule "
17519 # Rules automatically generated by configure
17521 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17523 .INIT: Makefile
17524 .MAKEFILEDEPS:
17525 all: Makefile
17526 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17527 @./config.status Make.tmp Makefile
17528 depend: \$(MAKEDEP) dummy
17529 \$(MAKEDEP)"
17531 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17532 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17534 if test "x$enable_fonts" != xno; then
17535 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17536 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17537 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17538 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17539 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17540 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17542 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17543 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17544 ac_config_links="$ac_config_links wine:tools/winewrapper"
17545 wine_fn_config_symlink wine
17546 if test "x$enable_win64" != xno; then
17547 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17548 wine_fn_config_symlink wine64
17551 wine_fn_config_dll acledit enable_acledit
17552 wine_fn_config_dll aclui enable_aclui implib
17553 wine_fn_config_dll activeds enable_activeds implib
17554 wine_fn_config_dll actxprxy enable_actxprxy clean
17555 wine_fn_config_lib adsiid
17556 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17557 wine_fn_config_test dlls/advapi32/tests advapi32_test
17558 wine_fn_config_dll advpack enable_advpack implib
17559 wine_fn_config_test dlls/advpack/tests advpack_test
17560 wine_fn_config_dll amstream enable_amstream clean
17561 wine_fn_config_test dlls/amstream/tests amstream_test
17562 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17563 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17564 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17565 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17566 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17567 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17568 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17569 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17570 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17571 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17572 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17573 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17574 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17575 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17576 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17577 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17578 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17579 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17580 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17581 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17582 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17583 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17584 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17585 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17586 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17587 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17588 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17589 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17590 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17591 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17592 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17593 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17594 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17595 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17596 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17597 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17598 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17599 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17600 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17601 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17602 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17603 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17604 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17605 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17606 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17607 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17608 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17609 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17610 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17611 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17612 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17613 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17614 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17615 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17616 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17617 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17618 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17619 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17620 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17621 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17622 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17623 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17624 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17625 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17626 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17627 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17628 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17629 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17630 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17631 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17632 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17633 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17634 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17635 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17639 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17640 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17643 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17645 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17646 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17647 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17648 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17649 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17654 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17657 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17659 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17660 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17666 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17667 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17668 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17669 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17670 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17671 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17672 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17673 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17674 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17675 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17676 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17677 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17678 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17679 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17680 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17681 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17682 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17683 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17684 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17685 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17686 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17687 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17688 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17689 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17690 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17691 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17692 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17693 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17694 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17695 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17696 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17697 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17698 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17699 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17700 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17701 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17702 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17703 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17704 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17705 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17706 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17707 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17708 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17709 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17710 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17711 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17712 wine_fn_config_dll apphelp enable_apphelp
17713 wine_fn_config_test dlls/apphelp/tests apphelp_test
17714 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17715 wine_fn_config_dll atl enable_atl clean,implib
17716 wine_fn_config_test dlls/atl/tests atl_test
17717 wine_fn_config_dll atl100 enable_atl100 clean,implib
17718 wine_fn_config_test dlls/atl100/tests atl100_test
17719 wine_fn_config_dll atl110 enable_atl110 clean
17720 wine_fn_config_dll atl80 enable_atl80 clean,implib
17721 wine_fn_config_test dlls/atl80/tests atl80_test
17722 wine_fn_config_dll atl90 enable_atl90 clean
17723 wine_fn_config_dll authz enable_authz
17724 wine_fn_config_dll avicap32 enable_avicap32 implib
17725 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17726 wine_fn_config_test dlls/avifil32/tests avifil32_test
17727 wine_fn_config_dll avifile.dll16 enable_win16
17728 wine_fn_config_dll avrt enable_avrt implib
17729 wine_fn_config_dll bcrypt enable_bcrypt implib
17730 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17731 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17732 wine_fn_config_dll browseui enable_browseui clean
17733 wine_fn_config_test dlls/browseui/tests browseui_test
17734 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17735 wine_fn_config_dll cabinet enable_cabinet implib
17736 wine_fn_config_test dlls/cabinet/tests cabinet_test
17737 wine_fn_config_dll capi2032 enable_capi2032 implib
17738 wine_fn_config_dll cards enable_cards implib
17739 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17740 wine_fn_config_dll clusapi enable_clusapi implib
17741 wine_fn_config_dll combase enable_combase
17742 wine_fn_config_test dlls/combase/tests combase_test
17743 wine_fn_config_dll comcat enable_comcat
17744 wine_fn_config_test dlls/comcat/tests comcat_test
17745 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17746 wine_fn_config_test dlls/comctl32/tests comctl32_test
17747 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17748 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17749 wine_fn_config_dll comm.drv16 enable_win16
17750 wine_fn_config_dll commdlg.dll16 enable_win16
17751 wine_fn_config_dll compobj.dll16 enable_win16
17752 wine_fn_config_dll compstui enable_compstui implib
17753 wine_fn_config_dll comsvcs enable_comsvcs implib
17754 wine_fn_config_dll concrt140 enable_concrt140
17755 wine_fn_config_dll connect enable_connect
17756 wine_fn_config_dll credui enable_credui clean,implib
17757 wine_fn_config_test dlls/credui/tests credui_test
17758 wine_fn_config_dll crtdll enable_crtdll
17759 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17760 wine_fn_config_test dlls/crypt32/tests crypt32_test
17761 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17762 wine_fn_config_dll cryptdll enable_cryptdll implib
17763 wine_fn_config_dll cryptext enable_cryptext
17764 wine_fn_config_dll cryptnet enable_cryptnet implib
17765 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17766 wine_fn_config_dll cryptui enable_cryptui clean,implib
17767 wine_fn_config_test dlls/cryptui/tests cryptui_test
17768 wine_fn_config_dll ctapi32 enable_ctapi32
17769 wine_fn_config_dll ctl3d.dll16 enable_win16
17770 wine_fn_config_dll ctl3d32 enable_ctl3d32
17771 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17772 wine_fn_config_dll d2d1 enable_d2d1 implib
17773 wine_fn_config_test dlls/d2d1/tests d2d1_test
17774 wine_fn_config_dll d3d10 enable_d3d10 implib
17775 wine_fn_config_test dlls/d3d10/tests d3d10_test
17776 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17777 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17778 wine_fn_config_dll d3d10core enable_d3d10core implib
17779 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17780 wine_fn_config_dll d3d11 enable_d3d11 implib
17781 wine_fn_config_test dlls/d3d11/tests d3d11_test
17782 wine_fn_config_dll d3d8 enable_d3d8 implib
17783 wine_fn_config_test dlls/d3d8/tests d3d8_test
17784 wine_fn_config_dll d3d9 enable_d3d9 implib
17785 wine_fn_config_test dlls/d3d9/tests d3d9_test
17786 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17787 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17788 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17789 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17790 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17791 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17792 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17793 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17794 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17795 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17796 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17797 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17798 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17799 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17800 wine_fn_config_dll d3dim enable_d3dim
17801 wine_fn_config_dll d3drm enable_d3drm implib
17802 wine_fn_config_test dlls/d3drm/tests d3drm_test
17803 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17804 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17805 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17806 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17807 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17808 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17809 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17810 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17811 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17812 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17813 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17814 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17815 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17816 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17817 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17818 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17819 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17820 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17821 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17822 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17823 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17824 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17825 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17826 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17827 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17828 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17829 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17830 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17831 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17832 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17833 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17834 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17835 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17836 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17837 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17838 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17839 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17840 wine_fn_config_dll davclnt enable_davclnt
17841 wine_fn_config_dll dbgeng enable_dbgeng implib
17842 wine_fn_config_dll dbghelp enable_dbghelp implib
17843 wine_fn_config_dll dciman32 enable_dciman32 implib
17844 wine_fn_config_dll ddeml.dll16 enable_win16
17845 wine_fn_config_dll ddraw enable_ddraw clean,implib
17846 wine_fn_config_test dlls/ddraw/tests ddraw_test
17847 wine_fn_config_dll ddrawex enable_ddrawex clean
17848 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17849 wine_fn_config_dll devenum enable_devenum clean
17850 wine_fn_config_test dlls/devenum/tests devenum_test
17851 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17852 wine_fn_config_dll difxapi enable_difxapi
17853 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17854 wine_fn_config_test dlls/dinput/tests dinput_test
17855 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17856 wine_fn_config_test dlls/dinput8/tests dinput8_test
17857 wine_fn_config_dll dispdib.dll16 enable_win16
17858 wine_fn_config_dll dispex enable_dispex clean
17859 wine_fn_config_test dlls/dispex/tests dispex_test
17860 wine_fn_config_dll display.drv16 enable_win16
17861 wine_fn_config_dll dmband enable_dmband clean
17862 wine_fn_config_test dlls/dmband/tests dmband_test
17863 wine_fn_config_dll dmcompos enable_dmcompos clean
17864 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17865 wine_fn_config_dll dmime enable_dmime clean
17866 wine_fn_config_test dlls/dmime/tests dmime_test
17867 wine_fn_config_dll dmloader enable_dmloader clean
17868 wine_fn_config_test dlls/dmloader/tests dmloader_test
17869 wine_fn_config_dll dmscript enable_dmscript clean
17870 wine_fn_config_test dlls/dmscript/tests dmscript_test
17871 wine_fn_config_dll dmstyle enable_dmstyle clean
17872 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17873 wine_fn_config_dll dmsynth enable_dmsynth clean
17874 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17875 wine_fn_config_dll dmusic enable_dmusic clean
17876 wine_fn_config_test dlls/dmusic/tests dmusic_test
17877 wine_fn_config_dll dmusic32 enable_dmusic32
17878 wine_fn_config_dll dnsapi enable_dnsapi implib
17879 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17880 wine_fn_config_dll dplay enable_dplay
17881 wine_fn_config_dll dplayx enable_dplayx clean,implib
17882 wine_fn_config_test dlls/dplayx/tests dplayx_test
17883 wine_fn_config_dll dpnaddr enable_dpnaddr
17884 wine_fn_config_dll dpnet enable_dpnet clean,implib
17885 wine_fn_config_test dlls/dpnet/tests dpnet_test
17886 wine_fn_config_dll dpnhpast enable_dpnhpast
17887 wine_fn_config_dll dpnlobby enable_dpnlobby
17888 wine_fn_config_dll dpvoice enable_dpvoice clean
17889 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17890 wine_fn_config_dll dpwsockx enable_dpwsockx
17891 wine_fn_config_dll drmclien enable_drmclien
17892 wine_fn_config_dll dsound enable_dsound clean,implib
17893 wine_fn_config_test dlls/dsound/tests dsound_test
17894 wine_fn_config_dll dssenh enable_dssenh
17895 wine_fn_config_test dlls/dssenh/tests dssenh_test
17896 wine_fn_config_dll dswave enable_dswave clean
17897 wine_fn_config_test dlls/dswave/tests dswave_test
17898 wine_fn_config_dll dwmapi enable_dwmapi implib
17899 wine_fn_config_dll dwrite enable_dwrite implib
17900 wine_fn_config_test dlls/dwrite/tests dwrite_test
17901 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17902 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17903 wine_fn_config_lib dxerr8
17904 wine_fn_config_lib dxerr9
17905 wine_fn_config_dll dxgi enable_dxgi implib
17906 wine_fn_config_test dlls/dxgi/tests dxgi_test
17907 wine_fn_config_lib dxguid
17908 wine_fn_config_dll dxva2 enable_dxva2
17909 wine_fn_config_dll esent enable_esent
17910 wine_fn_config_dll evr enable_evr
17911 wine_fn_config_dll explorerframe enable_explorerframe clean
17912 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17913 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17914 wine_fn_config_dll faultrep enable_faultrep implib
17915 wine_fn_config_test dlls/faultrep/tests faultrep_test
17916 wine_fn_config_dll fltlib enable_fltlib
17917 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17918 wine_fn_config_dll fntcache enable_fntcache
17919 wine_fn_config_dll fontsub enable_fontsub
17920 wine_fn_config_dll fusion enable_fusion
17921 wine_fn_config_test dlls/fusion/tests fusion_test
17922 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17923 wine_fn_config_dll gameux enable_gameux clean
17924 wine_fn_config_test dlls/gameux/tests gameux_test
17925 wine_fn_config_dll gdi.exe16 enable_win16
17926 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17927 wine_fn_config_test dlls/gdi32/tests gdi32_test
17928 wine_fn_config_dll gdiplus enable_gdiplus implib
17929 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17930 wine_fn_config_dll glu32 enable_glu32 implib
17931 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17932 wine_fn_config_dll gpkcsp enable_gpkcsp
17933 wine_fn_config_dll hal enable_hal
17934 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17935 wine_fn_config_dll hid enable_hid implib
17936 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17937 wine_fn_config_dll hlink enable_hlink clean,implib
17938 wine_fn_config_test dlls/hlink/tests hlink_test
17939 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17940 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17941 wine_fn_config_dll httpapi enable_httpapi
17942 wine_fn_config_dll iccvid enable_iccvid clean
17943 wine_fn_config_dll icmp enable_icmp
17944 wine_fn_config_dll ieframe enable_ieframe clean,implib
17945 wine_fn_config_test dlls/ieframe/tests ieframe_test
17946 wine_fn_config_dll ifsmgr.vxd enable_win16
17947 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17948 wine_fn_config_dll imagehlp enable_imagehlp implib
17949 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17950 wine_fn_config_dll imm.dll16 enable_win16
17951 wine_fn_config_dll imm32 enable_imm32 implib
17952 wine_fn_config_test dlls/imm32/tests imm32_test
17953 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17954 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17955 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17956 wine_fn_config_dll inetmib1 enable_inetmib1
17957 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17958 wine_fn_config_dll infosoft enable_infosoft clean
17959 wine_fn_config_test dlls/infosoft/tests infosoft_test
17960 wine_fn_config_dll initpki enable_initpki
17961 wine_fn_config_dll inkobj enable_inkobj
17962 wine_fn_config_dll inseng enable_inseng clean
17963 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17964 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17965 wine_fn_config_dll iprop enable_iprop
17966 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17967 wine_fn_config_dll itircl enable_itircl
17968 wine_fn_config_dll itss enable_itss clean
17969 wine_fn_config_test dlls/itss/tests itss_test
17970 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17971 wine_fn_config_dll jscript enable_jscript clean
17972 wine_fn_config_test dlls/jscript/tests jscript_test
17973 wine_fn_config_dll jsproxy enable_jsproxy implib
17974 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17975 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17976 wine_fn_config_test dlls/kernel32/tests kernel32_test
17977 wine_fn_config_dll kernelbase enable_kernelbase
17978 wine_fn_config_dll keyboard.drv16 enable_win16
17979 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17980 wine_fn_config_dll ksuser enable_ksuser
17981 wine_fn_config_dll ktmw32 enable_ktmw32
17982 wine_fn_config_dll loadperf enable_loadperf implib
17983 wine_fn_config_dll localspl enable_localspl clean
17984 wine_fn_config_test dlls/localspl/tests localspl_test
17985 wine_fn_config_dll localui enable_localui clean
17986 wine_fn_config_test dlls/localui/tests localui_test
17987 wine_fn_config_dll lz32 enable_lz32 implib
17988 wine_fn_config_test dlls/lz32/tests lz32_test
17989 wine_fn_config_dll lzexpand.dll16 enable_win16
17990 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17991 wine_fn_config_test dlls/mapi32/tests mapi32_test
17992 wine_fn_config_dll mapistub enable_mapistub
17993 wine_fn_config_dll mciavi32 enable_mciavi32
17994 wine_fn_config_dll mcicda enable_mcicda
17995 wine_fn_config_dll mciqtz32 enable_mciqtz32
17996 wine_fn_config_dll mciseq enable_mciseq
17997 wine_fn_config_dll mciwave enable_mciwave
17998 wine_fn_config_dll mf enable_mf
17999 wine_fn_config_dll mfplat enable_mfplat
18000 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18001 wine_fn_config_dll mgmtapi enable_mgmtapi
18002 wine_fn_config_dll midimap enable_midimap
18003 wine_fn_config_dll mlang enable_mlang clean,implib
18004 wine_fn_config_test dlls/mlang/tests mlang_test
18005 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18006 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18007 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18008 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18009 wine_fn_config_dll mmdevldr.vxd enable_win16
18010 wine_fn_config_dll mmsystem.dll16 enable_win16
18011 wine_fn_config_dll monodebg.vxd enable_win16
18012 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18013 wine_fn_config_dll mouse.drv16 enable_win16
18014 wine_fn_config_dll mpr enable_mpr clean,implib
18015 wine_fn_config_test dlls/mpr/tests mpr_test
18016 wine_fn_config_dll mprapi enable_mprapi implib
18017 wine_fn_config_dll msacm.dll16 enable_win16
18018 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18019 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18020 wine_fn_config_test dlls/msacm32/tests msacm32_test
18021 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18022 wine_fn_config_dll msasn1 enable_msasn1 implib
18023 wine_fn_config_dll mscat32 enable_mscat32
18024 wine_fn_config_dll mscms enable_mscms implib
18025 wine_fn_config_test dlls/mscms/tests mscms_test
18026 wine_fn_config_dll mscoree enable_mscoree clean
18027 wine_fn_config_test dlls/mscoree/tests mscoree_test
18028 wine_fn_config_dll msctf enable_msctf clean
18029 wine_fn_config_test dlls/msctf/tests msctf_test
18030 wine_fn_config_dll msctfp enable_msctfp clean
18031 wine_fn_config_dll msdaps enable_msdaps clean
18032 wine_fn_config_dll msdelta enable_msdelta
18033 wine_fn_config_dll msdmo enable_msdmo implib
18034 wine_fn_config_test dlls/msdmo/tests msdmo_test
18035 wine_fn_config_dll msdrm enable_msdrm
18036 wine_fn_config_dll msftedit enable_msftedit
18037 wine_fn_config_dll msg711.acm enable_msg711_acm
18038 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18039 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18040 wine_fn_config_dll mshtml enable_mshtml clean,implib
18041 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18042 wine_fn_config_dll msi enable_msi clean,implib
18043 wine_fn_config_test dlls/msi/tests msi_test
18044 wine_fn_config_dll msident enable_msident clean
18045 wine_fn_config_dll msimg32 enable_msimg32 implib
18046 wine_fn_config_dll msimsg enable_msimsg
18047 wine_fn_config_dll msimtf enable_msimtf clean
18048 wine_fn_config_dll msisip enable_msisip
18049 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18050 wine_fn_config_dll msls31 enable_msls31
18051 wine_fn_config_dll msnet32 enable_msnet32
18052 wine_fn_config_dll mspatcha enable_mspatcha implib
18053 wine_fn_config_dll msports enable_msports
18054 wine_fn_config_dll msrle32 enable_msrle32 clean
18055 wine_fn_config_test dlls/msrle32/tests msrle32_test
18056 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18057 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18058 wine_fn_config_dll mssign32 enable_mssign32
18059 wine_fn_config_dll mssip32 enable_mssip32
18060 wine_fn_config_dll mstask enable_mstask clean
18061 wine_fn_config_test dlls/mstask/tests mstask_test
18062 wine_fn_config_dll msvcirt enable_msvcirt
18063 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18064 wine_fn_config_dll msvcm80 enable_msvcm80
18065 wine_fn_config_dll msvcm90 enable_msvcm90
18066 wine_fn_config_dll msvcp100 enable_msvcp100
18067 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18068 wine_fn_config_dll msvcp110 enable_msvcp110
18069 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18070 wine_fn_config_dll msvcp120 enable_msvcp120
18071 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18072 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18073 wine_fn_config_dll msvcp140 enable_msvcp140
18074 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18075 wine_fn_config_dll msvcp60 enable_msvcp60
18076 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18077 wine_fn_config_dll msvcp70 enable_msvcp70
18078 wine_fn_config_dll msvcp71 enable_msvcp71
18079 wine_fn_config_dll msvcp80 enable_msvcp80
18080 wine_fn_config_dll msvcp90 enable_msvcp90
18081 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18082 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18083 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18084 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18085 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18086 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18087 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18088 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18089 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18090 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18091 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18092 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18093 wine_fn_config_dll msvcrt enable_msvcrt implib
18094 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18095 wine_fn_config_dll msvcrt20 enable_msvcrt20
18096 wine_fn_config_dll msvcrt40 enable_msvcrt40
18097 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18098 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18099 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18100 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18101 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18102 wine_fn_config_dll msvideo.dll16 enable_win16
18103 wine_fn_config_dll mswsock enable_mswsock implib
18104 wine_fn_config_dll msxml enable_msxml clean
18105 wine_fn_config_dll msxml2 enable_msxml2 clean
18106 wine_fn_config_dll msxml3 enable_msxml3 clean
18107 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18108 wine_fn_config_dll msxml4 enable_msxml4 clean
18109 wine_fn_config_dll msxml6 enable_msxml6 clean
18110 wine_fn_config_dll ncrypt enable_ncrypt
18111 wine_fn_config_dll nddeapi enable_nddeapi implib
18112 wine_fn_config_dll ndis.sys enable_ndis_sys
18113 wine_fn_config_dll netapi32 enable_netapi32 implib
18114 wine_fn_config_test dlls/netapi32/tests netapi32_test
18115 wine_fn_config_dll netcfgx enable_netcfgx clean
18116 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18117 wine_fn_config_dll netprofm enable_netprofm clean
18118 wine_fn_config_test dlls/netprofm/tests netprofm_test
18119 wine_fn_config_dll newdev enable_newdev implib
18120 wine_fn_config_dll normaliz enable_normaliz implib
18121 wine_fn_config_dll npmshtml enable_npmshtml
18122 wine_fn_config_dll npptools enable_npptools
18123 wine_fn_config_dll ntdll enable_ntdll implib
18124 wine_fn_config_test dlls/ntdll/tests ntdll_test
18125 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18126 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18127 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18128 wine_fn_config_dll ntprint enable_ntprint
18129 wine_fn_config_test dlls/ntprint/tests ntprint_test
18130 wine_fn_config_dll objsel enable_objsel clean
18131 wine_fn_config_dll odbc32 enable_odbc32 implib
18132 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18133 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18134 wine_fn_config_dll odbccu32 enable_odbccu32
18135 wine_fn_config_dll ole2.dll16 enable_win16
18136 wine_fn_config_dll ole2conv.dll16 enable_win16
18137 wine_fn_config_dll ole2disp.dll16 enable_win16
18138 wine_fn_config_dll ole2nls.dll16 enable_win16
18139 wine_fn_config_dll ole2prox.dll16 enable_win16
18140 wine_fn_config_dll ole2thk.dll16 enable_win16
18141 wine_fn_config_dll ole32 enable_ole32 clean,implib
18142 wine_fn_config_test dlls/ole32/tests ole32_test
18143 wine_fn_config_dll oleacc enable_oleacc clean,implib
18144 wine_fn_config_test dlls/oleacc/tests oleacc_test
18145 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18146 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18147 wine_fn_config_dll olecli.dll16 enable_win16
18148 wine_fn_config_dll olecli32 enable_olecli32 implib
18149 wine_fn_config_dll oledb32 enable_oledb32 clean
18150 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18151 wine_fn_config_dll oledlg enable_oledlg clean,implib
18152 wine_fn_config_test dlls/oledlg/tests oledlg_test
18153 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18154 wine_fn_config_dll olesvr.dll16 enable_win16
18155 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18156 wine_fn_config_dll olethk32 enable_olethk32
18157 wine_fn_config_dll openal32 enable_openal32
18158 wine_fn_config_dll opencl enable_opencl
18159 wine_fn_config_dll opengl32 enable_opengl32 implib
18160 wine_fn_config_test dlls/opengl32/tests opengl32_test
18161 wine_fn_config_dll packager enable_packager clean
18162 wine_fn_config_test dlls/packager/tests packager_test
18163 wine_fn_config_dll pdh enable_pdh implib
18164 wine_fn_config_test dlls/pdh/tests pdh_test
18165 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18166 wine_fn_config_dll pidgen enable_pidgen
18167 wine_fn_config_dll powrprof enable_powrprof implib
18168 wine_fn_config_dll printui enable_printui
18169 wine_fn_config_dll prntvpt enable_prntvpt
18170 wine_fn_config_dll propsys enable_propsys clean,implib
18171 wine_fn_config_test dlls/propsys/tests propsys_test
18172 wine_fn_config_dll psapi enable_psapi implib
18173 wine_fn_config_test dlls/psapi/tests psapi_test
18174 wine_fn_config_dll pstorec enable_pstorec clean
18175 wine_fn_config_dll qcap enable_qcap
18176 wine_fn_config_test dlls/qcap/tests qcap_test
18177 wine_fn_config_dll qedit enable_qedit clean
18178 wine_fn_config_test dlls/qedit/tests qedit_test
18179 wine_fn_config_dll qmgr enable_qmgr clean
18180 wine_fn_config_test dlls/qmgr/tests qmgr_test
18181 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18182 wine_fn_config_dll quartz enable_quartz clean,implib
18183 wine_fn_config_test dlls/quartz/tests quartz_test clean
18184 wine_fn_config_dll query enable_query
18185 wine_fn_config_dll rasapi16.dll16 enable_win16
18186 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18187 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18188 wine_fn_config_dll rasdlg enable_rasdlg implib
18189 wine_fn_config_dll regapi enable_regapi
18190 wine_fn_config_dll resutils enable_resutils implib
18191 wine_fn_config_dll riched20 enable_riched20 clean,implib
18192 wine_fn_config_test dlls/riched20/tests riched20_test
18193 wine_fn_config_dll riched32 enable_riched32
18194 wine_fn_config_test dlls/riched32/tests riched32_test
18195 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18196 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18197 wine_fn_config_dll rsabase enable_rsabase
18198 wine_fn_config_dll rsaenh enable_rsaenh implib
18199 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18200 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18201 wine_fn_config_dll rtutils enable_rtutils implib
18202 wine_fn_config_dll samlib enable_samlib
18203 wine_fn_config_dll sane.ds enable_sane_ds clean
18204 wine_fn_config_dll scarddlg enable_scarddlg
18205 wine_fn_config_dll sccbase enable_sccbase
18206 wine_fn_config_dll schannel enable_schannel
18207 wine_fn_config_test dlls/schannel/tests schannel_test
18208 wine_fn_config_dll schedsvc enable_schedsvc clean
18209 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18210 wine_fn_config_dll scrrun enable_scrrun clean
18211 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18212 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18213 wine_fn_config_dll secur32 enable_secur32 implib
18214 wine_fn_config_test dlls/secur32/tests secur32_test
18215 wine_fn_config_dll security enable_security
18216 wine_fn_config_dll sensapi enable_sensapi implib
18217 wine_fn_config_dll serialui enable_serialui clean
18218 wine_fn_config_test dlls/serialui/tests serialui_test
18219 wine_fn_config_dll setupapi enable_setupapi clean,implib
18220 wine_fn_config_test dlls/setupapi/tests setupapi_test
18221 wine_fn_config_dll setupx.dll16 enable_win16
18222 wine_fn_config_dll sfc enable_sfc implib
18223 wine_fn_config_dll sfc_os enable_sfc_os implib
18224 wine_fn_config_dll shdoclc enable_shdoclc clean
18225 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18226 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18227 wine_fn_config_dll shell.dll16 enable_win16
18228 wine_fn_config_dll shell32 enable_shell32 clean,implib
18229 wine_fn_config_test dlls/shell32/tests shell32_test
18230 wine_fn_config_dll shfolder enable_shfolder implib
18231 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18232 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18233 wine_fn_config_dll slbcsp enable_slbcsp
18234 wine_fn_config_dll slc enable_slc implib
18235 wine_fn_config_test dlls/slc/tests slc_test
18236 wine_fn_config_dll snmpapi enable_snmpapi implib
18237 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18238 wine_fn_config_dll softpub enable_softpub
18239 wine_fn_config_dll sound.drv16 enable_win16
18240 wine_fn_config_dll spoolss enable_spoolss implib
18241 wine_fn_config_test dlls/spoolss/tests spoolss_test
18242 wine_fn_config_dll sspicli enable_sspicli
18243 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18244 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18245 wine_fn_config_dll sti enable_sti clean,implib
18246 wine_fn_config_test dlls/sti/tests sti_test
18247 wine_fn_config_dll storage.dll16 enable_win16
18248 wine_fn_config_dll stress.dll16 enable_win16
18249 wine_fn_config_lib strmbase
18250 wine_fn_config_lib strmiids
18251 wine_fn_config_dll svrapi enable_svrapi
18252 wine_fn_config_dll sxs enable_sxs implib
18253 wine_fn_config_test dlls/sxs/tests sxs_test
18254 wine_fn_config_dll system.drv16 enable_win16
18255 wine_fn_config_dll t2embed enable_t2embed implib
18256 wine_fn_config_test dlls/t2embed/tests t2embed_test
18257 wine_fn_config_dll tapi32 enable_tapi32 implib
18258 wine_fn_config_dll taskschd enable_taskschd clean
18259 wine_fn_config_test dlls/taskschd/tests taskschd_test
18260 wine_fn_config_dll tdi.sys enable_tdi_sys
18261 wine_fn_config_dll toolhelp.dll16 enable_win16
18262 wine_fn_config_dll traffic enable_traffic
18263 wine_fn_config_dll twain.dll16 enable_win16
18264 wine_fn_config_dll twain_32 enable_twain_32
18265 wine_fn_config_test dlls/twain_32/tests twain_32_test
18266 wine_fn_config_dll typelib.dll16 enable_win16
18267 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18268 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18269 wine_fn_config_dll unicows enable_unicows implib
18270 wine_fn_config_dll updspapi enable_updspapi
18271 wine_fn_config_dll url enable_url implib
18272 wine_fn_config_dll urlmon enable_urlmon clean,implib
18273 wine_fn_config_test dlls/urlmon/tests urlmon_test
18274 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18275 wine_fn_config_dll user.exe16 enable_win16
18276 wine_fn_config_dll user32 enable_user32 clean,implib
18277 wine_fn_config_test dlls/user32/tests user32_test
18278 wine_fn_config_dll userenv enable_userenv implib
18279 wine_fn_config_test dlls/userenv/tests userenv_test
18280 wine_fn_config_dll usp10 enable_usp10 implib
18281 wine_fn_config_test dlls/usp10/tests usp10_test
18282 wine_fn_config_lib uuid
18283 wine_fn_config_dll uxtheme enable_uxtheme implib
18284 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18285 wine_fn_config_dll vbscript enable_vbscript clean
18286 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18287 wine_fn_config_dll vcomp enable_vcomp
18288 wine_fn_config_test dlls/vcomp/tests vcomp_test
18289 wine_fn_config_dll vcomp100 enable_vcomp100
18290 wine_fn_config_dll vcomp110 enable_vcomp110
18291 wine_fn_config_dll vcomp120 enable_vcomp120
18292 wine_fn_config_dll vcomp140 enable_vcomp140
18293 wine_fn_config_dll vcomp90 enable_vcomp90
18294 wine_fn_config_dll vcruntime140 enable_vcruntime140
18295 wine_fn_config_dll vdhcp.vxd enable_win16
18296 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18297 wine_fn_config_dll ver.dll16 enable_win16
18298 wine_fn_config_dll version enable_version implib
18299 wine_fn_config_test dlls/version/tests version_test
18300 wine_fn_config_dll vmm.vxd enable_win16
18301 wine_fn_config_dll vnbt.vxd enable_win16
18302 wine_fn_config_dll vnetbios.vxd enable_win16
18303 wine_fn_config_dll vssapi enable_vssapi
18304 wine_fn_config_dll vtdapi.vxd enable_win16
18305 wine_fn_config_dll vwin32.vxd enable_win16
18306 wine_fn_config_dll w32skrnl enable_win16
18307 wine_fn_config_dll w32sys.dll16 enable_win16
18308 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18309 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18310 wine_fn_config_dll wbemprox enable_wbemprox clean
18311 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18312 wine_fn_config_dll webservices enable_webservices implib
18313 wine_fn_config_test dlls/webservices/tests webservices_test
18314 wine_fn_config_dll wer enable_wer implib
18315 wine_fn_config_test dlls/wer/tests wer_test
18316 wine_fn_config_dll wevtapi enable_wevtapi
18317 wine_fn_config_dll wiaservc enable_wiaservc clean
18318 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18319 wine_fn_config_dll wimgapi enable_wimgapi
18320 wine_fn_config_dll win32s16.dll16 enable_win16
18321 wine_fn_config_dll win87em.dll16 enable_win16
18322 wine_fn_config_dll winaspi.dll16 enable_win16
18323 wine_fn_config_dll windebug.dll16 enable_win16
18324 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18325 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18326 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18327 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18328 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18329 wine_fn_config_dll winebus.sys enable_winebus_sys
18330 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18331 wine_fn_config_lib winecrt0
18332 wine_fn_config_dll wined3d enable_wined3d implib
18333 wine_fn_config_dll winegstreamer enable_winegstreamer
18334 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18335 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18336 wine_fn_config_dll winemapi enable_winemapi
18337 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18338 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18339 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18340 wine_fn_config_dll wineps16.drv16 enable_win16
18341 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18342 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18343 wine_fn_config_dll winex11.drv enable_winex11_drv
18344 wine_fn_config_dll wing.dll16 enable_win16
18345 wine_fn_config_dll wing32 enable_wing32
18346 wine_fn_config_dll winhttp enable_winhttp clean,implib
18347 wine_fn_config_test dlls/winhttp/tests winhttp_test
18348 wine_fn_config_dll wininet enable_wininet clean,implib
18349 wine_fn_config_test dlls/wininet/tests wininet_test
18350 wine_fn_config_dll winmm enable_winmm clean,implib
18351 wine_fn_config_test dlls/winmm/tests winmm_test
18352 wine_fn_config_dll winnls.dll16 enable_win16
18353 wine_fn_config_dll winnls32 enable_winnls32 implib
18354 wine_fn_config_dll winscard enable_winscard implib
18355 wine_fn_config_dll winsock.dll16 enable_win16
18356 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18357 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18358 wine_fn_config_dll winsta enable_winsta
18359 wine_fn_config_dll wintab.dll16 enable_win16
18360 wine_fn_config_dll wintab32 enable_wintab32 implib
18361 wine_fn_config_test dlls/wintab32/tests wintab32_test
18362 wine_fn_config_dll wintrust enable_wintrust implib
18363 wine_fn_config_test dlls/wintrust/tests wintrust_test
18364 wine_fn_config_dll wlanapi enable_wlanapi
18365 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18366 wine_fn_config_test dlls/wldap32/tests wldap32_test
18367 wine_fn_config_dll wmasf enable_wmasf
18368 wine_fn_config_dll wmi enable_wmi
18369 wine_fn_config_dll wmiutils enable_wmiutils clean
18370 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18371 wine_fn_config_dll wmp enable_wmp clean
18372 wine_fn_config_test dlls/wmp/tests wmp_test
18373 wine_fn_config_dll wmvcore enable_wmvcore
18374 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18375 wine_fn_config_dll wow32 enable_win16 implib
18376 wine_fn_config_dll wpc enable_wpc clean
18377 wine_fn_config_test dlls/wpc/tests wpc_test
18378 wine_fn_config_dll wpcap enable_wpcap
18379 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18380 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18381 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18382 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18383 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18384 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18385 wine_fn_config_dll wsock32 enable_wsock32 implib
18386 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18387 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18388 wine_fn_config_dll wuapi enable_wuapi clean
18389 wine_fn_config_dll wuaueng enable_wuaueng
18390 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18391 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18392 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18393 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18394 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18395 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18396 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18397 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18398 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18399 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18400 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18401 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18402 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18403 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18404 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18405 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18406 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18407 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18408 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18409 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18410 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18411 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18412 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18413 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18414 wine_fn_config_dll xinput1_1 enable_xinput1_1
18415 wine_fn_config_dll xinput1_2 enable_xinput1_2
18416 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18417 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18418 wine_fn_config_dll xinput1_4 enable_xinput1_4
18419 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18420 wine_fn_config_dll xmllite enable_xmllite implib
18421 wine_fn_config_test dlls/xmllite/tests xmllite_test
18422 wine_fn_config_dll xolehlp enable_xolehlp
18423 wine_fn_config_dll xpsprint enable_xpsprint
18424 wine_fn_config_dll xpssvcs enable_xpssvcs
18425 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18426 wine_fn_config_makefile include enable_include clean,install-dev
18427 wine_fn_config_makefile libs/port enable_libs_port
18428 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18429 wine_fn_config_makefile libs/wpp enable_libs_wpp
18430 wine_fn_config_makefile loader enable_loader clean,install-lib
18431 wine_fn_config_makefile po enable_po clean
18432 wine_fn_config_program arp enable_arp install
18433 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18434 wine_fn_config_program attrib enable_attrib clean,install
18435 wine_fn_config_program cabarc enable_cabarc install
18436 wine_fn_config_program cacls enable_cacls install
18437 wine_fn_config_program clock enable_clock clean,install
18438 wine_fn_config_program cmd enable_cmd clean,install
18439 wine_fn_config_test programs/cmd/tests cmd.exe_test
18440 wine_fn_config_program conhost enable_conhost install
18441 wine_fn_config_program control enable_control install
18442 wine_fn_config_program cscript enable_cscript clean,install
18443 wine_fn_config_program dpnsvr enable_dpnsvr install
18444 wine_fn_config_program dxdiag enable_dxdiag clean,install
18445 wine_fn_config_program eject enable_eject install
18446 wine_fn_config_program expand enable_expand install
18447 wine_fn_config_program explorer enable_explorer clean,install
18448 wine_fn_config_program extrac32 enable_extrac32 install
18449 wine_fn_config_program findstr enable_findstr install
18450 wine_fn_config_program fsutil enable_fsutil install
18451 wine_fn_config_program hh enable_hh install
18452 wine_fn_config_program hostname enable_hostname clean,install
18453 wine_fn_config_program icacls enable_icacls install
18454 wine_fn_config_program icinfo enable_icinfo install
18455 wine_fn_config_program iexplore enable_iexplore install
18456 wine_fn_config_program ipconfig enable_ipconfig clean,install
18457 wine_fn_config_program lodctr enable_lodctr install
18458 wine_fn_config_program mofcomp enable_mofcomp install
18459 wine_fn_config_program mshta enable_mshta install
18460 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18461 wine_fn_config_program msinfo32 enable_msinfo32 install
18462 wine_fn_config_program net enable_net clean,install
18463 wine_fn_config_program netsh enable_netsh install
18464 wine_fn_config_program netstat enable_netstat clean,install
18465 wine_fn_config_program ngen enable_ngen install
18466 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18467 wine_fn_config_program oleview enable_oleview clean,install
18468 wine_fn_config_program ping enable_ping install
18469 wine_fn_config_program plugplay enable_plugplay install
18470 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18471 wine_fn_config_program progman enable_progman clean,install
18472 wine_fn_config_program reg enable_reg clean,install
18473 wine_fn_config_test programs/reg/tests reg.exe_test
18474 wine_fn_config_program regasm enable_regasm install
18475 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18476 wine_fn_config_test programs/regedit/tests regedit.exe_test
18477 wine_fn_config_program regsvcs enable_regsvcs install
18478 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18479 wine_fn_config_program rpcss enable_rpcss clean,install
18480 wine_fn_config_program rundll.exe16 enable_win16 install
18481 wine_fn_config_program rundll32 enable_rundll32 install
18482 wine_fn_config_program sc enable_sc install
18483 wine_fn_config_program schtasks enable_schtasks install
18484 wine_fn_config_program sdbinst enable_sdbinst install
18485 wine_fn_config_program secedit enable_secedit install
18486 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18487 wine_fn_config_program services enable_services clean,install
18488 wine_fn_config_test programs/services/tests services.exe_test
18489 wine_fn_config_program shutdown enable_shutdown install
18490 wine_fn_config_program spoolsv enable_spoolsv install
18491 wine_fn_config_program start enable_start clean,install
18492 wine_fn_config_program svchost enable_svchost install
18493 wine_fn_config_program systeminfo enable_systeminfo install
18494 wine_fn_config_program taskkill enable_taskkill clean,install
18495 wine_fn_config_program tasklist enable_tasklist install
18496 wine_fn_config_program taskmgr enable_taskmgr clean,install
18497 wine_fn_config_program termsv enable_termsv install
18498 wine_fn_config_program uninstaller enable_uninstaller clean,install
18499 wine_fn_config_program unlodctr enable_unlodctr install
18500 wine_fn_config_program view enable_view clean,install
18501 wine_fn_config_program wevtutil enable_wevtutil install
18502 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18503 wine_fn_config_program winebrowser enable_winebrowser install
18504 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18505 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18506 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18507 wine_fn_config_program winedevice enable_winedevice install
18508 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18509 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18510 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18511 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18512 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18513 wine_fn_config_program winetest enable_winetest clean
18514 wine_fn_config_program winevdm enable_win16 install
18515 wine_fn_config_program winhelp.exe16 enable_win16 install
18516 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18517 wine_fn_config_program winoldap.mod16 enable_win16 install
18518 wine_fn_config_program winver enable_winver install
18519 wine_fn_config_program wmic enable_wmic clean,install
18520 wine_fn_config_program wmplayer enable_wmplayer install
18521 wine_fn_config_program wordpad enable_wordpad clean,install
18522 wine_fn_config_program write enable_write clean,install
18523 wine_fn_config_program wscript enable_wscript clean,install
18524 wine_fn_config_test programs/wscript/tests wscript.exe_test
18525 wine_fn_config_program wusa enable_wusa install
18526 wine_fn_config_program xcopy enable_xcopy clean,install
18527 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18528 wine_fn_config_makefile server enable_server clean,install-lib
18529 wine_fn_config_tool tools clean
18530 wine_fn_config_tool tools/sfnt2fon clean
18531 wine_fn_config_tool tools/widl clean,install-dev
18532 wine_fn_config_tool tools/winebuild clean,install-dev
18533 wine_fn_config_tool tools/winedump clean,install-dev
18534 wine_fn_config_tool tools/winegcc clean,install-dev
18535 wine_fn_config_tool tools/winemaker clean,install-dev
18536 wine_fn_config_tool tools/wmc clean,install-dev
18537 wine_fn_config_tool tools/wrc clean,install-dev
18540 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18541 wine_fn_append_file CONFIGURE_TARGETS "tags"
18542 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18543 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18544 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18545 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18546 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18547 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18549 if test "x$enable_tools" != xno
18550 then
18551 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18552 ac_config_commands="$ac_config_commands tools/makedep"
18556 ac_config_commands="$ac_config_commands Makefile"
18559 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18563 if test "x$enable_maintainer_mode" = xyes
18564 then
18565 wine_fn_append_rule "configure: configure.ac aclocal.m4
18566 autoconf --warnings=all
18567 include/config.h.in: include/stamp-h.in
18568 include/stamp-h.in: configure.ac aclocal.m4
18569 autoheader --warnings=all
18570 @echo timestamp > \$@"
18573 if test "x$enable_tools" != xno
18574 then
18575 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18576 @./config.status tools/makedep
18577 Makefile: tools/makedep$ac_exeext"
18578 else
18579 wine_fn_append_rule "\$(MAKEDEP):
18580 @echo \"You need to run make in $TOOLSDIR first\" && false"
18583 if test -n "$with_wine64"
18584 then
18585 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18586 fonts server:
18587 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18588 $with_wine64/loader/wine:
18589 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18590 $with_wine64/loader/wine-preloader:
18591 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18592 clean::
18593 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18594 else
18595 WINELOADER_INSTALL="wine.inf"
18597 wine_fn_append_rule "install install-lib::
18598 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18599 uninstall::
18600 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18601 case $host_os in
18602 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18603 *) wine_fn_append_rule "install install-lib::
18604 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18605 uninstall::
18606 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18607 esac
18610 $as_echo " done" >&6
18611 cat >confcache <<\_ACEOF
18612 # This file is a shell script that caches the results of configure
18613 # tests run on this system so they can be shared between configure
18614 # scripts and configure runs, see configure's option --config-cache.
18615 # It is not useful on other systems. If it contains results you don't
18616 # want to keep, you may remove or edit it.
18618 # config.status only pays attention to the cache file if you give it
18619 # the --recheck option to rerun configure.
18621 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18622 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18623 # following values.
18625 _ACEOF
18627 # The following way of writing the cache mishandles newlines in values,
18628 # but we know of no workaround that is simple, portable, and efficient.
18629 # So, we kill variables containing newlines.
18630 # Ultrix sh set writes to stderr and can't be redirected directly,
18631 # and sets the high bit in the cache file unless we assign to the vars.
18633 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18634 eval ac_val=\$$ac_var
18635 case $ac_val in #(
18636 *${as_nl}*)
18637 case $ac_var in #(
18638 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18639 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18640 esac
18641 case $ac_var in #(
18642 _ | IFS | as_nl) ;; #(
18643 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18644 *) { eval $ac_var=; unset $ac_var;} ;;
18645 esac ;;
18646 esac
18647 done
18649 (set) 2>&1 |
18650 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18651 *${as_nl}ac_space=\ *)
18652 # `set' does not quote correctly, so add quotes: double-quote
18653 # substitution turns \\\\ into \\, and sed turns \\ into \.
18654 sed -n \
18655 "s/'/'\\\\''/g;
18656 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18657 ;; #(
18659 # `set' quotes correctly as required by POSIX, so do not add quotes.
18660 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18662 esac |
18663 sort
18665 sed '
18666 /^ac_cv_env_/b end
18667 t clear
18668 :clear
18669 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18670 t end
18671 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18672 :end' >>confcache
18673 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18674 if test -w "$cache_file"; then
18675 if test "x$cache_file" != "x/dev/null"; then
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18677 $as_echo "$as_me: updating cache $cache_file" >&6;}
18678 if test ! -f "$cache_file" || test -h "$cache_file"; then
18679 cat confcache >"$cache_file"
18680 else
18681 case $cache_file in #(
18682 */* | ?:*)
18683 mv -f confcache "$cache_file"$$ &&
18684 mv -f "$cache_file"$$ "$cache_file" ;; #(
18686 mv -f confcache "$cache_file" ;;
18687 esac
18690 else
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18692 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18695 rm -f confcache
18697 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18698 # Let make expand exec_prefix.
18699 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18701 DEFS=-DHAVE_CONFIG_H
18703 ac_libobjs=
18704 ac_ltlibobjs=
18706 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18707 # 1. Remove the extension, and $U if already installed.
18708 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18709 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18710 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18711 # will be set to the directory where LIBOBJS objects are built.
18712 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18713 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18714 done
18715 LIBOBJS=$ac_libobjs
18717 LTLIBOBJS=$ac_ltlibobjs
18721 : "${CONFIG_STATUS=./config.status}"
18722 ac_write_fail=0
18723 ac_clean_files_save=$ac_clean_files
18724 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18726 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18727 as_write_fail=0
18728 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18729 #! $SHELL
18730 # Generated by $as_me.
18731 # Run this file to recreate the current configuration.
18732 # Compiler output produced by configure, useful for debugging
18733 # configure, is in config.log if it exists.
18735 debug=false
18736 ac_cs_recheck=false
18737 ac_cs_silent=false
18739 SHELL=\${CONFIG_SHELL-$SHELL}
18740 export SHELL
18741 _ASEOF
18742 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18743 ## -------------------- ##
18744 ## M4sh Initialization. ##
18745 ## -------------------- ##
18747 # Be more Bourne compatible
18748 DUALCASE=1; export DUALCASE # for MKS sh
18749 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18750 emulate sh
18751 NULLCMD=:
18752 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18753 # is contrary to our usage. Disable this feature.
18754 alias -g '${1+"$@"}'='"$@"'
18755 setopt NO_GLOB_SUBST
18756 else
18757 case `(set -o) 2>/dev/null` in #(
18758 *posix*) :
18759 set -o posix ;; #(
18760 *) :
18762 esac
18766 as_nl='
18768 export as_nl
18769 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18770 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18771 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18772 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18773 # Prefer a ksh shell builtin over an external printf program on Solaris,
18774 # but without wasting forks for bash or zsh.
18775 if test -z "$BASH_VERSION$ZSH_VERSION" \
18776 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18777 as_echo='print -r --'
18778 as_echo_n='print -rn --'
18779 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18780 as_echo='printf %s\n'
18781 as_echo_n='printf %s'
18782 else
18783 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18784 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18785 as_echo_n='/usr/ucb/echo -n'
18786 else
18787 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18788 as_echo_n_body='eval
18789 arg=$1;
18790 case $arg in #(
18791 *"$as_nl"*)
18792 expr "X$arg" : "X\\(.*\\)$as_nl";
18793 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18794 esac;
18795 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18797 export as_echo_n_body
18798 as_echo_n='sh -c $as_echo_n_body as_echo'
18800 export as_echo_body
18801 as_echo='sh -c $as_echo_body as_echo'
18804 # The user is always right.
18805 if test "${PATH_SEPARATOR+set}" != set; then
18806 PATH_SEPARATOR=:
18807 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18808 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18809 PATH_SEPARATOR=';'
18814 # IFS
18815 # We need space, tab and new line, in precisely that order. Quoting is
18816 # there to prevent editors from complaining about space-tab.
18817 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18818 # splitting by setting IFS to empty value.)
18819 IFS=" "" $as_nl"
18821 # Find who we are. Look in the path if we contain no directory separator.
18822 as_myself=
18823 case $0 in #((
18824 *[\\/]* ) as_myself=$0 ;;
18825 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18826 for as_dir in $PATH
18828 IFS=$as_save_IFS
18829 test -z "$as_dir" && as_dir=.
18830 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18831 done
18832 IFS=$as_save_IFS
18835 esac
18836 # We did not find ourselves, most probably we were run as `sh COMMAND'
18837 # in which case we are not to be found in the path.
18838 if test "x$as_myself" = x; then
18839 as_myself=$0
18841 if test ! -f "$as_myself"; then
18842 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18843 exit 1
18846 # Unset variables that we do not need and which cause bugs (e.g. in
18847 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18848 # suppresses any "Segmentation fault" message there. '((' could
18849 # trigger a bug in pdksh 5.2.14.
18850 for as_var in BASH_ENV ENV MAIL MAILPATH
18851 do eval test x\${$as_var+set} = xset \
18852 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18853 done
18854 PS1='$ '
18855 PS2='> '
18856 PS4='+ '
18858 # NLS nuisances.
18859 LC_ALL=C
18860 export LC_ALL
18861 LANGUAGE=C
18862 export LANGUAGE
18864 # CDPATH.
18865 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18868 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18869 # ----------------------------------------
18870 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18871 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18872 # script with STATUS, using 1 if that was 0.
18873 as_fn_error ()
18875 as_status=$1; test $as_status -eq 0 && as_status=1
18876 if test "$4"; then
18877 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18878 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18880 $as_echo "$as_me: error: $2" >&2
18881 as_fn_exit $as_status
18882 } # as_fn_error
18885 # as_fn_set_status STATUS
18886 # -----------------------
18887 # Set $? to STATUS, without forking.
18888 as_fn_set_status ()
18890 return $1
18891 } # as_fn_set_status
18893 # as_fn_exit STATUS
18894 # -----------------
18895 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18896 as_fn_exit ()
18898 set +e
18899 as_fn_set_status $1
18900 exit $1
18901 } # as_fn_exit
18903 # as_fn_unset VAR
18904 # ---------------
18905 # Portably unset VAR.
18906 as_fn_unset ()
18908 { eval $1=; unset $1;}
18910 as_unset=as_fn_unset
18911 # as_fn_append VAR VALUE
18912 # ----------------------
18913 # Append the text in VALUE to the end of the definition contained in VAR. Take
18914 # advantage of any shell optimizations that allow amortized linear growth over
18915 # repeated appends, instead of the typical quadratic growth present in naive
18916 # implementations.
18917 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18918 eval 'as_fn_append ()
18920 eval $1+=\$2
18922 else
18923 as_fn_append ()
18925 eval $1=\$$1\$2
18927 fi # as_fn_append
18929 # as_fn_arith ARG...
18930 # ------------------
18931 # Perform arithmetic evaluation on the ARGs, and store the result in the
18932 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18933 # must be portable across $(()) and expr.
18934 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18935 eval 'as_fn_arith ()
18937 as_val=$(( $* ))
18939 else
18940 as_fn_arith ()
18942 as_val=`expr "$@" || test $? -eq 1`
18944 fi # as_fn_arith
18947 if expr a : '\(a\)' >/dev/null 2>&1 &&
18948 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18949 as_expr=expr
18950 else
18951 as_expr=false
18954 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18955 as_basename=basename
18956 else
18957 as_basename=false
18960 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18961 as_dirname=dirname
18962 else
18963 as_dirname=false
18966 as_me=`$as_basename -- "$0" ||
18967 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18968 X"$0" : 'X\(//\)$' \| \
18969 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18970 $as_echo X/"$0" |
18971 sed '/^.*\/\([^/][^/]*\)\/*$/{
18972 s//\1/
18975 /^X\/\(\/\/\)$/{
18976 s//\1/
18979 /^X\/\(\/\).*/{
18980 s//\1/
18983 s/.*/./; q'`
18985 # Avoid depending upon Character Ranges.
18986 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18987 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18988 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18989 as_cr_digits='0123456789'
18990 as_cr_alnum=$as_cr_Letters$as_cr_digits
18992 ECHO_C= ECHO_N= ECHO_T=
18993 case `echo -n x` in #(((((
18994 -n*)
18995 case `echo 'xy\c'` in
18996 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18997 xy) ECHO_C='\c';;
18998 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18999 ECHO_T=' ';;
19000 esac;;
19002 ECHO_N='-n';;
19003 esac
19005 rm -f conf$$ conf$$.exe conf$$.file
19006 if test -d conf$$.dir; then
19007 rm -f conf$$.dir/conf$$.file
19008 else
19009 rm -f conf$$.dir
19010 mkdir conf$$.dir 2>/dev/null
19012 if (echo >conf$$.file) 2>/dev/null; then
19013 if ln -s conf$$.file conf$$ 2>/dev/null; then
19014 as_ln_s='ln -s'
19015 # ... but there are two gotchas:
19016 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19017 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19018 # In both cases, we have to default to `cp -pR'.
19019 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19020 as_ln_s='cp -pR'
19021 elif ln conf$$.file conf$$ 2>/dev/null; then
19022 as_ln_s=ln
19023 else
19024 as_ln_s='cp -pR'
19026 else
19027 as_ln_s='cp -pR'
19029 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19030 rmdir conf$$.dir 2>/dev/null
19033 # as_fn_mkdir_p
19034 # -------------
19035 # Create "$as_dir" as a directory, including parents if necessary.
19036 as_fn_mkdir_p ()
19039 case $as_dir in #(
19040 -*) as_dir=./$as_dir;;
19041 esac
19042 test -d "$as_dir" || eval $as_mkdir_p || {
19043 as_dirs=
19044 while :; do
19045 case $as_dir in #(
19046 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19047 *) as_qdir=$as_dir;;
19048 esac
19049 as_dirs="'$as_qdir' $as_dirs"
19050 as_dir=`$as_dirname -- "$as_dir" ||
19051 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19052 X"$as_dir" : 'X\(//\)[^/]' \| \
19053 X"$as_dir" : 'X\(//\)$' \| \
19054 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19055 $as_echo X"$as_dir" |
19056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19057 s//\1/
19060 /^X\(\/\/\)[^/].*/{
19061 s//\1/
19064 /^X\(\/\/\)$/{
19065 s//\1/
19068 /^X\(\/\).*/{
19069 s//\1/
19072 s/.*/./; q'`
19073 test -d "$as_dir" && break
19074 done
19075 test -z "$as_dirs" || eval "mkdir $as_dirs"
19076 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19079 } # as_fn_mkdir_p
19080 if mkdir -p . 2>/dev/null; then
19081 as_mkdir_p='mkdir -p "$as_dir"'
19082 else
19083 test -d ./-p && rmdir ./-p
19084 as_mkdir_p=false
19088 # as_fn_executable_p FILE
19089 # -----------------------
19090 # Test if FILE is an executable regular file.
19091 as_fn_executable_p ()
19093 test -f "$1" && test -x "$1"
19094 } # as_fn_executable_p
19095 as_test_x='test -x'
19096 as_executable_p=as_fn_executable_p
19098 # Sed expression to map a string onto a valid CPP name.
19099 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19101 # Sed expression to map a string onto a valid variable name.
19102 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19105 exec 6>&1
19106 ## ----------------------------------- ##
19107 ## Main body of $CONFIG_STATUS script. ##
19108 ## ----------------------------------- ##
19109 _ASEOF
19110 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19113 # Save the log message, to keep $0 and so on meaningful, and to
19114 # report actual input values of CONFIG_FILES etc. instead of their
19115 # values after options handling.
19116 ac_log="
19117 This file was extended by Wine $as_me 1.9.19, which was
19118 generated by GNU Autoconf 2.69. Invocation command line was
19120 CONFIG_FILES = $CONFIG_FILES
19121 CONFIG_HEADERS = $CONFIG_HEADERS
19122 CONFIG_LINKS = $CONFIG_LINKS
19123 CONFIG_COMMANDS = $CONFIG_COMMANDS
19124 $ $0 $@
19126 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19129 _ACEOF
19131 case $ac_config_files in *"
19132 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19133 esac
19135 case $ac_config_headers in *"
19136 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19137 esac
19140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19141 # Files that config.status was made for.
19142 config_files="$ac_config_files"
19143 config_headers="$ac_config_headers"
19144 config_links="$ac_config_links"
19145 config_commands="$ac_config_commands"
19147 _ACEOF
19149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19150 ac_cs_usage="\
19151 \`$as_me' instantiates files and other configuration actions
19152 from templates according to the current configuration. Unless the files
19153 and actions are specified as TAGs, all are instantiated by default.
19155 Usage: $0 [OPTION]... [TAG]...
19157 -h, --help print this help, then exit
19158 -V, --version print version number and configuration settings, then exit
19159 --config print configuration, then exit
19160 -q, --quiet, --silent
19161 do not print progress messages
19162 -d, --debug don't remove temporary files
19163 --recheck update $as_me by reconfiguring in the same conditions
19164 --file=FILE[:TEMPLATE]
19165 instantiate the configuration file FILE
19166 --header=FILE[:TEMPLATE]
19167 instantiate the configuration header FILE
19169 Configuration files:
19170 $config_files
19172 Configuration headers:
19173 $config_headers
19175 Configuration links:
19176 $config_links
19178 Configuration commands:
19179 $config_commands
19181 Report bugs to <wine-devel@winehq.org>.
19182 Wine home page: <http://www.winehq.org>."
19184 _ACEOF
19185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19186 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19187 ac_cs_version="\\
19188 Wine config.status 1.9.19
19189 configured by $0, generated by GNU Autoconf 2.69,
19190 with options \\"\$ac_cs_config\\"
19192 Copyright (C) 2012 Free Software Foundation, Inc.
19193 This config.status script is free software; the Free Software Foundation
19194 gives unlimited permission to copy, distribute and modify it."
19196 ac_pwd='$ac_pwd'
19197 srcdir='$srcdir'
19198 test -n "\$AWK" || AWK=awk
19199 _ACEOF
19201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19202 # The default lists apply if the user does not specify any file.
19203 ac_need_defaults=:
19204 while test $# != 0
19206 case $1 in
19207 --*=?*)
19208 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19209 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19210 ac_shift=:
19212 --*=)
19213 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19214 ac_optarg=
19215 ac_shift=:
19218 ac_option=$1
19219 ac_optarg=$2
19220 ac_shift=shift
19222 esac
19224 case $ac_option in
19225 # Handling of the options.
19226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19227 ac_cs_recheck=: ;;
19228 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19229 $as_echo "$ac_cs_version"; exit ;;
19230 --config | --confi | --conf | --con | --co | --c )
19231 $as_echo "$ac_cs_config"; exit ;;
19232 --debug | --debu | --deb | --de | --d | -d )
19233 debug=: ;;
19234 --file | --fil | --fi | --f )
19235 $ac_shift
19236 case $ac_optarg in
19237 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19238 '') as_fn_error $? "missing file argument" ;;
19239 esac
19240 as_fn_append CONFIG_FILES " '$ac_optarg'"
19241 ac_need_defaults=false;;
19242 --header | --heade | --head | --hea )
19243 $ac_shift
19244 case $ac_optarg in
19245 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19246 esac
19247 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19248 ac_need_defaults=false;;
19249 --he | --h)
19250 # Conflict between --help and --header
19251 as_fn_error $? "ambiguous option: \`$1'
19252 Try \`$0 --help' for more information.";;
19253 --help | --hel | -h )
19254 $as_echo "$ac_cs_usage"; exit ;;
19255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19256 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19257 ac_cs_silent=: ;;
19259 # This is an error.
19260 -*) as_fn_error $? "unrecognized option: \`$1'
19261 Try \`$0 --help' for more information." ;;
19263 *) as_fn_append ac_config_targets " $1"
19264 ac_need_defaults=false ;;
19266 esac
19267 shift
19268 done
19270 ac_configure_extra_args=
19272 if $ac_cs_silent; then
19273 exec 6>/dev/null
19274 ac_configure_extra_args="$ac_configure_extra_args --silent"
19277 _ACEOF
19278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19279 if \$ac_cs_recheck; then
19280 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19281 shift
19282 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19283 CONFIG_SHELL='$SHELL'
19284 export CONFIG_SHELL
19285 exec "\$@"
19288 _ACEOF
19289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19290 exec 5>>config.log
19292 echo
19293 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19294 ## Running $as_me. ##
19295 _ASBOX
19296 $as_echo "$ac_log"
19297 } >&5
19299 _ACEOF
19300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19302 # INIT-COMMANDS
19304 wine_fn_output_makedep ()
19306 as_dir=tools; as_fn_mkdir_p
19307 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19309 wine_fn_output_makefile ()
19311 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19312 `cat $wine_rules_file`
19313 _WINE_EOF
19314 as_fn_error $? "could not create Makefile" "$LINENO" 5
19317 _ACEOF
19319 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19321 # Handling of arguments.
19322 for ac_config_target in $ac_config_targets
19324 case $ac_config_target in
19325 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19326 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19327 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19328 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19329 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19330 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19331 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19332 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19333 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19334 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19335 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19336 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19337 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19339 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19340 esac
19341 done
19344 # If the user did not use the arguments to specify the items to instantiate,
19345 # then the envvar interface is used. Set only those that are not.
19346 # We use the long form for the default assignment because of an extremely
19347 # bizarre bug on SunOS 4.1.3.
19348 if $ac_need_defaults; then
19349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19351 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19352 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19355 # Have a temporary directory for convenience. Make it in the build tree
19356 # simply because there is no reason against having it here, and in addition,
19357 # creating and moving files from /tmp can sometimes cause problems.
19358 # Hook for its removal unless debugging.
19359 # Note that there is a small window in which the directory will not be cleaned:
19360 # after its creation but before its name has been assigned to `$tmp'.
19361 $debug ||
19363 tmp= ac_tmp=
19364 trap 'exit_status=$?
19365 : "${ac_tmp:=$tmp}"
19366 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19368 trap 'as_fn_exit 1' 1 2 13 15
19370 # Create a (secure) tmp directory for tmp files.
19373 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19374 test -d "$tmp"
19375 } ||
19377 tmp=./conf$$-$RANDOM
19378 (umask 077 && mkdir "$tmp")
19379 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19380 ac_tmp=$tmp
19382 # Set up the scripts for CONFIG_FILES section.
19383 # No need to generate them if there are no CONFIG_FILES.
19384 # This happens for instance with `./config.status config.h'.
19385 if test -n "$CONFIG_FILES"; then
19388 ac_cr=`echo X | tr X '\015'`
19389 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19390 # But we know of no other shell where ac_cr would be empty at this
19391 # point, so we can use a bashism as a fallback.
19392 if test "x$ac_cr" = x; then
19393 eval ac_cr=\$\'\\r\'
19395 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19396 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19397 ac_cs_awk_cr='\\r'
19398 else
19399 ac_cs_awk_cr=$ac_cr
19402 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19403 _ACEOF
19407 echo "cat >conf$$subs.awk <<_ACEOF" &&
19408 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19409 echo "_ACEOF"
19410 } >conf$$subs.sh ||
19411 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19412 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19413 ac_delim='%!_!# '
19414 for ac_last_try in false false false false false :; do
19415 . ./conf$$subs.sh ||
19416 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19418 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19419 if test $ac_delim_n = $ac_delim_num; then
19420 break
19421 elif $ac_last_try; then
19422 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19423 else
19424 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19426 done
19427 rm -f conf$$subs.sh
19429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19430 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19431 _ACEOF
19432 sed -n '
19434 s/^/S["/; s/!.*/"]=/
19437 s/^[^!]*!//
19438 :repl
19439 t repl
19440 s/'"$ac_delim"'$//
19441 t delim
19444 s/\(.\{148\}\)..*/\1/
19445 t more1
19446 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19449 b repl
19450 :more1
19451 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19454 s/.\{148\}//
19455 t nl
19456 :delim
19458 s/\(.\{148\}\)..*/\1/
19459 t more2
19460 s/["\\]/\\&/g; s/^/"/; s/$/"/
19463 :more2
19464 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19467 s/.\{148\}//
19468 t delim
19469 ' <conf$$subs.awk | sed '
19470 /^[^""]/{
19472 s/\n//
19474 ' >>$CONFIG_STATUS || ac_write_fail=1
19475 rm -f conf$$subs.awk
19476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19477 _ACAWK
19478 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19479 for (key in S) S_is_set[key] = 1
19480 FS = "\a"
19484 line = $ 0
19485 nfields = split(line, field, "@")
19486 substed = 0
19487 len = length(field[1])
19488 for (i = 2; i < nfields; i++) {
19489 key = field[i]
19490 keylen = length(key)
19491 if (S_is_set[key]) {
19492 value = S[key]
19493 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19494 len += length(value) + length(field[++i])
19495 substed = 1
19496 } else
19497 len += 1 + keylen
19500 print line
19503 _ACAWK
19504 _ACEOF
19505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19506 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19507 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19508 else
19510 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19511 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19512 _ACEOF
19514 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19515 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19516 # trailing colons and then remove the whole line if VPATH becomes empty
19517 # (actually we leave an empty line to preserve line numbers).
19518 if test "x$srcdir" = x.; then
19519 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19521 s///
19522 s/^/:/
19523 s/[ ]*$/:/
19524 s/:\$(srcdir):/:/g
19525 s/:\${srcdir}:/:/g
19526 s/:@srcdir@:/:/g
19527 s/^:*//
19528 s/:*$//
19530 s/\(=[ ]*\).*/\1/
19532 s/\n//
19533 s/^[^=]*=[ ]*$//
19537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19538 fi # test -n "$CONFIG_FILES"
19540 # Set up the scripts for CONFIG_HEADERS section.
19541 # No need to generate them if there are no CONFIG_HEADERS.
19542 # This happens for instance with `./config.status Makefile'.
19543 if test -n "$CONFIG_HEADERS"; then
19544 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19545 BEGIN {
19546 _ACEOF
19548 # Transform confdefs.h into an awk script `defines.awk', embedded as
19549 # here-document in config.status, that substitutes the proper values into
19550 # config.h.in to produce config.h.
19552 # Create a delimiter string that does not exist in confdefs.h, to ease
19553 # handling of long lines.
19554 ac_delim='%!_!# '
19555 for ac_last_try in false false :; do
19556 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19557 if test -z "$ac_tt"; then
19558 break
19559 elif $ac_last_try; then
19560 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19561 else
19562 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19564 done
19566 # For the awk script, D is an array of macro values keyed by name,
19567 # likewise P contains macro parameters if any. Preserve backslash
19568 # newline sequences.
19570 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19571 sed -n '
19572 s/.\{148\}/&'"$ac_delim"'/g
19573 t rset
19574 :rset
19575 s/^[ ]*#[ ]*define[ ][ ]*/ /
19576 t def
19578 :def
19579 s/\\$//
19580 t bsnl
19581 s/["\\]/\\&/g
19582 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19583 D["\1"]=" \3"/p
19584 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19586 :bsnl
19587 s/["\\]/\\&/g
19588 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19589 D["\1"]=" \3\\\\\\n"\\/p
19590 t cont
19591 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19592 t cont
19594 :cont
19596 s/.\{148\}/&'"$ac_delim"'/g
19597 t clear
19598 :clear
19599 s/\\$//
19600 t bsnlc
19601 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19603 :bsnlc
19604 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19605 b cont
19606 ' <confdefs.h | sed '
19607 s/'"$ac_delim"'/"\\\
19608 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19611 for (key in D) D_is_set[key] = 1
19612 FS = "\a"
19614 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19615 line = \$ 0
19616 split(line, arg, " ")
19617 if (arg[1] == "#") {
19618 defundef = arg[2]
19619 mac1 = arg[3]
19620 } else {
19621 defundef = substr(arg[1], 2)
19622 mac1 = arg[2]
19624 split(mac1, mac2, "(") #)
19625 macro = mac2[1]
19626 prefix = substr(line, 1, index(line, defundef) - 1)
19627 if (D_is_set[macro]) {
19628 # Preserve the white space surrounding the "#".
19629 print prefix "define", macro P[macro] D[macro]
19630 next
19631 } else {
19632 # Replace #undef with comments. This is necessary, for example,
19633 # in the case of _POSIX_SOURCE, which is predefined and required
19634 # on some systems where configure will not decide to define it.
19635 if (defundef == "undef") {
19636 print "/*", prefix defundef, macro, "*/"
19637 next
19641 { print }
19642 _ACAWK
19643 _ACEOF
19644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19645 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19646 fi # test -n "$CONFIG_HEADERS"
19649 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19650 shift
19651 for ac_tag
19653 case $ac_tag in
19654 :[FHLC]) ac_mode=$ac_tag; continue;;
19655 esac
19656 case $ac_mode$ac_tag in
19657 :[FHL]*:*);;
19658 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19659 :[FH]-) ac_tag=-:-;;
19660 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19661 esac
19662 ac_save_IFS=$IFS
19663 IFS=:
19664 set x $ac_tag
19665 IFS=$ac_save_IFS
19666 shift
19667 ac_file=$1
19668 shift
19670 case $ac_mode in
19671 :L) ac_source=$1;;
19672 :[FH])
19673 ac_file_inputs=
19674 for ac_f
19676 case $ac_f in
19677 -) ac_f="$ac_tmp/stdin";;
19678 *) # Look for the file first in the build tree, then in the source tree
19679 # (if the path is not absolute). The absolute path cannot be DOS-style,
19680 # because $ac_f cannot contain `:'.
19681 test -f "$ac_f" ||
19682 case $ac_f in
19683 [\\/$]*) false;;
19684 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19685 esac ||
19686 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19687 esac
19688 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19689 as_fn_append ac_file_inputs " '$ac_f'"
19690 done
19692 # Let's still pretend it is `configure' which instantiates (i.e., don't
19693 # use $as_me), people would be surprised to read:
19694 # /* config.h. Generated by config.status. */
19695 configure_input='Generated from '`
19696 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19697 `' by configure.'
19698 if test x"$ac_file" != x-; then
19699 configure_input="$ac_file. $configure_input"
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19701 $as_echo "$as_me: creating $ac_file" >&6;}
19703 # Neutralize special characters interpreted by sed in replacement strings.
19704 case $configure_input in #(
19705 *\&* | *\|* | *\\* )
19706 ac_sed_conf_input=`$as_echo "$configure_input" |
19707 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19708 *) ac_sed_conf_input=$configure_input;;
19709 esac
19711 case $ac_tag in
19712 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19714 esac
19716 esac
19718 ac_dir=`$as_dirname -- "$ac_file" ||
19719 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19720 X"$ac_file" : 'X\(//\)[^/]' \| \
19721 X"$ac_file" : 'X\(//\)$' \| \
19722 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19723 $as_echo X"$ac_file" |
19724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19725 s//\1/
19728 /^X\(\/\/\)[^/].*/{
19729 s//\1/
19732 /^X\(\/\/\)$/{
19733 s//\1/
19736 /^X\(\/\).*/{
19737 s//\1/
19740 s/.*/./; q'`
19741 as_dir="$ac_dir"; as_fn_mkdir_p
19742 ac_builddir=.
19744 case "$ac_dir" in
19745 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19747 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19748 # A ".." for each directory in $ac_dir_suffix.
19749 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19750 case $ac_top_builddir_sub in
19751 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19752 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19753 esac ;;
19754 esac
19755 ac_abs_top_builddir=$ac_pwd
19756 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19757 # for backward compatibility:
19758 ac_top_builddir=$ac_top_build_prefix
19760 case $srcdir in
19761 .) # We are building in place.
19762 ac_srcdir=.
19763 ac_top_srcdir=$ac_top_builddir_sub
19764 ac_abs_top_srcdir=$ac_pwd ;;
19765 [\\/]* | ?:[\\/]* ) # Absolute name.
19766 ac_srcdir=$srcdir$ac_dir_suffix;
19767 ac_top_srcdir=$srcdir
19768 ac_abs_top_srcdir=$srcdir ;;
19769 *) # Relative name.
19770 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19771 ac_top_srcdir=$ac_top_build_prefix$srcdir
19772 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19773 esac
19774 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19777 case $ac_mode in
19780 # CONFIG_FILE
19783 _ACEOF
19785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19786 # If the template does not know about datarootdir, expand it.
19787 # FIXME: This hack should be removed a few years after 2.60.
19788 ac_datarootdir_hack=; ac_datarootdir_seen=
19789 ac_sed_dataroot='
19790 /datarootdir/ {
19794 /@datadir@/p
19795 /@docdir@/p
19796 /@infodir@/p
19797 /@localedir@/p
19798 /@mandir@/p'
19799 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19800 *datarootdir*) ac_datarootdir_seen=yes;;
19801 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19803 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19804 _ACEOF
19805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19806 ac_datarootdir_hack='
19807 s&@datadir@&$datadir&g
19808 s&@docdir@&$docdir&g
19809 s&@infodir@&$infodir&g
19810 s&@localedir@&$localedir&g
19811 s&@mandir@&$mandir&g
19812 s&\\\${datarootdir}&$datarootdir&g' ;;
19813 esac
19814 _ACEOF
19816 # Neutralize VPATH when `$srcdir' = `.'.
19817 # Shell code in configure.ac might set extrasub.
19818 # FIXME: do we really want to maintain this feature?
19819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19820 ac_sed_extra="$ac_vpsub
19821 $extrasub
19822 _ACEOF
19823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19825 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19826 s|@configure_input@|$ac_sed_conf_input|;t t
19827 s&@top_builddir@&$ac_top_builddir_sub&;t t
19828 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19829 s&@srcdir@&$ac_srcdir&;t t
19830 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19831 s&@top_srcdir@&$ac_top_srcdir&;t t
19832 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19833 s&@builddir@&$ac_builddir&;t t
19834 s&@abs_builddir@&$ac_abs_builddir&;t t
19835 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19836 $ac_datarootdir_hack
19838 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19839 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19841 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19842 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19843 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19844 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19846 which seems to be undefined. Please make sure it is defined" >&5
19847 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19848 which seems to be undefined. Please make sure it is defined" >&2;}
19850 rm -f "$ac_tmp/stdin"
19851 case $ac_file in
19852 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19853 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19854 esac \
19855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19859 # CONFIG_HEADER
19861 if test x"$ac_file" != x-; then
19863 $as_echo "/* $configure_input */" \
19864 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19865 } >"$ac_tmp/config.h" \
19866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19867 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19869 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19870 else
19871 rm -f "$ac_file"
19872 mv "$ac_tmp/config.h" "$ac_file" \
19873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19875 else
19876 $as_echo "/* $configure_input */" \
19877 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19878 || as_fn_error $? "could not create -" "$LINENO" 5
19883 # CONFIG_LINK
19886 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19888 else
19889 # Prefer the file from the source tree if names are identical.
19890 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19891 ac_source=$srcdir/$ac_source
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19895 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19897 if test ! -r "$ac_source"; then
19898 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19900 rm -f "$ac_file"
19902 # Try a relative symlink, then a hard link, then a copy.
19903 case $ac_source in
19904 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19905 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19906 esac
19907 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19908 ln "$ac_source" "$ac_file" 2>/dev/null ||
19909 cp -p "$ac_source" "$ac_file" ||
19910 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19913 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19914 $as_echo "$as_me: executing $ac_file commands" >&6;}
19916 esac
19919 case $ac_file$ac_mode in
19920 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19921 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19922 "Makefile":C) wine_fn_output_makefile Makefile ;;
19924 esac
19925 done # for ac_tag
19928 as_fn_exit 0
19929 _ACEOF
19930 ac_clean_files=$ac_clean_files_save
19932 test $ac_write_fail = 0 ||
19933 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19936 # configure is writing to config.log, and then calls config.status.
19937 # config.status does its own redirection, appending to config.log.
19938 # Unfortunately, on DOS this fails, as config.log is still kept open
19939 # by configure, so config.status won't be able to write to it; its
19940 # output is simply discarded. So we exec the FD to /dev/null,
19941 # effectively closing config.log, so it can be properly (re)opened and
19942 # appended to by config.status. When coming back to configure, we
19943 # need to make the FD available again.
19944 if test "$no_create" != yes; then
19945 ac_cs_success=:
19946 ac_config_status_args=
19947 test "$silent" = yes &&
19948 ac_config_status_args="$ac_config_status_args --quiet"
19949 exec 5>/dev/null
19950 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19951 exec 5>>config.log
19952 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19953 # would make configure fail if this is the last instruction.
19954 $ac_cs_success || as_fn_exit 1
19956 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19958 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19962 if test "$no_create" = "yes"
19963 then
19964 exit 0
19967 ac_save_IFS="$IFS"
19968 if test "x$wine_notices" != x; then
19969 echo >&6
19970 IFS="|"
19971 for msg in $wine_notices; do
19972 IFS="$ac_save_IFS"
19973 if ${msg:+false} :; then :
19975 else
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19977 $as_echo "$as_me: $msg" >&6;}
19979 done
19981 IFS="|"
19982 for msg in $wine_warnings; do
19983 IFS="$ac_save_IFS"
19984 if ${msg:+false} :; then :
19986 else
19987 echo >&2
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19989 $as_echo "$as_me: WARNING: $msg" >&2;}
19991 done
19992 IFS="$ac_save_IFS"
19994 $as_echo "
19995 $as_me: Finished. Do '${ac_make}' to compile Wine.
19996 " >&6